Jump to content

Philips webcam not working [solved]


neddie
 Share

Recommended Posts

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:

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:

# lsusb
Bus 004 Device 003: ID 0471:0331 Philips

 

And then saw a program called kdetvv4lsetup, which unfortunately just gave this:

$ 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?

Edited by neddie
Link to comment
Share on other sites

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

 

lsmod | grep gspca

urpmi xawtv

xawtv -hwscan

 

This as yet so many

 

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

Edited by Lexicon
Link to comment
Share on other sites

Thanks for the replies! :thumbs:

 

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

 

# 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).

 

$ 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

$ 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?

Link to comment
Share on other sites

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

 

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

 

xawtv -c /dev/video0

Use mplayer

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

Recording

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

Edited by Lexicon
Link to comment
Share on other sites

  • 4 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...