Subject: CS4232 audio chip
To: None <current-users@netbsd.org>
From: C Kane <ckane@best.com>
List: current-users
Date: 12/28/1998 01:53:56
Hello.

Something seems to have happened with the CS4232 wss/sb onboard
sound chip driver recently.

Here's part of dmesg from a Dec 14-compiled kernel:
sb0 at isa0 port 0x220-0x237 irq 5 drq 1: dsp v3.02
midi0 at sb0: <SB MIDI UART>
audio0 at sb0
opl0 at sb0: model OPL3
midi1 at opl0: <SB Yamaha OPL3>

And here's the same section of dmesg from a Dec 27-compiled kernel:
isapnp0: read port 0x203
isapnp0: card 1 violates PnP spec; byte 4
isapnp0: <CS4232, CSC0000, , WSS/SB> port 0x534/4,0x388/4,0x220/16 irq 7 drq 1,0 not configured
joy0 at isapnp0 port 0x200/8
joy0: CS4232 Game
joy0: joystick not connected
isapnp0: <CS4232, CSC0002, , Ctrl> port 0xf00/8 not configured
isapnp0: <CS4232, CSC0003, , MPU> port 0x330/2 irq 9 not configured

Did I leave something out of the config file or is something in transition?
Please advise.

I turned on ISAPNP debugging and having included the entire current
dmesg output below.

Thanks for any help.

-- Chuck


NetBSD 1.3I (ckane4) #2: Sun Dec 27 23:25:34 PST 1998
    root@ckane4:/usr/netbsd-current/src/sys/arch/i386/compile/ckane4
cpu0: family 5 model 4 step 1
cpu0: Intel Pentium/MMX (586-class)
real mem  = 66715648
avail mem = 58978304
using 840 buffers containing 3440640 bytes of memory
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o enabled, memory enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82437FX System Controller (TSC) (rev. 0x02)
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371FB PCI-to-ISA Bridge (PIIX) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371FB IDE controller (PIIX)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <ST5660A>
wd0: drive supports 32-sector pio transfers, lba addressing
wd0: 520MB, 1057 cyl, 16 head, 63 sec, 512 bytes/sect x 1066184 sectors
wd0: 32-bits data port
wd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
wd0(pciide0:0:0): using PIO mode 4, DMA mode 2 (using DMA data transfers)
vga1 at pci0 dev 8 function 0: S3 Trio32/64 (rev. 0x40)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
fxp0 at pci0 dev 14 function 0: Intel EtherExpress Pro 10+/100B Ethernet
fxp0: interrupting at irq 3
fxp0: Ethernet address 00:a0:c9:00:13:44
nsphy0 at fxp0 phy 1: DP83840 10/100 media interface, rev. 0
nsphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ncr0 at pci0 dev 15 function 0: ncr 53c875 fast20 wide scsi
ncr0: interrupting at irq 11
ncr0: minsync=12, maxsync=137, maxoffs=16, 128 dwords burst, large dma fifo
ncr0: single-ended, open drain IRQ driver, using on-chip SRAM
ncr0: restart (scsi reset).
scsibus0 at ncr0: 16 targets, 8 luns per target
sd0 at scsibus0 targ 0 lun 0: <SEAGATE, ST32430W, HP04> SCSI2 0/direct fixed
sd0(ncr0:0:0): WIDE SCSI (16 bit) enabled
sd0(ncr0:0:0): 20.0 MB/s (100 ns, offset 15)
sd0: 2048MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4194685 sectors
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST32430W, HP04> SCSI2 0/direct fixed
sd1(ncr0:1:0): WIDE SCSI (16 bit) enabled
sd1(ncr0:1:0): 20.0 MB/s (100 ns, offset 15)
sd1: 2048MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4194685 sectors
sd2 at scsibus0 targ 2 lun 0: <SEAGATE, ST32430W, HP04> SCSI2 0/direct fixed
sd2(ncr0:2:0): WIDE SCSI (16 bit) enabled
sd2(ncr0:2:0): 20.0 MB/s (100 ns, offset 15)
sd2: 2048MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4194685 sectors
sd3 at scsibus0 targ 3 lun 0: <SEAGATE, ST32430W, HP05> SCSI2 0/direct fixed
sd3(ncr0:3:0): WIDE SCSI (16 bit) enabled
sd3(ncr0:3:0): 20.0 MB/s (100 ns, offset 15)
sd3: 2048MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4194685 sectors
sd4 at scsibus0 targ 15 lun 0: <SEAGATE, ST32430W, HP04> SCSI2 0/direct fixed
sd4(ncr0:15:0): WIDE SCSI (16 bit) enabled
sd4(ncr0:15:0): 20.0 MB/s (100 ns, offset 15)
sd4: 2048MB, 3992 cyl, 9 head, 116 sec, 512 bytes/sect x 4194685 sectors
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com2 at isa0 port 0x3e8-0x3ef irq 5: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
isapnp0: Trying port 203isapnp0: read port 0x203
isapnp0: card 1 violates PnP spec; byte 4
PnP version 1.0, Vendor version 0.1
ANSI Ident: CS4232
Logical device id CSC0000
ANSI Ident: WSS/SB
>>> Start dependent function config: preferred
IRQ's supported: 5 7 9 E+
DRQ's supported: 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
4 IO Ports: 16 address bits, alignment 212 min 0x534, max 0x608
4 FIXED IO Ports: 10 address bits, alignment 1 min 0x388, max 0x388
16 IO Ports: 10 address bits, alignment 32 min 0x220, max 0x240
>>> Start dependent function config: acceptable
IRQ's supported: 5 7 9 11 12 15 E+
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
4 IO Ports: 16 address bits, alignment 212 min 0x534, max 0x608
4 FIXED IO Ports: 10 address bits, alignment 1 min 0x388, max 0x388
16 IO Ports: 10 address bits, alignment 16 min 0x210, max 0x260
>> Start dependent function config: preferred
IRQ's supported: 9 E+
2 FIXED IO Ports: 10 address bits, alignment 1 min 0x330, max 0x330
>>> Start dependent function config: acceptable
IRQ's supported: 9 E+
2 FIXED IO Ports: 10 address bits, alignment 1 min 0x300, max 0x300
 config: preferred
4 IO Ports: 16 address bits, alignment 212 min 0x534, max 0x608
4 IO Ports: 10 address bits, alignment 1 min 0x388, max 0x388
16 IO Ports: 10 address bits, alignment 32 min 0x220, max 0x240
IRQ's supported: 5 7 9 E+
DRQ's supported: 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
DRQ's supported: 0 1 3 Width: 8-bit Speed: compat Attributes: incr 8 
Register configuration:
io[0]: 0x534/0
io[1]: 0x388/0
io[2]: 0x220/0
irq[0]: 7
drq[0]: 1
drq[1]: 0
isapnp0: configuring <CS4232, CSC0000, , WSS/SB>
isapnp0: <CS4232, CSC0000, , WSS/SB> port 0x534/4,0x388/4,0x220/16 irq 7 drq 1,0 not configured
Found <CS4232, CSC0001, PNPB02F, Game> config: acceptable
8 IO Ports: 10 address bits, alignment 1 min 0x200, max 0x200
Register configuration:
io[0]: 0x200/0
isapnp0: configuring <CS4232, CSC0001, PNPB02F, Game>
joy0 at isapnp0 port 0x200/8
Found <CS4232, CSC0001, PNPB02F, Game> config: acceptable
8 IO Ports: 10 address bits, alignment 1 min 0x200, max 0x200
joy0: CS4232 Game
joy0: joystick not connected
Found <CS4232, CSC0002, , Ctrl> config: acceptable
8 IO Ports: 16 address bits, alignment 8 min 0xf00, max 0xfe8
Register configuration:
io[0]: 0xf00/0
isapnp0: configuring <CS4232, CSC0002, , Ctrl>
isapnp0: <CS4232, CSC0002, , Ctrl> port 0xf00/8 not configured
Found <CS4232, CSC0003, , MPU> config: preferred
2 IO Ports: 10 address bits, alignment 1 min 0x330, max 0x330
IRQ's supported: 9 E+
Register configuration:
io[0]: 0x330/0
irq[0]: 9
isapnp0: configuring <CS4232, CSC0003, , MPU>
isapnp0: <CS4232, CSC0003, , MPU> port 0x330/2 irq 9 not configured
biomask 4840 netmask 4848 ttymask 584a
wscons: wskbd0 glued to wsdisplay0 (console)
WARNING: old BSD partition ID!
WARNING: old BSD partition ID!
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs