[linux-dvb] problems whith mt352 and saa7134

tim0m1a tim0m1a at gmx.de
Sat Aug 27 13:14:44 CEST 2005


Hello,

As I've searched for the mistake in my configuration of my Pinnacle 300i  
for over two weeks, I don't know where to search anymore.
I am using the 2.6.12-gentoo-r9 kernel, but I've tried also the  
vanilla-kernels 2.6.12.3 and 2.6.12.5. According my /var/log/messages-file  
the tuner and the card are properly detected and installed:

[BEGIN /var/log/messages]
        Linux video capture interface: v1.00
        i2c-core: driver tveeprom registered.
        bttv: driver version 0.9.15 loaded
        bttv: using 8 buffers with 2080k (520 pages) each for capture
        saa7146: register extension 'dvb'.
        saa7130/34: v4l2 driver version 0.2.12 loaded
        ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 17 (level, low) -> IRQ 17
        saa7134[0]: found at 0000:00:09.0, rev: 1, irq: 17, latency: 32,  
mmio: 0xcfffbc00
        saa7134[0]: subsystem: 11bd:002d, board: Pinnacle PCTV 300i DVB-T  
+ PAL [card=50,autodetected]
        saa7134[0]: board init: gpio is c806000
        i2c_adapter i2c-0: Registered as minor 0
        i2c_adapter i2c-0: registered as adapter #0
        i2c_adapter i2c-0: master_send: writing 1 bytes.
        i2c_adapter i2c-0: master_recv: reading 64 bytes.
        i2c_adapter i2c-0: master_recv: return:1 (count:64, addr:0x50)
        saa7134[0]: i2c eeprom 00: bd 11 2d 00 f8 f8 1c 00 43 43 a9 1c 55  
d2 b2 92
        saa7134[0]: i2c eeprom 10: 00 f0 04 04 ff 20 ff ff ff ff ff ff ff  
ff ff ff
        saa7134[0]: i2c eeprom 20: 01 40 01 02 03 ff 03 01 08 ff 00 25 ff  
ff ff ff
        saa7134[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff  
ff ff ff
        i2c-core: driver tuner registered.
        i2c_adapter i2c-0: found normal i2c entry for adapter 0, addr 4b
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x4b, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
0060
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x60, len=0
        i2c_adapter i2c-0: client [(tuner unset)] registered to adapter
        registering 0-0060
        tuner 0-0060: chip found @ 0xc0 (saa7134[0])
        i2c_adapter i2c-0: master_send: writing 1 bytes.
        i2c_adapter i2c-0: master_recv: reading 21 bytes.
        i2c_adapter i2c-0: master_recv: return:1 (count:21, addr:0x60)
        tuner 0-0060: microtune: companycode=3cbf part=42 rev=2f
        i2c_adapter i2c-0: master_send: writing 2 bytes.
        i2c_adapter i2c-0: master_send: writing 2 bytes.
        i2c_adapter i2c-0: master_send: writing 1 bytes.
        i2c_adapter i2c-0: master_recv: reading 1 bytes.
        i2c_adapter i2c-0: master_recv: return:1 (count:1, addr:0x60)
        tuner 0-0060: microtune MT2050 found, OK
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
0061
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x61, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
0062
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x62, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
0063
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x63, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
0064
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x64, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
0065
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x65, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
0066
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x66, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
0067
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x67, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
0068
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x68, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
0069
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x69, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
006a
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x6a, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
006b
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x6b, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
006c
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x6c, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
006d
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x6d, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
006e
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x6e, len=0
        i2c_adapter i2c-0: found normal i2c_range entry for adapter 0, addr  
006f
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x6f, len=0
        i2c-core: driver i2c tda9887 driver registered.
        i2c_adapter i2c-0: found normal i2c entry for adapter 0, addr 42
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x42, len=0
        i2c_adapter i2c-0: found normal i2c entry for adapter 0, addr 43
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x43, len=0
        tda9885/6/7: chip found @ 0x86
        i2c_adapter i2c-0: master_send: writing 4 bytes.
        i2c_adapter i2c-0: client [tda9887] registered to adapter
        registering 0-0043
        i2c_adapter i2c-0: found normal i2c entry for adapter 0, addr 4b
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x4b, len=0
        saa7134[0]: registered device video0 [v4l2]
        saa7134[0]: registered device vbi0
        saa7134[0]: pinnacle 300i dvb setup
        i2c_adapter i2c-0: master_xfer[0] W, addr=0x1e, len=1
        i2c_adapter i2c-0: master_xfer[1] R, addr=0x1e, len=1
        DVB: registering new adapter (saa7134[0]).
        DVB: registering frontend 0 (Zarlink MT352 DVB-T)...
        saa7134[0]/audio: audio carrier scan failed, using 5.500 MHz  
[default]
[END /var/log/messages]

I've used the saa7134 module of the kernel and a newer one of the  
video4linux-Package. Both have given the same output differing in the  
version number of saa7134.

The nodes in /dev/dvb are properly set and kaffeine, mplayer and also vdr  
have found the card as a dvb-device. But if i try to search for channels  
or just give the programm a channel-frequency, I only get the following  
output to my /var/log/messages:
[BEGIN /var/log/messages]
[...]
            mt352_read_register: readreg error (reg=1, ret==-5)
            i2c_adapter i2c-0: master_xfer[0] W, addr=0x1e, len=1
            i2c dapter i2c-0: master_xfer[1] R, addr=0x1e, len=1
[...]
[END /var/log/messages]
The card seems not to be able to tune to a given channel, neither as a  
normal user, nor as root. The firmware written to the card's eeprom is  
Version 1.11. I've tried the card in an other system with Windows XP where  
it has worked fine.

"hwinfo --dvb" does not give any output. "hwinfo --tv" shows me the  
following output:

[BEGIN hwinfo --tv]
11: PCI 09.0: 11200 TV Card
   [Created at pci.244]
   Unique ID: WL76.wvAFGqF+rP8
   SysFS ID: /devices/pci0000:00/0000:00:09.0
   SysFS BusID: 0000:00:09.0
   Hardware Class: tv card
   Model: "Pinnacle SAA7134"
   Vendor: pci 0x1131 "Philips Semiconductors"
   Device: pci 0x7134 "SAA7134"
   SubVendor: pci 0x11bd "Pinnacle Systems Inc."
   SubDevice: pci 0x002d
   Revision: 0x01
   Driver: "saa7134"
   Memory Range: 0xcfffbc00-0xcfffbfff (rw,non-prefetchable)
   IRQ: 17 (no events)
   Driver Info #0:
     Driver Status: saa7134 is active
     Driver Activation Cmd: "modprobe saa7134"
   Config Status: cfg=new, avail=yes, need=no, active=unknown
[END hwinfo --tv]
	
"lsmod" shows me that the following modules are installed:
[BEGIN lsmod]
	Module                  Size  Used by
	saa7134_dvb             4036  5
	mt352                   6532  1 saa7134_dvb
	tda9887                13080  0
	tuner                  36976  0
	saa7134               108436  1 saa7134_dvb
	ir_common               7172  1 saa7134
	video_buf_dvb           4932  1 saa7134_dvb
	dvb_ttpci              93552  0
	l64781                  7492  1 dvb_ttpci
	saa7146_vv             46272  1 dvb_ttpci
	v4l1_compat            13892  2 saa7134,saa7146_vv
	ves1820                 5892  1 dvb_ttpci
	tda8083                 6148  1 dvb_ttpci
	stv0297                 9024  1 dvb_ttpci
	sp8870                  7564  1 dvb_ttpci
	ves1x93                 6788  1 dvb_ttpci
	budget_ci              11776  0
	tda1004x               14724  1 budget_ci
	budget_core             7748  1 budget_ci
	dvb_core               77544  4  
video_buf_dvb,dvb_ttpci,budget_ci,budget_core
	saa7146                15368  4 dvb_ttpci,saa7146_vv,budget_ci,budget_core
	ttpci_eeprom            2688  2 dvb_ttpci,budget_core
	stv0299                11080  2 dvb_ttpci,budget_ci
	bttv                  153296  0
	video_buf              17732  5  
saa7134_dvb,saa7134,video_buf_dvb,saa7146_vv,bttv
	firmware_class          8448  4 dvb_ttpci,sp8870,budget_ci,bttv
	i2c_algo_bit            9544  1 bttv
	v4l2_common             4992  3 saa7134,saa7146_vv,bttv
	btcx_risc               4232  1 bttv
	tveeprom               11544  1 bttv
	i2c_core               21504  19  
mt352,tda9887,tuner,saa7134,dvb_ttpci,l64781,ves1820,tda8083,stv0297,sp8870,ves1x93,budget_ci,tda1004x,budget_core,ttpci_eeprom,stv0299,bttv,i2c_algo_bit,tveeprom
	videodev                7808  3 saa7134,saa7146_vv,bttv
	usbhid                 25284  0
	ohci_hcd               19332  0
	snd_intel8x0           29440  2
	snd_ac97_codec         79032  1 snd_intel8x0
[END lsmod]

Can someone tell me, what is wrong with my configuration or what i could  
have forgotten?

Tim




More information about the linux-dvb mailing list