You are not logged in.

#1 2009-07-24 03:58:34

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

v4l2 and /dev/video0

Hey, I got a usb video capture dongle. It uses stk1160 driver. I heard the stk11xx driver in AUR works.
my problem is I don't understand video and linux. Where or how do I get the v4l2 and this /dev/video0 shows up no where.

dmesg|tail
agpgart-via 0000:00:00.0: putting AGP V3 device into 8x mode
nvidia 0000:01:00.0: putting AGP V3 device into 8x mode
eth0: no IPv6 routers present
Linux video capture interface: v2.00
stk11xx: Syntek USB2.0 webcam driver startup
usbcore: registered new interface driver usb_stk11xx_driver
stk11xx: v2.0.0 : Syntek USB Video Camera
usb 1-2: USB disconnect, address 2
usb 1-2: new high speed USB device using ehci_hcd and address 4
usb 1-2: configuration #1 chosen from 1 choice

lsusb
Bus 001 Device 004: ID 05e1:0408 Syntek Semiconductor Co., Ltd
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 046d:c00e Logitech, Inc. M-BJ58/M-BJ69 Optical Wheel Mouse
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Offline

#2 2009-07-24 19:46:45

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: v4l2 and /dev/video0

What's the exact problem?

Your system can detect it, as you see:
Bus 001 Device 004: ID 05e1:0408 Syntek Semiconductor Co., Ltd

Offline

#3 2009-07-24 19:59:41

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

Re: v4l2 and /dev/video0

thanx djszapi.
yes my system can dectect it but I see no /dev/video0 or anything like that. I read that I was suppose to see that under /dev.
The apps I use look for the device there too.
I'm trying to use the video capture usb dongle.

Offline

#4 2009-07-24 20:01:21

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: v4l2 and /dev/video0

Do you have the desired udev rules for it?

/etc/udev...

Please check it, if you haven't got the desired rule for it, you must write it manually, but not so hard.

Offline

#5 2009-07-24 20:06:14

funkmuscle
Member
Registered: 2006-02-09
Posts: 534

Re: v4l2 and /dev/video0

time to slap me... how do I do that?
/etc/udev
I have these: rules.d  udev.conf
under rules.d:
54-gphoto.rules                             97-bluetooth-serial.rules
60-pcmcia.rules                             99-fuse.rules
75-cd-aliases-generator.rules.optional      device-mapper.rules
75-persistent-net-generator.rules.optional  kino.rules
90-hal.rules


yeah, from the wiki, it says ls /dev/v4l
or ls /dev/dvb

ls /dev/v4l
ls: cannot access /dev/v4l: No such file or directory

ls /dev/dvb
ls: cannot access /dev/dvb: No such file or directory

Last edited by funkmuscle (2009-07-24 20:22:30)

Offline

#6 2009-07-25 06:54:00

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Offline

Board footer

Powered by FluxBB