USB device debugging

Bjørn Mork bjorn at mork.no
Wed May 25 08:56:56 EDT 2016


Narasimha M <mnarasimha786 at gmail.com> writes:

> Thanks for clear explanation. Could you please let me know where does
> host_controller will be present is it in USB device or USB core part
> of kernel.
>
> Actually my issue is that we ported Gobinet driver from open source to
> support one dongle. After porting, it is working fine on little endian
> host (linux-2.6.31 kernel). We have added some changes in driver code
> o support it for big endian hosts. After adding the changes with the
> help of le16_to_cpu () function dongle is working in one of our big
> endian hosts (which has linux-3.10.20), but facing corrupted packet
> issue in other bigendian supported host (linux-2.6.32). Could you
> please help in providing some pointers here

Sounds like you have a bug in your code.  Did you expect me to make a
more precise guess?


Bjørn



More information about the Kernelnewbies mailing list