[ltp] Sound

Satish Balay linux-thinkpad@linux-thinkpad.org
Wed, 12 Nov 2003 17:32:54 -0600 (CST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

--8323328-584864868-1068679974=:10935
Content-Type: TEXT/PLAIN; charset=US-ASCII


On Wed, 12 Nov 2003, Adam wrote:

> Is there any way to get sound on this thinkpad 600x?  It does seem to
> have two speakers near the front. I haven't found an application that
> will make a sound. Including inserting a music CD.
> 

If it is anything similiar to a 600E that I have - doing the following
should work (at least in various redhat versions)

1. add the following into /etc/modules.conf
#################
alias sound-slot-0 cs4232
options sound dmabuf=1 

alias synth0 opl3
#alias midi opl3

options opl3 io=0x388 
options cs4232 mpuio=0x330 io=0x530 mpuirq=9 dma=1 irq=5 dma2=0 
#################

2. add the attached script 'cs4232' to /etc/rc.d/init.d

3. set up some links so that the service can be started.

$ ls -l /etc/rc.d/*/*cs4*
-rwxr--r--    1 root     root          402 Oct 27 17:41 /etc/rc.d/init.d/cs4232
lrwxrwxrwx    1 root     root           16 Oct 27 17:56 /etc/rc.d/rc3.d/K16cs4232 -> ../init.d/cs4232
lrwxrwxrwx    1 root     root           16 Oct 27 17:56 /etc/rc.d/rc4.d/S84cs4232 -> ../init.d/cs4232
lrwxrwxrwx    1 root     root           16 Oct 27 17:57 /etc/rc.d/rc5.d/S85cs4232 -> ../init.d/cs4232

4. perhaps a 'power cycle -> F1 (bios) -> config -> initialize'

5. volume is muted at bootup - so use gnome-volume-control to crank up
the mixer settings.

Satish
--8323328-584864868-1068679974=:10935
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=cs4232
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.58.0311121732540.10935@localhost.localdomain>
Content-Description: 
Content-Disposition: attachment; filename=cs4232

IyEvYmluL2Jhc2gNCiMgY2hrY29uZmlnOiAzNDUgODQgMTYNCiMgZGVzY3Jp
cHRpb246IFN0YXJ0cy9zdG9wcyB0aGUgQ1M0MjMyIGRyaXZlciBhdCBib290
IHRpbWUgYW5kIHNodXRkb3duDQpQQVRIPSRQQVRIOi9zYmluDQpIT01FPS9l
dGMNCmNhc2UgIiQxIiBpbg0Kc3RhcnQpDQplY2hvICJTdGFydGluZyBDUzQy
MzIgZHJpdmVyIg0Kcm1tb2QgY3M0MjMyDQptb2Rwcm9iZSBjczQyMzINCjs7
DQpzdG9wKQ0KZWNobyAiU3RvcHBpbmcgQ1M0MjMyIGRyaXZlciINCnJtbW9k
IGNzNDIzMg0KOzsNCnJlc3RhcnQpDQokMCBzdG9wDQokMCBzdGFydA0KOzsN
CnN0YXR1cykNCmVjaG8gIlN0YXR1cyAoTk8tT1ApIg0KOzsNCiopDQplY2hv
ICJVc2FnZTogY3M0MjMyIHtzdGFydHxzdG9wfHN0YXR1c3xyZXN0YXJ0fSIN
CmV4aXQgMQ0KZXNhYw0KZXhpdCAwDQoNCg==

--8323328-584864868-1068679974=:10935--