Hartmut Hackmann wrote:
Hi, Nico
Nico Sabbi schrieb:
Hi
I've just noticed that in your tree there's support for the
pre-amplifier of some Philips cards.
Does the Lifeview Trio already use your new code? Or do I need to add
support for it?
I copy this to the mailing lists because i think this is interesting
for more people.
First: the code went to mainstream yesterday.
Then i should give some explaination of what this is about:
Many recent cards with the TDA8275a silicon tuner have a preamplifier
(LNA) in front of the tuner chip. It is *not* inside the chip, and
since it costs some cents, it will not be on all recent cards.
This LNA needs to be controlled by the driver. I know about 3 variants
how this is done, currently, the driver doesn't detect the variant
automatically. So there is a new entry for the board configuration in
saa7134-cards.c. Possible values are:
.tuner_config = 0, : no LNA present. This is the default
.tuner_config = 1, : with LNA. This config is used on the Pinnacle 310i
.tuner_config = 2, : with LNA. This is used on the Philips Tiger-S reference
design and probably on most others.
.tuner_config = 3, with LNA. The new variant. Not sure who uses this.
There is an entry with the same meaning for the tda10046 configuration
in saa7134-dvb.c
I should add that the configurations 1 and 3 are untested. I am quite
sure that 1 is right but not so sure about config 3.
on a fresly compiled 2.6.20 + a fresh hg pull, after having set
.tuner_config=2 in lifeview_trio_config I got:
saa7133[0]/alsa: saa7133[0] at 0xf3115000 irq 21 registered as card -1
tda1004x: setting up plls for 48MHz sampling clock
tda1004x: found firmware revision 29 -- ok
BUG: unable to handle kernel paging request at virtual address 6b6b6b6b
printing eip:
e0f2713b
*pde = 00000000
Oops: 0000 [#1]
SMP
Modules linked in: saa7134_alsa tda827x saa7134_dvb tuner saa7134
ir_kbd_i2c ir_common video_buf_dvb video_buf tda1004x binfmt_misc
cpufreq_ondemand cpufreq_conservative cpufreq_powersave p4_clockmod
speedstep_lib snd_seq_dummy snd_seq_oss snd_seq_midi_event snd_seq
snd_seq_device snd_pcm_oss snd_mixer_oss snd_intel8x0 snd_ac97_codec
ac97_bus snd_pcm snd_timer snd_page_alloc snd soundcore ipv6 eth1394
sbs i2c_ec ide_cd cdrom ohci1394 ieee1394 loop nls_iso8859_15 ntfs
intel_agp agpgart mt352 stv0299 b2c2_flexcop_pci b2c2_flexcop dvb_core
firmware_class dvb_pll i2c_core fuse sn9c102 compat_ioctl32 tsdev
videodev v4l1_compat v4l2_common usbmouse video usbhid ff_memless
thermal processor fan dock container button battery ac ehci_hcd
uhci_hcd usbcore sd_mod ahci ata_piix libata scsi_mod
CPU: 1
EIP: 0060:[<e0f2713b>] Not tainted VLI
EFLAGS: 00010246 (2.6.20 #1)
EIP is at tda1004x_read_byte+0x62/0xee [tda1004x]
eax: ca01dee6 ebx: 00000001 ecx: 00000001 edx: 6b6b6b6b
esi: d327ca00 edi: ca01dee4 ebp: ca01def4 esp: ca01deb8
ds: 007b es: 007b ss: 0068
Process kdvb-fe-1 (pid: 3707, ti=ca01c000 task=ca7ac030 task.ti=ca01c000)
Stack: 00000009 00000001 d327ca78 00000009 00000002 00000000 00000001
ca01dee7
00010000 00000001 ca01dee6 01007222 00000001 00000001 d327ca00
ca01df1c
e0f2720b d327ca78 d327ca80 c9f22d24 ca01df1c e0f27a32 d327ca00
d327ca80
Call Trace:
[<c0103c49>] show_trace_log_lvl+0x19/0x2e
[<c0103cfb>] show_stack_log_lvl+0x9d/0xa5
[<c0103f99>] show_registers+0x1a0/0x277
[<c01042b1>] die+0x116/0x1f0
[<c02c030a>] do_page_fault+0x44a/0x51b
[<c02beb3c>] error_code+0x7c/0x84
[<e0f2720b>] tda1004x_write_mask+0x44/0x63 [tda1004x]
[<e0f286e4>] tda1004x_set_fe+0x106/0x492 [tda1004x]
[<e0bba727>] dvb_frontend_swzigzag_autotune+0x1ad/0x1d6 [dvb_core]
[<e0bbae5a>] dvb_frontend_swzigzag+0x1ab/0x208 [dvb_core]
[<e0bbba08>] dvb_frontend_thread+0x209/0x2a6 [dvb_core]
[<c012b4f7>] kthread+0xb4/0xd9
[<c01039e7>] kernel_thread_helper+0x7/0x10
=======================
Code: 00 8d 45 f2 89 45 ec 83 3d 80 a7 f2 e0 00 74 18 89 54 24 08 c7
44 24 04 85 8a f2 e0 c7 04 24 20 8d f2 e0 e8 d0 40 1f df 8b 56 04 <66>
0f b6 02 66 89 45 d8 66 0f b6 02 66 89 45 e4 8d 55 d8 b9 02
EIP: [<e0f2713b>] tda1004x_read_byte+0x62/0xee [tda1004x] SS:ESP
0068:ca01deb8
do I need more changes to the code?
Thanks,
Nico
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb