Hi!

I'm trying to switch on ZV audio on a Maestro 2E chip. According to the
Maestro data sheet it is  Bit 15  in ESM_RING_BUS_CONTR_A
register (=0x36) that controls the I2S input which contain the ZV data 
(I think).
However, I had no luck so far, I can see the ZV video (in xawtv) but
there is no audio. I added a module option for ZV to  the
snd-card-es1968module and added this code to the  snd_es1968_probe(...)
function in card-es1968.c:


    /* Switch on ZV if module option snd_es1968_zvport = 1
       Should really put this stuff in a funtion. Even better -
       add a setting in the mixer for switching on ZV.
    */
   
    if (snd_es1968_zvport[dev] != 0) {
      u16 reg;
   
      reg = inw(chip->io_port + 0x36);
      snd_printk("Switching on ZV audio (Ring Bus Control Reg, before = 
%x",reg);
      reg |= 0x8000; /* Set bit 15 = I2S on, which should switch on ZV 
audio ?!*/
      outw(reg, chip->io_port + 0x36);
      reg = inw(chip->io_port + 0x36);
      printk(", after = %x\n",reg);
    }


Are there any other registers controlling the ZV input?

I'm using a Margi DVD to-go mpeg card as ZV source and
the laptop is equipped with a ATI  3D Rage LT Pro graphics
chip. Drivers can be found at www.linuxtv.org and GATOS.

Fredrik


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to