From owner-freebsd-questions Sat Mar 25 6:58:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from node11a94.a2000.nl (node11a94.a2000.nl [24.132.26.148]) by hub.freebsd.org (Postfix) with SMTP id 7596A37B5B1 for ; Sat, 25 Mar 2000 06:58:41 -0800 (PST) (envelope-from ronald@node11a94.a2000.nl) Received: (qmail 66074 invoked from network); 25 Mar 2000 14:58:40 -0000 Received: from tulip.evertsen.nl (HELO tulip100.evertsen.nl) (10.0.0.6) by node11a94.a2000.nl with SMTP; 25 Mar 2000 14:58:40 -0000 Date: Sat, 25 Mar 2000 15:58:39 +0100 (CET) From: Ronald Klop To: freebsd-questions@freebsd.org Subject: pcm - device not configured (4.0-RELEASE) Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have an PnP ESS soundcard which uses the pcm driver in 4.0-RELEASE. It wasn't recognized while booting, so I added the PnP ID to the file /usr/src/sys/i386/dev/sound/isa/sbc.c. Now it is recognized at boot, but when I try to use it it complains about '/dev/pcaudio: device not configured'. I did 'cat sound.wav > /dev/pcaudio' and I already did the 'MAKEDEV pcaudio'. Does anybody recognize this and have a solution? I'll include my dmesg/pnpinfo output here. dmesg ----- 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 4.0-RELEASE #7: Sat Mar 25 15:32:42 CET 2000 root@tulip100.evertsen.nl:/usr/src/sys/compile/TULIP Timecounter "i8254" frequency 1193182 Hz CPU: Pentium/P54C (99.47-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x526 Stepping = 6 Features=0x1bf real memory = 25165824 (24576K bytes) avail memory = 21917696 (21404K bytes) Preloaded elf kernel "kernel" at 0xc0298000. Preloaded userconfig_script "/boot/kernel.conf" at 0xc029809c. Intel Pentium detected, installing workaround for F00F bug npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xecd0-0xecdf at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: at 7.2 irq 11 pci0: at 17.0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60-0x6f on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode lpt0: on ppbus0 lpt0: Interrupt-driven port plip0: on ppbus0 ed0 at port 0x300-0x31f iomem 0xd8000 irq 5 on isa0 ed0: address 00:00:00:00:00:00, type NE1000 (8 bit) sbc0: at port 0x220-0x22f irq 9 drq 0 on isa0 pcm0: on sbc0 unknown0: at port 0x388-0x38b on isa0 joy0: at port 0x201 on isa0 unknown1: at port 0x320-0x321 irq 10 on isa0 unknown2: at port 0x170-0x177,0x376 irq 15 on isa0 ad0: 810MB [1647/16/63] at ata0-master using WDMA2 Mounting root from ufs:/dev/ad0s1a pnpinfo ------- Checking for Plug-n-Play devices... Card assigned CSN #1 Vendor ID ESS0968 (0x68097316), Serial Number 0x0000004d PnP Version 1.0, Vendor Version 16 Device Description: ESS PnP AudioDrive Logical Device ID: ESS0969 0x69097316 #0 I/O Range 0x220 .. 0x250, alignment 0x10, len 0x10 [not 16-bit addr] IRQ: 5 7 9 10 - only one type (true/edge) DMA: channel(s) 0 1 3 8-bit, not a bus master, , , Compatibility mode Logical Device ID: PNPb020 0x20b0d041 #1 FIXED I/O base address 0x388 length 0x4 Logical Device ID: PNPb02f 0x2fb0d041 #2 FIXED I/O base address 0x201 length 0x1 Logical Device ID: PNPb006 0x06b0d041 #3 I/O Range 0x300 .. 0x330, alignment 0x10, len 0x2 [not 16-bit addr] IRQ: 5 7 10 - only one type (true/edge) Logical Device ID: PNP0600 0x0006d041 #4 TAG Start DF FIXED I/O base address 0x170 length 0x8 IRQ: 15 - only one type (true/edge) TAG Start DF FIXED I/O base address 0x1e8 length 0x8 IRQ: 11 - only one type (true/edge) TAG Start DF FIXED I/O base address 0x168 length 0x8 IRQ: 9 10 - only one type (true/edge) TAG End DF End Tag Successfully got 24 resources, 5 logical fdevs -- card select # 0x0001 CSN ESS0968 (0x68097316), Serial Number 0x0000004d Logical device #0 IO: 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 0x0220 IRQ 9 0 DMA 0 4 IO range check 0x00 activate 0x01 Logical device #1 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #2 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 0 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #3 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 10 0 DMA 4 4 IO range check 0x00 activate 0x01 Logical device #4 IO: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 IRQ 15 0 DMA 4 4 IO range check 0x00 activate 0x01 -- Ronald Klop http://node11a94.a2000.nl/~ronald/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message