1 |
On Fri, 2005-12-30 at 19:30 -0800, Bob Sanders wrote: |
2 |
> On Fri, 30 Dec 2005 16:08:02 -0600 |
3 |
> Michael Sullivan <michael@××××××××××××.com> wrote: |
4 |
> |
5 |
> |
6 |
> > |
7 |
> > Is there a way to find out what each device node is connected to |
8 |
> > hardwarewise? I'm wonderine if /dev/video0 is NOT the correct device |
9 |
> > for my tv card, and if one of the other sixty-three /dev/video* nodes, |
10 |
> > but I don't want to have to go through each individual one. Is there an |
11 |
> > easier way? |
12 |
> > |
13 |
> |
14 |
> I'm guessing you're running devfs? Thus every node in the world. |
15 |
> If not, and you really are running udev, then edit /etc/conf.d/rc and |
16 |
> change - RC_DEVICE_TARBALL="yes" to "no" and reboot. That should |
17 |
> clear out all the useless nodes. |
18 |
> |
19 |
> Have you tried /dev/video1? |
20 |
> |
21 |
> Also, do all nodes exists in /dev/v4l? If I were running MythTV, |
22 |
> I'd have select one of the modes from - |
23 |
> chi rsanders # ls -l /dev/v4l |
24 |
> total 0 |
25 |
> crw-rw---- 1 root video 81, 64 Dec 30 06:57 radio0 |
26 |
> crw-rw---- 1 root video 81, 65 Dec 30 06:57 radio1 |
27 |
> crw-rw---- 1 root video 81, 224 Dec 30 06:57 vbi0 |
28 |
> crw-rw---- 1 root video 81, 228 Dec 30 06:57 vbi4 |
29 |
> crw-rw---- 1 root video 81, 232 Dec 30 06:57 vbi8 |
30 |
> crw-rw---- 1 root video 81, 0 Dec 30 06:57 video0 |
31 |
> crw-rw---- 1 root video 81, 16 Dec 30 06:57 video16 |
32 |
> crw-rw---- 1 root video 81, 24 Dec 30 06:57 video24 |
33 |
> crw-rw---- 1 root video 81, 32 Dec 30 06:57 video32 |
34 |
> crw-rw---- 1 root video 81, 48 Dec 30 06:57 video48 |
35 |
> |
36 |
> According to xawdecode -h, |
37 |
> |
38 |
> -c video device |
39 |
> video4linux video device. For devfs enabled systems, default is |
40 |
> /dev/v4l/video or /dev/v4l/video0, in that order. For non devfs |
41 |
> systems, default is /dev/video or /dev/video/video0 or |
42 |
> /dev/video0, in that order. Note that on /proc enabled systems, |
43 |
> video device detection is automagic. |
44 |
> |
45 |
> Bob |
46 |
> - |
47 |
|
48 |
I changed the setting in /etc/conf.d/rc as you suggested and rebooted. |
49 |
Here's my actual /dev info: |
50 |
|
51 |
camille ~ # ls -l /dev |
52 |
total 0 |
53 |
drwxr-xr-x 3 root root 60 Dec 30 18:33 bus |
54 |
lrwxrwxrwx 1 root root 3 Dec 30 18:33 cdrom -> hda |
55 |
lrwxrwxrwx 1 root root 3 Dec 30 18:33 cdrw -> hda |
56 |
crw------- 1 root tty 5, 1 Dec 31 00:33 console |
57 |
lrwxrwxrwx 1 root root 11 Dec 30 18:33 core -> /proc/kcore |
58 |
drwxr-xr-x 6 root root 120 Dec 30 18:33 disk |
59 |
lrwxrwxrwx 1 root root 3 Dec 30 18:33 dvd -> hda |
60 |
lrwxrwxrwx 1 root root 13 Dec 30 18:33 fd -> /proc/self/fd |
61 |
crw-rw-rw- 1 root root 1, 7 Dec 30 18:33 full |
62 |
brw-rw---- 1 root cdrom 3, 0 Dec 30 18:33 hda |
63 |
prw------- 1 root root 0 Dec 31 00:33 initctl |
64 |
drwxr-xr-x 2 root root 80 Dec 30 18:33 input |
65 |
crw-r----- 1 root root 1, 2 Dec 30 18:33 kmem |
66 |
crw-rw---- 1 root root 1, 11 Dec 30 18:33 kmsg |
67 |
srw-rw-rw- 1 root root 0 Dec 31 00:33 log |
68 |
drwxr-xr-x 2 root root 200 Dec 30 18:33 loop |
69 |
lrwxrwxrwx 1 root root 6 Dec 30 18:33 loop0 -> loop/0 |
70 |
lrwxrwxrwx 1 root root 6 Dec 30 18:33 loop1 -> loop/1 |
71 |
lrwxrwxrwx 1 root root 6 Dec 30 18:33 loop2 -> loop/2 |
72 |
lrwxrwxrwx 1 root root 6 Dec 30 18:33 loop3 -> loop/3 |
73 |
lrwxrwxrwx 1 root root 6 Dec 30 18:33 loop4 -> loop/4 |
74 |
lrwxrwxrwx 1 root root 6 Dec 30 18:33 loop5 -> loop/5 |
75 |
lrwxrwxrwx 1 root root 6 Dec 30 18:33 loop6 -> loop/6 |
76 |
lrwxrwxrwx 1 root root 6 Dec 30 18:33 loop7 -> loop/7 |
77 |
drwxr-xr-x 2 root root 60 Dec 30 18:33 mapper |
78 |
crw-r----- 1 root root 1, 1 Dec 30 18:33 mem |
79 |
drwxr-xr-x 2 root root 60 Dec 30 18:33 misc |
80 |
crw-rw-rw- 1 root root 1, 3 Dec 30 18:33 null |
81 |
crw-r----- 1 root root 1, 4 Dec 30 18:33 port |
82 |
lrwxrwxrwx 1 root root 10 Dec 30 18:33 psaux -> misc/psaux |
83 |
crw-rw-rw- 1 root tty 5, 2 Dec 31 00:36 ptmx |
84 |
drwxr-xr-x 2 root root 0 Dec 30 18:33 pts |
85 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 ram0 -> rd/0 |
86 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 ram1 -> rd/1 |
87 |
lrwxrwxrwx 1 root root 5 Dec 30 18:33 ram10 -> rd/10 |
88 |
lrwxrwxrwx 1 root root 5 Dec 30 18:33 ram11 -> rd/11 |
89 |
lrwxrwxrwx 1 root root 5 Dec 30 18:33 ram12 -> rd/12 |
90 |
lrwxrwxrwx 1 root root 5 Dec 30 18:33 ram13 -> rd/13 |
91 |
lrwxrwxrwx 1 root root 5 Dec 30 18:33 ram14 -> rd/14 |
92 |
lrwxrwxrwx 1 root root 5 Dec 30 18:33 ram15 -> rd/15 |
93 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 ram2 -> rd/2 |
94 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 ram3 -> rd/3 |
95 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 ram4 -> rd/4 |
96 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 ram5 -> rd/5 |
97 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 ram6 -> rd/6 |
98 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 ram7 -> rd/7 |
99 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 ram8 -> rd/8 |
100 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 ram9 -> rd/9 |
101 |
crw-rw-rw- 1 root root 1, 8 Dec 30 18:33 random |
102 |
drwxr-xr-x 2 root root 360 Dec 30 18:33 rd |
103 |
brw-rw---- 1 root disk 8, 0 Dec 30 18:33 sda |
104 |
brw-rw---- 1 root disk 8, 1 Dec 30 18:33 sda1 |
105 |
brw-rw---- 1 root disk 8, 2 Dec 30 18:33 sda2 |
106 |
brw-rw---- 1 root disk 8, 3 Dec 30 18:33 sda3 |
107 |
brw-rw---- 1 root disk 8, 4 Dec 30 18:33 sda4 |
108 |
brw-rw---- 1 root disk 8, 5 Dec 30 18:33 sda5 |
109 |
brw-rw---- 1 root disk 8, 6 Dec 30 18:33 sda6 |
110 |
drwxrwxrwt 2 root root 40 Dec 30 18:33 shm |
111 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 stderr -> fd/2 |
112 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 stdin -> fd/0 |
113 |
lrwxrwxrwx 1 root root 4 Dec 30 18:33 stdout -> fd/1 |
114 |
drwxr-xr-x 2 root root 120 Dec 30 18:33 tts |
115 |
crw-rw-rw- 1 root tty 5, 0 Dec 31 00:34 tty |
116 |
crw-rw---- 1 root root 4, 0 Dec 30 18:33 tty0 |
117 |
crw------- 1 root root 4, 1 Dec 31 00:33 tty1 |
118 |
crw-rw---- 1 root tty 4, 10 Dec 31 00:33 tty10 |
119 |
crw-rw---- 1 root tty 4, 11 Dec 31 00:33 tty11 |
120 |
crw------- 1 root root 4, 12 Dec 31 00:34 tty12 |
121 |
crw-rw---- 1 root tty 4, 13 Dec 30 18:33 tty13 |
122 |
crw-rw---- 1 root tty 4, 14 Dec 30 18:33 tty14 |
123 |
crw-rw---- 1 root tty 4, 15 Dec 30 18:33 tty15 |
124 |
crw-rw---- 1 root tty 4, 16 Dec 30 18:33 tty16 |
125 |
crw-rw---- 1 root tty 4, 17 Dec 30 18:33 tty17 |
126 |
crw-rw---- 1 root tty 4, 18 Dec 30 18:33 tty18 |
127 |
crw-rw---- 1 root tty 4, 19 Dec 30 18:33 tty19 |
128 |
crw------- 1 root root 4, 2 Dec 31 00:33 tty2 |
129 |
crw-rw---- 1 root tty 4, 20 Dec 30 18:33 tty20 |
130 |
crw-rw---- 1 root tty 4, 21 Dec 30 18:33 tty21 |
131 |
crw-rw---- 1 root tty 4, 22 Dec 30 18:33 tty22 |
132 |
crw-rw---- 1 root tty 4, 23 Dec 30 18:33 tty23 |
133 |
crw-rw---- 1 root tty 4, 24 Dec 30 18:33 tty24 |
134 |
crw-rw---- 1 root tty 4, 25 Dec 30 18:33 tty25 |
135 |
crw-rw---- 1 root tty 4, 26 Dec 30 18:33 tty26 |
136 |
crw-rw---- 1 root tty 4, 27 Dec 30 18:33 tty27 |
137 |
crw-rw---- 1 root tty 4, 28 Dec 30 18:33 tty28 |
138 |
crw-rw---- 1 root tty 4, 29 Dec 30 18:33 tty29 |
139 |
crw------- 1 root root 4, 3 Dec 31 00:33 tty3 |
140 |
crw-rw---- 1 root tty 4, 30 Dec 30 18:33 tty30 |
141 |
crw-rw---- 1 root tty 4, 31 Dec 30 18:33 tty31 |
142 |
crw-rw---- 1 root tty 4, 32 Dec 30 18:33 tty32 |
143 |
crw-rw---- 1 root tty 4, 33 Dec 30 18:33 tty33 |
144 |
crw-rw---- 1 root tty 4, 34 Dec 30 18:33 tty34 |
145 |
crw-rw---- 1 root tty 4, 35 Dec 30 18:33 tty35 |
146 |
crw-rw---- 1 root tty 4, 36 Dec 30 18:33 tty36 |
147 |
crw-rw---- 1 root tty 4, 37 Dec 30 18:33 tty37 |
148 |
crw-rw---- 1 root tty 4, 38 Dec 30 18:33 tty38 |
149 |
crw-rw---- 1 root tty 4, 39 Dec 30 18:33 tty39 |
150 |
crw------- 1 root root 4, 4 Dec 31 00:33 tty4 |
151 |
crw-rw---- 1 root tty 4, 40 Dec 30 18:33 tty40 |
152 |
crw-rw---- 1 root tty 4, 41 Dec 30 18:33 tty41 |
153 |
crw-rw---- 1 root tty 4, 42 Dec 30 18:33 tty42 |
154 |
crw-rw---- 1 root tty 4, 43 Dec 30 18:33 tty43 |
155 |
crw-rw---- 1 root tty 4, 44 Dec 30 18:33 tty44 |
156 |
crw-rw---- 1 root tty 4, 45 Dec 30 18:33 tty45 |
157 |
crw-rw---- 1 root tty 4, 46 Dec 30 18:33 tty46 |
158 |
crw-rw---- 1 root tty 4, 47 Dec 30 18:33 tty47 |
159 |
crw-rw---- 1 root tty 4, 48 Dec 30 18:33 tty48 |
160 |
crw-rw---- 1 root tty 4, 49 Dec 30 18:33 tty49 |
161 |
crw------- 1 root root 4, 5 Dec 31 00:33 tty5 |
162 |
crw-rw---- 1 root tty 4, 50 Dec 30 18:33 tty50 |
163 |
crw-rw---- 1 root tty 4, 51 Dec 30 18:33 tty51 |
164 |
crw-rw---- 1 root tty 4, 52 Dec 30 18:33 tty52 |
165 |
crw-rw---- 1 root tty 4, 53 Dec 30 18:33 tty53 |
166 |
crw-rw---- 1 root tty 4, 54 Dec 30 18:33 tty54 |
167 |
crw-rw---- 1 root tty 4, 55 Dec 30 18:33 tty55 |
168 |
crw-rw---- 1 root tty 4, 56 Dec 30 18:33 tty56 |
169 |
crw-rw---- 1 root tty 4, 57 Dec 30 18:33 tty57 |
170 |
crw-rw---- 1 root tty 4, 58 Dec 30 18:33 tty58 |
171 |
crw-rw---- 1 root tty 4, 59 Dec 30 18:33 tty59 |
172 |
crw------- 1 root root 4, 6 Dec 31 00:33 tty6 |
173 |
crw-rw---- 1 root tty 4, 60 Dec 30 18:33 tty60 |
174 |
crw-rw---- 1 root tty 4, 61 Dec 30 18:33 tty61 |
175 |
crw-rw---- 1 root tty 4, 62 Dec 30 18:33 tty62 |
176 |
crw-rw---- 1 root tty 4, 63 Dec 30 18:33 tty63 |
177 |
crw-rw---- 1 root root 4, 7 Dec 31 00:33 tty7 |
178 |
crw-rw---- 1 root tty 4, 8 Dec 31 00:33 tty8 |
179 |
crw-rw---- 1 root tty 4, 9 Dec 31 00:33 tty9 |
180 |
lrwxrwxrwx 1 root root 5 Dec 30 18:33 ttyS0 -> tts/0 |
181 |
lrwxrwxrwx 1 root root 5 Dec 30 18:33 ttyS1 -> tts/1 |
182 |
lrwxrwxrwx 1 root root 5 Dec 30 18:33 ttyS2 -> tts/2 |
183 |
lrwxrwxrwx 1 root root 5 Dec 30 18:33 ttyS3 -> tts/3 |
184 |
cr--r--r-- 1 root root 1, 9 Dec 31 00:33 urandom |
185 |
crw-rw---- 1 root root 189, 0 Dec 30 18:33 usbdev1.1 |
186 |
crw-rw---- 1 root root 189, 128 Dec 30 18:33 usbdev2.1 |
187 |
crw-rw---- 1 root root 189, 256 Dec 30 18:33 usbdev3.1 |
188 |
crw-rw---- 1 root root 189, 384 Dec 30 18:33 usbdev4.1 |
189 |
crw-rw---- 1 root root 189, 512 Dec 30 18:33 usbdev5.1 |
190 |
crw-rw---- 1 root tty 7, 0 Dec 30 18:33 vcs |
191 |
crw-rw---- 1 root tty 7, 1 Dec 31 00:33 vcs1 |
192 |
crw-rw---- 1 root tty 7, 12 Dec 31 00:33 vcs12 |
193 |
crw-rw---- 1 root tty 7, 2 Dec 31 00:33 vcs2 |
194 |
crw-rw---- 1 root tty 7, 3 Dec 31 00:33 vcs3 |
195 |
crw-rw---- 1 root tty 7, 4 Dec 31 00:33 vcs4 |
196 |
crw-rw---- 1 root tty 7, 5 Dec 31 00:33 vcs5 |
197 |
crw-rw---- 1 root tty 7, 6 Dec 31 00:33 vcs6 |
198 |
crw-rw---- 1 root tty 7, 7 Dec 31 00:33 vcs7 |
199 |
crw-rw---- 1 root tty 7, 128 Dec 30 18:33 vcsa |
200 |
crw-rw---- 1 root tty 7, 129 Dec 31 00:33 vcsa1 |
201 |
crw-rw---- 1 root tty 7, 140 Dec 31 00:33 vcsa12 |
202 |
crw-rw---- 1 root tty 7, 130 Dec 31 00:33 vcsa2 |
203 |
crw-rw---- 1 root tty 7, 131 Dec 31 00:33 vcsa3 |
204 |
crw-rw---- 1 root tty 7, 132 Dec 31 00:33 vcsa4 |
205 |
crw-rw---- 1 root tty 7, 133 Dec 31 00:33 vcsa5 |
206 |
crw-rw---- 1 root tty 7, 134 Dec 31 00:33 vcsa6 |
207 |
crw-rw---- 1 root tty 7, 135 Dec 31 00:33 vcsa7 |
208 |
crw-rw-rw- 1 root root 1, 5 Dec 30 18:33 zero |
209 |
|
210 |
|
211 |
I didn't see anything there that hinted at being my TV card, yet I KNOW |
212 |
it's in there. It works great in Windows. It's a Hauppage |
213 |
WinTV-PVR-250. Why doesn't it show up in /dev? |
214 |
|
215 |
-- |
216 |
gentoo-user@g.o mailing list |