Gentoo Archives: gentoo-user

From: Daevid Vincent <daevid@××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] BTTV Mini-HOWTO -- how do I use multiple inputs?
Date: Mon, 28 Nov 2005 04:59:18
Message-Id: 000301c5f3d7$d292ee50$450a0a0a@locutus
1 Followed the howto here:
2 http://www.faqs.org/docs/Linux-mini/BTTV.html
3 (which by the way is 5 years old)
4
5 I have an old hauppauge bt878 card with 4 inputs on it.
6
7 I have the video1 working fine, but how do I enable the other inputs?
8 They're all the same RCA kind.
9
10 I ran the MAKEDEV script, but it didn't seem to make all the video* and vbi*
11 nodes other than the first one...
12
13 I manually created the rest using the HOWTO as an example:
14 I don't know anything about nodes and all this stuff, so I guessed that the
15 'c' number is the same as the ones that were created, and the number next to
16 that increments from the one created.
17
18 daevid bin # ll /dev/video*
19 lr-xr-xr-x 1 root root 11 Nov 27 19:42 /dev/video -> /dev/video0
20 lr-xr-xr-x 1 root root 10 Nov 27 19:46 /dev/video0 -> v4l/video0
21 lr-xr-xr-x 1 root root 10 Nov 27 20:36 /dev/video1 -> v4l/video1
22 lr-xr-xr-x 1 root root 10 Nov 27 20:36 /dev/video2 -> v4l/video2
23 lr-xr-xr-x 1 root root 10 Nov 27 20:36 /dev/video3 -> v4l/video3
24 daevid bin # ll /dev/vbi*
25 lr-xr-xr-x 1 root root 9 Nov 27 19:42 /dev/vbi -> /dev/vbi0
26 lr-xr-xr-x 1 root root 8 Nov 27 19:46 /dev/vbi0 -> v4l/vbi0
27 lr-xr-xr-x 1 root root 8 Nov 27 20:37 /dev/vbi1 -> v4l/vbi1
28 lr-xr-xr-x 1 root root 8 Nov 27 20:37 /dev/vbi2 -> v4l/vbi2
29 lr-xr-xr-x 1 root root 8 Nov 27 20:37 /dev/vbi3 -> v4l/vbi3
30 daevid bin # ll /dev/v4l/*
31 crw-rw-rw- 1 root video 81, 224 Dec 31 1969 /dev/v4l/vbi0
32 crw-rw-rw- 1 root video 81, 225 Nov 27 20:35 /dev/v4l/vbi1
33 crw-rw-rw- 1 root video 81, 226 Nov 27 20:35 /dev/v4l/vbi2
34 crw-rw-rw- 1 root video 81, 227 Nov 27 20:35 /dev/v4l/vbi3
35 crw-rw-rw- 1 root video 81, 0 Dec 31 1969 /dev/v4l/video0
36 crw-rw-rw- 1 root video 81, 1 Nov 27 20:35 /dev/v4l/video1
37 crw-rw-rw- 1 root video 81, 2 Nov 27 20:35 /dev/v4l/video2
38 crw-rw-rw- 1 root video 81, 3 Nov 27 20:35 /dev/v4l/video3
39
40
41 If I try to take a picture:
42
43 /usr/bin/v4lctl -c /dev/video0 snap jpeg 320x240
44 /home/dae51d/public_html/nokia_cam.jpg
45 /usr/bin/v4lctl -c /dev/video1 snap jpeg 320x240
46 /home/dae51d/public_html/ittybitty_cam.jpg
47
48 Then the first one works fine, but the second one is failing with:
49
50 v4l2: open /dev/video1: No such device
51 v4l2: open /dev/video1: No such device
52 v4l: open /dev/video1: No such device
53 no grabber device available
54
55 --
56 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] BTTV Mini-HOWTO -- how do I use multiple inputs? Nick Rout <nick@×××××××.nz>