By Date: <-- -->
By Thread: <-- -->

Help me, please! With AverMedia TV Cardbus plus (E501R)



Hi Roman,

Am Mittwoch, den 03.05.2006, 01:24 +0200 schrieb Roman Dudzak:
> Hi,
> 
> I have AverMedia AverTVCardbus plus (E501R) on my laptop Acer 1804 in winXP work correct, but under mandriva linux 2006 don't work correct. I try apply this changes in kernel sources 
> 
> header file saa7134
> 
> #define SAA7134_BOARD_AVERMEDIA_CARDBUS_PLUS 46
> 
> 
> 
> saa7134-card.c
>  
>  [SAA7134_BOARD_AVERMEDIA_CARDBUS_PLUS] = {
>   .name           = "AVerMedia Cardbus TV/Radio Plus",
>   .audio_clock    = 0x00187de7,  // is independent on value - if change to value 0x00200000 
>   .tuner_type     = TUNER_ALPS_TSBE5_PAL,
>     .tda9887_conf   = TDA9887_PRESENT,
>   .inputs         = {{
>    .name = name_tv,
>    .vmux = 1,
>    .amux = TV, //if value is LINE2 don't work

yes, this is confirmed also by others.

>   
>    .tv   = 1,
>   },{
>    .name= name_comp1,
>    .vmux = 3,
>    .amux = LINE2,
>   },{
>    .name = name_svideo,
>    .vmux = 8,
>    .amux = LINE2,
>   }},
>   .radio = {
>             .name = name_radio,
>    .amux = LINE1,
>   },
>  },
> 
> and
> 
>   /* AVerMedia CardBus Plus */
>   .vendor       = PCI_VENDOR_ID_PHILIPS,
>   .device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
>   .subvendor    = 0x1461, /* Avermedia Technologies Inc */
>   .subdevice    = 0xb7e9,
>   .driver_data  = SAA7134_BOARD_AVERMEDIA_CARDBUS_PLUS,
> 
> 
> enable tda9887 in saa7134_board_init1:
>  
> case SAA7134_BOARD_AVERMEDIA_CARDBUS_PLUS:
>   /* power-up tuner chip  & the blue LED */
>   saa_andorl(SAA7134_GPIO_GPMODE0 >> 2,   0x08400000, 0x08400000);
>   saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x08400000, 0x08400000);
>   break;
> 
> After these changes card is functional (I've used tvtime and xawtv), but not fully correct. I don't tune six channel in spectral range . This range correspond in east-europe area with channels from S28 to S33. (I've use scantv)
> 

The missing range is from 359.25 (S28) to 399.25 (S33) then.
The tuner TUNER_ALPS_TSBE5_PAL you use in compatibility mode has the
following ranges.

static struct tuner_range tuner_alps_tsb_5_pal_ranges[] = {
	{ 16 * 133.25 /*MHz*/, 0x8e, 0x01, },
	{ 16 * 351.25 /*MHz*/, 0x8e, 0x02, },
	{ 16 * 999.99        , 0x8e, 0x08, },
};

The missing channels are currently handled in UHF mode, but obviously
have to be within VHF HIGH. Change the 351.25 to 399.25.

Until now no missing channels for such PAL tuner types have been
reported and I wonder if it is a new type or if the others just had no
broadcast in that region. The NTSC variant seems to get all channels
with tuner=66 ntsc_ranges so far.

> Next problem is this log message
> 
> ...other lines...
> Mar 11 01:08:59 marcin kernel: saa7134[0]: registered device video0 [v4l2]
> Mar 11 01:08:59 marcin kernel: saa7134[0]: registered device vbi0
> Mar 11 01:08:59 marcin kernel: saa7134[0]: registered device radio0 
> 
> I don't see registered device dsp2 (or equivalent) a this due that i can't use next process to get sound
>   
> /*********************************************************/
> To get the sound working you have to set params to saa7134:
> 
> options saa7134 oss=1 oss_rate=32000
> 
> and then fire up sox pumping data to your main soundcard:
> 
> sox -t ossdsp -w -c2 -r 32000 /dev/dsp2 -t ossdsp /dev/dsp 
> 
> (assuming that your TV card is visible as /dev/dsp2 and your main card 
> is /dev/dsp). When using alsa the sound is unfortunately choppy:
> 
> sox -t ossdsp -w -c2 -r 32000 /dev/dsp2 -t alsa /dev/snd/pcmC0D0p
> /**************************************************************/
> 
> What can I do more to discover what is needed to make the card work fully correct with sound?
> 
>                                                       eR Dujack

With recent kernels you need to enable saa7134-oss and saa7134-alsa as
modules and load them separately or install a mercurial snapshot, also
e.g. some 2.6.15 distro kernels don't have it enabled. 

You should get your missing dsp and mixer devices then. (modinfo
saa7134-oss etc)

Cheers,
Hermann


--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list