[Bug 309540] New: uvc camera not working any more
https://bugzilla.novell.com/show_bug.cgi?id=309540 Summary: uvc camera not working any more Product: openSUSE 10.3 Version: Beta 3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: msvec@novell.com QAContact: qa@suse.de Found By: --- Creative Live! Cam Optia does not work any more (using luvcview for instance) on 10.3 beta3, on 10.2 it works well. As the software is the same, I suppose the problem is in the kernel. Luvcview gives me "Unable to start capture: 28." Driver in dmesg outputs this: "uvcvideo: Failed to submit isoc URB 0 (-28)." hwinfo --usb output: 14: USB 00.0: 0000 Unclassified device [Created at usb.122] UDI: /org/freedesktop/Hal/devices/usb_device_41e_4057_noserial_if0 Unique ID: qe89.+8NWkLfh5_3 Parent ID: hSuP.q4WW9HWG679 SysFS ID: /devices/pci0000:00/0000:00:10.1/usb2/2-2/2-2.4/2-2.4:1.0 SysFS BusID: 2-2.4:1.0 Hardware Class: unknown Model: "Creative Live! Cam Optia" Hotplug: USB Vendor: usb 0x041e "Creative Labs" Device: usb 0x4057 "Live! Cam Optia" Revision: "1.00" Driver: "uvcvideo" Driver Modules: "uvcvideo" Speed: 12 Mbps Module Alias: "usb:v041Ep4057d0100dcEFdsc02dp01ic0Eisc01ip00" Driver Info #0: Driver Status: uvcvideo is active Driver Activation Cmd: "modprobe uvcvideo" Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #11 (Hub) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540#c1 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bphilips@novell.com --- Comment #1 from Brandon Philips <bphilips@novell.com> 2007-09-12 04:08:22 MST --- -28 = -ENOSPC -ENOSPC This request would overcommit the usb bandwidth reserved for periodic transfers (interrupt, isochronous). Are you running other USB devices at the same time? Have you changed your hardware since moving between distros? Is this error repeated? It should be recoverable after the USB bus is less stressed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540#c2 --- Comment #2 from Michal Svec <msvec@novell.com> 2007-09-12 04:27:49 MST --- It's one computer with both 10.2-final and 10.3-beta3 installed on different partitions. With exactly the same hardware it works on 10.2 and does not on 10.3-beta3. Regarding the bandwidth, I have also USB mouse and keyboard (and a USB hub), the keyboard seems to cause problems, if I disconnect it, the camera works. I don't think the keyboard should generate too much bandwidth, though :-) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540#c3 --- Comment #3 from Michal Svec <msvec@novell.com> 2007-09-12 04:28:44 MST --- Created an attachment (id=163492) --> (https://bugzilla.novell.com/attachment.cgi?id=163492) hwinfo -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540#c4 Michal Svec <msvec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|Beta 3 |Final --- Comment #4 from Michal Svec <msvec@novell.com> 2007-10-03 04:57:41 MST --- On 10.3-FINAL it does not work even if only a keyboard is attached. If I unplug both mouse and keyboard the camera seems to work. But the machine is not really usable then :-/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540#c5 Jiri Kosina <jkosina@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jkosina@novell.com Status|NEW |NEEDINFO Info Provider| |msvec@novell.com --- Comment #5 from Jiri Kosina <jkosina@novell.com> 2007-10-03 08:16:42 MST --- Could you please post an output of lsusb -vvv (only the part regarding this respective camera should be enough). Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540#c6 Michal Svec <msvec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|msvec@novell.com | --- Comment #6 from Michal Svec <msvec@novell.com> 2007-10-04 02:11:53 MST --- Created an attachment (id=176275) --> (https://bugzilla.novell.com/attachment.cgi?id=176275) 'lsusb -vvv' output -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540#c7 --- Comment #7 from Michal Svec <msvec@novell.com> 2007-10-05 03:32:16 MST --- It seems to work if I unplug it from the usb hub and plug it directly to the computer it works even with keyboard and mouse connected. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 Jiri Kosina <jkosina@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kernel-maintainers@forge.provo.novell.com |bphilips@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c8 --- Comment #8 from Brandon Philips <bphilips@novell.com> 2007-12-20 11:38:15 MST --- Is this still happening with the latest driver? Thanks, Brandon -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User msvec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c9 --- Comment #9 from Michal Svec <msvec@novell.com> 2008-01-04 06:48:06 MST --- Problem still persists with 2.6.22.13-0.3-default (latest 10.3). Currently, it seems the camera does not like to be plugged in to a hub together with a keyboard. If I plug it standalone or just with mouse to the hub it works OK. If I plug also keyboard I get the error. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User msvec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c10 Michal Svec <msvec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |oneukum@novell.com, pavel@novell.com --- Comment #10 from Michal Svec <msvec@novell.com> 2008-01-04 08:17:46 MST --- Weird thing is that if I run luvcview (app for the camera) while keyboard is disconnected, the camera works even after I connect the keyboard back. However keyboard does not work then. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User oneukum@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c11 --- Comment #11 from Oliver Neukum <oneukum@novell.com> 2008-01-07 02:28:11 MST --- Regarding #10 The most likely explanation is that the hid driver gets -ENOSPC, not the uvc driver, because the uvc driver takes all available interrupt/isoc bandwidth. Recognition of new devices works because it uses control transfers, which a bit of bandwidth is reserved for. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User gregkh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c12 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gregkh@novell.com --- Comment #12 from Greg Kroah-Hartman <gregkh@novell.com> 2008-04-03 18:40:17 MST --- I think this was an issue with the ehci driver that was fixed in mainline now. Oliver, do you recall this kind of discussion on the linux-usb list recently? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User gregkh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c13 --- Comment #13 from Greg Kroah-Hartman <gregkh@novell.com> 2008-04-03 18:45:00 MST --- Michal, if you add a keyboard to the mix, it does take up a lot of bandwidth as it is a "slow" speed device, which takes a lot of time away on the overall bus bandwidth that is possible. And, the keyboard's data takes priority as it is "control" data, so it always needs to succeed, while the camera data can be thrown away... I think you just need a new USB controller for just this camera, or for your keyboard/mouse combo, you are running out of room on this one host. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User oneukum@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c14 --- Comment #14 from Oliver Neukum <oneukum@novell.com> 2008-04-04 02:04:49 MST --- Yes, indeed, here's the patch: http://marc.info/?l=linux-usb&m=120662756527711&w=2 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c15 --- Comment #15 from Brandon Philips <bphilips@novell.com> 2008-04-04 12:43:40 MST --- Oliver, Is that patch really related? This bug is related to bandwidth allocation on the bus and the patch has to do with URB scheduling. Thanks, Brandon -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User gregkh@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c16 Greg Kroah-Hartman <gregkh@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |msvec@novell.com --- Comment #16 from Greg Kroah-Hartman <gregkh@novell.com> 2008-04-04 14:54:47 MST --- Oliver, yes, thanks for finding that, I couldn't dig it out of my archives, nice job. Brandon, yes, it is related, in some strange way. Want me to add it to the 10.3 kernel tree to see if it can solve this issue? Michal, does this also happen on the latest 11.0 alphas? If not, then backporting this patch might be worth it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User oneukum@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c17 --- Comment #17 from Oliver Neukum <oneukum@novell.com> 2008-04-07 02:47:08 MST --- An unwise schedule can eat up bandwidth due to the requirement of not crossing frame boundaries. You end up with unusable parts of a frame. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User msvec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c18 Michal Svec <msvec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|msvec@novell.com | --- Comment #18 from Michal Svec <msvec@novell.com> 2008-04-09 07:38:40 MST --- It's still the same on 11.0 a3+, 2.6.25-rc8-12-default. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User pavel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c19 --- Comment #19 from Pavel Machek <pavel@novell.com> 2008-04-17 07:17:32 MST --- I have seen the problem, and there was nothing suspicious in the logs. If it is indeed a bandwidth problem, I'd expect usb to complain in the syslog. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c20 --- Comment #20 from Brandon Philips <bphilips@novell.com> 2008-04-17 12:27:56 MST --- (In reply to comment #18 from Michal Svec)
It's still the same on 11.0 a3+, 2.6.25-rc8-12-default.
Yes, it looks like the patch Greg and Oliver are referring to won't be making it into 2.6.25. I will let you know when I have a Kernel you can test. (In reply to comment #19 from Pavel Machek)
I have seen the problem, and there was nothing suspicious in the logs. If it is indeed a bandwidth problem, I'd expect usb to complain in the syslog.
Can you reproduce the issue locally? I can't seem to. Perhaps you could confirm the attached patch fixes things before I put it on stable? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c21 --- Comment #21 from Brandon Philips <bphilips@novell.com> 2008-04-17 12:28:46 MST --- Created an attachment (id=208736) --> (https://bugzilla.novell.com/attachment.cgi?id=208736) ehci schedule fix -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User pavel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c22 --- Comment #22 from Pavel Machek <pavel@novell.com> 2008-04-21 03:30:35 MST --- ..well, I "seen" it on Michal's machine, so no, I do not have easy access to the broken setup. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User msvec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c23 --- Comment #23 from Michal Svec <msvec@novell.com> 2008-04-21 03:38:14 MST --- There should be another such camera in your office and the one you have seen is easily available for any testing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User pavel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c24 --- Comment #24 from Pavel Machek <pavel@novell.com> 2008-04-21 03:58:04 MST --- It seems to be hub-specific as well. With usb2.0 (as opposed to usb1.0) hub, it seems to behave a bit better... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 Brandon Philips <bphilips@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User oneukum@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c25 Oliver Neukum <oneukum@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |pavel@novell.com --- Comment #25 from Oliver Neukum <oneukum@novell.com> 2008-06-03 01:23:29 MDT --- Can you provide "lsusb -t"? That will provide your device tree which tells us which devices have to share bandwidth. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User pavel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c26 Pavel Machek <pavel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Info Provider|pavel@novell.com |msvec@novell.com --- Comment #26 from Pavel Machek <pavel@novell.com> 2008-06-03 02:13:29 MDT --- Sorry, I'm not the one that has the camera. Michal, can you do lsusb -t? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User bphilips@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c27 --- Comment #27 from Brandon Philips <bphilips@novell.com> 2008-06-20 12:56:41 MDT --- Michal- Ping? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User msvec@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c28 Michal Svec <msvec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|msvec@novell.com | --- Comment #28 from Michal Svec <msvec@novell.com> 2008-06-25 03:51:37 MDT --- Sure, here it is: bash# lsusb -t /: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M /: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M |__ Port 2: Dev 2, If 0, Class=hub, Driver=hub/4p, 12M |__ Port 1: Dev 3, If 0, Class=HID, Driver=usbhid, 1.5M |__ Port 2: Dev 4, If 0, Class=HID, Driver=usbhid, 1.5M |__ Port 4: Dev 5, If 0, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 12M |__ Port 4: Dev 5, If 1, Class='bInterfaceClass 0x0e not yet handled', Driver=uvcvideo, 12M /: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci_hcd/8p, 480M |__ Port 5: Dev 3, If 0, Class=stor., Driver=usb-storage, 480M /: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M BTW just checked and it is still the same with 2.6.25.5-1.1-default. And if I change the hub from usb 1.0 to usb 2.0 then it works. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User pavel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c35 --- Comment #35 from Pavel Machek <pavel@novell.com> 2008-08-07 01:10:37 MDT --- If bandwidth allocation is problematic, can we get nobandalloc kernel command line option or something like that...? I guess it would make debugging such problems easier... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User oneukum@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c36 --- Comment #36 from Oliver Neukum <oneukum@novell.com> 2008-08-07 15:33:18 MDT --- That would be a direct violation of the spec and thus not be accepted upstream. Better to add a sane bandwidth reservation API. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User pavel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c37 --- Comment #37 from Pavel Machek <pavel@novell.com> 2008-08-19 01:51:36 MDT --- "Direct violation in USB spec" sounds scary, but 1) this is actually regression 2) ignoring bandwidth allocation is useful for debugging 3) ignoring spec when it is stupid is actually right thing to do. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=309540 User pavel@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=309540#c38 --- Comment #38 from Pavel Machek <pavel@novell.com> 2008-08-19 01:52:26 MDT --- (Could we get a patch for bandwidth allocation disabling, at least internally? We could verify it is indeed it causing problems here...) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com