Linux motion program on a7
sure enough, after a reboot ununtu named my /dev/video devices differently.
using
udevadm info -a -p $(udevadm info -q path -p /class/video4linux/video0)
udevadm info -a -p $(udevadm info -q path -p /class/video4linux/video2)
I found they are different cards.
ATTR{card}==”118″
ATTR{card}==”77″
root@a7:~# lspci
04:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:00.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
sc-pvs1
pico2000 clone
/sbin/modprobe bttv card=118,118,118,118
udevadm info -a -p $(udevadm info -q path -p /class/video4linux/video1)
[ 8.814502] bttv: driver version 0.9.19 loaded
[ 8.814507] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 8.814557] bttv: Bt8xx card found (0)
[ 8.814646] bttv: 0: Bt878 (rev 17) at 0000:04:00.0, irq: 17, latency: 32, mmio: 0xe0103000
[ 8.814660] bttv: 0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 15.244029] bttv: 0: tuner type unset
[ 15.244207] bttv: 0: registered device video0
[ 15.244264] bttv: 0: registered device vbi0
[ 47.404059] bttv: Bt8xx card found (1)
[ 47.404158] bttv: 1: Bt878 (rev 17) at 0000:04:01.0, irq: 16, latency: 32, mmio: 0xe0101000
[ 47.404173] bttv: 1: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]
[ 47.435151] bttv: 1: tuner type unset
[ 47.435275] bttv: 1: registered device video1
[ 47.435327] bttv: 1: registered device vbi1
lspci -vvvn
04:00.0 0400: 109e:036e (rev 11)
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-