On Sat, May 29 2004, Alan Stern wrote:
> [Moved to linux-usb-devel rather than linux-kernel]
> 
> On Sat, 29 May 2004, Jens Axboe wrote:
> 
> > On Sat, May 29 2004, Greg KH wrote:
> > > 
> > > Alan, looks like your "fix the VIA controller driver" patch broke
> > > something here, care to look into it?
> > 
> > Thanks for the hint, backing out this patch:
> > 
> > http://www.kernel.org/pub/linux/kernel/v2.5/testing/cset/[EMAIL 
> > PROTECTED]|ChangeSet|20040525183839|17182.txt
> > 
> > fixes 2.6-BK for me. Both 2.6.7-rc1 and BK current spit out a bunch of:
> > 
> > drivers/usb/class/usblp.c: usblp1: nonzero read/write bulk status received: -2
> > drivers/usb/class/usblp.c: usblp1: error -2 reading from printer
> > drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
> > drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
> > ...
> > 
> > (about ~80 of that last line) but work for me.
> 
> I'll start investigating.  It absolutely does look like that patch has 
> messed something up; -115 = -EINPROGRESS should never show up in this 
> context.  Apparently some URBs are being given back before they have 
> completed.

Sorry wasn't quite clear - the above messages are with 2.6.7-rc1 and
current bk with your patch backed out. Current bk with the patch reports
only the timeouts I originally listed.

> Meanwhile, Jens, could you please turn on USB debugging in your
> configuration and post the dmesg output you get from 2.6.7-rc1 with that
> patch in place?

Sure. Ok, so now it appears to work with bk-current (I re-applied the
patch) and usb debugging enabled. Here's the output from dmesg after the
boot, scanning/printing works.

USB Universal Host Controller Interface driver v2.2
uhci_hcd 0000:00:11.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller
uhci_hcd 0000:00:11.2: irq 3, io base 0000e000
uhci_hcd 0000:00:11.2: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:11.2: detected 2 ports
usb usb1: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: default language 0x0409
usb usb1: Product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller
usb usb1: Manufacturer: Linux 2.6.7-rc1 uhci_hcd
usb usb1: SerialNumber: 0000:00:11.2
usb usb1: adding 1-0:1.0 (config #1, interface 0)
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
hub 1-0:1.0: standalone hub
hub 1-0:1.0: no power switching (usb 1.0)
hub 1-0:1.0: individual port over-current protection
hub 1-0:1.0: power on to power good time: 2ms
hub 1-0:1.0: local power source is good
uhci_hcd 0000:00:11.3: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (#2)
uhci_hcd 0000:00:11.3: irq 3, io base 0000e400
uhci_hcd 0000:00:11.3: new USB bus registered, assigned bus number 2
uhci_hcd 0000:00:11.3: detected 2 ports
usb usb2: new device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: default language 0x0409
usb usb2: Product: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (#2)
usb usb2: Manufacturer: Linux 2.6.7-rc1 uhci_hcd
usb usb2: SerialNumber: 0000:00:11.3
usb usb2: adding 2-0:1.0 (config #1, interface 0)
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
hub 2-0:1.0: standalone hub
hub 2-0:1.0: no power switching (usb 1.0)
hub 2-0:1.0: individual port over-current protection
hub 2-0:1.0: power on to power good time: 2ms
hub 2-0:1.0: local power source is good
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
[...]
Freeing unused kernel memory: 328k freed
uhci_hcd 0000:00:11.2: port 1 portsc 0099
uhci_hcd 0000:00:11.2: port 1 portsc 0099
hub 1-0:1.0: debounce: port 1: delay 100ms stable 4 status 0x101
usb 1-1: new full speed USB device using address 2
usb 1-1: new device strings: Mfr=0, Product=0, SerialNumber=0
usb 1-1: adding 1-1:1.0 (config #1, interface 0)
usblp 1-1:1.0: usb_probe_interface
usblp 1-1:1.0: usb_probe_interface - got id
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 2 if 0
alt 0 proto 2 vid 0x04F9 pid 0x0007
drivers/usb/core/file.c: looking for a minor, starting at 0
uhci_hcd 0000:00:11.2: port 2 portsc 009b
hub 1-0:1.0: port 2, status 0101, change 0003, 12 Mb/s
uhci_hcd 0000:00:11.2: port 2 portsc 0099
uhci_hcd 0000:00:11.2: port 2 portsc 0099
uhci_hcd 0000:00:11.2: port 2 portsc 0099
uhci_hcd 0000:00:11.2: port 2 portsc 0099
uhci_hcd 0000:00:11.2: port 2 portsc 0099
hub 1-0:1.0: debounce: port 2: delay 100ms stable 4 status 0x101
usb 1-2: new full speed USB device using address 3
usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: default language 0x0409
usb 1-2: Product: PSC 950
usb 1-2: Manufacturer: Hewlett-Packard
usb 1-2: SerialNumber: ES1CACG0R9WP
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
usblp 1-2:1.0: usb_probe_interface
usblp 1-2:1.0: usb_probe_interface - got id
drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 3 if 0
alt 1 proto 2 vid 0x03F0 pid 0x1E11
drivers/usb/core/file.c: looking for a minor, starting at 0
uhci_hcd 0000:00:11.3: port 1 portsc 058a
hub 2-0:1.0: port 1, status 0308, change 0003, 1.5 Mb/s
uhci_hcd 0000:00:11.3: port 2 portsc 058a
hub 2-0:1.0: port 2, status 0308, change 0003, 1.5 Mb/s
uhci_hcd 0000:00:11.3: port 1 portsc 0588
hub 2-0:1.0: port 1 enable change, status 00000308
uhci_hcd 0000:00:11.3: port 2 portsc 0588
hub 2-0:1.0: port 2 enable change, status 00000308
uhci_hcd 0000:00:11.3: suspend_hc
[...]
drivers/usb/class/usblp.c: usblp1: nonzero read/write bulk status
received: -2
drivers/usb/class/usblp.c: usblp1: error -2 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer
drivers/usb/class/usblp.c: usblp1: error -115 reading from printer

-- 
Jens Axboe



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to