All of lore.kernel.org
 help / color / mirror / Atom feed
* Info needed for creative SB 0220 with STAC9758 codec, to get the REAR channels working.
@ 2004-05-02 18:00 James Courtier-Dutton
       [not found] ` <409572D9.2070704@netzero.net>
  0 siblings, 1 reply; 2+ messages in thread
From: James Courtier-Dutton @ 2004-05-02 18:00 UTC (permalink / raw)
  To: alsa-devel

Just for everyone's information.
I now have all the info I need to get the Rear channel working.
I thank Voluspa for giving me ssh root access so that I could find out 
the details via trial and error.

But the summary is: -
This tells the emu10k1 chip which slots to fill on the AC-LINK between 
the emu10k1 and the stac9758.
snd_emu10k1_ptr_write(emu, AC97SLOT, 0, XXX);

Where XXX is:
/* bit 0 is AC97SLOT_REAR_LEFT
  * bit 1 is AC97SLOT_REAR_RIGHT
  * bit 2 is Unknown, Maybe spdif. Not tested.
  * bit 3 is Unknown, Maybe spdif. Not tested.
  * bit 4 is AC97SLOT_CNTR
  * bit 5 is AC97SLOT_LFE
  */
So, for the stac9758, we would set XXX to  0x33

DSP code: -
OP(icode, &ptr, iACC3, EXTOUT(13)...   <- Rear Left
OP(icode, &ptr, iACC3, EXTOUT(14)...   <- Rear Right

Cheers
James


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-05-03 23:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-02 18:00 Info needed for creative SB 0220 with STAC9758 codec, to get the REAR channels working James Courtier-Dutton
     [not found] ` <409572D9.2070704@netzero.net>
     [not found]   ` <409573D9.6040101@superbug.demon.co.uk>
2004-05-03 23:49     ` alsa emu10k1 Francisco Moraes

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.