9fans archive / 2000 / 09 / 36 /    prev next

From: Robby <r.raschke@qua...>
Subject: [9fans] Audio driver for SB128 (es1371)?
Date: Wed, 6 Sep 2000 09:30:28 GMT

Hi,

I've got Plan 9 up and running satisfactorily.

Apart from one thing. I can't get audio to work. I haven't really
understood exactly how the device drivers (the builtin ones with
names like '#A') work. As far as I can make out, the audio driver in
/sys/src/9/port/devaudio.c works for SB16 cards that use the es1688
chip. Now, I have got an SB128 PCI with an es1371 and for probably very
obvious reasons, the driver doesn't work.

I had a look at the Linux Alsa drivers to see if I could figure out what
needs changed to make sound come out of the newer chip. The Linux driver
for the es1688 seems straightforward enough, but the es1370/es1371
version of the same driver leaves me baffled. The es1371 version is
about 5-6 times as large as the es1688 one.

I haven't been able to find any resources explaining how to interface
to any soundcard at a driver level. All I want to do is to be able
to read and write audio, and to set the input gain and output volume.
If anyone can point me to something explaining how to do this (I would
even consider buying a book), that would be absolutely great.

Robby

-- 
Sets! Sets! Sets! Is that all you mathematicians ever think about?