Opened 14 years ago

Closed 13 years ago

Last modified 13 years ago

#5068 closed bug (fixed)

[usb] unrecognized USB 1 device on a port, recognized on another

Reported by: korli Owned by: mmlr
Priority: normal Milestone: R1
Component: Drivers/USB Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I'm using a USB network adapter with the pegasus driver. When used on a port, the device is not recognized. When used on another port, the device is recognized.

[the device is removed from the non working port]
KERN: usb hub 12: KERN: port 0: device removed
KERN: usb hub 12: port 0 disabled

[the device is plugged in the non working port]
KERN: usb hub 32: KERN: usb error ehci 5: KERN: port 0: new device connected
KERN: usb ehci 6: fullspeed device connected, giving up port ownership
KERN: usb hub 12: port 0: new device connected
KERN: usb error control pipe 49: timeout waiting for queued request to complete
KERN: usb error control pipe 49: timeout waiting for queued request to complete
KERN: usb error uhci 2: KERN: td (0x0477c9c0) error: status: 0x00450007; token: 0x00e0002d;
KERN: usb error control pipe 49: timeout waiting for queued request to complete
KERN: usb error uhci 2: KERN: td (0x0477cc00) error: status: 0x00450007; token: 0x00e0002d;
KERN: usb error uhci 2: KERN: error while setting device address
KERN: usb hub 32: KERN: port 0: device removed

[the device is removed from the non working port]
KERN: usb hub 12: port 0: device removed
KERN: usb hub 12: KERN: port 0 disabled

[the device is plugged in the working port]
KERN: usb hub 32: port 3: new device connected
KERN: usb ehci 6: fullspeed device connected, giving up port ownership
KERN: usb hub 17: port 1: new device connected
KERN: usb hub 32: port 3: device removed
KERN: usb_asix:04.35.576:init_driver::ver.0.8.3

KERN: PCI: [dom 0, bus  0] bus   0, device 26, function  0: vendor 8086, device 2834, revision 02
KERN: PCI:   class_base 0c, class_function 03, class_api 00
KERN: PCI:   vendor 8086: Intel Corporation
KERN: PCI:   device 2834: 82801H (ICH8 Family) USB UHCI Controller #4
KERN: PCI:   info: Serial bus controller (USB Controller, UHCI)
KERN: PCI:   line_size 00, latency 00, header_type 80, BIST 00
KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI:   cardbus_CIS 00000000, subsystem_id 7311, subsystem_vendor_id 1462
KERN: PCI:   interrupt_line 05, interrupt_pin 01, min_grant 00, max_latency 00
KERN: PCI:   base reg 0: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 4: host 0000fe00, pci 0000fe00, size 00000020, flags 01
KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   Capabilities: (not supported)
KERN: PCI: [dom 0, bus  0] bus   0, device 26, function  1: vendor 8086, device 2835, revision 02
KERN: PCI:   class_base 0c, class_function 03, class_api 00
KERN: PCI:   vendor 8086: Intel Corporation
KERN: PCI:   device 2835: 82801H (ICH8 Family) USB UHCI Controller #5
KERN: PCI:   info: Serial bus controller (USB Controller, UHCI)
KERN: PCI:   line_size 00, latency 00, header_type 00, BIST 00
KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI:   cardbus_CIS 00000000, subsystem_id 7311, subsystem_vendor_id 1462
KERN: PCI:   interrupt_line 0b, interrupt_pin 02, min_grant 00, max_latency 00
KERN: PCI:   base reg 0: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 4: host 0000fd00, pci 0000fd00, size 00000020, flags 01
KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   Capabilities: (not supported)
KERN: PCI: [dom 0, bus  0] bus   0, device 26, function  7: vendor 8086, device 283a, revision 02
KERN: PCI:   class_base 0c, class_function 03, class_api 20
KERN: PCI:   vendor 8086: Intel Corporation
KERN: PCI:   device 283a: 82801H (ICH8 Family) USB2 EHCI Controller #2
KERN: PCI:   info: Serial bus controller (USB Controller, EHCI)
KERN: PCI:   line_size 00, latency 00, header_type 00, BIST 00
KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI:   cardbus_CIS 00000000, subsystem_id 7311, subsystem_vendor_id 1462
KERN: PCI:   interrupt_line 0a, interrupt_pin 03, min_grant 00, max_latency 00
KERN: PCI:   base reg 0: host fdffe000, pci fdffe000, size 00000400, flags 00
KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 4: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   Capabilities: PM
KERN: PCI: [dom 0, bus  0] bus   0, device 29, function  0: vendor 8086, device 2830, revision 02
KERN: PCI:   class_base 0c, class_function 03, class_api 00
KERN: PCI:   vendor 8086: Intel Corporation
KERN: PCI:   device 2830: 82801H (ICH8 Family) USB UHCI Controller #1
KERN: PCI:   info: Serial bus controller (USB Controller, UHCI)
KERN: PCI:   line_size 00, latency 00, header_type 80, BIST 00
KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI:   cardbus_CIS 00000000, subsystem_id 7311, subsystem_vendor_id 1462
KERN: PCI:   interrupt_line 05, interrupt_pin 01, min_grant 00, max_latency 00
KERN: PCI:   base reg 0: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 4: host 0000fc00, pci 0000fc00, size 00000020, flags 01
KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   Capabilities: (not supported)
KERN: PCI: [dom 0, bus  0] bus   0, device 29, function  1: vendor 8086, device 2831, revision 02
KERN: PCI:   class_base 0c, class_function 03, class_api 00
KERN: PCI:   vendor 8086: Intel Corporation
KERN: PCI:   device 2831: 82801H (ICH8 Family) USB UHCI Controller #2
KERN: PCI:   info: Serial bus controller (USB Controller, UHCI)
KERN: PCI:   line_size 00, latency 00, header_type 00, BIST 00
KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI:   cardbus_CIS 00000000, subsystem_id 7311, subsystem_vendor_id 1462
KERN: PCI:   interrupt_line 0b, interrupt_pin 02, min_grant 00, max_latency 00
KERN: PCI:   base reg 0: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 4: host 0000fb00, pci 0000fb00, size 00000020, flags 01
KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   Capabilities: (not supported)
KERN: PCI: [dom 0, bus  0] bus   0, device 29, function  2: vendor 8086, device 2832, revision 02
KERN: PCI:   class_base 0c, class_function 03, class_api 00
KERN: PCI:   vendor 8086: Intel Corporation
KERN: PCI:   device 2832: 82801H (ICH8 Family) USB UHCI Controller #3
KERN: PCI:   info: Serial bus controller (USB Controller, UHCI)
KERN: PCI:   line_size 00, latency 00, header_type 00, BIST 00
KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI:   cardbus_CIS 00000000, subsystem_id 7311, subsystem_vendor_id 1462
KERN: PCI:   interrupt_line 0a, interrupt_pin 03, min_grant 00, max_latency 00
KERN: PCI:   base reg 0: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 4: host 0000fa00, pci 0000fa00, size 00000020, flags 01
KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   Capabilities: (not supported)
KERN: PCI: [dom 0, bus  0] bus   0, device 29, function  7: vendor 8086, device 2836, revision 02
KERN: PCI:   class_base 0c, class_function 03, class_api 20
KERN: PCI:   vendor 8086: Intel Corporation
KERN: PCI:   device 2836: 82801H (ICH8 Family) USB2 EHCI Controller #1
KERN: PCI:   info: Serial bus controller (USB Controller, EHCI)
KERN: PCI:   line_size 00, latency 00, header_type 00, BIST 00
KERN: PCI:   ROM base host 00000000, pci 00000000, size 00000000
KERN: PCI:   cardbus_CIS 00000000, subsystem_id 7311, subsystem_vendor_id 1462
KERN: PCI:   interrupt_line 05, interrupt_pin 01, min_grant 00, max_latency 00
KERN: PCI:   base reg 0: host fdffd000, pci fdffd000, size 00000400, flags 00
KERN: PCI:   base reg 1: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 2: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 3: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 4: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   base reg 5: host 00000000, pci 00000000, size 00000000, flags 00
KERN: PCI:   Capabilities: PM

Attachments (1)

syslog (479.0 KB ) - added by korli 14 years ago.
syslog hrev34448

Download all attachments as: .zip

Change History (6)

by korli, 14 years ago

Attachment: syslog added

syslog hrev34448

comment:1 by korli, 14 years ago

Plugged in the working port:

0000:0000 /dev/bus/usb/0/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
0000:0000 /dev/bus/usb/1/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
0000:0000 /dev/bus/usb/2/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
07a6:8511 /dev/bus/usb/3/1 "ADMtek" "USB To LAN Converter" ver. 0101
0000:0000 /dev/bus/usb/3/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
046d:c00e /dev/bus/usb/4/0 "Logitech" "USB-PS/2 Optical Mouse" ver. 1110
046d:c50e /dev/bus/usb/4/1 "Logitech" "USB Receiver" ver. 2500
0000:0000 /dev/bus/usb/4/hub "HAIKU Inc." "UHCI RootHub" ver. 0110
0424:2228 /dev/bus/usb/5/1 "Generic" "Flash Card Reader" ver. 0452
152d:2338 /dev/bus/usb/5/2 "JMicron" "USB to ATA/ATAPI Bridge" ver. 0100
0000:0000 /dev/bus/usb/5/hub "HAIKU Inc." "EHCI RootHub" ver. 0200
0000:0000 /dev/bus/usb/6/hub "HAIKU Inc." "EHCI RootHub" ver. 0200

comment:2 by mmlr, 14 years ago

Possibly hrev36234 changed something, though it's unlikely if the device previously worked on the other port.

comment:3 by korli, 14 years ago

Still with us at hrev36265.

comment:4 by korli, 13 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev41658

in reply to:  4 comment:5 by mmlr, 13 years ago

Replying to korli:

Fixed in hrev41658

For reference: This value originally came from FreeBSD, http://fxr.watson.org/fxr/source/dev/usb/usb.h#L111 where it is put under the "relaxed" values. I've rechecked with Linux, where they seem to use 50ms as well, so this should be fine. These values can easily backfire however, so keep in mind to first check other implementations before trusting what the specs say.

Note: See TracTickets for help on using tickets.