Help - Search - Members - Calendar
Full Version: Philips webcam not working [solved]
MandrivaUsers.org > General Help > Hardware
neddie
After the webcams discussion in another thread, I bought a Philips 1300 and excitedly plugged it in. I got a brief flash of the blue light, and then nothing else, and kdetv didn't seem to find any cameras connected.

I looked in /var/log/messages, and saw this:
CODE
usb 4-3: new high speed USB device using ehci_hcd and address 3
usb 4-3: configuration #1 chosen from 1 choice
uvcvideo: Found UVC 1.00 device Philips SPC 1300NC Webcam (0471:0331)
Device initialization failed: the default format and/or frame are not valid.
uvcvideo: <3>uvcvideo: Failed to initialize the device (-22).
3:3:1: cannot get freq at ep 0x84

So it seemed to recognise uvcvideo ok, but then couldn't initialize the camera for some reason.

I tried lsusb, and got this:
CODE
# lsusb
Bus 004 Device 003: ID 0471:0331 Philips


And then saw a program called kdetvv4lsetup, which unfortunately just gave this:
CODE
$ kdetvv4lsetup
kdetvv4lsetup: using X11 display :0
dga: version 2.0
mode: 1400x1050, depth=16, bpp=16, bpl=4096, base=0xf0020000
can't open /dev/video0: No such file or directory
which makes sense cos there isn't a /dev/video* and no other likely-looking devices either.

Any ideas what I can do? I'm running 2007 Spring if that makes any difference, is it possible I'm using old drivers or something?
neddie
Anyone? huh.gif
SilverSurfer60
Sorry Neddie but I have nothing to offer. Just so you know someone is out here. wink.gif
adamw
If the driver is correctly loaded but doesn't work with the cam that can be tough to fix :\ I would Google the error message and see what you get.
Lexicon
Just no find of exact equivalent of this camera one should public meeting to try.
But not I know anything about Your system.
Connect camera and pass

CODE
lsmod | grep gspca

CODE
urpmi xawtv

CODE
xawtv -hwscan


This as yet so many

CODE
Bus 004 Device 003: ID 0471:0331 Philips
Philips     244     0x0471     0x0322     DMVC 1300K           spca504b           Yes     Jpeg     spca5xx/LE     ****
Philips     202     0x0471     0x0326     SPC300NC           vc0305     Pas106     Yes     Jpeg     spca5xx/LE gspca v4l1/v4l2 ***    
Philips     226     0x0471     0x032d     SPC210NC           vc0305     Pas106     Yes     Jpeg     gspca v4l1 v4l2     ***
Philips     230     0x0471     0x032e     SPC315NC           vc0305     Pas106     Yes     Jpeg     gspca v4l1     ***
Philips     244     0x0471     0x0322     DMVC 1300K           spca504b           Yes     Jpeg     spca5xx/LE     ****
Philips     188     0x0471     0x0328     SPC700NC           sn9c105     HV7131R     Yes     jpeg     spca5xx/LE     ****
Philips     200     0x0471     0x0327     SPC600NC           sn9c105     HV7131R     Yes     jpeg     spca5xx/LE     ****
Philips     189     0x0471     0x0325     SPC200NC           vc0305     Pas106     Yes     Jpeg     spca5xx/LE gspca v4l1/v4l2     ***
Philips     202     0x0471     0x0326     SPC300NC           vc0305     Pas106     Yes     Jpeg     spca5xx/LE gspca v4l1/v4l2     ***
Philips     226     0x0471     0x032d     SPC210NC           vc0305     Pas106     Yes     Jpeg     gspca v4l1 v4l2     ***
Philips     230     0x0471     0x032e     SPC315NC           vc0305     Pas106     Yes     Jpeg     gspca v4l1     ***
Philips     244     0x0471     0x0322     DMVC 1300K           spca504b           Yes     Jpeg     spca5xx/LE     ****
Philips     188     0x0471     0x0328     SPC700NC           sn9c105     HV7131R     Yes     jpeg     spca5xx/LE     ****


.....Lex
Lexicon
I took source gspcav1 and myself I compiled and all happened
http://mxhaard.free.fr/spca50x/Download/gs...20071224.tar.gz
.....Lex
neddie
Thanks for the replies! 2thumbsup.gif

I don't think "gspcav1" is the right one for me though, Lex.

CODE
# lsmod | grep uvc
uvcvideo               51044  0
compat_ioctl32          1920  1 uvcvideo
videodev               27136  1 uvcvideo
v4l1_compat            14372  2 uvcvideo,videodev
v4l2_common            15936  2 uvcvideo,videodev
usbcore               122444  8 snd_usb_audio,uvcvideo,snd_usb_lib,usbhid,usb_storage,uhci_hcd,ehci_hcd
# lsmod | grep gspca
#


However, when I plug it in to 2008.1 live CD, I get an ekiga icon popping up on the desktop and it can show video (although only postage-stamp size).

CODE
$ xawtv -hwscan
This is xawtv-3.95, running on Linux/i686 (2.6.24.4-desktop586-1mnb)
looking for available devices
port 82-82
    type : Xvideo, image scaler
    name : Intel(R) Video Overlay

ioctl: VIDIOC_QUERYMENU(id=134217738;index=0;name="60 Hz";reserved=3081056544): Invalid argument
/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l2
    name : Philips SPC 1300NC Webcam
    flags:  capture

$

But when I try just xawtv it gives a segmentation fault.

And also
CODE
$ ls /dev/vi*
/dev/video@  /dev/video0
$


I've just tried Skype and it now seems happy and shows the picture in the (also postage-stamp-sized) test panel, although yesterday when I tried exactly the same thing, it didn't work. Maybe ekiga was still running in the background or something.

So maybe it is indeed a 2007.1 / 2008.1 issue. Is there a way to test it to get a bigger picture? Take bigger snapshots with it? Maybe even record movies with it?
Lexicon
I be please that camera of cannon though on tvtime. This has to be best camera since it serves v4l2 and not ; not obsolete v4l. Your camera works on driver uvcvideo

CODE
modinfo uvcvideo
filename:       /lib/modules/2.6.26.3/kernel/drivers/media/video/uvc/uvcvideo.ko
version:        v0.1.0                                                          
license:        GPL                                                            
description:    USB Video Class driver                                          
author:         Laurent Pinchart <laurent.pinchart@skynet.be>


Taste to start camera in xawtv

CODE
xawtv -c /dev/video0

Use mplayer
CODE
mplayer -tv device=/dev/video0:driver=v4l2:width=640:height=480:fps=30 tv://

Recording
CODE
mencoder -tv device=/dev/video0:driver=v4l2:width=320:height=240:fps=30  -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=3000 -oac copy -endpos 00:01:00 -o film.avi tv://

Do you have different device of video maybe such as card tv .....Lex
neddie
Thanks for the help, guys! 2thumbsup.gif

Now I've got myself upgraded to 2008.1 and the webcam works just fine, also with Skype. And that mplayer tip is a good one, thanks Lex!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.