From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon J Mudd Date: Mon, 09 Jun 2003 22:07:18 +0000 Subject: Help configuring a CS4236 to work with Linux Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sound@vger.kernel.org This list looks by the archives to be quiet. However i'm not really sure where else to post to get help solving this problem. If there's a better list please let me know. I need help configuring a cs4236 WSS/SB on motherboard (2a6ilpca) TL-SI21-2M 03/25/1999-SiS-5600-2A6ILPCAC-00. I've spent some time looking at this but can't find the right combination to make things work. Currently running RedHat 9 with 2.4.20 Symptoms: Redhat's sndconfig produces output (appears to be ok), but mpg321 somefile.mp3 gives: ad1848: Auto calibration timed out (3) Sound: DMA (output) timed out - IRQ/DRQ config error? and then I get a hard hang. Reset to reboot is necessary. I've been Googling and found lots of things, but no changes to the current script seem to produce different results: # [0] doesn't work # [1] doesn't work # [2] doesn't work insmod soundcore insmod sound insmod ad1848 insmod uart401 #insmod cs4232 isapnp=1 [0] #insmod mpu401 io=0x330 irq [1] #insmod cs4232 isapnp=0 io=0x534 irq=9 dma=1 dma2=0 mpuirq mpuio=0x330 [1] #insmod cs4232 isapnp=0 io=0x534 irq=9 dma=1 dma2=0 [2] insmod cs4232 isapnp=0 io=0x534 irq=9 dma=1 dma2=3 insmod opl3 io=0x388 If anyone has got this motherboard and got the sound working under Linux please contact me with your working configuration. Current Config: --------------- KERNEL VERSION: Linux nl.WL0.org 2.4.20-13.9 #1 Mon May 12 10:55:37 EDT 2003 i686 i686 i386 GNU/Linux MODULES: Module Size Used by Not tainted parport_pc 19076 1 (autoclean) lp 8996 0 (autoclean) parport 37056 1 (autoclean) [parport_pc lp] tun 5696 3 (autoclean) autofs 13268 0 (autoclean) (unused) airo 49672 1 8139too 18120 1 mii 3976 0 [8139too] iptable_nat 21752 1 (autoclean) ip_conntrack 27272 1 (autoclean) [iptable_nat] iptable_filter 2412 1 (autoclean) ip_tables 15096 4 [iptable_nat iptable_filter] cs4232 5444 0 ad1848 28588 0 [cs4232] uart401 8388 0 [cs4232] sound 74228 0 [cs4232 ad1848 uart401] soundcore 6404 4 [sound] loop 12152 0 (autoclean) lvm-mod 64000 0 keybdev 2976 0 (unused) mousedev 5556 0 (unused) hid 22244 0 (unused) input 5856 0 [keybdev mousedev hid] usb-ohci 21512 0 (unused) usbcore 79040 1 [hid usb-ohci] ext3 70784 5 jbd 51892 5 [ext3] DMA: 1: Crystal audio controller 3: Crystal audio controller 4: cascade IOPORTS: 0000-001f : dma1 0020-003f : pic1 0040-005f : timer 0060-006f : keyboard 0070-007f : rtc 0080-008f : dma page reg 00a0-00bf : pic2 00c0-00df : dma2 00f0-00ff : fpu 0170-0177 : ide1 01f0-01f7 : ide0 0213-0213 : isapnp read 02f8-02ff : serial(auto) 0376-0376 : ide1 0378-037a : parport0 037b-037f : parport0 03c0-03df : vga+ 03f6-03f6 : ide0 03f8-03ff : serial(auto) 0534-0537 : Crystal audio controller 0a79-0a79 : isapnp write 0cf8-0cff : PCI conf1 4000-400f : Silicon Integrated Systems [SiS] 5513 [IDE] 4000-4007 : ide0 4008-400f : ide1 d000-dfff : PCI Bus #01 d000-d07f : Silicon Integrated Systems [SiS] 86C326 5598/6326 e000-e07f : AIRONET Wireless Communications PC4800 e400-e43f : AIRONET Wireless Communications PC4800 e400-e43f : eth1 e800-e8ff : Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ e800-e8ff : 8139too INTERRUPTS: CPU0 0: 31270 XT-PIC timer 1: 343 XT-PIC keyboard 2: 0 XT-PIC cascade 4: 85 XT-PIC serial 5: 1 XT-PIC usb-ohci 8: 1 XT-PIC rtc 9: 0 XT-PIC Crystal audio controller 10: 5 XT-PIC eth1 12: 2376 XT-PIC eth0 14: 4461 XT-PIC ide0 15: 958 XT-PIC ide1 NMI: 0 ERR: 0 DMA: 1: Crystal audio controller 3: Crystal audio controller 4: cascade DEVICES: Character devices: 1 mem 2 pty 3 ttyp 4 ttyS 5 cua 6 lp 7 vcs 10 misc 13 input 14 sound 29 fb 36 netlink 109 lvm 128 ptm 129 ptm 130 ptm 131 ptm 132 ptm 133 ptm 134 ptm 135 ptm 136 pts 137 pts 138 pts 139 pts 140 pts 141 pts 142 pts 143 pts 162 raw 180 usb Block devices: 1 ramdisk 2 fd 3 ide0 7 loop 9 md 12 unnamed 14 unnamed 22 ide1 38 unnamed 39 unnamed 58 lvm CPU INFO: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 6 model name : Celeron (Mendocino) stepping : 5 cpu MHz : 367.504 cache size : 128 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr bogomips : 732.36 MEMINFO: total: used: free: shared: buffers: cached: Mem: 129077248 81002496 48074752 0 38596608 24100864 Swap: 957857792 0 957857792 MemTotal: 126052 kB MemFree: 46948 kB MemShared: 0 kB Buffers: 37692 kB Cached: 23536 kB SwapCached: 0 kB Active: 68832 kB ActiveAnon: 7960 kB ActiveCache: 60872 kB Inact_dirty: 136 kB Inact_laundry: 0 kB Inact_clean: 220 kB Inact_target: 13836 kB HighTotal: 0 kB HighFree: 0 kB LowTotal: 126052 kB LowFree: 46948 kB SwapTotal: 935408 kB SwapFree: 935408 kB PCI DEVICES: 00:00.0 Host bridge: Silicon Integrated Systems [SiS] 5600 Host (rev 11) Flags: bus master, medium devsel, latency 32 Memory at e4000000 (32-bit, non-prefetchable) [sizedM] Capabilities: [c0] AGP version 1.0 00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 8a [Master SecP PriP]) Flags: bus master, fast devsel, latency 32, IRQ 14 I/O ports at I/O ports at I/O ports at I/O ports at I/O ports at 4000 [size] 00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513 (rev 01) Flags: bus master, medium devsel, latency 0 00:01.1 Class ff00: Silicon Integrated Systems [SiS] ACPI Flags: medium devsel 00:01.2 USB Controller: Silicon Integrated Systems [SiS] SiS7001 USB Controller (rev 11) (prog-if 10 [OHCI]) Flags: bus master, medium devsel, latency 32, IRQ 5 Memory at ea802000 (32-bit, non-prefetchable) [size=4K] 00:02.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode]) Flags: bus master, fast devsel, latency 0 Bus: primary, secondary, subordinate, sec-latency2 I/O behind bridge: 0000d000-0000dfff Memory behind bridge: e8000000-e9ffffff Prefetchable memory behind bridge: ea000000-ea7fffff 00:09.0 Communication controller: Motorola SM56 PCI Modem Subsystem: Motorola SM56 PCI Speakerphone Modem Flags: bus master, medium devsel, latency 32, IRQ 11 Memory at ea800000 (32-bit, prefetchable) [size%6] Capabilities: [dc] Power Management version 2 00:0b.0 Network controller: AIRONET Wireless Communications PC4800 (rev 01) Flags: medium devsel, IRQ 10 Memory at ea801000 (32-bit, non-prefetchable) [size8] I/O ports at e000 [size8] I/O ports at e400 [sized] 00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) Subsystem: Realtek Semiconductor Co., Ltd. RT8139 Flags: bus master, medium devsel, latency 32, IRQ 12 I/O ports at e800 [size%6] Memory at ea803000 (32-bit, non-prefetchable) [size%6] Capabilities: [50] Power Management version 2 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 86C326 5598/6326 (rev 0b) (prog-if 00 [VGA]) Subsystem: Silicon Integrated Systems [SiS] SiS6326 GUI Accelerator Flags: bus master, 66Mhz, medium devsel, latency 32 Memory at ea000000 (32-bit, prefetchable) [size=8M] Memory at e9000000 (32-bit, non-prefetchable) [sizedK] I/O ports at d000 [size8] Expansion ROM at [disabled] [sizedK] Capabilities: [40] Power Management version 1 Capabilities: [50] AGP version 1.0 /proc/isapnp: Card 1 'CSC4236:Crystal Codec' PnP version 1.0 Product version 0.5 Logical device 0 'CSC0000:WSS/SB' Device is active Active port 0x534,0x388,0x220 Active IRQ 9 [0x2] Active DMA 1,3 Resources 0 Priority preferred Port 0x534-0x534, align 0x3, size 0x4, 16-bit address decoding Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding Port 0x220-0x220, align 0x1f, size 0x10, 16-bit address decoding IRQ 5 High-Edge DMA 1 8-bit byte-count compatible DMA 0,3 8-bit byte-count compatible Alternate resources 0:1 Priority acceptable Port 0x534-0xffc, align 0x3, size 0x4, 16-bit address decoding Port 0x388-0x388, align 0x7, size 0x4, 16-bit address decoding Port 0x220-0x260, align 0x1f, size 0x10, 16-bit address decoding IRQ 5,7,2/9,11,12,15 High-Edge DMA 1,3 8-bit byte-count compatible DMA 0,1,3 8-bit byte-count compatible Alternate resources 0:2 Priority functional Port 0x534-0xffc, align 0x3, size 0x4, 16-bit address decoding Port 0x388-0x3f8, align 0x7, size 0x4, 16-bit address decoding Port 0x220-0x300, align 0x1f, size 0x10, 16-bit address decoding IRQ 5,7,2/9,11,12,15 High-Edge DMA 0,1,3 8-bit byte-count compatible Logical device 1 'CSC0001:GAME' Device is not active Resources 0 Priority preferred Port 0x200-0x200, align 0x7, size 0x8, 16-bit address decoding Alternate resources 0:1 Priority acceptable Port 0x208-0x208, align 0x7, size 0x8, 16-bit address decoding Logical device 2 'CSC0010:CTRL' Device is not active Resources 0 Priority preferred Port 0x120-0xff8, align 0x7, size 0x8, 16-bit address decoding Logical device 3 'CSC0003:MPU' Device is not active Resources 0 Priority preferred Port 0x330-0x330, align 0x7, size 0x2, 16-bit address decoding IRQ 2/9 High-Edge Alternate resources 0:1 Priority acceptable Port 0x330-0x360, align 0x7, size 0x2, 16-bit address decoding IRQ 2/9,11,12,15 High-Edge Alternate resources 0:2 Priority functional Port 0x330-0x3e0, align 0x7, size 0x2, 16-bit address decoding Thanks for any pointers. I'd love to get this working. Simon -- Simon J Mudd, Postfix RPM Packager, Amsterdam, The Netherlands. email: sjmudd@pobox.com, Tel: +31-627-592 627, http://postfix.WL0.org