Hello,
I am having a problem in probing a device in my
driver. The device parameters(configurations,
interfaces, endpoints, etc) show up during kernel
bootup and are fine but when I print out the
dev->descriptor fields in my module's probe function
the values seem all messed up i.e for example the
idVendor and idProduct values seem to be stored in
fields bDeviceClass and bDeviceSubClass respectively.
Any idea what may be causing this ? I was having the
feeling that probably the pointers to dev or
&dev->descriptor were "shifted" due to which the field
values appear shifted. I printed out the pointer
values of dev, &dev->descriptor and
sizeof(dev->descriptor) and checked them against the
definitions of struct usb_device and struct
usb_device_descriptor in usb.h . They all check out
fine.
Thanks
Naveen
__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel