Google
  Web www.spinics.net

Re: gadgetfs: host side enumeration issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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/
_______________________________________________
linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

[Home]     [Video for Linux]     [Photo]     [Yosemite Forum]     [Yosemite Photos]    [Video Projectors]     [PDAs]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [Free Dating]

  Powered by Linux