Comment 7 for bug 262927

Revision history for this message
BanjoBoy (linux-bent-lykkebo) wrote :

More testing. I boot without the Hauppauge WinTV USB2 device connected. My Compaq Presario laptop has 2 USB ports and I'm using one for the WinTV and one with a USB hub. After boot I disconnect the hub and reconnect and gets:
Sep 24 22:44:14 laptop kernel: [ 129.008065] usb 1-3: USB disconnect, address 2
Sep 24 22:44:14 laptop kernel: [ 129.008083] usb 1-3.1: USB disconnect, address 3
Sep 24 22:44:15 laptop kernel: [ 129.076182] usb 1-3.4: USB disconnect, address 4
Sep 24 22:44:26 laptop kernel: [ 140.480078] usb 1-3: new high speed USB device using ehci_hcd and address 5
Sep 24 22:44:26 laptop kernel: [ 140.655977] usb 1-3: configuration #1 chosen from 1 choice
Sep 24 22:44:26 laptop kernel: [ 140.658561] hub 1-3:1.0: USB hub found
Sep 24 22:44:26 laptop kernel: [ 140.659124] hub 1-3:1.0: 4 ports detected
Sep 24 22:44:28 laptop kernel: [ 142.065546] usb 1-3.1: new low speed USB device using ehci_hcd and address 6
Sep 24 22:44:28 laptop kernel: [ 142.167642] usb 1-3.1: configuration #1 chosen from 1 choice
Sep 24 22:44:28 laptop kernel: [ 142.197995] input: Microsft Microsoft Wireless Desktop Receiver 3.1 as /class/input/input11
Sep 24 22:44:28 laptop kernel: [ 142.224434] input,hidraw0: USB HID v1.11 Keyboard [Microsft Microsoft Wireless Desktop Receiver 3.1] on usb-0000:02:0e.2-3.1
Sep 24 22:44:28 laptop kernel: [ 142.240147] Fixing up Microsoft Wireless Receiver Model 1028 report descriptor
Sep 24 22:44:28 laptop kernel: [ 142.256277] input: Microsft Microsoft Wireless Desktop Receiver 3.1 as /class/input/input12
Sep 24 22:44:28 laptop kernel: [ 142.304441] input,hidraw1: USB HID v1.11 Mouse [Microsft Microsoft Wireless Desktop Receiver 3.1] on usb-0000:02:0e.2-3.1
Sep 24 22:44:28 laptop kernel: [ 142.388689] usb 1-3.4: new high speed USB device using ehci_hcd and address 7
Sep 24 22:44:28 laptop kernel: [ 142.492687] usb 1-3.4: configuration #1 chosen from 1 choice
Sep 24 22:44:28 laptop kernel: [ 142.493801] hub 1-3.4:1.0: USB hub found
Sep 24 22:44:28 laptop kernel: [ 142.494257] hub 1-3.4:1.0: 4 ports detected

Then connect a USB-flashstick and gets:
Sep 24 22:45:59 laptop kernel: [ 233.400421] usb 1-3.4.3: new high speed USB device using ehci_hcd and address 8
Sep 24 22:45:59 laptop kernel: [ 233.547774] usb 1-3.4.3: configuration #1 chosen from 1 choice
Sep 24 22:46:00 laptop kernel: [ 234.226706] usbcore: registered new interface driver libusual
Sep 24 22:46:00 laptop kernel: [ 234.301566] Initializing USB Mass Storage driver...
Sep 24 22:46:00 laptop kernel: [ 234.305571] scsi2 : SCSI emulation for USB Mass Storage devices
Sep 24 22:46:00 laptop kernel: [ 234.316217] usbcore: registered new interface driver usb-storage
Sep 24 22:46:00 laptop kernel: [ 234.319708] USB Mass Storage support registered.
Sep 24 22:46:05 laptop kernel: [ 239.323153] scsi 2:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS
Sep 24 22:46:07 laptop kernel: [ 241.710501] sd 2:0:0:0: [sdb] 15638528 512-byte hardware sectors (8007 MB)
Sep 24 22:46:07 laptop kernel: [ 241.715751] sd 2:0:0:0: [sdb] Write Protect is off
Sep 24 22:46:07 laptop kernel: [ 241.732375] sd 2:0:0:0: [sdb] 15638528 512-byte hardware sectors (8007 MB)
Sep 24 22:46:07 laptop kernel: [ 241.736873] sd 2:0:0:0: [sdb] Write Protect is off
Sep 24 22:46:07 laptop kernel: [ 241.746163] sdb: sdb1
Sep 24 22:46:07 laptop kernel: [ 241.748621] sd 2:0:0:0: [sdb] Attached SCSI removable disk
Sep 24 22:46:07 laptop kernel: [ 241.752353] sd 2:0:0:0: Attached scsi generic sg2 type 0

And disconnect it again:
Sep 24 22:46:35 laptop kernel: [ 269.700513] usb 1-3.4.3: USB disconnect, address 8

Then I connect the WinTV device and gets:
Sep 24 22:47:59 laptop kernel: [ 353.348069] usb 1-1: new high speed USB device using ehci_hcd and address 12
Sep 24 22:47:59 laptop kernel: [ 353.526033] usb 1-1: configuration #1 chosen from 1 choice
Sep 24 22:47:59 laptop kernel: [ 353.829790] Linux video capture interface: v2.00
Sep 24 22:47:59 laptop kernel: [ 353.890577] usbcore: registered new interface driver pvrusb2
Sep 24 22:47:59 laptop kernel: [ 353.891004] pvrusb2: Hauppauge WinTV-PVR-USB2 MPEG2 Encoder/Tuner : V4L in-tree version
Sep 24 22:47:59 laptop kernel: [ 353.891017] pvrusb2: Debug mask is 31 (0x1f)
Sep 24 22:47:59 laptop kernel: [ 353.892231] firmware: requesting v4l-pvrusb2-29xxx-01.fw
Sep 24 22:47:59 laptop kernel: [ 353.930247] pvrusb2: Device microcontroller firmware (re)loaded; it should now reset and reconnect.
Sep 24 22:48:00 laptop kernel: [ 354.072082] usb 1-1: USB disconnect, address 12
Sep 24 22:48:00 laptop kernel: [ 354.072718] pvrusb2: Device being rendered inoperable
Sep 24 22:48:01 laptop kernel: [ 355.700099] usb 1-1: new high speed USB device using ehci_hcd and address 13
Sep 24 22:48:01 laptop kernel: [ 355.874180] usb 1-1: configuration #1 chosen from 1 choice

And disconnect it again:
Sep 24 22:48:46 laptop kernel: [ 400.060113] usb 1-1: USB disconnect, address 13

After this no more connect/disconnect of USB devices is registered!!! It seems that somehow the WinTV (pvrusb2 module/v4l module) miss handle the usb module.

Maybe this helps for the kernel develop team to fix the problem?