From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Date: Wed, 6 Sep 2000 09:30:28 +0000 From: Robby Message-ID: <8p51pt$2cs1$1@pc-news.cogsci.ed.ac.uk> Content-Type: text/plain; charset=us-ascii Subject: [9fans] Audio driver for SB128 (es1371)? Topicbox-Message-UUID: 0366fe70-eac9-11e9-9e20-41e7f4b1d025 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?