I'm using a 2.2.19 kernel with usb support. usb.c: $Id: usb.c,v 1.53 2000/01/14 16:19:09 acher Exp $ usb-uhci.c: $Id: usb-uhci.c,v 1.237 2000/08/08 14:58:17 acher Exp $
I've got a Brother HL-1250 printer. Using the same kernel, printer and usb cable: - On an i440ZX, 82371AB PIIX4 USB, all is fine - On an i815E (http://www.msi.com.tw/products/slim_pc/spec/6215.htm) there are problems. Description of problems: - nine in ten times I get various errors after usb-uhci or uhci are loaded: usb-uhci.c: interrupt, status 2, frame# 812 usb.c: USB device not accepting new address (error=-110) not accepting address (errno=-110) unable to get configuration (error=-22) and similar - one in ten times the printer is recognized, I can print a page, and then it errors out and cannot print anymore, the errors are the above ones - I added my printer to printer.c quirks, but this does not help since problems start before printer.o is loaded. I read archives: the BIOS is the latest (1.9 from http://www.msi.com.tw/support/bios/bios.php?model=MS-6351) and irq's seem to be fine. == lspci on 815E 00:00.0 Class 0600: 8086:1130 (rev 02) 815 Chipset Host Bridge and Memory Controller Hub 00:02.0 Class 0300: 8086:1132 (rev 02) 00:1e.0 Class 0604: 8086:244e (rev 02) 00:1f.0 Class 0601: 8086:2440 (rev 02) 00:1f.1 Class 0101: 8086:244b (rev 02) 00:1f.2 Class 0c03: 8086:2442 (rev 02) 82801BA(M) USB (Hub A) 00:1f.3 Class 0c05: 8086:2443 (rev 02) 00:1f.4 Class 0c03: 8086:2444 (rev 02) 82801BA(M) USB (Hub B) 00:1f.5 Class 0401: 8086:2445 (rev 02) 01:08.0 Class 0200: 8086:2449 (rev 01) ==/proc/bus/usb/devices on i815E In the cases when the printer is recognized I see its USB ID printed, here. While writing this email I could not reproduce such a case so it's blank here. T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=d400 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=cc00 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= -1 Spd=12 MxCh= 0 D: Ver= 0.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 0 #Cfgs= 0 P: Vendor=0000 ProdID=0000 Rev= 0.00 ==/proc/interrupts on i815E Depending on where I attach the printer I see interrupts increasing in one of the 2 irq lines, but then they stop when the errors start. CPU0 0: 55161 XT-PIC timer 1: 14 XT-PIC keyboard 2: 0 XT-PIC cascade 5: 134 XT-PIC eth0 10: 0 XT-PIC usb-uhci 12: 8 XT-PIC usb-uhci 13: 1 XT-PIC fpu NMI: 0 == boot log on 815E usb.c: registered new driver usbdevfs usb.c: registered new driver hub usb-uhci.c: $Revision: 1.237 $ time 09:58:36 Jan 26 2002 usb-uhci.c: High bandwidth mode enabled PCI: Increasing latency timer of device 00:fa to 64 usb-uhci.c: USB UHCI at I/O 0xcc00, IRQ 12 usb-uhci.c: Detected 2 ports usb.c: new USB bus registered, assigned bus number 1 usb.c: USB new device connect, assigned device number 1 usb.c: kmalloc IF c3a84a30, numif 1 usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 usb.c: USB device number 1 default language ID 0x0 Product: USB UHCI Root Hub SerialNumber: cc00 hub.c: USB hub found hub.c: 2 ports detected hub.c: ganged power switching hub.c: standalone hub hub.c: global over-current protection hub.c: power on to power good time: 2ms hub.c: hub controller current requirement: 0mA hub.c: port 1 is removable hub.c: port 2 is removable hub.c: local power source is good hub.c: no over-current condition exists hub.c: enabling power on all ports usb.c: hub driver claimed interface c3a84a30 PCI: Increasing latency timer of device 00:fc to 64 usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 10 usb-uhci.c: Detected 2 ports hub.c: port 1 connection change usb.c: new USB bus registered, assigned bus number 2 usb.c: USB new device connect, assigned device number 1 usb.c: kmalloc IF c39b7060, numif 1 usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1 usb.c: USB device number 1 default language ID 0x0 Product: USB UHCI Root Hub SerialNumber: d400 hub.c: USB hub found hub.c: 2 ports detected hub.c: ganged power switching hub.c: standalone hub hub.c: global over-current protection hub.c: power on to power good time: 2ms hub.c: hub controller current requirement: 0mA hub.c: port 1 is removable hub.c: port 2 is removable hub.c: local power source is good hub.c: no over-current condition exists hub.c: enabling power on all ports usb.c: hub driver claimed interface c39b7060 usb.c: registered new driver usblp hub.c: portstatus 101, change 1, 12 Mb/s hub.c: portstatus 103, change 0, 12 Mb/s usb.c: USB new device connect, assigned device number 2 usb-uhci.c: interrupt, status 2, frame# 832 usb-uhci.c: interrupt, status 2, frame# 836 usb-uhci.c: interrupt, status 2, frame# 838 usb-uhci.c: interrupt, status 2, frame# 840 usb-uhci.c: interrupt, status 2, frame# 842 usb-uhci.c: interrupt, status 2, frame# 844 usb.c: not enough configurations usb.c: unable to get configuration (error=-22) ==/proc/bus/usb/devices on working i440ZX T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 0.00 S: Product=USB UHCI Root Hub S: SerialNumber=d400 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=255ms T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=04f9 ProdID=0007 Rev= 1.00 C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl= 0ms E: Ad=82(I) Atr=02(Bulk) MxPS= 16 Ivl= 0ms Thanks for any suggestions -- [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel