webcamd and webcams under 8.1-rel

Beni Brinckman beni.brinckman at gmail.com
Sat Aug 7 13:23:06 UTC 2010


2010/8/7 Hans Petter Selasky <hselasky at c2i.net>

> On Saturday 07 August 2010 14:00:22 beni brinckman wrote:
> > On Saturday 07 August 2010 10:23:11 Hans Petter Selasky wrote:
> > > On Friday 06 August 2010 16:00:28 beni brinckman wrote:
> > > > On Friday 06 August 2010 15:45:41 Hans Petter Selasky wrote:
> > > > > On Friday 06 August 2010 15:47:41 beni brinckman wrote:
> > > > > > pwcview is installed.
> > > > > > This is the result with the V-uap cam :
> > > > > >
> > > > > > [beni at bsdaddict] /usr/home/beni# pwcview
> > > > > > Webcam set to: 320x240 (sif) at 5 fps
> > > > > > Failed to create yuvoverlay: Can't use YUV data on non 16/24/32
> bit
> > > > > > surfaces
> > > > >
> > > > > Try to chown /dev/videoX instead of running pwcview like root.
> > > > >
> > > > > --HPS
> > > >
> > > > Changed the owner of /dev/video0. Now I'm getting this (as normal
> > > > user):
> > > >
> > > > [beni at bsdaddict /usr/home/beni]$ pwcview
> > > > Webcam set to: 320x240 (sif) at 5 fps
> > > > Warning short read, got only 3066 of 115200 bytes
> > > > Warning short read, got only 25550 of 115200 bytes
> > > > Warning short read, got only 25550 of 115200 bytes
> > > > Warning short read, got only 25550 of 115200 bytes
> > > > Warning short read, got only 25550 of 115200 bytes
> > > > Warning short read, got only 25550 of 115200 bytes
> > > > Warning short read, got only 25550 of 115200 bytes
> > > >
> > > > And this message goes on and on. I get a new pwcview window on the
> > > > desktop with a billiard green color but still no image.
> > > > But it is already more than before !
> > > >
> > > > With the Creative webcam5 still nothing. So I guess i will have to
> > > > abandon that one and stick with the Logitech.
> > >
> > > Try installing a newer version of libv4l. Or try a different mode:
> > >
> > > pwcview -s vga
> > >
> > > --HPS
> >
> > This is what I get with pwcview -s vga :
> >
> > [beni at bsdaddict /usr/home/beni]$ pwcview -s vga
> > Webcam set to: 640x480 (vga) at 5 fps
> > Warning short read, got only 30660 of 460800 bytes
> > Warning short read, got only 29638 of 460800 bytes
> > Warning short read, got only 30660 of 460800 bytes
> > Warning short read, got only 30660 of 460800 bytes
> > Warning short read, got only 30660 of 460800 bytes
> > Warning short read, got only 30660 of 460800 bytes
> > Warning short read, got only 29638 of 460800 bytes
> > Warning short read, got only 29638 of 460800 bytes
> > Warning short read, got only 30660 of 460800 bytes
> > Warning short read, got only 29638 of 460800 bytes
> > Warning short read, got only 30660 of 460800 bytes
> > Warning short read, got only 29638 of 460800 bytes
> > Warning short read, got only 29638 of 460800 bytes
> >
> > This warning goes on and on and my pwcview window stays green.
> > I'm using libv4l-0.6.4 now.
>
> If you boot an ubuntu live-cd does your webcam work then?
>
> --HPS
>


Under Ubuntu 10.04 are these the last lines from dmesg when I plug the
Creative webcam in :

[  241.428030] usb 4-1: new full speed USB device using uhci_hcd and address
2
[  241.685142] usb 4-1: configuration #1 chosen from 1 choice
[  241.700782] pwc: Philips webcam module version 10.0.13 loaded.
[  241.700790] pwc: Supports Philips PCA645/646, PCVC675/680/690,
PCVC720[40]/730/740/750 & PCVC830/840.
[  241.700794] pwc: Also supports the Askey VC010, various Logitech
Quickcams, Samsung MPC-C10 and MPC-C30,
[  241.700798] pwc: the Creative WebCam 5 & Pro Ex, SOTEC Afina Eye and
Visionite VCS-UC300 and VCS-UM100.
[  241.700859] pwc: Creative Labs Webcam 5 detected.
[  242.038082] pwc: Registered as /dev/video2.
[  242.039997] input: PWC snapshot button as
/devices/pci0000:00/0000:00:1d.2/usb4/4-1/input/input7
[  242.040086] usbcore: registered new interface driver Philips webcam
bsdaddict at bsdaddict-desktop:~$

But here with Ubuntu, the Logitech cam does not seem to work. Unplugging and
re-plugging shows this in dmesg :
[  684.648065] usb 5-1: USB disconnect, address 2
[  684.648286] gspca: disconnect complete
[  689.485026] usb 5-1: new full speed USB device using uhci_hcd and address
3
[  689.682151] usb 5-1: configuration #1 chosen from 1 choice
[  689.685151] gspca: probing 046d:092f
[  689.744119] gspca: probe ok
bsdaddict at bsdaddict-desktop:~$

In Ekiga in de Video Devices (when both cams are plugged in), I can choose
out of : Camera (PTLIB/V4L), Unknown/Generic (PTLIB/V4L) and Unknown/generic
(2) (PTLIB/V4L). But in Ekiga I have no camera image.

In Skype 2.1.0.81 the Creative Webcam 5 works as /dev/video2. When I click
on the Test button I get an image.

Beni


More information about the freebsd-usb mailing list