Re: AverMedia AverTV Hybrid+FM PCI (saa7134)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



HI,

Pierpaolo Paolucci wrote:
Hartmut Hackmann wrote:
<snip>

That's a bit strange. Please set the debug option for the tuner module and
watch the kernel log.

I need to study the MT352 datasheet again. Maybe the tuner needs to be
programmed through it as it is with the tda10046.


I had a look. Things are different but it seems to be possible to program
the tuner through the MT352. But i don't think this is right.
What is the exact tuner type? is it a TD1316A?
Please have a close look at the card, ist there an analog switch IC,
like the 4052 / 4066. Normally it is in a 14 or 16 pin so dip package.

My card is exactly those described in this post (with images):
http://www.pvrweb.com/bbs-old/viewtopic.php?t=41737


I set debug option this way:
modprobe ir_kbd_i2c debug=1
modprobe video_buf debug=1
modprobe video_buf_dvb debug=1
modprobe tuner debug=1
modprobe mt352 debug=1
modprobe saa7134-dvb

dmesg output:
Linux video capture interface: v2.00
saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt 0000:00:0b.0[A] -> Link [LNKD] -> GSI 5 (level, low)
-> IRQ 5
saa7133[0]: found at 0000:00:0b.0, rev: 209, irq: 5, latency: 32, mmio:
0xe3001000
saa7133[0]: subsystem: 1461:2c00, board: AverTV Hybrid+FM PCI
[card=97,autodetected]
saa7133[0]: board init: gpio is 2f404
input: saa7134 IR (AverTV Hybrid+FM PC as /class/input/input4
ir-kbd-i2c: probe 0x7a @ saa7133[0]: no
ir-kbd-i2c: probe 0x47 @ saa7133[0]: no
tuner 1-0043: chip found @ 0x86 (saa7133[0])
tuner 1-0043: Calling set_type_addr for type=62, addr=0xff, mode=0x02
tuner 1-0043: set addr for type 74
tda9887 1-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 1-0043: saa7133[0] tuner I2C addr 0x86 with type 74 used for 0x0e
tuner 1-0060: TEA5767 detected.
tuner 1-0060: chip found @ 0xc0 (saa7133[0])
tuner 1-0060: set addr for type 62
tuner 1-0060: type set to 62 (Philips TEA5767HN FM Radio)
tuner 1-0060: saa7133[0] tuner I2C addr 0xc0 with type 62 used for 0x02
saa7133[0]: i2c eeprom 00: 61 14 00 2c 00 00 00 00 00 00 00 00 00 00 00 00
saa7133[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: 01 40 01 02 02 03 03 01 08 ff 00 a3 ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 40: ff 32 00 c0 86 1e ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tuner 1-0043: Calling set_type_addr for type=67, addr=0x00, mode=0x0e
tuner 1-0043: set addr for type 74
tuner 1-0060: Calling set_type_addr for type=67, addr=0x00, mode=0x0e
tuner 1-0060: set addr for type 62
tuner 1-0043: Cmd VIDIOC_S_STD accepted for analog TV
tuner 1-0043: switching to v4l2
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0
saa7133[0]: avertv hybrid+fm pci dvb setup
DVB: registering new adapter (saa7133[0]).
DVB: registering frontend 0 (Zarlink MT352 DVB-T)...

lsmod|grep saa output:
saa7134_dvb            13444  0
dvb_pll                11908  1 saa7134_dvb
saa7134               106848  1 saa7134_dvb
compat_ioctl32          1024  1 saa7134
videodev               21376  1 saa7134
v4l1_compat            12548  2 saa7134,videodev
nxt200x                12676  1 saa7134_dvb
tda1004x               14084  1 saa7134_dvb
mt352                   6148  1 saa7134_dvb
v4l2_common            18432  3 saa7134,videodev,tuner
ir_kbd_i2c              6544  1 saa7134
ir_common              24196  2 saa7134,ir_kbd_i2c
video_buf_dvb           4228  1 saa7134_dvb
video_buf              19460  3 saa7134_dvb,saa7134,video_buf_dvb
firmware_class          7552  3 saa7134_dvb,nxt200x,tda1004x
i2c_core               16784  9
saa7134_dvb,dvb_pll,saa7134,nxt200x,tda1004x,mt352,tuner,ir_kbd_i2c
,i2c_viapro


I hope this help

Pierpaolo

I had a look at the pictures. I see some "unusual" discretes close
to the tda9666.
Can you please play with the option

.tda9887_conf   = TDA9887_PRESENT | TDA9887_PORT2_ACTIVE,

Possible values are:
TDA9887_PORT2_INACTIVE,
TDA9887_PORT2_ACTIVE,
TDA9887_PORT1_INACTIVE,
TDA9887_PORT1_ACTIVE,

Default should be inactive but i am not sure. This might be tricky with
the load order. You might need to unload and reload the driver once before
you seen an effect.
Looks like there are some LEDs on the board. Please watch these too.

Good luck
   Hartmut

_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux