pwc
[Top] [All Lists]

[pwc] Re: Two webcams simultaneously

To: Jeremy Parsons <>
Subject: [pwc] Re: Two webcams simultaneously
From: Andreas Nuechter <>
Date: Thu, 17 Aug 2006 08:52:52 +0200
Hi Jeremy,

In addition to my posting yesterday, I just fugured out, that the
multiple camera problem seams not to be a driver problem. I compiled the
older pwc-10.0.7a, that was working with my 2.6.11.4-... kernel, for my
new 2.6.16.-... kernel. Then I experinced the same problem.

Thus, I conclude the bug somehow comes with new kernel versions.

Very best,
  Andreas

Please keep me updated iff you solved the problem. I need two cameras
for our robotic project Kurt3D
http://kos.informatik.uni-osnabrueck.de/cgi-bin/generate_html.pl?11

Jeremy Parsons wrote:
> Dear Andreas,
> 
> I saw your multiple camera bug report posting here:
> m("lists.saillard.org/msg00411.html","//www.mail-archive.com/pwc");">http:
> 
> I have the same problem exactly. I sent an email to Luc on the 11th July
> so hopefully, he may find time to work on this and kernel 2.6.18 too ?
> 
> Thanks,
> 
> Jeremy
> 
> 
> 
> Dear Luc,
> 
> Thanks for the great work on the pwc driver: it works really well for me
> with a single Philips TouCam Pro II so I can do video conferencing and
> development for a timber image processing application: looking for
> damaged or dark wood.
> 
> I would like to use four webcams simultaneously to see four sides of a
> piece of wood together. Unfortunately, when I connect two identical
> webcams, I can only get them to work simultaneously when I drop the
> resolution to 176x144 on both. It doesn't seem to be affected by
> compression levels, or frame rates as reported in camstream (slowest
> framerates did not seem to be applied). I have tried using different
> combinations of USB ports, and both pwc 10.0.11 and 10.0.12rc1 drivers.
> The cameras are quite stable at the low resolution but on a i386 kernel,
> the upsized camstream goes blank immediately if I try to increase the
> resolution just a little and then if i try to press any other buttons,
> the application hangs. I also tried "motion" but again, I can only get
> one of the two cameras working.
> 
> With x86_64 on the same dual core Athlon X2 2800+, I can open one webcam
> slightly larger before camstream hangs but dmesg has a possibly more
> interesting message:
> pwc: isoc_init() submit_urb 0 failed with error -28
> 
> Incidentally, I also tried installing a binary driver for a uEye
> high-end USB HiSpeed webcam as an expensive alternative to pwc webcams
> but unfortunately, it wouldn't run on my FC5 x86_64 installation at all
> and on i386 linux, my computer does an immediate oops and a kernel panic
> as soon as I insert the uEye ! (hope that makes you feel good about your
> work ?)
> 
> CONFIGURATION DETAILS
> =======================
> i386 system:
> 
> $ uname -a
> Linux genome 2.6.17-1.2145_FC5 #1 Sat Jul 1 13:03:45 EDT 2006 i686
> athlon i386 GNU/Linux
> 
> dmesg output:
> pwc: Philips webcam module removed.
> usb 1-5: new full speed USB device using ohci_hcd and address 14
> usb 1-5: configuration #1 chosen from 1 choice
> pwc: Philips webcam module version 10.0.12-rc1 loaded.
> pwc: Supports Philips PCA645/646, PCVC675/680/690,
> PCVC720[40]/730/740/750 & PCVC830/840.
> pwc: Also supports the Askey VC010, various Logitech Quickcams, Samsung
> MPC-C10 and MPC-C30,
> pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and Visionite
> VCS-UC300 and VCS-UM100.
> pwc: Philips PCVC740K (ToUCam Pro)/PCVC840 (ToUCam II) USB webcam detected.
> pwc: Registered as /dev/video0.
> usbcore: registered new driver Philips webcam
> usb 1-6: new full speed USB device using ohci_hcd and address 15
> usb 1-6: configuration #1 chosen from 1 choice
> pwc: Philips PCVC740K (ToUCam Pro)/PCVC840 (ToUCam II) USB webcam detected.
> pwc: Registered as /dev/video1.
> usb 1-6: USB disconnect, address 15
> usb 1-1: new full speed USB device using ohci_hcd and address 16
> usb 1-1: configuration #1 chosen from 1 choice
> pwc: Philips PCVC740K (ToUCam Pro)/PCVC840 (ToUCam II) USB webcam detected.
> pwc: Registered as /dev/video1.
> 
> CONFIGURATION DETAILS
> =======================
>  x86_64 system:
> 
> On Fedora core 5 AMD_64, dmesg says only:
> pwc: isoc_init() submit_urb 0 failed with error -28
> 
> # uname -a
> Linux genome 2.6.16-1.2122_FC5 #1 SMP Sun May 21 15:01:10 EDT 2006
> x86_64 x86_64 x86_64 GNU/Linux
> 
> # cat /proc/bus/usb/devices
> 
> T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh=10
> B:  Alloc=-746/900 us (-82%), #Int=  1, #Iso=  0
> D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 2.06
> S:  Manufacturer=Linux 2.6.16-1.2122_FC5 ohci_hcd
> S:  Product=OHCI Host Controller
> S:  SerialNumber=0000:00:02.0
> C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms
> 
> T:  Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0471 ProdID=0311 Rev= 0.03
> S:  SerialNumber=01690000A5000000
> C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
> I:  If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 196 Ivl=1ms
> I:  If#= 0 Alt= 2 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 292 Ivl=1ms
> I:  If#= 0 Alt= 3 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 448 Ivl=1ms
> I:  If#= 0 Alt= 4 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 592 Ivl=1ms
> I:  If#= 0 Alt= 5 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 704 Ivl=1ms
> I:  If#= 0 Alt= 6 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 776 Ivl=1ms
> I:  If#= 0 Alt= 7 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 840 Ivl=1ms
> I:  If#= 0 Alt= 8 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 896 Ivl=1ms
> I:  If#= 0 Alt= 9 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 960 Ivl=1ms
> I:  If#= 0 Alt=10 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 960 Ivl=1ms
> I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
> I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> E:  Ad=84(I) Atr=01(Isoc) MxPS=  90 Ivl=1ms
> I:  If#= 2 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> E:  Ad=84(I) Atr=01(Isoc) MxPS=  46 Ivl=1ms
> I:  If#= 2 Alt= 3 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> E:  Ad=84(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
> I:  If#= 2 Alt= 4 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> E:  Ad=84(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> 
> T:  Bus=02 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#=  3 Spd=12  MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=0471 ProdID=0311 Rev= 0.03
> S:  SerialNumber=01690000A5000000
> C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
> I:  If#= 0 Alt= 1 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 196 Ivl=1ms
> I:  If#= 0 Alt= 2 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 292 Ivl=1ms
> I:  If#= 0 Alt= 3 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 448 Ivl=1ms
> I:  If#= 0 Alt= 4 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 592 Ivl=1ms
> I:  If#= 0 Alt= 5 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 704 Ivl=1ms
> I:  If#= 0 Alt= 6 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 776 Ivl=1ms
> I:  If#= 0 Alt= 7 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 840 Ivl=1ms
> I:  If#= 0 Alt= 8 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 896 Ivl=1ms
> I:  If#= 0 Alt= 9 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 960 Ivl=1ms
> I:  If#= 0 Alt=10 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=Philips
> webcam
> E:  Ad=82(I) Atr=03(Int.) MxPS=   1 Ivl=32ms
> E:  Ad=85(I) Atr=01(Isoc) MxPS= 960 Ivl=1ms
> I:  If#= 1 Alt= 0 #EPs= 0 Cls=01(audio) Sub=01 Prot=00 Driver=snd-usb-audio
> I:  If#= 2 Alt= 0 #EPs= 0 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> I:  If#= 2 Alt= 1 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> E:  Ad=84(I) Atr=01(Isoc) MxPS=  90 Ivl=1ms
> I:  If#= 2 Alt= 2 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> E:  Ad=84(I) Atr=01(Isoc) MxPS=  46 Ivl=1ms
> I:  If#= 2 Alt= 3 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> E:  Ad=84(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
> I:  If#= 2 Alt= 4 #EPs= 1 Cls=01(audio) Sub=02 Prot=00 Driver=snd-usb-audio
> E:  Ad=84(I) Atr=01(Isoc) MxPS=  16 Ivl=1ms
> 
> T:  Bus=02 Lev=01 Prnt=01 Port=06 Cnt=03 Dev#=  4 Spd=1.5 MxCh= 0
> D:  Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
> P:  Vendor=046d ProdID=c00c Rev= 6.20
> S:  Manufacturer=Logitech
> S:  Product=USB Mouse
> C:* #Ifs= 1 Cfg#= 1 Atr=a0 MxPwr=100mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
> E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=10ms
> 
> T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh=10
> B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
> D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
> P:  Vendor=0000 ProdID=0000 Rev= 2.06
> S:  Manufacturer=Linux 2.6.16-1.2122_FC5 ehci_hcd
> S:  Product=EHCI Host Controller
> S:  SerialNumber=0000:00:02.1
> C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  0mA
> I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
> E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms
>  ~]#
> 
> 
> 
> 
> 

-- 
-----------------------------------------------------------------------
Andreas Nuechter

University of Osnabrueck
Institute of Computer Science
Knowledge Based Systems                         private:
Albrechtstrasse 28                              Kurt-Schumacher-Damm 38
D-49069 Osnabrueck                              D-49078 Osnabrueck
Germany                                         Germany

+49-541-969-2623                                +49-541-6854464
ICQ: 19506497                                   +49-177-7951270
           
http://www.inf.uni-osnabrueck.de/nuechter       http://www.nuechti.de
-----------------------------------------------------------------------
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
  • [pwc] Re: Two webcams simultaneously, Andreas Nuechter <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU