Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Apr 2000 15:54:57 -0500
From:      Kent Hauser <kent@lab1.tfd.com>
To:        current@freebsd.org
Subject:   no audio with newpcm driver on TP600E
Message-ID:  <200004012054.AA24992@lab1.tfd.com>

next in thread | raw e-mail | index | archive | help
Hi,

I'm having problems with the newpcm driver. Basically, I can't
get audio from the speakers. This while trying to play a cd.
The output of mixer looks reasonable. 

Hardware is a ThinkPad 600E. "audio" portions of the config
attached along with the output of dmesg.

Help would be greatly appreciated.

Thanks,
Kent

===============

# For PnP/PCI sound cards
#device		pcm
#device		sbc
#device		csa

# For non-PnP cards:
device		pcm0 at isa? irq 10 drq 1 flags 0x0
device		sbc0	at isa? port 0x220 irq 5 drq 1 flags 0x15
device		csa
device		gusc0	at isa? port 0x220 irq 5 drq 1 flags 0x13

# Not controlled by `snd'
device		pca0 at isa? port IO_TIMER1

device		matcd0  at isa? port 0x230

=============


Copyright (c) 1992-2000 The FreeBSD Project.
Copyright (c) 1982, 1986, 1989, 1991, 1993
	The Regents of the University of California. All rights reserved.
FreeBSD 5.0-20000331-SNAP #5: Sat Apr  1 20:32:28 GMT 2000
    kent@kent.tfd.com:/usr/src/sys/compile/TP
Calibrating clock(s) ... TSC clock: 297777462 Hz, i8254 clock: 1193150 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
CPU: Pentium II/Pentium II Xeon/Celeron (297.79-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 66912256 (65344K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009efff, 647168 bytes (158 pages)
0x003ce000 - 0x03fc7fff, 62889984 bytes (15354 pages)
avail memory = 61317120 (59880K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fd800
bios32: Entry = 0xfd820 (c00fd820)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0x0
pnpbios: Found PnP BIOS data at 0xc00fe700
pnpbios: Entry = f0000:e724  Rev = 1.0
pnpbios: Event flag at 415
Other BIOS signatures found:
ACPI: 000fd6e0
Preloaded elf kernel "kernel" at 0xc03b5000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Creating DISK md0
Math emulator present
pci_open(1):	mode 1 addr port (0x0cf8) is 0x000038c8
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
npx0: <math processor> on motherboard
npx0: INT 16 interface
apm0: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71908086)
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
found->	vendor=0x8086, dev=0x7190, revid=0x02
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base 40000000, size 26, enabled
found->	vendor=0x8086, dev=0x7191, revid=0x02
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x104c, dev=0xac1d, revid=0x00
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=4 	secondarybus=2
	intpin=a, irq=11
	map[10]: type 1, range 32, base 50102000, size 12, enabled
found->	vendor=0x104c, dev=0xac1d, revid=0x00
	class=06-07-00, hdrtype=0x02, mfdev=1
	subordinatebus=7 	secondarybus=5
	intpin=b, irq=11
	map[10]: type 1, range 32, base 50101000, size 12, enabled
found->	vendor=0x1013, dev=0x6001, revid=0x01
	class=04-01-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 50100000, size 12, enabled
	map[14]: type 1, range 32, base 50000000, size 20, enabled
found->	vendor=0x8086, dev=0x7110, revid=0x02
	class=06-80-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x7111, revid=0x01
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 0000fcf0, size  4, enabled
found->	vendor=0x8086, dev=0x7112, revid=0x01
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=11
	map[20]: type 1, range 32, base 00008400, size  5, enabled
found->	vendor=0x8086, dev=0x7113, revid=0x02
	class=06-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[90]: type 1, range 32, base 0000efa0, size  4, enabled
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found->	vendor=0x10c8, dev=0x0005, revid=0x12
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base d0000000, size 24, enabled
	map[14]: type 1, range 32, base 70000000, size 22, enabled
	map[18]: type 1, range 32, base 70400000, size 20, enabled
pci1: <PCI bus> on pcib1
pci1: <NeoMagic MagicMedia 256AV SVGA controller> (vendor=0x10c8, dev=0x0005) at 0.0 irq 11
pcic-pci0: <TI PCI-1251 PCI-CardBus Bridge> mem 0x50102000-0x50102fff irq 11 at device 2.0 on pci0
pcic-pci0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][CSC parallel isa irq]
pcic-pci0: Legacy address set to 0x3e0
PCI Config space:
00:  ac1d104c 02100007 06070000 0082a808
10:  50102000 020000a0 b0040200 00000000
20:  00000000 00000000 00000000 00000000
30:  00000000 00000000 00000000 03c0010b
40:  00eb1014 000003e1 00000000 00000000
50:  00000000 00000000 00000000 00000000
60:  00000000 00000000 00000000 00000000
70:  00000000 00000000 00000000 00000000
80:  00449060 00000000 09818948 fba97543
90:  606282c0 00000000 00000000 00000000
Cardbus Socket registers:
00:  0000000f: 00000000: 30000710: 00000000:
10:  00000000: 00000000: 00000000: 00000000:
ExCa registers:
00: 83 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
pcic-pci1: <TI PCI-1251 PCI-CardBus Bridge> mem 0x50101000-0x50101fff irq 11 at device 2.1 on pci0
pcic-pci1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][CSC parallel isa irq]
PCI Config space:
00:  ac1d104c 02100007 06070000 0082a808
10:  50101000 020000a0 b0070500 00000000
20:  00000000 00000000 00000000 00000000
30:  00000000 00000000 00000000 03c0020b
40:  00eb1014 000003e1 00000000 00000000
50:  00000000 00000000 00000000 00000000
60:  00000000 00000000 00000000 00000000
70:  00000000 00000000 00000000 00000000
80:  00449060 00000000 09818948 fba97543
90:  606282c0 00000000 00000000 00000000
Cardbus Socket registers:
00:  00000000: 00000000: 30000306: 00000000:
10:  00000000: 00000000: 00000000: 00000000:
ExCa registers:
00: 83 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
csa0: <Crystal Semiconductor CS4610/4611 Audio accelerator> mem 0x50000000-0x500fffff,0x50100000-0x50100fff irq 11 at device 6.0 on pci0
pcm0: <CS461x PCM Audio> on csa0
pcm0: ac97 codec id 0x       0
pcm0: ac97 codec features 5 bit master volume, 
pcm0: ac97 codec reports dac not ready
pcm: setmap 3e73000, 1000; 0xc08bf000 -> 3e73000
pcm: setmap 3e60000, 1000; 0xc08cc000 -> 3e60000
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xfcf0-0xfcff at device 7.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xfcf0
ata0: mask=03 status0=50 status1=00
ata0: mask=03 status0=50 status1=00
ata0: devices = 0x1
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xfcf8
ata1: mask=03 status0=50 status1=01
ata1: mask=03 status0=00 status1=01
ata1: devices = 0x4
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> (vendor=0x8086, dev=0x7112) at 7.2 irq 11
chip1: <Intel 82371AB Power management controller> port 0xefa0-0xefaf at device 7.3 on pci0
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
pcm-: pcm0 exists, using next available unit number
ex_isa_identify()
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x54ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
psm0: current command byte:0065
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 00 00 64
psm: status 00 03 64
psm: status 00 03 64
psm: data 08 00 00
psm: status 10 00 64
psm: status 00 02 64
psm: data 08 00 00
psm: status 00 02 64
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 2 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 07 30 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
EGA/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic0: <Intel i82365> at port 0x3e0 iomem 0xd0000 irq 10 on isa0
pcic0: management irq 10
pccard0: <PC Card bus -- kludge version> on pcic0
pccard1: <PC Card bus -- kludge version> on pcic0
pcic1: not probed (disabled)
sio0: irq maps: 0x445 0x455 0x445 0x445
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
ppc0: parallel port found at 0x3bc
ppc0: cannot reserve I/O port range
isa_compat: didn't get irq for lnc
mss_probe: no address given, try 0x530
mss_detect, busy still set (0xff)
sbc0: <Soundblaster Pro> at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0
pcm2: <SB DSP 3.02> on sbc0
pcm: setmap 6000, 2000; 0xc577e000 -> 6000
pcm: setmap 8000, 2000; 0xc5780000 -> 8000
pca0 at port 0x40 on isa0
isa_probe_children: probing PnP devices
BIOS Geometries:
 0:033fef3f 0..831=832 cylinders, 0..239=240 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: sl0 attached
bpf: ppp0 attached
new masks: bio 4008c040, tty 40031832, net 40071832
bpf: lo0 attached
bpf: gif0 attached
bpf: gif1 attached
bpf: gif2 attached
bpf: gif3 attached
bpf: stf0 attached
bpf: faith0 attached
IPsec: Initialized Security Association Processing.
ata0-master: success setting up UDMA2 mode on PIIX4 chip
ad0: <IBM-DADA-26480/AD6IA48A> ATA-4 disk at ata0 as master
ad0: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
Creating DISK ad0
Creating DISK wd0
ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
ata1-master: success setting up PIO4 mode on generic chip
acd0: <MATSHITADVD-ROM SR-8171/075B> DVD-ROM drive at ata1 as master
acd0: read 1031KB/s (3437KB/s), 512KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, DVD-ROM, packet
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray
acd0: Medium: CD-ROM 120mm audio disc loaded, unlocked
Mounting root from ufs:/dev/ad0s2a
pccard: card inserted, slot 0
ad0s1: type 0x6, start 63, end = 4188239, size 4188177 : OK
ad0s2: type 0xa5, start 4188240, end = 12594959, size 8406720 : OK
start_init: trying /sbin/init
pcic: I/O win 0 flags 11 2e8-2ef
pcic: I/O win 0 flags 1 2e8-2ef
sio2 at port 0x2e8-0x2ef irq 3 slot 0 on pccard0
pcic: I/O win 0 flags 11 2e8-2ef
sio2: type 16550A
bpf: tun0 attached


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004012054.AA24992>