Public bug reported:

I've recently moved from FC25 to KUbuntu 17.10 and the video-
surveillance program is causing the system to freeze all usb peripherals
(mouse, keyboard, bluetooth, etc...). As a consequence the only solution
is to remote login and kill the process using the capture device.

Camera: Logitech QuickCam 4000 Pro USB (old model)
I've tried with newer webcams and it works.

Steps:
- Start any video capturing program e.g. vlc
- start video Capture with Ctrl-C with the default Video Camera
- After 1-2 frames the systems freezes
- Killing the application, unfreezes the system

The dmesg is full of repeated messages:
Nov 10 09:02:50 pceet070 kernel: [54333.596539] xhci_hcd 0000:00:14.0: ERROR 
unknown event type 37
...
Nov 10 09:02:50 pceet070 kernel: [54333.599623] xhci_hcd 0000:00:14.0: ERROR 
unknown event type 37
Nov 10 09:03:17 pceet070 kernel: [54361.410778] usb 3-10: reset high-speed USB 
device number 7 using xhci_hcd
Nov 10 09:03:17 pceet070 kernel: [54361.534035] pwc: Failed to set LED on/off 
time (-110)
Nov 10 09:03:23 pceet070 kernel: [54366.654102] pwc: Failed to power off camera 
(-110)
Nov 10 09:03:23 pceet070 kernel: [54366.882544] usb 3-10: device descriptor 
read/64, error -110
Nov 10 09:06:10 pceet070 colord[1155]: failed to get session [pid 14132]: No 
data available

Trying to debug with a simplified grabbing program 
https://github.com/vlachoudis/motion_detect
The freezing happens at the v4l2_ioctl(.., VIDIOC_DQBUF, ...) 

Removing the NONBLOCK from the open() of the handle it freezes with other 
messages
00000008047a3000 seg-end 00000008047a3ff0
[55505.385380] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part 
of current TD ep_index 10 comp_code 13
[55505.385388] xhci_hcd 0000:00:14.0: Looking for event-dma 00000008047a20d0 
trb-start 00000008047a3f30 trb-end 00000008047a3f30 seg-start 00000008047a3000 
seg-end 00000008047a3ff0
[55505.386392] xhci_hcd 0000:00:14.0: ERROR Transfer event TRB DMA ptr not part 
of current TD ep_index 10 comp_code 13
[55505.386400] xhci_hcd 0000:00:14.0: Looking for event-dma 00000008047a20e0 
trb-start 00000008047a3f30 trb-end 00000008047a3f30 seg-start 00000008047a3000 
seg-end 00000008047a3ff0

Please let me know what other tests I can perform to further debug the problem
Thanks in advance
Vasilis

** Affects: v4l-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1731416

Title:
  libv4l-0 freezes mouse and keyboard with Logitech QuickCam 4000

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/v4l-utils/+bug/1731416/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to