Changing the tuner type for an ATI TV Wonder VE

Shaun Carter linuxlists at charter.net
Sat Apr 9 03:16:10 UTC 2005


Shaun Carter wrote:

> I'm trying to get my bttv based ATI TV Wonder VE to be recognized as 
> type=2 or type=17, but keep getting dmesg reporting it as type=19.  
> Here's What I have so far in my aliases file :
>
> alias char-major-81     bttv
> options bttv card=1 autoload=0 radio=0
> options tuner type=2
>
> with actions set to :
>
> post-install bttv insmod tuner
> post-remove bttv rmmod tuner
>
>
> I have also tried moving the 'options tuner type=2' into actions like 
> this
>
> post-install bttv insmod tuner
> options tuner type=2
> post-remove bttv rmmod tuner
>
> But dmesg keeps reporting this :
>
> bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 17, latency: 32, mmio: 
> 0xdfdfe000
> bttv0: detected: ATI TV Wonder/VE [card=64], PCI subsystem ID is 
> 1002:0003
> bttv0: using: ATI TV-Wonder VE [card=64,autodetected]
> bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
> tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
> bttv0: using tuner=19
> tuner: type set to 19 (Temic PAL* auto (4006 FN5)) by bt878 #0 [sw]
>
> If I rmmod bttv and do
>
> modprobe tuner type=2
> modprobe bttv
>
> things work perfectly (well sort of), see the dmesg output from that:
>
> bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 17, latency: 32, mmio: 
> 0xdfdfe000
> bttv0: detected: ATI TV Wonder/VE [card=64], PCI subsystem ID is 
> 1002:0003
> bttv0: using: ATI TV-Wonder VE [card=64,autodetected]
> bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
> tuner: chip found at addr 0xc0 i2c-bus bt878 #0 [sw]
> tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) by 
> insmod option
> tuner: The type=<n> insmod option will go away soon.
> tuner: Please use the tuner=<n> option provided by
> tuner: tv aard core driver (bttv, saa7134, ...) instead.
> bttv0: using tuner=19
> tuner: type already set to 2, ignoring request for 19
>
> So it seems that it's still trying to set to 19, but I've already set 
> it to 2.  So this works, what do I have to do to get it to default to 
> 2 instead of 19?
>
> Shaun Carter
>
OK, so simply by reading my own email I figured it out.  I changed 
aliases from this

alias char-major-81     bttv
options bttv card=1 autoload=0 radio=0
options tuner type=2

To this:

alias char-major-81     bttv
options bttv card=1 autoload=0 radio=0 type=2

And it worked like a charm.  Seems I missed that helpfull little message 
that said:

tuner: type set to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) by 
insmod option
tuner: The type=<n> insmod option will go away soon.
tuner: Please use the tuner=<n> option provided by
tuner: tv aard core driver (bttv, saa7134, ...) instead.





More information about the ubuntu-users mailing list