[ltp] tp600e cs4232

Fekete Gabor linux-thinkpad@linux-thinkpad.org
Sun, 1 Jun 2003 12:10:09 +0200 (DFT)


HI,
Somehow (maybe it is the moon or don't know...)
 my sound card stopped working after a reboot.
It says : No such device!
But it worked for me before very well. I set up the cs4232 irq settings
with ps2.exe (see below). Is it normal that I set the irq to 5 but when
linux (2.4.20) boots, in /proc/pci I see IRQ 11 for it (and for a bunch of
other things as well)? 
I really don't know what I could do.
The problem comes while loading the cs4232.o module.
Heeeeelp!

tpconfg.bat :
rem internal modem IRQ 7,3, DSP 0x130, Modem 0x2F8 (com2), DMA 7
ps2 imodem irq 7 3
ps2 imodem dspaddress 130
ps2 imodem imodemaddress 2f8
ps2 imodem dma 7
ps2 imodem disable

rem parallel port - LPT1, 0x3bc, IRQ 7
ps2 parallel address 1
ps2 parallel mode bi
ps2 parallel dma Disable
ps2 parallel irq enable
ps2 para enable

ps2 jstick disable

rem serial port COM4, 0x2e8, IRQ 3
ps2 sera address 4
ps2 sera enable
ps2 serial on

rem ir port COM1, 0x3f8, IRQ 4
ps2 ir address 1
ps2 ir dma 3
ps2 ir irq 4
ps2 ir comaddress 3f8
ps2 ir enable

rem keyboard repeat rate
ps2 kr fast

rem the cs4232 0x530, irq 5, dma 0 1
ps2 audio address 530
ps2 audio irq 5
ps2 audio sbaddress 220
ps2 audio dma 0 1
ps2 audio enable

ps2 audioctrl address 538
ps2 audioctrl enable
rem power management after here

ps2 brightness high

rem ps2 hfile d

ps2 s2h 90

ps2 speed fixed MAX AC
ps2 speed fixed MAX DC
 
relevant part of /etc/modules.conf :
alias sound-slot-0 cs4232
alias char-major-14 cs4232
options 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=5
synthio=0x388

/proc/pci :
  Bus  0, device   6, function  0:
    Multimedia audio controller: Cirrus Logic CS 4610/11 [CrystalClear
SoundFusion Audio Accelerator] (rev 1).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=4.Max Lat=24.
      Non-prefetchable 32 bit memory at 0x50100000 [0x50100fff].
      Non-prefetchable 32 bit memory at 0x50000000 [0x500fffff].


thanks!