[ltp] IBM thinkpad 600 and sound

Harald Milz linux-thinkpad@www.bm-soft.com
9 Oct 1999 08:48:58 GMT


In article <37FC368D.4569D00F@era-t.ericsson.se>, Leif Jonsson <Leif.von.Jonsson@era-t.ericsson.se> wrote:

> alias sound cs4232
> pre-install sound insmod sound dmabuf=1
> alias midi opl3
> options opl3 io=0x388
> options cs4232 io=0x530 irq=5 dma=0 dma2=1 mpuio=0x330 mpuirq=9
> synthirq=-1 synthio=-1

OK, as an alternative I have a start script which basically contains:

        CS4232_OPTS="io=0x530 irq=9 dma=1 dma2=0 mpuio=0x330 mpuirq=9"
        modprobe sound # loads sound and soundcore
        insmod uart401
        insmod opl3
        insmod adlib_card io=0x388
        insmod ad1848
        insmod cs4232 $CS4232_OPTS
        rmmod cs4232 # it seems it needs to be unloaded and reloaded
        insmod cs4232 $CS4232_OPTS

This solution works good enough to listen to MP3's for hours :-) From time
to time it reports DMA/DRQ problems in the syslog, though. Although the
module stack may seem strange to some folks it _does_ work. I tried about
every other possible combination bun none proved stable so far. Without the
unload/reload of the cs4232 module it doesn't work at all (DMA buffer
allocation errors over and over). 

This is on a 600 (-510/-910). 

Hope this helps. 

-- 
Harald Milz                            phone       +49 (0) 89 42769-0
SuSE Muenchen GmbH                     fax       +49 (0) 89 4201-7701
Stahlgruberring 28, D-81829 Muenchen   email               hm@suse.de
http://www.suse.de/  (Deutsch)         http://www.suse.com/ (English)
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html