First line should be: sudo apt-get install linux-source linux-headers-`uname -r`
George Barta wrote: > I added a new page on the wiki with instructions that worked for me on > Ubuntu 7.0.4. Its pretty rough right now, but feel free to change it. > If someone can verify that it works, we can put a link to it from the > other pages. > > http://wiki.openmoko.org/wiki/Building_Gadget_USB_Module > > George > > On 7/26/07, Mark Eichin <[EMAIL PROTECTED]> wrote: >>> Is gadgetfs separate enough that you can just use module-assistant to >>> build it? >>> http://wiki.openmoko.org/wiki/OpenMoko_under_QEMU#Setting_up_USB_connection >> I'll note that the later Ubuntu kernels seem to have: >> >> CONFIG_USB_GADGET=m >> # CONFIG_USB_GADGET_DUMMY_HCD is not set >> CONFIG_USB_GADGETFS=m >> CONFIG_USB_FILE_STORAGE=m >> >> which is 3 of the 4 suggested (but DUMMY_HCD is probably the critical >> one for working with qemu.) (I'd also forgotten that module-assistant >> really only handles modules that are mostly outside of the kernel, so >> maybe it isn't much use here after all. Sorry for getting your hopes >> up...) >> >> _______________________________________________ >> OpenMoko community mailing list >> [email protected] >> http://lists.openmoko.org/mailman/listinfo/community >> > > _______________________________________________ > OpenMoko community mailing list > [email protected] > http://lists.openmoko.org/mailman/listinfo/community > _______________________________________________ OpenMoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

