PDA

Bekijk de volledige versie : libusb usb_interrupt_read problems



jim-easterbrook
19-09-2008, 13:43
I'm trying to write a small program to log data from a USB weather station. I've got a short C program from elsewhere that works fine on a PC running Suse 10.3, but not on my WL500gP running Oleg's 1.9.2.7-10. Every call to usb_interrupt_read returns -22.

Both machines have libusb version 0.1.12, but the Asus has kernel version 2.4.20 whereas the PC has version 2.6.22.

Any suggestions for how to get round this problem would be welcome...

jim-easterbrook
06-11-2008, 09:57
I've just discovered that my weather station program works fine on a WL500gPv2, but not on a WL500gP. Both machines are running Oleg's 1.9.2.7-10. The v2 uses kernel module usb-ohci whilst the v1 uses usb-uhci.

I know that other people have had problems with USB on the v2 - is this the first example of something that works better on a v2?