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

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



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  
   .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)

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








__________



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