Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

USB uvc webcam not working

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
don quixada
l33t
l33t
User avatar
Posts: 811
Joined: Thu May 15, 2003 11:30 pm

USB uvc webcam not working

  • Quote

Post by don quixada » Tue May 14, 2013 12:13 am

Hi, I'm trying to get my USB webcam to work. I think I have the right stuff in the kernel built-in (or as modules) but when I plug it in I get funny errors:

In a USB2 port:

Code: Select all

[  444.165188] usb 8-2: Not enough bandwidth for altsetting 11
[ 2853.264080] usb 8-2: USB disconnect, device number 3
[ 2857.410263] usb 3-4: new high-speed USB device number 2 using ehci_hcd
[ 2857.529914] usb 3-4: device descriptor read/64, error -32
[ 2857.759256] usb 3-4: device descriptor read/64, error -32
[ 2857.988597] usb 3-4: new high-speed USB device number 3 using ehci_hcd
[ 2858.108254] usb 3-4: device descriptor read/64, error -32
[ 2858.337597] usb 3-4: device descriptor read/64, error -32
[ 2858.566937] usb 3-4: new high-speed USB device number 4 using ehci_hcd
[ 2858.995708] usb 3-4: device not accepting address 4, error -32
[ 2859.115366] usb 3-4: new high-speed USB device number 5 using ehci_hcd
[ 2859.534159] usb 3-4: device not accepting address 5, error -32
[ 2859.534167] hub 3-0:1.0: unable to enumerate USB device on port 4
[ 2859.942988] usb 7-4: new full-speed USB device number 2 using ohci_hcd
[ 2860.092559] usb 7-4: device descriptor read/64, error -32
[ 2860.351814] usb 7-4: device descriptor read/64, error -32
[ 2860.631012] usb 7-4: new full-speed USB device number 3 using ohci_hcd
[ 2860.780582] usb 7-4: device descriptor read/64, error -32
[ 2861.039838] usb 7-4: device descriptor read/64, error -32
[ 2861.319046] usb 7-4: new full-speed USB device number 4 using ohci_hcd
[ 2861.737836] usb 7-4: device not accepting address 4, error -32
[ 2861.907366] usb 7-4: new full-speed USB device number 5 using ohci_hcd
[ 2862.326148] usb 7-4: device not accepting address 5, error -32
[ 2862.326158] hub 7-0:1.0: unable to enumerate USB device on port 4
In a USB3 port:

Code: Select all

[ 3278.175163] usb 8-2: Not enough bandwidth for altsetting 1
[ 3278.175164] 12:3:1: usb_set_interface failed (-22)
[ 3278.175369] xhci_hcd 0000:02:00.0: ERROR: unexpected command completion code 0x11.
[ 3278.175372] usb 8-2: Not enough bandwidth for altsetting 1
[ 3278.175373] 12:3:1: usb_set_interface failed (-22)
... and so on.

Also when I try to run the webcam I get:

Code: Select all

# cheese
libv4l2: error turning on stream: Invalid argument
The webcam seems to be detected and there are no errors thrown when the uvcvideo driver is loaded:

Code: Select all

# v4l2-ctl --list-devices
UVC Camera (046d:0992) (usb-0000:02:00.0-2):
	/dev/video0
So I'm not sure what's up. Any clues? TIA

dq
Top
dch24
Tux's lil' helper
Tux's lil' helper
Posts: 99
Joined: Thu Feb 15, 2007 2:27 am

  • Quote

Post by dch24 » Tue May 14, 2013 6:29 am

I have a uvc webcam. It seems yours is defective, especially as looks like it doesn't even handle the first steps of USB enumeration.

Do you have a link to someone reporting that your model of webcam works on linux?
Top
don quixada
l33t
l33t
User avatar
Posts: 811
Joined: Thu May 15, 2003 11:30 pm

  • Quote

Post by don quixada » Tue May 14, 2013 5:11 pm

No, this definitely works in Linux (it's a Logitech) because I had it working with no problems on my old Gentoo box. The only applicable difference between this new box and my old one is that this new box has USB3 ports. Maybe there's an issue with my usb ports on the motherboard? I also have a PCIe usb3 card but I haven't tried those ports out yet.

dq
Top
stelth
n00b
n00b
User avatar
Posts: 45
Joined: Thu May 25, 2006 2:06 pm

Re: USB uvc webcam not working

  • Quote

Post by stelth » Tue May 14, 2013 7:15 pm

don quixada wrote:Hi, I'm trying to get my USB webcam to work. I think I have the right stuff in the kernel built-in (or as modules) but when I plug it in I get funny errors:

In a USB2 port:

Code: Select all

[  444.165188] usb 8-2: Not enough bandwidth for altsetting 11
There's the key. When setting the camera up, it claims all of the bandwidth it needs for that resolution and frame rate. It seems that this is too high for the USB hub it's attached to. Either lower the frame rate or resolution to something USB 2.0 can support.

EDIT:
Reread your post, and the new motherboard has USB 3.0 not the old one. I'd still suggest lowering the resolution (start at 640x480 and go up) and see if / when it dies there.
And on the 3rd day, God created the Remington bolt-action rifle; so that man could fight the dinosaurs and the homosexuals. AMEN.
Top
don quixada
l33t
l33t
User avatar
Posts: 811
Joined: Thu May 15, 2003 11:30 pm

  • Quote

Post by don quixada » Tue May 14, 2013 8:07 pm

How do I lower the resolution on the webcam? For example, does cheese provide a way to start the camera with a lower resolution? How come the camera worked fine with no issues on my old system? The camera is only a USB2 device.

dq
Top
dch24
Tux's lil' helper
Tux's lil' helper
Posts: 99
Joined: Thu Feb 15, 2007 2:27 am

  • Quote

Post by dch24 » Tue May 14, 2013 8:21 pm

Can you post the exact model of Logitech camera?

It still seems like there is some defective hardware. I don't know why or when the defect appeared, but a webcam shouldn't be claiming all the bandwidth of USB 2.0 much less USB 3.0.

Can you try the webcam on a different Linux box?
Top
don quixada
l33t
l33t
User avatar
Posts: 811
Joined: Thu May 15, 2003 11:30 pm

  • Quote

Post by don quixada » Wed May 15, 2013 1:34 am

Hi, ok the device is a Logitech Quickcam Communicate Deluxe and I tried hooking it into the PCIe USB3 slot and it worked!

Code: Select all

[94209.388385] usb 10-4: new high-speed USB device number 3 using xhci_hcd
[94209.542353] usb 10-4: New USB device found, idVendor=046d, idProduct=0992
[94209.542357] usb 10-4: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[94209.542359] usb 10-4: SerialNumber: 9EA1BEDC
[94209.544389] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0992)
[94209.578934] input: UVC Camera (046d:0992) as /devices/pci0000:00/0000:00:05.0/0000:03:00.0/usb10/10-4/10-4:1.0/input/input19
So what is the problem? Is my motherboard broken or do I just not have the right drivers for it? The mobo is a Gigabyte GA-970A-DS3 with built-in USB2 and USB3. I just got another USB3 card so I could have front ports on my chassis. Thanks in advance...

dq
Top
dch24
Tux's lil' helper
Tux's lil' helper
Posts: 99
Joined: Thu Feb 15, 2007 2:27 am

  • Quote

Post by dch24 » Wed May 15, 2013 4:18 am

You have the right drivers:

Code: Select all

[94209.544389] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0992)
It should work exactly the same in the built-in USB2 or USB3 ports. (The driver doesn't care what USB port it appears on.) The good news is, it works great on the PCIe USB ports which shows that the PCIe USB card and the webcam are both ok.

Bad news, it sounds like your motherboard is broken. :-/
Top
don quixada
l33t
l33t
User avatar
Posts: 811
Joined: Thu May 15, 2003 11:30 pm

  • Quote

Post by don quixada » Wed May 15, 2013 6:14 pm

Is there another way to test the motherboard. I was having problems with the network port and had to get a separate network card as well but I thought that was a driver issue because I had to try a few different cards with different chipsets in order to get it to work.

dq
Top
dch24
Tux's lil' helper
Tux's lil' helper
Posts: 99
Joined: Thu Feb 15, 2007 2:27 am

  • Quote

Post by dch24 » Thu May 16, 2013 4:30 am

Motherboards are designed ground-up starting with power regulation, then CPU and memory, then peripheral devices.

(Note that the core design, like the CPU and memory, was likely done by the CPU vendor and just integrated into the OEM's design.)

What do you know is good? Are you sure your power supply is perfectly stable?

You could run memtest86+ for 24 hours or more to verify that your memory is stable. You could run an intel/AMD torture test to verify that the CPU is stable and thermal management is ok.

Torture testing your on-board ethernet port for 30 minutes should be enough. Run iperf or something similar for that.

...

Still at the end of the day, all you can end up with is pass/fail. It's up to you what you want to do at that point. Maybe the board is still useful sitting in a closet somewhere, maybe not.
Top
don quixada
l33t
l33t
User avatar
Posts: 811
Joined: Thu May 15, 2003 11:30 pm

  • Quote

Post by don quixada » Fri Jun 07, 2013 12:23 am

I finally got a chance to call Gigabyte and they said that my USB 3.0 ports are etron EJ168 and that I have to find a Linux driver for them "somewhere online". They also said that the USB 2.0 ports are run by the AMD sb950 chipset and that I need to find a driver for that too. Anyway, I hope they weren't just trying to get me off their backs because I'm a Linux user but I'm gonna start looking around for a solution. If anyone else has run into this, kindly let me know. ;-)

dq
Top
Post Reply

11 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic