1 |
Hi, |
2 |
|
3 |
In kernel config (at least in 2.6.15) there is an option to support the Philips SAA7115. That's the point where you get you're first error message. |
4 |
I only got the ivtv driver to work ok in 2.6.15 after enabling the SAA7115 support. (I do not have my linux box at hand now so I cannot exactly tell you were the option is in the kernel config but it is somewhere like Device drivers > multimedia shit > v4L > extra or additonell drivers or so. There you have to options and when you choose for help (in make menuconfig) you will see the supp. For SAA7115 mentioned). |
5 |
If you cannot find let me know I'll take a look tonight. |
6 |
|
7 |
Sorry, when I mentioned XX.XXX in the ivtv command I meant : replace this by an actual frequency where there is a tv station. |
8 |
|
9 |
Bye |
10 |
|
11 |
Rik |
12 |
|
13 |
-----Original Message----- |
14 |
From: Michael Sullivan [mailto:michael@××××××××××××.com] |
15 |
Sent: Tuesday, March 14, 2006 5:05 PM |
16 |
To: gentoo-user@l.g.o |
17 |
Subject: RE: [gentoo-user] OT - Need help getting MythTV to work withnew(er) kernel |
18 |
|
19 |
On Tue, 2006-03-14 at 09:03 +0100, Rik van de Bovenkamp wrote: |
20 |
> Hi, |
21 |
> |
22 |
> If you check dmesg, is everything OK loading ivtv? |
23 |
> You should see the ivtv messages between two ======== lines. |
24 |
> Using diff to compare the dmesg output for different kernels has led me to getting things to work. |
25 |
|
26 |
I booted with my old kernel and copied the ivtv stuff from dmesg into a |
27 |
file. Here it is: |
28 |
|
29 |
michael@camille ~ $ cat ivtv-2.6.14-r5 |
30 |
ivtv: ==================== START INIT IVTV ==================== |
31 |
ivtv: version 0.4.2 (tagged release) loading |
32 |
ivtv: Linux version: 2.6.14-gentoo-r5 SMP 486 gcc-3.4 |
33 |
ivtv: In case of problems please include the debug info between |
34 |
ivtv: the START INIT IVTV and END INIT IVTV lines, along with |
35 |
ivtv: any module options, when mailing the ivtv-users mailinglist. |
36 |
ivtv0: Autodetected WinTV PVR 250 card (cx23416 based) |
37 |
ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 21 (level, low) -> IRQ 22 |
38 |
ivtv0: Unreasonably low latency timer, setting to 64 (was 32) |
39 |
tveeprom: ivtv version |
40 |
tveeprom: Hauppauge: model = 32552, rev = C168, serial# = 8059944 |
41 |
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47) |
42 |
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) |
43 |
tveeprom: audio processor = MSP4448 (type = 1b) |
44 |
tveeprom: decoder processor = SAA7115 (type = 13) |
45 |
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] |
46 |
tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 |
47 |
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] |
48 |
saa7115 0-0021: ivtv driver |
49 |
saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0) |
50 |
ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21] |
51 |
msp3400 0-0040: ivtv driver |
52 |
msp3400 0-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio |
53 |
mode=simpler |
54 |
ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40] |
55 |
msp3400 0-0040: msp34xxg daemon started |
56 |
tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0) |
57 |
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43] |
58 |
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) |
59 |
ivtv0: Encoder revision: 0x02050032 |
60 |
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB |
61 |
total) |
62 |
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB |
63 |
total) |
64 |
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB |
65 |
total) |
66 |
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB |
67 |
total) |
68 |
ivtv0: Create encoder radio stream |
69 |
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0 |
70 |
ivtv0: Initialized WinTV PVR 250, card #0 |
71 |
ivtv: ==================== END INIT IVTV ==================== |
72 |
|
73 |
michael@camille ~ $ |
74 |
|
75 |
Then I booted with the new kernel and did the same thing. Here it is: |
76 |
|
77 |
michael@camille ~ $ cat ivtv-2.6.15-r1 |
78 |
ivtv: ==================== START INIT IVTV ==================== |
79 |
ivtv: version 0.4.2 (tagged release) loading |
80 |
ivtv: Linux version: 2.6.15-gentoo-r1 SMP 486 gcc-3.4 |
81 |
ivtv: In case of problems please include the debug info between |
82 |
ivtv: the START INIT IVTV and END INIT IVTV lines, along with |
83 |
ivtv: any module options, when mailing the ivtv-users mailinglist. |
84 |
ivtv0: Autodetected WinTV PVR 250 card (cx23416 based) |
85 |
ACPI: PCI Interrupt 0000:05:00.0[A] -> GSI 21 (level, low) -> IRQ 22 |
86 |
ivtv0: Unreasonably low latency timer, setting to 64 (was 32) |
87 |
ivtv0: i2c attach to card #0 ok [client=tveeprom, addr=50] |
88 |
tveeprom 0-0050: Hauppauge model 32552, rev C168, serial# 8059944 |
89 |
tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47) |
90 |
tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08) |
91 |
tveeprom 0-0050: audio processor is MSP4448 (idx 27) |
92 |
tveeprom 0-0050: decoder processor is SAA7115 (idx 19) |
93 |
tveeprom 0-0050: has radio, has no IR remote |
94 |
tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0) |
95 |
ivtv0: i2c attach to card #0 ok [client=(tuner unset), addr=61] |
96 |
ivtv0: Failed to load module saa7115 |
97 |
ivtv0 warning: i2c client addr: 0x21 not found for command 0x8004646b! |
98 |
msp3400 0-0040: chip=MSP4448G-A2 +nicam +simple +simpler +radio |
99 |
mode=simpler |
100 |
ivtv0: i2c attach to card #0 ok [client=MSP4448G-A2, addr=40] |
101 |
msp3400 0-0040: msp34xxg daemon started |
102 |
tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0) |
103 |
ivtv0: i2c attach to card #0 ok [client=tda9887, addr=43] |
104 |
ivtv0: loaded v4l-cx2341x-enc.fw firmware (262144 bytes) |
105 |
ivtv0: Encoder revision: 0x02050032 |
106 |
ivtv0: Allocate DMA encoder MPEG stream: 128 x 32768 buffers (4096KB |
107 |
total) |
108 |
ivtv0: Allocate DMA encoder YUV stream: 194 x 10800 buffers (2048KB |
109 |
total) |
110 |
ivtv0: Allocate DMA encoder VBI stream: 120 x 17472 buffers (2048KB |
111 |
total) |
112 |
ivtv0: Allocate DMA encoder PCM audio stream: 455 x 4608 buffers (2048KB |
113 |
total) |
114 |
ivtv0: Create encoder radio stream |
115 |
tuner 0-0061: type set to 47 (LG NTSC (TAPE series)) |
116 |
ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618! |
117 |
ivtv0 warning: i2c client addr: 0x21 not found for command 0xc0045627! |
118 |
ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618! |
119 |
ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045613! |
120 |
ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045612! |
121 |
ivtv0: Initialized WinTV PVR 250, card #0 |
122 |
ivtv: ==================== END INIT IVTV ==================== |
123 |
|
124 |
michael@camille ~ $ |
125 |
|
126 |
|
127 |
And here's the diff: |
128 |
|
129 |
michael@camille ~ $ diff ivtv-2.6.14-r5 ivtv-2.6.15-r1 |
130 |
3c3 |
131 |
< ivtv: Linux version: 2.6.14-gentoo-r5 SMP 486 gcc-3.4 |
132 |
--- |
133 |
> ivtv: Linux version: 2.6.15-gentoo-r1 SMP 486 gcc-3.4 |
134 |
10,15d9 |
135 |
< tveeprom: ivtv version |
136 |
< tveeprom: Hauppauge: model = 32552, rev = C168, serial# = 8059944 |
137 |
< tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47) |
138 |
< tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) |
139 |
< tveeprom: audio processor = MSP4448 (type = 1b) |
140 |
< tveeprom: decoder processor = SAA7115 (type = 13) |
141 |
17c11,17 |
142 |
< tuner (ivtv): chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 |
143 |
--- |
144 |
> tveeprom 0-0050: Hauppauge model 32552, rev C168, serial# 8059944 |
145 |
> tveeprom 0-0050: tuner model is LG TAPE H001F MK3 (idx 68, type 47) |
146 |
> tveeprom 0-0050: TV standards NTSC(M) (eeprom 0x08) |
147 |
> tveeprom 0-0050: audio processor is MSP4448 (idx 27) |
148 |
> tveeprom 0-0050: decoder processor is SAA7115 (idx 19) |
149 |
> tveeprom 0-0050: has radio, has no IR remote |
150 |
> tuner 0-0061: chip found @ 0xc2 (ivtv i2c driver #0) |
151 |
19,22c19,20 |
152 |
< saa7115 0-0021: ivtv driver |
153 |
< saa7115 0-0021: saa7115 found @ 0x42 (ivtv i2c driver #0) |
154 |
< ivtv0: i2c attach to card #0 ok [client=saa7115, addr=21] |
155 |
< msp3400 0-0040: ivtv driver |
156 |
--- |
157 |
> ivtv0: Failed to load module saa7115 |
158 |
> ivtv0 warning: i2c client addr: 0x21 not found for command 0x8004646b! |
159 |
26c24 |
160 |
< tda9887 0-0043: (ivtv) chip found @ 0x86 (ivtv i2c driver #0) |
161 |
--- |
162 |
> tda9887 0-0043: chip found @ 0x86 (ivtv i2c driver #0) |
163 |
35c33,38 |
164 |
< tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0 |
165 |
--- |
166 |
> tuner 0-0061: type set to 47 (LG NTSC (TAPE series)) |
167 |
> ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618! |
168 |
> ivtv0 warning: i2c client addr: 0x21 not found for command 0xc0045627! |
169 |
> ivtv0 warning: i2c client addr: 0x21 not found for command 0x40085618! |
170 |
> ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045613! |
171 |
> ivtv0 warning: i2c client addr: 0x21 not found for command 0x40045612! |
172 |
michael@camille ~ $ |
173 |
|
174 |
As you can see, there was a failure to load module saa7115 and several |
175 |
warnings about client addresses not being found, among other things. I |
176 |
have no idea why these things are happening or how to fix them... |
177 |
|
178 |
|
179 |
> When you do a ivtv-tune -f xxx.xx to set frequency. |
180 |
|
181 |
camille ~ # ivtv-tune -f xxx.xx |
182 |
/dev/video0: 0.000 MHz (Signal Detected) |
183 |
|
184 |
> After that cat /dev/video0 > test.mpg and you playback test.mpg is that OK (or you do mplayer /dev/video0) |
185 |
|
186 |
camille ~ # cat /dev/video0 > test.mpg |
187 |
|
188 |
camille ~ # ls -lh test.mpg |
189 |
-rw-r--r-- 1 root root 0 Mar 14 11:03 test.mpg |
190 |
|
191 |
Nothing. What should I do now? |
192 |
> |
193 |
> |
194 |
> |
195 |
> -----Original Message----- |
196 |
> From: Michael Sullivan [mailto:michael@××××××××××××.com] |
197 |
> Sent: Monday, March 13, 2006 7:39 PM |
198 |
> To: gentoo-user |
199 |
> Subject: [gentoo-user] OT - Need help getting MythTV to work with new(er) kernel |
200 |
> |
201 |
> I had MythTV working perfectly with linux-2.6.14-gentoo-r5. I've tried |
202 |
> to upgrade to linux-2.6.15-gentoo-r1 using genkernel and basing the |
203 |
> newer kernel's configuration off of the older one. I've booted with the |
204 |
> new kernel, remerged ivtv and rebooted again with the new kernel, but |
205 |
> still I cannot watch LiveTV in mythfrontend. Here's the output of |
206 |
> mythbackend.log: |
207 |
> |
208 |
> camille ~ # cat /var/log/mythtv/mythbackend.log |
209 |
> Starting up as the master server. |
210 |
> |
211 |
> It is current (I stopped mythbackend, deleted the old mythbackend.log, |
212 |
> restarted syslog-ng and then mythbackend.) When I start mythfrontend |
213 |
> and ask to watch LiveTV, all I see is the blank screen. Here is the |
214 |
> output of running mythfrontend from my terminal: |
215 |
> |
216 |
> michael@camille ~ $ mythfrontend |
217 |
> 2006-03-13 13:30:34.209 New DB connection, total: 1 |
218 |
> Total desktop width=1024, height=768, numscreens=1 |
219 |
> 2006-03-13 13:30:34.229 Using screen 0, 1024x768 at 0,0 |
220 |
> 2006-03-13 13:30:34.249 mythfrontend version: 0.18.1.20050510-1 |
221 |
> www.mythtv.org |
222 |
> 2006-03-13 13:30:34.250 Enabled verbose msgs : important general |
223 |
> 2006-03-13 13:30:34.526 Switching to square mode (G.A.N.T.) |
224 |
> mythtv: could not connect to socket |
225 |
> mythtv: No such file or directory |
226 |
> lirc_init failed for mythtv, see preceding messages |
227 |
> 2006-03-13 13:30:34.952 Joystick disabled. |
228 |
> 2006-03-13 13:30:35.069 Registering Internal as a media playback plugin. |
229 |
> 2006-03-13 13:30:40.671 New DB connection, total: 2 |
230 |
> 2006-03-13 13:30:40.710 Connecting to backend server: 192.168.1.3:6543 |
231 |
> (try 1 of 5) |
232 |
> 2006-03-13 13:30:40.733 Using protocol version 15 |
233 |
> 2006-03-13 13:30:40.890 Using protocol version 15 |
234 |
> 2006-03-13 13:30:46.209 taking too long to be allowed to read.. |
235 |
> 2006-03-13 13:30:51.213 taking too long to be allowed to read.. |
236 |
> 2006-03-13 13:31:00.218 Waited 4 seconds for data to become available, |
237 |
> waiting again... |
238 |
> 2006-03-13 13:31:04.222 Waited 4 seconds for data to become available, |
239 |
> waiting again... |
240 |
> 2006-03-13 13:31:08.226 Waited 4 seconds for data to become available, |
241 |
> waiting again... |
242 |
> 2006-03-13 13:31:12.230 Waited 4 seconds for data to become available, |
243 |
> waiting again... |
244 |
> 2006-03-13 13:31:16.234 Waited 4 seconds for data to become available, |
245 |
> waiting again... |
246 |
> 2006-03-13 13:31:20.238 Waited 4 seconds for data to become available, |
247 |
> waiting again... |
248 |
> 2006-03-13 13:31:24.242 Waited 4 seconds for data to become available, |
249 |
> waiting again... |
250 |
> 2006-03-13 13:31:28.246 Waited 4 seconds for data to become available, |
251 |
> waiting again... |
252 |
> 2006-03-13 13:31:28.247 Waited 14 seconds for data to become available, |
253 |
> aborting |
254 |
> Couldn't read file: rbuf://192.168.1.3:6543/mnt/store//ringbuf1.nuv |
255 |
> 2006-03-13 13:31:28.303 Changing from None to WatchingLiveTV |
256 |
> 2006-03-13 13:31:28.303 Decoder not alive, and trying to play.. |
257 |
> 2006-03-13 13:31:48.307 ReadStringList timeout (quick). |
258 |
> Remote encoder not responding. |
259 |
> 2006-03-13 13:31:48.323 Changing from None to None |
260 |
> 2006-03-13 13:31:58.483 ReadStringList timeout (quick). |
261 |
> 2006-03-13 13:31:58.483 RemoteFile::Read(): No response from control |
262 |
> socket. |
263 |
> 2006-03-13 13:31:58.483 RemoteFile::Read() failed in |
264 |
> RingBuffer::safe_read(). |
265 |
> 2006-03-13 13:31:58.495 WriteStringList: Bad socket |
266 |
> 2006-03-13 13:31:58.495 ReadStringList: Bad socket |
267 |
> 2006-03-13 13:31:58.495 Remote file timeout. |
268 |
> |
269 |
> |
270 |
> |
271 |
> I see there: |
272 |
> |
273 |
> mythtv: could not connect to socket |
274 |
> mythtv: No such file or directory |
275 |
> |
276 |
> But mythbackend IS running; from another teminal tab I issue this: |
277 |
> |
278 |
> camille ~ # ps ax | grep 'mythbackend' |
279 |
> 12762 ? Ss 0:00 /usr/bin/mythbackend --verbose none |
280 |
> --logfile /var/log/mythtv/mythbackend.log |
281 |
> 12766 ? S 0:00 /usr/bin/mythbackend --verbose none |
282 |
> --logfile /var/log/mythtv/mythbackend.log |
283 |
> 12767 ? S 0:00 /usr/bin/mythbackend --verbose none |
284 |
> --logfile /var/log/mythtv/mythbackend.log |
285 |
> 12769 ? S 0:00 /usr/bin/mythbackend --verbose none |
286 |
> --logfile /var/log/mythtv/mythbackend.log |
287 |
> 12770 ? S 0:00 /usr/bin/mythbackend --verbose none |
288 |
> --logfile /var/log/mythtv/mythbackend.log |
289 |
> 12771 ? S 0:00 /usr/bin/mythbackend --verbose none |
290 |
> --logfile /var/log/mythtv/mythbackend.log |
291 |
> 12772 ? S 0:00 /usr/bin/mythbackend --verbose none |
292 |
> --logfile /var/log/mythtv/mythbackend.log |
293 |
> 12773 ? S 0:00 /usr/bin/mythbackend --verbose none |
294 |
> --logfile /var/log/mythtv/mythbackend.log |
295 |
> 12774 ? S 0:00 /usr/bin/mythbackend --verbose none |
296 |
> --logfile /var/log/mythtv/mythbackend.log |
297 |
> 12775 ? S 0:00 /usr/bin/mythbackend --verbose none |
298 |
> --logfile /var/log/mythtv/mythbackend.log |
299 |
> 12776 ? S 0:00 /usr/bin/mythbackend --verbose none |
300 |
> --logfile /var/log/mythtv/mythbackend.log |
301 |
> 12777 ? S 0:00 /usr/bin/mythbackend --verbose none |
302 |
> --logfile /var/log/mythtv/mythbackend.log |
303 |
> 12792 ? S 0:00 /usr/bin/mythbackend --verbose none |
304 |
> --logfile /var/log/mythtv/mythbackend.log |
305 |
> 12793 ? S 0:00 /usr/bin/mythbackend --verbose none |
306 |
> --logfile /var/log/mythtv/mythbackend.log |
307 |
> 12821 pts/1 S+ 0:00 grep mythbackend |
308 |
> camille ~ # |
309 |
> |
310 |
> I would post the new kernel config, but since it's based off the old |
311 |
> kernel config, and the old one worked, I don't see the necessity. I |
312 |
> will post it if it would be helpful. Why is this not working? Have I |
313 |
> forgotten something? |
314 |
> |
315 |
> |
316 |
> |
317 |
> -- |
318 |
> gentoo-user@g.o mailing list |
319 |
> |
320 |
> -- |
321 |
> No virus found in this outgoing message. |
322 |
> Checked by AVG Free Edition. |
323 |
> Version: 7.1.375 / Virus Database: 268.2.2/280 - Release Date: 3/13/2006 |
324 |
> |
325 |
> |
326 |
|
327 |
-- |
328 |
gentoo-user@g.o mailing list |
329 |
|
330 |
-- |
331 |
No virus found in this outgoing message. |
332 |
Checked by AVG Free Edition. |
333 |
Version: 7.1.385 / Virus Database: 268.2.3/281 - Release Date: 3/14/2006 |
334 |
|
335 |
|
336 |
-- |
337 |
gentoo-user@g.o mailing list |