Re: webcamd and webcams under 8.1-rel

2010-08-07 Thread Hans Petter Selasky
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 :
   
   [b...@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):
 
 [b...@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
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: webcamd and webcams under 8.1-rel

2010-08-07 Thread beni brinckman
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 :

[b...@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):
  
  [b...@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 :

[b...@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.
-- 
Beni.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: webcamd and webcams under 8.1-rel

2010-08-07 Thread Hans Petter Selasky
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 :
 
 [b...@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):
   
   [b...@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 :
 
 [b...@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
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: webcamd and webcams under 8.1-rel

2010-08-07 Thread Beni Brinckman
2010/8/7 Hans Petter Selasky hsela...@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 :
 
  [b...@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):
   
[b...@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 :
 
  [b...@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/pci:00/:00:1d.2/usb4/4-1/input/input7
[  242.040086] usbcore: registered new interface driver Philips webcam
bsdadd...@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
bsdadd...@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
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: webcamd and webcams under 8.1-rel

2010-08-07 Thread Hans Petter Selasky
On Saturday 07 August 2010 15:01:19 Beni Brinckman wrote:
 But in Ekiga I have no camera image.

This might be because of the format your webcam is using. You could try re-
installing VLC from /usr/ports, which now builds with V4L support by default, 
and open it up there. Compare with Ubuntu again. If it doesn't work on Ubuntu, 
then it is not very likely to work with webcamd.

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: webcamd and webcams under 8.1-rel

2010-08-06 Thread Hans Petter Selasky
On Friday 06 August 2010 15:17:59 beni brinckman wrote:
 Hi,
 

 Are my 2 cams too old or is something else wrong here ? How do i get (one)
 webcam working in p. ex. skype ?

Skype is known not to always work with webcamd. Try using pwcview instead. 
What does:

ls -l /dev/video*

output?

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: webcamd and webcams under 8.1-rel

2010-08-06 Thread beni brinckman
On Friday 06 August 2010 15:28:58 Hans Petter Selasky wrote:
 On Friday 06 August 2010 15:17:59 beni brinckman wrote:
  Hi,
  
  
  Are my 2 cams too old or is something else wrong here ? How do i get
  (one) webcam working in p. ex. skype ?
 
 Skype is known not to always work with webcamd. Try using pwcview instead.
 What does:
 
 ls -l /dev/video*
 
 output?
 
 --HPS
pwcview is installed. 
This is the result with the V-uap cam :

[b...@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
:   
uninitializing


With the Creative cam :
[b...@bsdaddict] /usr/home/beni# pwcview
Failed to access webcam: No such file or directory
***
Make sure you have connected your webcam to the root hub
or to a USB 1.1 hub, also check your dmesg for any errors.
***
[b...@bsdaddict] /usr/home/beni#

I just switched the usb connectors (maybe to fast ?). Don't know if it has 
anything to do with this.
-- 
Beni.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: webcamd and webcams under 8.1-rel

2010-08-06 Thread Hans Petter Selasky
On Friday 06 August 2010 15:47:41 beni brinckman wrote:
 pwcview is installed. 
 This is the result with the V-uap cam :
 
 [b...@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
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: webcamd and webcams under 8.1-rel

2010-08-06 Thread beni brinckman
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 :
  
  [b...@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):

[b...@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.
-- 
Beni.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org