Bug 67551 - Video capture doesn't work on Logitech C510 USB webcam in some cases
Summary: Video capture doesn't work on Logitech C510 USB webcam in some cases
Status: RESOLVED OBSOLETE
Alias: None
Product: v4l-dvb
Classification: Unclassified
Component: webcam (show other bugs)
Hardware: i386 Linux
: P1 normal
Assignee: webcam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-22 20:17 UTC by Artem S. Tashkinov
Modified: 2020-02-15 23:18 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.12.6
Subsystem:
Regression: No
Bisected commit-id:


Attachments
No picture at 640x480@30 YUYV (33.26 KB, image/png)
2016-04-17 06:31 UTC, Artem S. Tashkinov
Details

Description Artem S. Tashkinov 2013-12-22 20:17:48 UTC
Mind that audio input always works.

Video capturing is guaranteed not to work after I reboot from Windows 7.

In rare cases it doesn't work when I cold boot straight into Linux.

When I try to capture - either there's no signal and capturing fails to initiate or I get a black screen (a LED on webcam doesn't turn on in both cases).

If I rmmod ehci_hcd and then modprobe ehci_hcd and uvcvideo, then everything starts working again.
Comment 1 Artem S. Tashkinov 2014-10-07 06:32:51 UTC
Here's what I see in logs when I try to use it:

------------[ cut here ]------------
WARNING: CPU: 3 PID: 6264 at drivers/media/v4l2-core/videobuf2-core.c:2144 __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]()
Modules linked in: vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ipv6 nf_conntrack_ftp nf_conntrack_netbios_ns nf_conntrack_broadcast nf_log_ipv4 nf_log_common xt_LOG xt_limit nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack xt_tcpudp xt_pkttype xt_NFLOG nfnetlink_log nfnetlink xt_owner xt_multiport iptable_filter ip_tables x_tables w83627ehf adt7475 hwmon_vid coretemp binfmt_misc fuse hid_generic snd_usb_audio snd_usbmidi_lib snd_rawmidi uvcvideo videobuf2_core v4l2_common videodev videobuf2_vmalloc videobuf2_memops usbhid hid snd_hda_codec_realtek snd_hda_codec_generic microcode pcspkr sr_mod cdrom sg i2c_i801 fan 8250 serial_core snd_hda_codec_hdmi xhci_hcd evdev ehci_pci ehci_hcd nvidia(PO) drm agpgart snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd e1000e ptp pps_core
CPU: 3 PID: 6264 Comm: skype Tainted: P           O   3.17.0-ic #1
Hardware name: System manufacturer System Product Name/P8P67 PRO, BIOS 3602 11/01/2012
 00000000 00000000 e3755d14 c966e07e 00000000 e3755d44 c933d3ea c970a514
 00000003 00001878 f8a6f16c 00000860 f8a6b8f7 f8a6b8f7 00000000 ee30d5b4
 ee30d488 e3755d54 c933d42d 00000009 00000000 e3755d6c f8a6b8f7 e3755d98
Call Trace:
 [<c966e07e>] dump_stack+0x48/0x69
 [<c933d3ea>] warn_slowpath_common+0x7a/0xa0
 [<f8a6b8f7>] ? __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]
 [<f8a6b8f7>] ? __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]
 [<c933d42d>] warn_slowpath_null+0x1d/0x20
 [<f8a6b8f7>] __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]
 [<f8a6b95f>] vb2_internal_streamoff+0xf/0x60 [videobuf2_core]
 [<f8a6b9c2>] vb2_streamoff+0x12/0x20 [videobuf2_core]
 [<f8ac8f3d>] uvc_queue_enable+0x5d/0xa0 [uvcvideo]
 [<f8acd7e8>] uvc_video_enable+0x168/0x1a0 [uvcvideo]
 [<f8aca1a8>] uvc_v4l2_do_ioctl+0x648/0x13a0 [uvcvideo]
 [<c93c07f6>] ? __pte_alloc+0x76/0xf0
 [<c93b7cf8>] ? __inc_zone_page_state+0x18/0x20
 [<c93ca8cd>] ? page_add_file_rmap+0x1d/0x20
 [<f8aafdd7>] video_usercopy+0x187/0x450 [videodev]
 [<c93cdc08>] ? remap_vmalloc_range_partial+0x68/0xa0
 [<c93bc7ca>] ? vma_interval_tree_insert+0x6a/0x80
 [<c93c591b>] ? __vma_link_file+0x3b/0x60
 [<c93c6005>] ? vma_link+0x65/0xb0
 [<f8ac93d9>] uvc_v4l2_ioctl+0x29/0x60 [uvcvideo]
 [<f8ac9b60>] ? uvc_v4l2_set_streamparm.isra.8+0x1a0/0x1a0 [uvcvideo]
 [<f8aac64d>] v4l2_ioctl+0xfd/0x140 [videodev]
 [<f8aac550>] ? v4l2_open+0x110/0x110 [videodev]
 [<c93ec5ca>] do_vfs_ioctl+0x6a/0x540
 [<c93c8221>] ? do_mmap_pgoff+0x231/0x310
 [<c93e6408>] ? final_putname+0x18/0x40
 [<c93b69bc>] ? vm_mmap_pgoff+0x5c/0x80
 [<c93f4f7b>] ? __fget+0x5b/0x90
 [<c93f519d>] ? __fget_light+0x1d/0x50
 [<c93ecade>] SyS_ioctl+0x3e/0x80
 [<c9672670>] sysenter_do_call+0x12/0x12
 [<c9670000>] ? __ww_mutex_lock_interruptible_slowpath+0x265/0x2b5
---[ end trace 40088b3281879c1d ]---
------------[ cut here ]------------
WARNING: CPU: 3 PID: 6264 at drivers/media/v4l2-core/videobuf2-core.c:2144 __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]()
Modules linked in: vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ipv6 nf_conntrack_ftp nf_conntrack_netbios_ns nf_conntrack_broadcast nf_log_ipv4 nf_log_common xt_LOG xt_limit nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack xt_tcpudp xt_pkttype xt_NFLOG nfnetlink_log nfnetlink xt_owner xt_multiport iptable_filter ip_tables x_tables w83627ehf adt7475 hwmon_vid coretemp binfmt_misc fuse hid_generic snd_usb_audio snd_usbmidi_lib snd_rawmidi uvcvideo videobuf2_core v4l2_common videodev videobuf2_vmalloc videobuf2_memops usbhid hid snd_hda_codec_realtek snd_hda_codec_generic microcode pcspkr sr_mod cdrom sg i2c_i801 fan 8250 serial_core snd_hda_codec_hdmi xhci_hcd evdev ehci_pci ehci_hcd nvidia(PO) drm agpgart snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd e1000e ptp pps_core
CPU: 3 PID: 6264 Comm: skype Tainted: P        W  O   3.17.0-ic #1
Hardware name: System manufacturer System Product Name/P8P67 PRO, BIOS 3602 11/01/2012
 00000000 00000000 e3755d14 c966e07e 00000000 e3755d44 c933d3ea c970a514
 00000003 00001878 f8a6f16c 00000860 f8a6b8f7 f8a6b8f7 00000000 ee30d5b4
 ee30d488 e3755d54 c933d42d 00000009 00000000 e3755d6c f8a6b8f7 e3755d98
Call Trace:
 [<c966e07e>] dump_stack+0x48/0x69
 [<c933d3ea>] warn_slowpath_common+0x7a/0xa0
 [<f8a6b8f7>] ? __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]
 [<f8a6b8f7>] ? __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]
 [<c933d42d>] warn_slowpath_null+0x1d/0x20
 [<f8a6b8f7>] __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]
 [<f8a6b95f>] vb2_internal_streamoff+0xf/0x60 [videobuf2_core]
 [<f8a6b9c2>] vb2_streamoff+0x12/0x20 [videobuf2_core]
 [<f8ac8f3d>] uvc_queue_enable+0x5d/0xa0 [uvcvideo]
 [<f8acd7e8>] uvc_video_enable+0x168/0x1a0 [uvcvideo]
 [<f8aca1a8>] uvc_v4l2_do_ioctl+0x648/0x13a0 [uvcvideo]
 [<c93c07f6>] ? __pte_alloc+0x76/0xf0
 [<c93b7cf8>] ? __inc_zone_page_state+0x18/0x20
 [<c93ca8cd>] ? page_add_file_rmap+0x1d/0x20
 [<f8aafdd7>] video_usercopy+0x187/0x450 [videodev]
 [<c93cdc08>] ? remap_vmalloc_range_partial+0x68/0xa0
 [<c93bc7ca>] ? vma_interval_tree_insert+0x6a/0x80
 [<c93c591b>] ? __vma_link_file+0x3b/0x60
 [<c93c6005>] ? vma_link+0x65/0xb0
 [<f8ac93d9>] uvc_v4l2_ioctl+0x29/0x60 [uvcvideo]
 [<f8ac9b60>] ? uvc_v4l2_set_streamparm.isra.8+0x1a0/0x1a0 [uvcvideo]
 [<f8aac64d>] v4l2_ioctl+0xfd/0x140 [videodev]
 [<f8aac550>] ? v4l2_open+0x110/0x110 [videodev]
 [<c93ec5ca>] do_vfs_ioctl+0x6a/0x540
 [<c93c8221>] ? do_mmap_pgoff+0x231/0x310
 [<c93e6408>] ? final_putname+0x18/0x40
 [<c93b69bc>] ? vm_mmap_pgoff+0x5c/0x80
 [<c93f4f7b>] ? __fget+0x5b/0x90
 [<c93f519d>] ? __fget_light+0x1d/0x50
 [<c93ecade>] SyS_ioctl+0x3e/0x80
 [<c9672670>] sysenter_do_call+0x12/0x12
 [<c9670000>] ? __ww_mutex_lock_interruptible_slowpath+0x265/0x2b5
---[ end trace 40088b3281879c1e ]---
------------[ cut here ]------------
WARNING: CPU: 3 PID: 6264 at drivers/media/v4l2-core/videobuf2-core.c:2144 __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]()
Modules linked in: vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) ipv6 nf_conntrack_ftp nf_conntrack_netbios_ns nf_conntrack_broadcast nf_log_ipv4 nf_log_common xt_LOG xt_limit nf_conntrack_ipv4 nf_defrag_ipv4 xt_state nf_conntrack xt_tcpudp xt_pkttype xt_NFLOG nfnetlink_log nfnetlink xt_owner xt_multiport iptable_filter ip_tables x_tables w83627ehf adt7475 hwmon_vid coretemp binfmt_misc fuse hid_generic snd_usb_audio snd_usbmidi_lib snd_rawmidi uvcvideo videobuf2_core v4l2_common videodev videobuf2_vmalloc videobuf2_memops usbhid hid snd_hda_codec_realtek snd_hda_codec_generic microcode pcspkr sr_mod cdrom sg i2c_i801 fan 8250 serial_core snd_hda_codec_hdmi xhci_hcd evdev ehci_pci ehci_hcd nvidia(PO) drm agpgart snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd e1000e ptp pps_core
CPU: 3 PID: 6264 Comm: skype Tainted: P        W  O   3.17.0-ic #1
Hardware name: System manufacturer System Product Name/P8P67 PRO, BIOS 3602 11/01/2012
 00000000 00000000 e3755d14 c966e07e 00000000 e3755d44 c933d3ea c970a514
 00000003 00001878 f8a6f16c 00000860 f8a6b8f7 f8a6b8f7 00000000 ee30d5b4
 ee30d488 e3755d54 c933d42d 00000009 00000000 e3755d6c f8a6b8f7 e3755d98
Call Trace:
 [<c966e07e>] dump_stack+0x48/0x69
 [<c933d3ea>] warn_slowpath_common+0x7a/0xa0
 [<f8a6b8f7>] ? __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]
 [<f8a6b8f7>] ? __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]
 [<c933d42d>] warn_slowpath_null+0x1d/0x20
 [<f8a6b8f7>] __vb2_queue_cancel+0xf7/0x150 [videobuf2_core]
 [<f8a6b95f>] vb2_internal_streamoff+0xf/0x60 [videobuf2_core]
 [<f8a6b9c2>] vb2_streamoff+0x12/0x20 [videobuf2_core]
 [<f8ac8f3d>] uvc_queue_enable+0x5d/0xa0 [uvcvideo]
 [<f8acd7e8>] uvc_video_enable+0x168/0x1a0 [uvcvideo]
 [<f8aca1a8>] uvc_v4l2_do_ioctl+0x648/0x13a0 [uvcvideo]
 [<c93c07f6>] ? __pte_alloc+0x76/0xf0
 [<c93b7cf8>] ? __inc_zone_page_state+0x18/0x20
 [<c93ca8cd>] ? page_add_file_rmap+0x1d/0x20
 [<f8aafdd7>] video_usercopy+0x187/0x450 [videodev]
 [<c93cdc08>] ? remap_vmalloc_range_partial+0x68/0xa0
 [<c93bc7ca>] ? vma_interval_tree_insert+0x6a/0x80
 [<c93c591b>] ? __vma_link_file+0x3b/0x60
 [<c93c6005>] ? vma_link+0x65/0xb0
 [<f8ac93d9>] uvc_v4l2_ioctl+0x29/0x60 [uvcvideo]
 [<f8ac9b60>] ? uvc_v4l2_set_streamparm.isra.8+0x1a0/0x1a0 [uvcvideo]
 [<f8aac64d>] v4l2_ioctl+0xfd/0x140 [videodev]
 [<f8aac550>] ? v4l2_open+0x110/0x110 [videodev]
 [<c93ec5ca>] do_vfs_ioctl+0x6a/0x540
 [<c93c8221>] ? do_mmap_pgoff+0x231/0x310
 [<c93e6408>] ? final_putname+0x18/0x40
 [<c93b69bc>] ? vm_mmap_pgoff+0x5c/0x80
 [<c93f4f7b>] ? __fget+0x5b/0x90
 [<c93f519d>] ? __fget_light+0x1d/0x50
 [<c93ecade>] SyS_ioctl+0x3e/0x80
 [<c9672670>] sysenter_do_call+0x12/0x12
 [<c9670000>] ? __ww_mutex_lock_interruptible_slowpath+0x265/0x2b5
---[ end trace 40088b3281879c1f ]---
Comment 2 Artem S. Tashkinov 2015-02-14 23:08:39 UTC
All recent kernels are affected (3.12-3.19).
Comment 3 Artem S. Tashkinov 2015-08-07 08:15:14 UTC
This bug is still present in 4.1.4. 

I wonder how many years will it take to be resolved.
Comment 4 Artem S. Tashkinov 2016-04-17 06:31:06 UTC
Created attachment 213071 [details]
No picture at 640x480@30 YUYV

This bug is still unresolved.

More than a half of advertised modes result in an empty black screen.

Skype doesn't grab any video most of the time.

Note You need to log in before you can comment on or make changes to this bug.