You are not logged in.

#1 2010-01-08 23:56:54

Horris
Member
Registered: 2009-04-05
Posts: 30

webcam and tvturner together

Hi people,

I have a webcam and a tvturner. I can't make it work together.
The tvtuner works perfectly but I can't make work webcam because I don't know where is the video device for this hardware.
All programs for webcam have a link to /dev/video0 but there is tvturner then I saw TV not webcam image.

saa7130[0]: registered device video0 [v4l2]

The webcam is supported.

[dan@rodhesia builds]$ dmesg | grep uvc
usbcore: registered new interface driver uvcvideo

How I can know the video device name for webcam?

thanks in advance

Last edited by Horris (2010-01-09 02:34:54)

Offline

#2 2010-01-09 08:51:49

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: webcam and tvturner together

It'll be the device node in /dev that isn't /dev/video0, though that may change after a reboot ;-)  In my case, I have:

uvcvideo: Found UVC 1.00 device <unnamed> (046d:0804)
usbcore: registered new interface driver uvcvideo
saa7133[0]: registered device video1[v4l2]

and the device nodes are:

$ ls -al /dev/video*
lrwxrwxrwx 1 root root      6 Jan  9 08:05 /dev/video -> video0
crw-rw---- 1 root video 81, 0 Jan  9 08:05 /dev/video0
crw-rw---- 1 root video 81, 1 Jan  9 08:05 /dev/video1

I force the analog tv card to be /dev/video1 by using the video_nr parameter of the saa7134 kernel module therefore I know that my webcam is always going to be /dev/video0:

$ cat /etc/modprobe.d/saa7134.conf
options saa7134 video_nr=1 alsa=1

Offline

#3 2010-01-09 14:58:08

Horris
Member
Registered: 2009-04-05
Posts: 30

Re: webcam and tvturner together

Now with you suggestion I have:

saa7134 in video1

saa7130[0]: registered device video1 [v4l2]

uvcvideo loaded

usbcore: registered new interface driver uvcvideo

but only one video device, that is tvturner

ls -al /dev/video*
crw-rw---- 1 root video 81, 0 2010-01-09 12:02 /dev/video1

Now, I will try to make work only webcam, not tvturner

MODULES=(snd_intel8x0 snd-pcm-oss !saa7134 uvcvideo)

but

 ls -al /dev/video*
ls: cannot access /dev/video*: No such file or directory

I don't know where is video device for webcam!

Maybe isn't the correct module?

the webcam is genius slim 1320 in this place http://linux-uvc.berlios.de/ I see is supported

Last edited by Horris (2010-01-09 15:19:30)

Offline

#4 2010-01-09 18:56:36

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: webcam and tvturner together

Well, the Genius website says that that webcam model has linux support but Google is telling me that it isn't supported by either the uvc or the gspca (http://linuxtv.org/wiki/index.php/Gspca) drivers.  What output do you get in /var/log/messages.log after unplugging and then reconnecting the webcam?

Edit: Have a look at http://ubuntuforums.org/showthread.php?t=1229827 for example.

Last edited by azleifel (2010-01-09 18:58:34)

Offline

#5 2010-01-09 19:12:13

Horris
Member
Registered: 2009-04-05
Posts: 30

Re: webcam and tvturner together

cat /var/log/messages.log

Jan  9 16:18:22 host kernel: usb 1-2: USB disconnect, address 2

dmesg | tail

usb 1-2: USB disconnect, address 2
hub 1-0:1.0: over-current change on port 3
hub 1-0:1.0: over-current change on port 4

When I plug webcam again dmesg | tail

usb 1-2: new high speed USB device using ehci_hcd and address 3
usb 1-2: configuration #1 chosen from 1 choice
3:2:1: cannot get freq at ep 0x84

I see in http://linux-uvc.berlios.de/ the webcam genius slim 1320 (0458:7071 Genius iSlim 1300 V2) is supported but not my exact device. 

Bus 001 Device 003: ID 0458:704a KYE Systems Corp. (Mouse Systems)

Last edited by Horris (2010-01-09 19:22:25)

Offline

#6 2010-01-09 19:14:02

Horris
Member
Registered: 2009-04-05
Posts: 30

Re: webcam and tvturner together

azleifel wrote:

Edit: Have a look at http://ubuntuforums.org/showthread.php?t=1229827 for example.

I read before, but I don't understand well. Now I will take a look again.

Last edited by Horris (2010-01-09 19:17:40)

Offline

#7 2010-01-09 20:48:02

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: webcam and tvturner together

It's got to be worth a try:

$ modprobe gspca_sn9c20x
$ echo -n "0x458 0x704a" > /sys/bus/usb/drivers/sn9c20x/new_id

then take a look at /var/log/messages.log again.

Offline

Board footer

Powered by FluxBB