Gentoo Archives: gentoo-user

From: Jamie Dobbs <jamie.dobbs@×××××××××.nz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Cannot get TV Card to work
Date: Tue, 19 Jul 2005 05:56:59
Message-Id: 42DC94E6.4060708@orcon.net.nz
In Reply to: Re: [gentoo-user] Cannot get TV Card to work by "W.Kenworthy"
1 I get this output:
2
3 Gir ~ # v4lctl -v 1 setchannel 5 /dev/v4l/video0
4 vid-open: trying: v4l2-old...
5 vid-open: failed: v4l2-old
6 vid-open: trying: v4l2...
7 v4l2: open
8 v4l2: device info:
9 saa7134 0.2.12 / Pinnacle PCTV Stereo (saa7134) @ PCI:0000:00:05.0
10 vid-open: ok: v4l2
11 freq: reading /usr/share/xawtv/Index.map
12 v4l2: tuner cap: STEREO LANG1 LANG2
13 v4l2: tuner rxs: MONO
14 v4l2: tuner cur: MONO
15 cmd: "setchannel" "5" "/dev/v4l/video0"
16 v4l2: freq: 0.000
17 v4l2: close
18
19 W.Kenworthy wrote:
20
21 >The problem is almost sure to be the tuner card. Try v4ctl with debug
22 >set to check for errors when tuning. (you will need xawtv installed)
23 >
24 >rattus ~ # v4lctl -v 1 setchannel 2 /dev/v4l/video0
25 >vid-open: trying: v4l2-old...
26 >vid-open: failed: v4l2-old
27 >vid-open: trying: v4l2...
28 >v4l2: open
29 >v4l2: device info:
30 > bttv 0.9.15 / BT848 video (MIRO PCTV) @ PCI:0000:00:06.0
31 >vid-open: ok: v4l2
32 >freq: reading /usr/share/xawtv/Index.map
33 >v4l2: tuner cap:
34 >v4l2: tuner rxs: MONO
35 >v4l2: tuner cur: MONO
36 >cmd: "setchannel" "2" "/dev/v4l/video0"
37 >v4l2: freq: 0.000
38 >v4l2: close
39 >rattus ~ # qpkg -f `which v4lctl`
40 >media-tv/xawtv *
41 >rattus ~ #
42 >
43 >(Note that I cant check the full args as I only have ssh access at work)
44 >
45 >BillK
46 >
47 >
48 >On Tue, 2005-07-19 at 16:49 +1200, Jamie Dobbs wrote:
49 >
50 >
51 >>>Jamie. we seem to be following each other around the mailing lists. CLUG,
52 >>>mythtv, now here.
53 >>>
54 >>>
55 >>True, and I always appreciate the help you offer :-)
56 >>
57 >>
58 >>
59 >>>You seem to have all the modules loaded, what is not working?
60 >>>
61 >>>
62 >>I cannot tune in to any channels
63 >>
64 >>
65 >>
66 >>>is there a /dev/video/video0?
67 >>>
68 >>>
69 >>Yes:
70 >>
71 >>jamie@Gir ~ $ ls -lah /dev/video0
72 >>lrwxrwxrwx 1 root root 10 Jul 19 14:00 /dev/video0 -> v4l/video0
73 >>jamie@Gir ~ $ ls /dev/v4l/video0 -lah
74 >>crw-rw---- 1 root video 81, 0 Jul 19 14:00 /dev/v4l/video0
75 >>jamie@Gir ~ $
76 >>
77 >>(the permissions on /dev/v4l/video0 don't look right to me and I do get an
78 >>error that /dev/video0 is not accessible when trying to run xawtv as any
79 >>user other than root)
80 >>
81 >>
82 >>
83 >>>does xawtv -c /dev/video/video0 give any output?
84 >>>
85 >>>
86 >>I will try this later tonight when I get home.
87 >>
88 >>
89 >>
90 >>>On Tue, 19 Jul 2005 14:20:48 +1200 (NZST)
91 >>>Jamie Dobbs wrote:
92 >>>
93 >>>
94 >>>
95 >>>>I've been working on this for several days but do not seem to make any
96 >>>>progress.
97 >>>>I have a Pinnacle PCTV Stereo card which is based on the Philips saa7134
98 >>>>chip. I have recomipled my kernel (2.6.12-gentoo-r6) to include the
99 >>>>saa7134 module and i2c support as a module.
100 >>>>
101 >>>>lsmod output :
102 >>>>
103 >>>>Module Size Used by
104 >>>>tda9887 13144 0
105 >>>>saa7134 102996 0
106 >>>>tuner 26920 0
107 >>>>video_buf 17924 1 saa7134
108 >>>>v4l2_common 5184 1 saa7134
109 >>>>v4l1_compat 14084 1 saa7134
110 >>>>ir_common 6660 1 saa7134
111 >>>>videodev 7808 1 saa7134
112 >>>>
113 >>>>Relevant entries added to my /etc/modules.conf after modules-update is
114 >>>>run:
115 >>>>(I am in New Zealand and know that card number and tuner number are
116 >>>>correct as I have had this card working in Mandrake 10.1 a week or so
117 >>>>ago)
118 >>>>
119 >>>>### modules-update: start processing /etc/modules.d/saa7134
120 >>>>options saa7134 card=26 tuner=5 oss=1
121 >>>>
122 >>>>### modules-update: end processing /etc/modules.d/saa7134
123 >>>>
124 >>>>### modules-update: start processing /etc/modules.d/tda9887
125 >>>>options tda9887 qss=0
126 >>>>
127 >>>>### modules-update: end processing /etc/modules.d/tda9887
128 >>>>
129 >>>>My Kernel .config file can be found at
130 >>>>http://drgnfire.orcon.net.nz/kernel_config
131 >>>>
132 >>>>I'd appreciate any feedback on what I might be doing wrong that is
133 >>>>causing
134 >>>>the TV Card not to work.
135 >>>>
136 >>>>Once I have the card working my aim is to build a MythTV box using this
137 >>>>card, so any pointers on this would also be appreciated (especially from
138 >>>>anyone in New Zealand who has experience in this area).
139 >>>>
140 >>>>Thanks
141 >>>>
142 >>>>Jamie
143 >>>>
144 >>>>
145 >>>>--
146 >>>>gentoo-user@g.o mailing list
147 >>>>
148 >>>>
149 >>>--
150 >>>Nick Rout
151 >>>
152 >>>--
153 >>>gentoo-user@g.o mailing list
154 >>>
155 >>>
156 >>>
157 >>>
158 >>>
159 >>>
160 >>
161 >>
162 >
163 >
164 >
165
166 --
167 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Cannot get TV Card to work "W.Kenworthy" <billk@×××××××××.au>