[cpia] usb errors using cpia/gqcam
Peter Pregler
Peter_Pregler@email.com
Wed, 22 Nov 2000 11:24:43 +0100
Hi,
thanx for the info, something to rule out in my debugging. I have got
a second USB-cam now and tried it out with the latest 2.2.18pre. It
does work if in the USB-tree the cameras are on different usb-buses
(0x0553/0x0002 is the camera):
root@gretel:~# lsusb -t
Bus# 2
`-Dev# 1 Vendor 0x0000 Product 0x0000
`-Dev# 2 Vendor 0x058f Product 0x9254
`-Dev# 3 Vendor 0x0553 Product 0x0002
Bus# 1
`-Dev# 1 Vendor 0x0000 Product 0x0000
`-Dev# 2 Vendor 0x0553 Product 0x0002
But is does not work with the cameras on the same buses. The open of
the second camera fails.
root@gretel:~# lsusb -t
Bus# 2
`-Dev# 1 Vendor 0x0000 Product 0x0000
`-Dev# 2 Vendor 0x058f Product 0x9254
|-Dev# 3 Vendor 0x0553 Product 0x0002
`-Dev# 4 Vendor 0x0553 Product 0x0002
Bus# 1
`-Dev# 1 Vendor 0x0000 Product 0x0000
I have yet to check what is really going on. Do you have any idea?
How different it the usb-core code in 2.2.18pre and 2.4? Which of the
usb-uhci drivers is to prefer to see if the problem is cpia or
usb-core related?
Greetings, Peter
On Tue, Nov 21, 2000 at 04:59:58PM -0500, Johannes Erdfelt wrote:
> On Tue, Nov 21, 2000, James, Laura <laurajames@attlabs.att.com> wrote:
> > I'm using an Aiptek HyperVcam Fun on kernel 2.4.0test10. Gqcam appears to
> > work fine with the kernel USB support and cpia.
> >
> > However, when I have run gqcam (even for just a few seconds), if I then do a
> > dmesg, I get vast quantities of output ( >1k lines per second, AFAICT) which
> > say:
> >
> > usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
> > usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
> > usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
> > usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
> > usb.c: bandwidth alloc reduced by 75 to 75 for 1 requesters
> > usb.c: bandwidth alloc increased by 75 to 150 for 2 requesters
> >
> > and so on. I'm running this on a Sony Vaio PCG-505GX notebook, with an
> > internal USB hub and no other external USB devices.
> >
> > The messages don't seem to cause any trouble but I'd like to find out if
> > there's anything I can do to eliminate them, as in the future I'll be
> > running gqcam for longer periods.
>
> Those aren't errors, but are for debugging. A patch has been submitted
> to 2.4.0-test11 which removes those messages.
>
> Or you can comment them out yourself.
>
> JE
>
>
> _______________________________________________
> cpia mailing list - cpia@risc.uni-linz.ac.at
> http://mailman.risc.uni-linz.ac.at/mailman/cgi-bin/listinfo/cpia
>
--
I will not waste chalk. --Bart Simpson at the blackboard
--------------------------------------------------------
Email: Peter_Pregler@email.com
WWW: http://www.risc.uni-linz.ac.at/people/ppregler
ICQ: 61011460