Hi all,
I'm trying to get usbtest + test.sh work with an EZ-USB FX board running the usbtest_fw.ihx firmware (an unmodified one; not one built by me), but when the usbtest driver tries to set interface 0, alternate setting 1, the board STALLs (after 20 or so NAKs) and the usbtest driver reports "drivers/usb/misc/usbtest.c: couldn't get endpoints, -32".
With the old ep2_inout.ihx firmware everything seems to work fine (meaning I can run test.sh or testusb -a without errors).
After loading the usbtest_fw.ihx firmware onto the board (with fxload*), it disconnects as it should and then shows up in /proc/bus/usb/devices as:
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 35 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=ff(vend.) Sub=00 Prot=ff MxPS=64 #Cfgs= 1 P: Vendor=fff0 ProdID=fff0 Rev= 0.01 S: Manufacturer=Martin Diehl S: Product=USB-Test S: SerialNumber=2004-03-05 C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA I: If#= 0 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none) I: If#= 0 Alt= 1 #EPs= 4 Cls=ff(vend.) Sub=01 Prot=00 Driver=(none) E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=88(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms E: Ad=08(O) Atr=01(Isoc) MxPS= 512 Ivl=1ms
I'm running Linux 2.6.8, and I checked the ChangeLogs for 2.6.9 and 2.6.10 to see if there were significant changes to the usbtest driver, but I couldn't see anything that seemed related to this. The machine is an Athlon XP 2400+, with a VIA USB 2.0 controller, and I have the echi_hcd and uhci_hcd modules loaded. (And I have been running a pair of USB speakers for a long time without a hitch.)
* actual fxload command example: fxload -D /proc/bus/usb/003/036 -t fx -I usbtest_fw-20040305/usbtest_fw.ihx -s /usr/share/usb/a3load.hex
Thanks for any suggestions or pointers to information I might have missed.
-- Orjan Friberg Axis Communications
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
