Subject: Re: audio problems
To: Nathan Langford <nathanl@remus.rutgers.edu>
From: paul <pkdb1@attbi.com>
List: netbsd-help
Date: 02/11/2002 11:15:05
This is a multi-part message in MIME format.
--------------070609000102070205080508
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

I have this exact same unit and sound works fine for me. try using 
the rightmost button to toggle sound on and off while you use the 
volume up as well. I've attached my dmesg output if it helps.

it is  a Cirrus Logic audio device, not an SBpro.

Nathan Langford wrote:

> I just got a used laptop (IBM Thinkpad A20m) and installed NetBSD
> successfully.  IBM documentation says that "audio supports Sound Blaster
> Pro" (does that mean that the card _is_ a sb-pro??), but dmesg reports it
> as clcs0 (Cirrus Logic). Anyway, trying to play anything (including midi
> to the pc speaker) seems to do nothing.  No errors are reported, but
> no sound comes out of the headphones.  Could it be that the volume is
> too low?
> 
> I've attatched the dmesg output.
> 
> Best,
> Nathan
> 
> 
> 
> ------------------------------------------------------------------------
> 
> NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001
>     he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC
> cpu0: Intel Pentium III (Coppermine) (686-class), 498.81 MHz
> total memory = 255 MB
> avail memory = 231 MB
> using 3296 buffers containing 13184 KB of memory
> BIOS32 rev. 0 found at 0xfd820
> mainbus0 (root)
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled
> pchb0 at pci0 dev 0 function 0
> pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
> ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
> vga1 at pci1 dev 0 function 0: ATI Technologies Mach64 LM (rev. 0x64)
> wsdisplay0 at vga1: console (80x25, vt100 emulation)
> Texas Instruments PCI1450 PCI-CardBus Bridge (CardBus bridge, revision 0x03) at pci0 dev 2 function 0 not configured
> Texas Instruments PCI1450 PCI-CardBus Bridge (CardBus bridge, revision 0x03) at pci0 dev 2 function 1 not configured
> fxp0 at pci0 dev 3 function 0: Intel i82557 Ethernet, rev 9
> fxp0: interrupting at irq 11
> fxp0: Ethernet address 00:02:b3:04:58:2c, 10/100 Mb/s
> inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
> inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> Xircom product 0x000c (serial communications, interface 0x02) at pci0 dev 3 function 1 not configured
> clcs0 at pci0 dev 5 function 0: Cirrus Logic CS4280 CrystalClear Audio Interface (rev. 0x01)
> clcs0: interrupting at irq 11
> clcs0: CRY20 codec; headphone, 20 bit DAC, 18 bit ADC, Spatializer 3D
> audio0 at clcs0: full duplex, independent
> midi0 at clcs0: CS4280 MIDI UART
> pcib0 at pci0 dev 7 function 0
> pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
> pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
> pciide0: bus-master DMA support present
> pciide0: primary channel wired to compatibility mode
> wd0 at pciide0 channel 0 drive 0: <HITACHI_DK23AA-60B>
> wd0: drive supports 16-sector pio transfers, lba addressing
> wd0: 5729 MB, 12416 cyl, 15 head, 63 sec, 512 bytes/sect x 11733120 sectors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
> pciide0: primary channel interrupting at irq 14
> wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
> pciide0: secondary channel wired to compatibility mode
> atapibus0 at pciide0 channel 1
> cd0 at atapibus0 drive 0: <CD-224E, , 2.7B> type 5 cdrom removable
> cd0: 32-bit data port
> cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
> pciide0: secondary channel interrupting at irq 15
> cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
> uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
> uhci0: interrupting at irq 11
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
> isa0 at pcib0
> pckbc0 at isa0 port 0x60-0x64
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pms0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pms0 mux 0
> lpt2 at isa0 port 0x3bc-0x3bf: polled
> pcppi0 at isa0 port 0x61
> midi1 at pcppi0: PC speaker
> 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
> pcic0 at isa0 port 0x3e0-0x3e1 iomem 0xd0000-0xdffff
> pcic0: controller 0 (Intel 82365SL Revision 1) has sockets A and B
> pcic0: controller 1 (Intel 82365SL Revision 1) has no sockets
> pcmcia0 at pcic0 controller 0 socket 0
> pcmcia1 at pcic0 controller 0 socket 1
> isapnp0: no ISA Plug 'n Play devices found
> biomask effd netmask effd ttymask ffff
> pcic0: controller 0 detecting irqs with mask 0xdeb8:..3..4..5..7..9..10
> pcic0: using irq 3 for socket events
> boot device: wd0
> root on wd0a dumps on wd0b
> root file system type: ffs
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
> wsmux1: connecting to wsdisplay0
> 


--------------070609000102070205080508
Content-Type: text/plain;
 name="dmesg.a20m"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="dmesg.a20m"

NetBSD 1.5.2 (GREEN) #6: Fri Feb  8 20:59:29 PST 2002
    root@green.paulbeard.org:/usr/src/sys/arch/i386/compile/GREEN
cpu0: Intel Pentium III (Coppermine) (686-class), 597.44 MHz
total memory = 127 MB
avail memory = 114 MB
using 1658 buffers containing 6632 KB of memory
BIOS32 rev. 0 found at 0xfd820
PCI BIOS rev. 2.1 found at 0xfd94f
pcibios: config mechanism [1][x], special cycles [x][x], last bus 7
PCI IRQ Routing Table rev. 1.0 found at 0xfdee0, size 208 bytes (11 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:02:0 0x104c 0xac1b   A  0x00  11  0    already assigned
000:02:1 0x104c 0xac1b   B  0x01  11  0    already assigned
000:03:0 0x10b7 0x6056   A  0x02  11  0    already assigned
000:03:1 0x10b7 0x1007   A  0x02  11  0    already assigned
000:05:0 0x1013 0x6003   A  0x00  11  0    already assigned
000:07:2 0x8086 0x7112   D  0x03  11  0    already assigned
001:00:0 0x1002 0x4c4d   A  0x00  11  0    already assigned
------------------------------------------
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI bridge 2: primary 0, secondary 3, subordinate 3
PCI bus #3 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x7190 
	10h mem  0xf8000000 0x04000000
		[OK]
000:01:0 0x8086 0x7191 
		[OK]
000:02:0 0x104c 0xac1b 
	10h mem  0x50000000 0x00001000
		[OK]
000:02:1 0x104c 0xac1b 
	10h mem  0x50100000 0x00001000
		[OK]
000:03:0 0x10b7 0x6056 
	10h port 0x00001800 0x00000100
	14h mem  0xf4101400 0x00000080
	18h mem  0xf4101000 0x00000080
		[OK]
000:03:1 0x10b7 0x1007 
	10h port 0x00002000 0x00000100
	14h mem  0xf4101c00 0x00000100
	18h mem  0xf4101800 0x00000080
		[OK]
000:05:0 0x1013 0x6003 
	10h mem  0xf4100000 0x00001000
	14h mem  0xf4000000 0x00100000
		[OK]
000:07:0 0x8086 0x7110 
		[OK]
000:07:1 0x8086 0x7111 
	20h port 0x00001c00 0x00000010
		[OK]
000:07:2 0x8086 0x7112 
	20h port 0x00001c20 0x00000020
		[OK]
000:07:3 0x8086 0x7113 
		[OK]
001:00:0 0x1002 0x4c4d 
	10h mem  0xf5000000 0x01000000
	14h port 0x00003000 0x00000100
	18h mem  0xf4200000 0x00001000
		[OK]
--------------------------[  0 devices bogus]
 Physical memory end: 0x07fed000
 PCI memory mapped I/O space start: 0x08000000
mainbus0 (root)
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Mach64 LM (rev. 0x64)
wsdisplay0 at vga1: console (80x25, vt100 emulation)
cbb0 at pci0 dev 2 function 0: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03)
cbb1 at pci0 dev 2 function 1: Texas Instruments PCI1450 PCI-CardBus Bridge (rev. 0x03)
ex0 at pci0 dev 3 function 0: 3Com 3c556B MiniPCI 10/100 Ethernet (rev. 0x20)
ex0: interrupting at irq 11
ex0: MAC address 00:00:86:45:12:c3
ukphy0 at ex0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x000895, model 0x0021, rev. 11
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
3Com product 0x1007 (miscellaneous communications, revision 0x20) at pci0 dev 3 function 1 not configured
clcs0 at pci0 dev 5 function 0: Cirrus Logic CS4280 CrystalClear Audio Interface (rev. 0x01)
clcs0: interrupting at irq 11
clcs0: CRY20 codec; headphone, 20 bit DAC, 18 bit ADC, Spatializer 3D
audio0 at clcs0: full duplex, independent
midi0 at clcs0: CS4280 MIDI UART
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DARA-212000>
wd0: drive supports 16-sector pio transfers, lba addressing
wd0: 11509 MB, 16383 cyl, 15 head, 63 sec, 512 bytes/sect x 23572080 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
atapibus0 at pciide0 channel 1
cd0 at atapibus0 drive 0: <MATSHITADVD-ROM SR-8174, , C221> type 5 cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (using DMA data transfers)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
cbb0: interrupting at irq 11
cbb0: cacheline 0x8 lattimer 0xb0
cbb0: bhlc 0x824008 lscp 0xb0020200
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0 cacheline 0x8, lattimer 0xb0
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cbb1: cacheline 0x8 lattimer 0xb0
cbb1: bhlc 0x824008 lscp 0xb0030300
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0 cacheline 0x8, lattimer 0xb0
pcmcia1 at cardslot1
isa0 at pcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: 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, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
lpt2 at isa0 port 0x3bc-0x3bf: polled
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
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: no ISA Plug 'n Play devices found
apm0 at mainbus0: Power Management spec V1.2
apm0: A/C state: on
apm0: battery charge state: no battery
biomask efe5 netmask efe5 ttymask ffe7
an0 at pcmcia0 function 0: Aironet PC4800 Wireless LAN Adapter
an0: 802.11 address: 00:40:96:35:ff:20
boot device: wd0
root on wd0a dumps on wd0b
apm0: battery life expectancy: 98%
apm0: A/C state: on
apm0: battery charge state: high
root file system type: ffs
vga: pcvt font support not built in, see vga(4)
vga: pcvt font support not built in, see vga(4)
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0

--------------070609000102070205080508--