From: Adam Baker <linux@baker-net.org.uk>
To: video4linux-list@redhat.com
Subject: Re: PROBLEM: gspca driver with a logitech quickcam express and a USB hub
Date: Sun, 22 Feb 2009 18:06:28 +0000 [thread overview]
Message-ID: <200902221806.28268.linux@baker-net.org.uk> (raw)
In-Reply-To: <20090222171638.GA19029@shellium.org>
On Sunday 22 February 2009, dkremer@shellium.org wrote:
> Hello,
>
> My webcam doesn't work when it is plugged with a hub to my computer.
>
> When my webcam is used with a hub, I have the following error log :
>
> //loading of the device by gspca
> usb 1-4.4: new full speed USB device using ehci_hcd and address 12
> usb 1-4.4: configuration #1 chosen from 1 choice
> gspca: probing 046d:0928
> gspca: probe ok
>
> //I'm launching svv, the soft shipped by Jean François Moine
> gspca: usb_submit_urb [0] err -28
> gspca: usb_submit_urb [0] err -28
> gspca: usb_submit_urb [0] err -28
> gspca: usb_submit_urb [0] err -28
> gspca: usb_submit_urb [0] err -28
> gspca: usb_submit_urb [0] err -28
>
error -28 is ENOSPC which means that there isn't enough bandwidth available on
the USB bus to do what you are attempting.
> When I use a direct acces to a USB port of my computer, without a hub
> between the host and the camera, the camera is working perfectly, and I
> have not this problem.
>
> The complete lsusb map is :
>
> Bus 001 Device 012: ID 046d:0928 Logitech, Inc. QuickCam Express
> Bus 001 Device 011: ID 152d:2336 JMicron Technology Corp. / JMicron USA
> Technology Corp.
> Bus 001 Device 004: ID 046d:c404 Logitech, Inc. TrackMan Wheel
> Bus 001 Device 003: ID 0603:00f2 Novatek Microelectronics Corp.
> Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>
> The usb string id for my webcam is :
> ID 046d:0928 Logitech, Inc. QuickCam Express
>
Looking at the above it seems the camera is usb 1.1
> The usb string id for my HUB is :
> ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
>
and the hub is 2.0. That means it needs to use a transaction translator in the
hub to convert the usb 1.1 camera to usb 2.0 and it is failing to reserve
enough bandwidth to do so. If the camera is near the limit for a full speed
device then there are a number of possibilities.
1) something else on the hub has reserved some bandwidth so there is not
enough left for the camera.
2) The hub only has one transaction translator and bus scheduling issues mean
that not all of the capacity is usable.
3) There's a bug in the USB subsystem leading to it miscalculating the
required / available bandwidth (as there appear to be such errors in the USB
spec this wouldn't be too surprising).
> I'm currently using archlinux, with a 2.6.28.6 kernel. I'm using the
> gspca_main and gspca_spca561 modules.
>
> cat /proc/version :
> Linux version 2.6.28-ARCH (root@T-POWA-LX) (gcc version 4.3.3 (GCC) ) #1
> SMP PREEMPT Wed Feb 18 21:27:38 UTC 2009
>
> I just wanted help maybe for the gspca driver if it could be. Thank you
> to Jean François Moine for gspca.
Adam
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
prev parent reply other threads:[~2009-02-22 18:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-22 17:16 PROBLEM: gspca driver with a logitech quickcam express and a USB hub dkremer
2009-02-22 18:06 ` Adam Baker [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200902221806.28268.linux@baker-net.org.uk \
--to=linux@baker-net.org.uk \
--cc=video4linux-list@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox