-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
*** reportbug-uvcvideo
Subject: "uvcvideo: Failed to resubmit video URB (-27)" after resume
Package: linux-2.6
Version: 2.6.37-2-amd64
Severity: normal
I'm using the suspend/resume functionality quite a lot lately, especially since
it was made prominent by the new GNOME Shell, and when resuming my webcam stops
working.
I blame this to a crash in ehci_hcd, since the webcam is listed at 12.2 and irq
17 is at 12.2 too, but I'm not sure.
Here there are some parts of my dmesg I think are relevant. A complete dump is
attached.
Thanks for any help,
Matteo
BEFORE SUSPEND:
======================
[ 2.685017] usb 1-3: New USB device found, idVendor=04f2, idProduct=a13d
[ 2.685019] usb 1-3: New USB device strings: Mfr=2, Product=1,
SerialNumber=0
[ 2.685021] usb 1-3: Product: HP Prem AF Webcam KQ245AA
[ 2.685022] usb 1-3: Manufacturer: HP Prem AF Webcam KQ245AA
[ 2.912052] usb 2-5: new high speed USB device using ehci_hcd and address 4
....
[ 3.244964] input: HP Prem AF Webcam KQ245AA HP Prem AF Webcam KQ245AA as
/devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.4/input/input0
[ 3.245010] Initializing USB Mass Storage driver...
[ 3.245017] generic-usb 0003:04F2:A13D.0001: input,hidraw0: USB HID v1.11
Joystick [HP Prem AF Webcam KQ245AA HP Prem AF Webcam KQ245AA] on
usb-0000:00:12.2-3/input4
[ 3.245033] usbcore: registered new interface driver usbhid
[ 3.245034] usbhid: USB HID core driver
....
[ 6.858340] Linux video capture interface: v2.00
[ 6.870334] uvcvideo: Found UVC 1.00 device HP Prem AF Webcam KQ245AA
(04f2:a13d)
[ 6.877441] input: HP Prem AF Webcam KQ245AA as
/devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3:1.0/input/input7
[ 6.877486] usbcore: registered new interface driver uvcvideo
[ 6.877487] USB Video Class driver (v1.0.0)
======================
AFTER RESUME:
======================
[16934.404075] ehci_hcd 0000:00:12.2: BAR 0: set to [mem 0xfe02c000-0xfe02c0ff]
(PCI address [0xfe02c000-0xfe02c0ff])
[16934.404103] ehci_hcd 0000:00:12.2: restoring config space at offset 0x1 (was
0x2b00000, writing 0x2b00012)
[16934.420137] ehci_hcd 0000:00:13.2: BAR 0: set to [mem 0xfe029000-0xfe0290ff]
(PCI address [0xfe029000-0xfe0290ff])
[16934.420165] ehci_hcd 0000:00:13.2: restoring config space at offset 0x1 (was
0x2b00000, writing 0x2b00012)
....
[16934.424680] ohci_hcd 0000:00:12.0: PCI INT A -> GSI 16 (level, low) -> IRQ
16
[16934.424722] ohci_hcd 0000:00:12.1: PCI INT A -> GSI 16 (level, low) -> IRQ
16
[16934.424764] ehci_hcd 0000:00:12.2: PCI INT B -> GSI 17 (level, low) -> IRQ
17
[16934.424781] ohci_hcd 0000:00:13.0: PCI INT A -> GSI 18 (level, low) -> IRQ
18
[16934.424800] ohci_hcd 0000:00:13.1: PCI INT A -> GSI 18 (level, low) -> IRQ
18
[16934.424802] ehci_hcd 0000:00:13.2: PCI INT B -> GSI 19 (level, low) -> IRQ
19
....
[16934.980061] firewire_core: rediscovered device fw0
[16935.028350] irq 17: nobody cared (try booting with the "irqpoll" option)
[16935.028353] Pid: 0, comm: swapper Not tainted 2.6.37-2-amd64 #1
[16935.028354] Call Trace:
[16935.028355] <IRQ> [<ffffffff8109313d>] ? __report_bad_irq+0x30/0x80
[16935.028362] [<ffffffff810932b4>] ? note_interrupt+0x127/0x19f
[16935.028365] [<ffffffff8100f6dd>] ? sched_clock+0x5/0x8
[16935.028367] [<ffffffff81093c93>] ? handle_fasteoi_irq+0xcc/0xf7
[16935.028369] [<ffffffff8100bf50>] ? handle_irq+0x17/0x1f
[16935.028371] [<ffffffff8100b60b>] ? do_IRQ+0x50/0xb5
[16935.028374] [<ffffffff8131eed3>] ? ret_from_intr+0x0/0x11
[16935.028375] <EOI> [<ffffffff81028108>] ? native_safe_halt+0x2/0x3
[16935.028379] [<ffffffff81010b4f>] ? default_idle+0x39/0x57
[16935.028380] [<ffffffff81010c44>] ? c1e_idle+0xd7/0xfd
[16935.028382] [<ffffffff81008bcb>] ? cpu_idle+0xb2/0x124
[16935.028385] [<ffffffff8169ad5d>] ? start_kernel+0x3c9/0x3d4
[16935.028387] [<ffffffff8169a3cd>] ? x86_64_start_kernel+0x107/0x114
[16935.028388] handlers:
[16935.028389] [<ffffffffa0081c4d>] (usb_hcd_irq+0x0/0x75 [usbcore])
[16935.028406] Disabling IRQ #17
....
[17069.256189] uvcvideo: Failed to resubmit video URB (-27).
[17069.256206] uvcvideo: Failed to resubmit video URB (-27).
[17069.256220] uvcvideo: Failed to resubmit video URB (-27).
[17069.256234] uvcvideo: Failed to resubmit video URB (-27).
[17069.256247] uvcvideo: Failed to resubmit video URB (-27).
======================
- -- System Information:
Debian Release: wheezy/sid
APT prefers experimental
APT policy: (800, 'experimental'), (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.37-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk18I/MACgkQUDehq0srSdYPiQCfWStyn8fsjTJR9EVmca0xckDA
zZgAn3mKcNIVG4te5RAFyseS1oFsoJxS
=3FXB
-----END PGP SIGNATURE-----