From mboxrd@z Thu Jan 1 00:00:00 1970 From: bjorn@mork.no (=?utf-8?Q?Bj=C3=B8rn_Mork?=) Date: Wed, 25 May 2016 14:56:56 +0200 Subject: USB device debugging In-Reply-To: (Narasimha M.'s message of "Wed, 25 May 2016 18:07:09 +0530") References: <20160524144629.GE28161@kroah.com> <87posbqtlk.fsf@nemi.mork.no> <87a8jephuz.fsf@nemi.mork.no> <871t4qpfao.fsf@nemi.mork.no> <87posany81.fsf@nemi.mork.no> Message-ID: <87h9dmnvmv.fsf@nemi.mork.no> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org Narasimha M 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