#2206: Can't mount GadgetFS on OM. -------------------------+-------------------------------------------------- Reporter: frankmpunkt | Owner: openmoko-devel Type: defect | Status: new Priority: normal | Milestone: Component: unknown | Version: unspecified Severity: normal | Keywords: Haspatch: 0 | Blockedby: Estimated: | Patchreview: Blocking: | Reproducible: -------------------------+--------------------------------------------------
Comment(by frankmpunkt): I need to correct myself: The patch works as expected (i forgot to remove g_ether). Anyway, I think it is inode.c (gadgetfs), that needs to be fixed. Gadgetfs probes the chipset with a fake driver with USB_SPEED_LOW. But all udc drivers (amd5536udc.c atmel_usba_udc.c fsl_usb2_udc.c goku_udc.c lh7a40x_udc.c m66592-udc.c omap_udc.c pxa27x_udc.c pxa2xx_udc.c and finally s3c2410_udc.c) throw an error for drivers with wrong speed configuration. In combination with all those drivers gadgetfs' probing would fail. Only dummy_hdc seems to support all possible speed-values... Anyway, once gadgetfs is mounted, it is usable in combination with s3c2410_udc, since the user space application that uses gadgetfs should seem to do chipset-dependent configuration (like http://www.linux- usb.org/gadget/usb.c does). I wrote a gadget for gadgetfs based on this example application and i am happy to report, that it works just fine with OM. -- Ticket URL: <https://docs.openmoko.org/trac/ticket/2206#comment:3> docs.openmoko.org <http://docs.openmoko.org/trac/> openmoko trac _______________________________________________ devel mailing list devel@lists.openmoko.org https://lists.openmoko.org/mailman/listinfo/devel