LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-17-2006, 07:02 PM   #1
FrancescoPx
LQ Newbie
 
Registered: Dec 2006
Posts: 24

Rep: Reputation: 0
webcam spca5xx and /dev/video0 problem


Hi,
Please help for webcam!
I'm on debian stable, kernel 2.6.8-3-686, and I would like to use my usb webcam logitech chat.

lsusb gives:
Bus 001 Device 005: ID 046d:092e Logitech, Inc.

the driver should be spca5xx
I have installed it, it gives no errors.

Then I do "modprobe spca5xx".

From "lsmod | grep spca" I get:
spca5xx 692336 0
videodev 10016 1 spca5xx
usbcore 119044 4 spca5xx,ohci_hcd

in "dmesg" I find:
~/spca5xx-20060501/drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered

and if I deconnect and connect again the camera, "dmesg" gives:
usb 1-2: USB disconnect, address 4
usb 1-1: new full speed USB device using address 5

But when I try "camorama" or "xawtv" I get the error:
"could not connect to video device (/dev/video0)"
and in fact in /dev/ there is not video or video0

what am I missing?
thanks
 
Old 12-17-2006, 08:52 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
If it's not a DevFS or Udev thing or a failure of something else then you could try making the device with "mknod /dev/video0 c 81 0 && ln -s /dev/video0 /dev/video".
 
Old 12-18-2006, 04:21 AM   #3
FrancescoPx
LQ Newbie
 
Registered: Dec 2006
Posts: 24

Original Poster
Rep: Reputation: 0
I tried creating the "mknod /dev/video0 c 81 0 && ln -s /dev/video0 /dev/video", but did not work.
Please, what do you mean with "DevFS or Udev thing" ?
thanx
 
Old 12-18-2006, 05:28 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
All you need is (udev and devfs - The final word (according to G K-H) and) the std doc Writing Udev rules.

Last edited by unSpawn; 12-18-2006 at 05:32 AM.
 
Old 12-19-2006, 10:48 AM   #5
FrancescoPx
LQ Newbie
 
Registered: Dec 2006
Posts: 24

Original Poster
Rep: Reputation: 0
Thank you, I'm studying this.
Maybe I have found something wrong with package versions:
spca5xx is available only for debian unstable, and it needs (see http://packages.debian.org/unstable/misc/spca5xx-source)
debhelper (version >= 5.0.0)
while on sarge stable, I have only debhelper 4.2.32
Could be this?
 
Old 12-19-2006, 01:30 PM   #6
FrancescoPx
LQ Newbie
 
Registered: Dec 2006
Posts: 24

Original Poster
Rep: Reputation: 0
Basically, can spca5xx be used in debian sarge (without backports) ??
or am I losing time?
thanx
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webcam 0c45:60af Microdia, not assigned to /dev/video0 (new drivers won't compile) Ian_Hawdon Linux - Hardware 1 08-20-2006 09:12 AM
problem with /dev/video0 ponaka_aruna Linux - General 3 09-27-2005 01:21 AM
Rivatv /dev/video0 problem martinlinuxuser Linux - Software 0 03-29-2005 03:20 PM
webcam, effecTV, /dev/video0 and vloopback gunslinger77 Linux - Software 0 04-20-2004 03:07 AM
Problem with xawtv - no /dev/video0 gnomeslayer Linux - Software 3 03-12-2003 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration