Re: gadgetfs: host side enumeration issues
David Brownell <[email protected]> Tue, 29 Jan 2008 18:04:09 -0800
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
On Saturday 19 January 2008, Anshuman Saxena wrote: > As you can see, it does bind to the at91_udc but there seems to be > some problem with the user space program usb.c. Wondering if anyone > came across this issue? I finally made time to investigate it, and saw this too. The problem seems to be that userspace didn't understand the data it was getting. On slightly closer examination, the cause became apparent: I was using an old binary. The struct passed into the kernel had two fields swapped in order to provide the same ABI on 32-bit and 64-bit kernels. (This is OK for such "EXPERIMENTAL" features, for which a stable API isn't yet provided.) The fix was to recompile, using the updated interface to gadgetfs. Then it worked fine. - Dave ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel