Hello all. I have been trying out various combinations of the saa7134 driver and linux kernels, in order to get my tv card working smoothly. My goal is to be able to watch tv with tvtime, and record it with mencoder. I hope you can help me. I live in Denmark (PAL B/G) and have a TerraTec Cinergy 400 tv-card. The tuner and card type seems to be detected correctly by even the earliest drivers. Mono-sound works without problems, at 32 kHz or with line-in on a sound card. However, 48 kHz doesn't works properly. Stereo does not work at all. I know this because: 1) I have a pro logic surround sound decoder. There is a major difference in movies with mono and pro logic sound (which is encoded in a stereo signal). 2) I tried using Gerd Knorr's program "record" to monitor the L/R channel of either /dev/dsp1 or /dev/dsp. There isn't the tiniest amount of difference between the two channels on either dsp device. This, of course, is not right at all. Here is my situation with different combinations of kernel and driver: Mandrake 2.4.21-15 (Mandrake's kernel - unknown (old) saa7134 version) Sound sometimes, static otherwise. Picture works. fbtv often crashes on frequency change. Generally unusable. Vanilla 2.4.21 + Gerd's patches + 0.2.8 saa7134 Works much better, but it had some (sorry, forgot the specifics) problem that made it unusable. fbtv still crashes on freq change. Vanilla 2.6.0-test4 + saa7134-20030828.tar.gz Crashes horribly. I can't make this one work at all. (come to think of it, I have only tried using v4l1 on fbtv. This might be it, but it's still pretty bad) Vanilla 2.6.0-test5 + saa7134 that comes with it oss capture works, picture works, fbtv STILL (sometimes) crashes on freq change. The only thing not working is stereo. Driver stability is very good. This is the setup I am using generally using. Vanilla 2.6.0-test5 + saa7134-20030910.tar.gz Works just as well as the previous one, but not better. Now, I have 3 questions: 1) Can you help get stereo sound? If so, how can I help you do that? I have attached a part of my syslog for watching tv (with audio_debug=1). I thought that might be helpful, but I'm not sure it's enough 2) If I set oss_rate to 48000, I get no sound from the lineout on the card. Is this by design or is it a bug? 3) If I set oss_rate to 48000 and record from /dev/dsp1, I get an irritating crackling sound in the audio recorded. Has anyone heard (of) this before? Is there a solution? This problem is not present @ 32000. I can send sound clips if you are interested. I hope you can help me debug this, because 48000 stereo is so much nicer than 32000 mono :) Syslog: Oct 8 23:08:41 zephyr kernel: saa7130/34: v4l2 driver version 0.2.8 loaded Oct 8 23:08:41 zephyr kernel: PCI: Found IRQ 10 for device 0000:00:0e.0 Oct 8 23:08:41 zephyr kernel: saa7134[0]: found at 0000:00:0e.0, rev: 1, irq: 10, latency: 32, mmio: 0xe4800000 Oct 8 23:08:41 zephyr kernel: saa7134[0]: subsystem: 153b:1142, board: Terratec Cinergy 400 TV [card=8,autodetected] Oct 8 23:08:41 zephyr kernel: tuner: chip found @ 0xc0 Oct 8 23:08:41 zephyr kernel: tuner: type set to 5 (Philips PAL_BG (FI1216 and compatibles)) Oct 8 23:08:41 zephyr kernel: registering 15-0060 Oct 8 23:08:41 zephyr kernel: saa7134[0]: i2c eeprom 00: 3b 15 42 11 ff ff ff ff ff ff ff ff ff ff ff ff Oct 8 23:08:41 zephyr kernel: saa7134[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Oct 8 23:08:41 zephyr kernel: saa7134[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Oct 8 23:08:41 zephyr kernel: saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff Oct 8 23:08:41 zephyr kernel: saa7134[0]/audio: ctl_mute=1 automute=0 input=Television => mute=1 input=Television Oct 8 23:08:41 zephyr kernel: saa7134[0]/audio: tvaudio thread scan start [0] Oct 8 23:08:41 zephyr kernel: saa7134[0]/irq[10,275431524]: r=0x20 s=0x10 PE Oct 8 23:08:41 zephyr kernel: saa7134[0]/irq: looping -- clearing enable bits Oct 8 23:08:41 zephyr kernel: videodev: "saa7134-video" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ Oct 8 23:08:41 zephyr kernel: saa7134[0]: registered device video0 [v4l2] Oct 8 23:08:41 zephyr kernel: videodev: "saa7134-vbi" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/ Oct 8 23:08:41 zephyr kernel: saa7134[0]: registered device vbi0 Oct 8 23:08:41 zephyr kernel: saa7134[0]: registered device dsp1 Oct 8 23:08:41 zephyr kernel: saa7134[0]: registered device mixer1 Oct 8 23:08:42 zephyr kernel: saa7134[0]/audio: scanning 5.500 MHz => dc is 22117 [-9270/12847] Oct 8 23:08:43 zephyr kernel: saa7134[0]/audio: scanning 6.000 MHz => dc is 6316 [742/7058] Oct 8 23:08:43 zephyr kernel: saa7134[0]/audio: scanning 6.500 MHz => dc is 381 [341/-40] Oct 8 23:08:43 zephyr kernel: saa7134[0]/audio: found PAL main sound carrier @ 5.500 MHz [22117/6316] Oct 8 23:08:43 zephyr kernel: saa7134[0]/audio: tvaudio_setmode: trying PAL-B/G FM-stereo [5.500/5.742 MHz] Oct 8 23:08:44 zephyr kernel: saa7134[0]/audio: tvaudio_setmode: trying PAL-B/G NICAM [5.500/5.850 MHz] Oct 8 23:08:45 zephyr kernel: saa7134[0]/audio: tvaudio_setmode: using PAL-B/G FM-stereo [5.500/5.742 MHz] Oct 8 23:08:45 zephyr kernel: saa7134[0]/audio: setstereo [fm] => mono Oct 8 23:08:48 zephyr kernel: saa7134[0]/audio: setstereo [fm] => stereo Oct 8 23:08:59 zephyr kernel: saa7134[0]/audio: found audio subchannels: mono Oct 8 23:08:59 zephyr kernel: saa7134[0]/audio: ctl_mute=0 automute=0 input=Television => mute=0 input=Television Oct 8 23:09:00 zephyr kernel: saa7134[0]/audio: ctl_mute=1 automute=0 input=Television => mute=1 input=Television Oct 8 23:09:00 zephyr kernel: saa7134[0]/audio: ctl_mute=0 automute=0 input=Television => mute=0 input=Television Oct 8 23:09:01 zephyr kernel: saa7134[0]/audio: found audio subchannels: mono Oct 8 23:09:02 zephyr last message repeated 3 times Oct 8 23:09:03 zephyr kernel: saa7134[0]/audio: ctl_mute=1 automute=0 input=Television => mute=1 input=Television Oct 8 23:09:03 zephyr kernel: saa7134[0]/audio: ctl_mute=0 automute=0 input=Television => mute=0 input=Television Oct 8 23:09:04 zephyr kernel: saa7134[0]/audio: ctl_mute=1 automute=0 input=Television => mute=1 input=Television Oct 8 23:09:04 zephyr kernel: saa7134[0]/audio: ctl_mute=0 automute=0 input=Television => mute=0 input=Television Oct 8 23:09:05 zephyr kernel: saa7134[0]/audio: ctl_mute=1 automute=0 input=Television => mute=1 input=Television I hope you all have some ideas for this :-) -- Regards, Christian Iversen