Skip to contentSkip to conversation

2.6.30-rc6: usb printer does not work

DISCUSSION Alexander Beregalov 2 participants 6 messages May 28, 2009 – May 29, 2009 4 messages not in the archive

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi

kernel is 2.6.30-rc6-00065-g3633832

It worked sometime ago, I do not remember,
perhaps it was 2.6.29.

# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0004
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT hub 1-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: new high speed USB device using ehci_hcd and address 36
ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: default language 0x0409
usb 1-2: New USB device found, idVendor=03f0, idProduct=4717
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: HP Color LaserJet CP1215
usb 1-2: Manufacturer: Hewlett-Packard
usb 1-2: SerialNumber: LJ0AXJ9
device: '1-2': device_add
bus: 'usb': add device 1-2
usb 1-2: uevent
bus: 'usb': driver_probe_device: matched device 1-2 with driver usb
bus: 'usb': really_probe: probing driver usb with device 1-2
usb 1-2: usb_probe_device
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
device: '1-2:1.0': device_add
bus: 'usb': add device 1-2:1.0
usb 1-2:1.0: uevent
bus: 'usb': driver_probe_device: matched device 1-2:1.0 with driver usblp
bus: 'usb': really_probe: probing driver usblp with device 1-2:1.0
usblp 1-2:1.0: usb_probe_interface
usblp 1-2:1.0: usb_probe_interface - got id
device: 'usbdev1.36_ep01': device_add
device: 'usbdev1.36_ep81': device_add
drivers/usb/core/file.c: looking for a minor, starting at 0
device class 'usb': registering
device: 'lp0': device_add
usblp0: USB Bidirectional printer dev 36 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4717
driver: '1-2:1.0': driver_bound: bound to device 'usblp'
bus: 'usb': really_probe: bound device 1-2:1.0 to driver usblp drivers/usb/core/inode.c: creating file '036'
driver: '1-2': driver_bound: bound to device 'usb'
bus: 'usb': really_probe: bound device 1-2 to driver usb
device: 'usbdev1.36_ep00': device_add
hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0004
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001802 POWER sig=j CSC
hub 1-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
usb 1-2: USB disconnect, address 36
usb 1-2: unregistering device
usb 1-2: usb_disable_device nuking all URBs
usb 1-2: unregistering interface 1-2:1.0
device: 'usbdev1.36_ep01': device_unregister
device: 'usbdev1.36_ep81': device_unregister
bus: 'usb': remove device 1-2:1.0
drivers/usb/core/file.c: removing 0 minor
device: 'lp0': device_unregister
device: 'lp0': device_create_release
device class 'usb': unregistering
class 'usb': release.
class_create_release called for usb
usblp0: removed
usb 1-2:1.0: uevent
device: 'usbdev1.36_ep00': device_unregister
bus: 'usb': remove device 1-2
usb 1-2: uevent
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: new high speed USB device using ehci_hcd and address 37
ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: default language 0x0409
usb 1-2: New USB device found, idVendor=03f0, idProduct=4717
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: HP Color LaserJet CP1215
usb 1-2: Manufacturer: Hewlett-Packard
usb 1-2: SerialNumber: LJ0AXJ9
device: '1-2': device_add
bus: 'usb': add device 1-2
usb 1-2: uevent
bus: 'usb': driver_probe_device: matched device 1-2 with driver usb
bus: 'usb': really_probe: probing driver usb with device 1-2
usb 1-2: usb_probe_device
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
device: '1-2:1.0': device_add
bus: 'usb': add device 1-2:1.0
usb 1-2:1.0: uevent
bus: 'usb': driver_probe_device: matched device 1-2:1.0 with driver usblp
bus: 'usb': really_probe: probing driver usblp with device 1-2:1.0
usblp 1-2:1.0: usb_probe_interface
usblp 1-2:1.0: usb_probe_interface - got id
device: 'usbdev1.37_ep01': device_add
device: 'usbdev1.37_ep81': device_add
drivers/usb/core/file.c: looking for a minor, starting at 0
device class 'usb': registering
device: 'lp0': device_add
usblp0: USB Bidirectional printer dev 37 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4717
driver: '1-2:1.0': driver_bound: bound to device 'usblp'
bus: 'usb': really_probe: bound device 1-2:1.0 to driver usblp drivers/usb/core/inode.c: creating file '037'
driver: '1-2': driver_bound: bound to device 'usb'
bus: 'usb': really_probe: bound device 1-2 to driver usb
device: 'usbdev1.37_ep00': device_add
hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0004
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001802 POWER sig=j CSC
hub 1-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
usb 1-2: USB disconnect, address 37
usb 1-2: unregistering device
usb 1-2: usb_disable_device nuking all URBs
usb 1-2: unregistering interface 1-2:1.0
device: 'usbdev1.37_ep01': device_unregister
device: 'usbdev1.37_ep81': device_unregister
bus: 'usb': remove device 1-2:1.0
drivers/usb/core/file.c: removing 0 minor
device: 'lp0': device_unregister
device: 'lp0': device_create_release
device class 'usb': unregistering
class 'usb': release.
class_create_release called for usb
usblp0: removed
usb 1-2:1.0: uevent
device: 'usbdev1.37_ep00': device_unregister
bus: 'usb': remove device 1-2
usb 1-2: uevent
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: new high speed USB device using ehci_hcd and address 38
ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: default language 0x0409
usb 1-2: New USB device found, idVendor=03f0, idProduct=4717
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: HP Color LaserJet CP1215
usb 1-2: Manufacturer: Hewlett-Packard
usb 1-2: SerialNumber: LJ0AXJ9
device: '1-2': device_add
bus: 'usb': add device 1-2
usb 1-2: uevent
bus: 'usb': driver_probe_device: matched device 1-2 with driver usb
bus: 'usb': really_probe: probing driver usb with device 1-2
usb 1-2: usb_probe_device
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
device: '1-2:1.0': device_add
bus: 'usb': add device 1-2:1.0
usb 1-2:1.0: uevent
bus: 'usb': driver_probe_device: matched device 1-2:1.0 with driver usblp
bus: 'usb': really_probe: probing driver usblp with device 1-2:1.0
usblp 1-2:1.0: usb_probe_interface
usblp 1-2:1.0: usb_probe_interface - got id
device: 'usbdev1.38_ep01': device_add
device: 'usbdev1.38_ep81': device_add
drivers/usb/core/file.c: looking for a minor, starting at 0
device class 'usb': registering
device: 'lp0': device_add
usblp0: USB Bidirectional printer dev 38 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4717
driver: '1-2:1.0': driver_bound: bound to device 'usblp'
bus: 'usb': really_probe: bound device 1-2:1.0 to driver usblp drivers/usb/core/inode.c: creating file '038'
driver: '1-2': driver_bound: bound to device 'usb'
bus: 'usb': really_probe: bound device 1-2 to driver usb
device: 'usbdev1.38_ep00': device_add
hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0004
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001802 POWER sig=j CSC
hub 1-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
usb 1-2: USB disconnect, address 38
usb 1-2: unregistering device
usb 1-2: usb_disable_device nuking all URBs
usb 1-2: unregistering interface 1-2:1.0
device: 'usbdev1.38_ep01': device_unregister
device: 'usbdev1.38_ep81': device_unregister
bus: 'usb': remove device 1-2:1.0
drivers/usb/core/file.c: removing 0 minor
device: 'lp0': device_unregister
device: 'lp0': device_create_release
device class 'usb': unregistering
class 'usb': release.
class_create_release called for usb
usblp0: removed
usb 1-2:1.0: uevent
device: 'usbdev1.38_ep00': device_unregister
bus: 'usb': remove device 1-2
usb 1-2: uevent
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: new high speed USB device using ehci_hcd and address 39
ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: default language 0x0409
usb 1-2: New USB device found, idVendor=03f0, idProduct=4717
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: HP Color LaserJet CP1215
usb 1-2: Manufacturer: Hewlett-Packard
usb 1-2: SerialNumber: LJ0AXJ9
device: '1-2': device_add
bus: 'usb': add device 1-2
usb 1-2: uevent
bus: 'usb': driver_probe_device: matched device 1-2 with driver usb
bus: 'usb': really_probe: probing driver usb with device 1-2
usb 1-2: usb_probe_device
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
device: '1-2:1.0': device_add
bus: 'usb': add device 1-2:1.0
usb 1-2:1.0: uevent
bus: 'usb': driver_probe_device: matched device 1-2:1.0 with driver usblp
bus: 'usb': really_probe: probing driver usblp with device 1-2:1.0
usblp 1-2:1.0: usb_probe_interface
usblp 1-2:1.0: usb_probe_interface - got id
device: 'usbdev1.39_ep01': device_add
device: 'usbdev1.39_ep81': device_add
drivers/usb/core/file.c: looking for a minor, starting at 0
device class 'usb': registering
device: 'lp0': device_add
usblp0: USB Bidirectional printer dev 39 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4717
driver: '1-2:1.0': driver_bound: bound to device 'usblp'
bus: 'usb': really_probe: bound device 1-2:1.0 to driver usblp drivers/usb/core/inode.c: creating file '039'
driver: '1-2': driver_bound: bound to device 'usb'
bus: 'usb': really_probe: bound device 1-2 to driver usb
device: 'usbdev1.39_ep00': device_add
hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0004
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT hub 1-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
usb 1-2: USB disconnect, address 39
usb 1-2: unregistering device
usb 1-2: usb_disable_device nuking all URBs
usb 1-2: unregistering interface 1-2:1.0
device: 'usbdev1.39_ep01': device_unregister
device: 'usbdev1.39_ep81': device_unregister
bus: 'usb': remove device 1-2:1.0
drivers/usb/core/file.c: removing 0 minor
device: 'lp0': device_unregister
device: 'lp0': device_create_release
device class 'usb': unregistering
class 'usb': release.
class_create_release called for usb
usblp0: removed
usb 1-2:1.0: uevent
device: 'usbdev1.39_ep00': device_unregister
bus: 'usb': remove device 1-2
usb 1-2: uevent
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: new high speed USB device using ehci_hcd and address 40
ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: default language 0x0409
usb 1-2: New USB device found, idVendor=03f0, idProduct=4717
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: HP Color LaserJet CP1215
usb 1-2: Manufacturer: Hewlett-Packard
usb 1-2: SerialNumber: LJ0AXJ9
device: '1-2': device_add
bus: 'usb': add device 1-2
usb 1-2: uevent
bus: 'usb': driver_probe_device: matched device 1-2 with driver usb
bus: 'usb': really_probe: probing driver usb with device 1-2
usb 1-2: usb_probe_device
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
device: '1-2:1.0': device_add
bus: 'usb': add device 1-2:1.0
usb 1-2:1.0: uevent
bus: 'usb': driver_probe_device: matched device 1-2:1.0 with driver usblp
bus: 'usb': really_probe: probing driver usblp with device 1-2:1.0
usblp 1-2:1.0: usb_probe_interface
usblp 1-2:1.0: usb_probe_interface - got id
device: 'usbdev1.40_ep01': device_add
device: 'usbdev1.40_ep81': device_add
drivers/usb/core/file.c: looking for a minor, starting at 0
device class 'usb': registering
device: 'lp0': device_add
usblp0: USB Bidirectional printer dev 40 if 0 alt 0 proto 2 vid 0x03F0 pid 0x4717
driver: '1-2:1.0': driver_bound: bound to device 'usblp'
bus: 'usb': really_probe: bound device 1-2:1.0 to driver usblp drivers/usb/core/inode.c: creating file '040'
driver: '1-2': driver_bound: bound to device 'usb'
bus: 'usb': really_probe: bound device 1-2 to driver usb
device: 'usbdev1.40_ep00': device_add
hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0004
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001802 POWER sig=j CSC
hub 1-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
usb 1-2: USB disconnect, address 40
usb 1-2: unregistering device
usb 1-2: usb_disable_device nuking all URBs
usb 1-2: unregistering interface 1-2:1.0
device: 'usbdev1.40_ep01': device_unregister
device: 'usbdev1.40_ep81': device_unregister
bus: 'usb': remove device 1-2:1.0
drivers/usb/core/file.c: removing 0 minor
device: 'lp0': device_unregister
device: 'lp0': device_create_release
device class 'usb': unregistering
class 'usb': release.
class_create_release called for usb
usblp0: removed
usb 1-2:1.0: uevent
device: 'usbdev1.40_ep00': device_unregister
bus: 'usb': remove device 1-2
usb 1-2: uevent
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501 ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT usb 1-2: new high speed USB device using ehci_hcd and address 41
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 1
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 2
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 3
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 4
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 5
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 6
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 7
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 8
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 9
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 10
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 11
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 12
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 13
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 14
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 15
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 16
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 17
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 18
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 19
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 20
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 21
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 22
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 23
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 24
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 25
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 26
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 27
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 28
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 29
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 30
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 31
ehci_hcd 0000:00:02.2: devpath 2 ep0in 3strikes
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 1
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 2
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 3
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 4
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 5
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 6
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 7
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 8
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 9
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 10
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 11
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 12
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 13
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 14
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 15
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 16
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 17
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 18
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 19
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 20
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 21
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 22
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 23
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 24
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 25
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 26
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 27
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 28
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 29
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 30
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 31
ehci_hcd 0000:00:02.2: devpath 2 ep0in 3strikes
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 1
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 2
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 3
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 4
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 5
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 6
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 7
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 8
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 9
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 10
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 11
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 12
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 13
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 14
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 15
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 16
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 17
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 18
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 19
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 20
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 21
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 22
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 23
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 24
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 25
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 26
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 27
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 28
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 29
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 30
ehci_hcd 0000:00:02.2: detected XactErr len 0/8 retry 31
ehci_hcd 0000:00:02.2: devpath 2 ep0in 3strikes
ehci_hcd 0000:00:02.2: port 2 high speed
ehci_hcd 0000:00:02.2: GetStatus port 2 status 001007 POWER sig=se0 PE CSC CONNECT hub 1-0:1.0: unable to enumerate USB device on port 2
ohci_hcd 0000:00:02.0: auto-wakeup root hub
hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0004
ehci_hcd 0000:00:02.2: GetStatus port 2 status 003802 POWER OWNER sig=j CSC hub 1-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
hub 2-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00010101 CSC PPS CCS hub 2-0:1.0: port 2, status 0101, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x101 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS usb 2-2: new full speed USB device using ohci_hcd and address 10
ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00120103 PRSC PESC PPS PES CCS usb 2-2: device descriptor read/64, error -62
ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00120103 PRSC PESC PPS PES CCS usb 2-2: device descriptor read/64, error -62
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00120103 PRSC PESC PPS PES CCS usb 2-2: new full speed USB device using ohci_hcd and address 11
ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00120103 PRSC PESC PPS PES CCS usb 2-2: device descriptor read/64, error -62
ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0in 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00120103 PRSC PESC PPS PES CCS usb 2-2: device descriptor read/64, error -62
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00120103 PRSC PESC PPS PES CCS usb 2-2: new full speed USB device using ohci_hcd and address 12
ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0out 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0out 5ec20000 cc 5 --> status -62 usb 2-2: device not accepting address 12, error -62
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00120103 PRSC PESC PPS PES CCS usb 2-2: new full speed USB device using ohci_hcd and address 13
ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0out 5ec20000 cc 5 --> status -62 ohci_hcd 0000:00:02.0: urb f61548f0 path 2 ep0out 5ec20000 cc 5 --> status -62 usb 2-2: device not accepting address 13, error -62
hub 2-0:1.0: unable to enumerate USB device on port 2
hub 2-0:1.0: state 7 ports 3 chg 0000 evt 0004
ohci_hcd 0000:00:02.0: GetStatus roothub.portstatus [1] = 0x00020101 PESC PPS CCS hub 2-0:1.0: port 2 enable change, status 00000101

A message that is not in the archive (sent off-list or not yet received): 20090528111831.a35c5184.zaitcev-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org

A message that is not in the archive (sent off-list or not yet received): a4423d670905281044n5e2480a1g98fc6fb5ceb845cd-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#5 lore raw
Quoted 8 lines · Alexander Beregalov
Quoted 6 lines
Quoted 4 lines

kernel is 2.6.30-rc6-00065-g3633832

It worked sometime ago, I do not remember,
perhaps it was 2.6.29.

Can you verify it?

It works with 2.6.29 indeed.

Thanks. Just to make sure that it's the culprit, can you back out the patch for the usblp from the 2.6.30-rc6-00065-g3633832, whatever that is? We only had one since 2.6.29 (attached).

Also, I'd like to see a usbmon trace. I don't want to create more quirks, so perhaps we can work out some kind of compromise that lets BJC-3000 work with the general code. Failing that, we'll add a quirk and that would hopefuly restore your case (HP CP1215, I take it).

-- Pete

drivers/usb/class/usblp.c +7 -4
@@ -880,16 +880,19 @@ static int usblp_wwait(struct usblp *usb
 		if (rc <= 0)
 			break;
 
-		if (usblp->flags & LP_ABORT) {
-			if (schedule_timeout(msecs_to_jiffies(5000)) == 0) {
+		if (schedule_timeout(msecs_to_jiffies(1500)) == 0) {
+			if (usblp->flags & LP_ABORT) {
 				err = usblp_check_status(usblp, err);
 				if (err == 1) {	/* Paper out */
 					rc = -ENOSPC;
 					break;
 				}
+			} else {
+				/* Prod the printer, Gentoo#251237. */
+				mutex_lock(&usblp->mut);
+				usblp_read_status(usblp, usblp->statusbuf);
+				mutex_unlock(&usblp->mut);
 			}
-		} else {
-			schedule();
 		}
 	}
 	set_current_state(TASK_RUNNING);

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 20090528122054.2c837ccd.zaitcev-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org

#7 lore raw

2009/5/28 Pete Zaitcev <[email protected]>:

Quoted 11 lines · Alexander Beregalov
Quoted 9 lines
Quoted 7 lines
Quoted 5 lines

kernel is 2.6.30-rc6-00065-g3633832

It worked sometime ago, I do not remember,
perhaps it was 2.6.29.

Can you verify it?

It works with 2.6.29 indeed.

Quoted 9 lines

Thanks. Just to make sure that it's the culprit, can you back out the patch for the usblp from the 2.6.30-rc6-00065-g3633832, whatever that is? We only had one since 2.6.29 (attached).

Also, I'd like to see a usbmon trace. I don't want to create more quirks, so perhaps we can work out some kind of compromise that lets BJC-3000 work with the general code. Failing that, we'll add a quirk and that would hopefuly restore your case (HP CP1215, I take it).

It is working with 2.6.30-rc7-00097-gb5c42bc and without dd44be6b1 (usblp: continuously poll for status).
I cannot reproduce the problem after reboot.
It seems the problem is more complicated.

A message that is not in the archive (sent off-list or not yet received): a4423d670905282230n4bb9f456w1b13ce6462f81bf9-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org

#9 lore raw
Quoted 4 lines · Alexander Beregalov

It is working with 2.6.30-rc7-00097-gb5c42bc and without dd44be6b1 (usblp: continuously poll for status).
I cannot reproduce the problem after reboot.
It seems the problem is more complicated.

Indeed this is curious. I would like to see a usbmon trace if it starts looping like before. Then we'll see if it dies after it gets the status command.

One tiny possibility is that the old driver in Vojtech's days polled every 5s. The patch we discuss here polls every 1.5s. I have traces from Windows that bomb printers several times every second, so I figured that it would be safe to reduce the latency a bit. Maybe swapping that 1500 with 5000 is enough. But we'd need a well controlled experiment, with a power cycle and several passes preferably.

Yours,
-- Pete