Usb Driver Struct Problems......


MadDog

Member
Joined
Mar 4, 2006
Messages
262
Age
54
Location
UK
Website
www.maddoggames.com
I've managed to stop the driver from crashing the usb hub so now I can at least get some output. The sdk i'm using and the kernel source both have the same usb_device_descriptor struct but the one passed to my func is wrong. The product and vendor ID is off by 8 bytes! I'm kind of banging my head against a brick wall. :(

Anyone else written / worked on a usb driver yet with the offical sdk? I would not be suprised if I was missing something daft like a compiler option.....

Thanks. :)
 
I may not be much help. But I have managed to cross compile libusb-0.1.12 and write simple drivers for usb microcontrollers. I don't know if this might help you. Libusb seems to work quite well once you
mount -t usbdevfs usbdevfs /proc/bus/usb
 
Back
Top