Date: Wed, 19 Apr 2000 17:15:40 -0500 From: Jason Young <jyoung@accessus.net> To: "'the_hermit665@hotmail.com'" <the_hermit665@hotmail.com>, freebsd-newbies@FreeBSD.ORG Cc: current@FreeBSD.ORG Subject: RE: /dev/dsp device not configured Message-ID: <ABD44D466F85D311A69900A0C900DB6B1954E2@staff.accessus.net>
next in thread | raw e-mail | index | archive | help
Okay, here's your decent explanation: your PNP sound card has been located and attached at sbc1, right after the bogus sbc0 statically hardcoded in your kernel config file. :) You should need ONLY the following lines in your conf file for your particular setup: device pcm device sbc That should get your soundcard to appear as soundcard #0. There's an astounding array of other cruft in your conf file that needs to go, but if you're just puttering around and experimenting, do what you like. BTW, "cat /dev/sndstat" is your friend. Jason Young Access US(tm) Chief Network Engineer > -----Original Message----- > From: Cosmic 665 [mailto:the_hermit665@hotmail.com] > Sent: Wednesday, April 19, 2000 4:45 PM > To: freebsd-newbies@FreeBSD.ORG > Cc: current@FreeBSD.ORG > Subject: /dev/dsp device not configured > > > how can I configure/reconfigure /dev/dsp under FreeBSD 4.0?? > I keep getting > a message stating that the device is not configured!! furthermore my > soundcard isn't working right when it should be!! I've also > attached my > dmesg and kernel config. BTW, I'm currnetly using 5.0-CURRENT > as of last > night (BUT THAT ISN't the cause of this so plz.. DON'T TELL > ME IT IS without > a decent explaination!!!) I've also tried this in 4.0 and > 3.4. I'm using an > ESS 1869 pnp (with the sbc sound adapter). Also, I'm running > Xfree86 3.3.6 > which I've had some issues with in the past (could this be > the cause?). > below is my dmesg and Kernel > > thanks > -Cosmic-665 > > P.S. is there a newsgroup for -CURRNET?? what is the address?? > > here's my 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 5.0-CURRENT #0: Tue Apr 18 22:15:25 PDT 2000 > root@matrix.hermitage:/usr/src/sys/compile/MATRIX > Timecounter "i8254" frequency 1193182 Hz > CPU: AMD-K6(tm) 3D processor (400.91-MHz 586-class CPU) > Origin = "AuthenticAMD" Id = 0x58c Stepping = 12 > Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX> > AMD Features=0x80000800<SYSCALL,3DNow!> > real memory = 134201344 (131056K bytes) > config> di psm0 > config> di sn0 > No such device: sn0 > Invalid command or syntax. Type `?' for help. > config> di lnc0 > No such device: lnc0 > Invalid command or syntax. Type `?' for help. > config> di le0 > No such device: le0 > Invalid command or syntax. Type `?' for help. > config> di ie0 > No such device: ie0 > Invalid command or syntax. Type `?' for help. > config> di fe0 > No such device: fe0 > Invalid command or syntax. Type `?' for help. > config> di ed0 > No such device: ed0 > Invalid command or syntax. Type `?' for help. > config> di cs0 > No such device: cs0 > Invalid command or syntax. Type `?' for help. > config> di bt0 > No such device: bt0 > Invalid command or syntax. Type `?' for help. > config> di aic0 > No such device: aic0 > Invalid command or syntax. Type `?' for help. > config> di aha0 > No such device: aha0 > Invalid command or syntax. Type `?' for help. > config> di adv0 > No such device: adv0 > Invalid command or syntax. Type `?' for help. > config> q > avail memory = 126738432 (123768K bytes) > Preloaded elf kernel "kernel" at 0xc03a1000. > Preloaded userconfig_script "/boot/kernel.conf" at 0xc03a109c. > VESA: v3.0, 16384k memory, flags:0x1, mode table:0xc033e477 (1000117) > VESA: 3Dfx Interactive, Inc. > K6-family MTRR support enabled (2 registers) > md0: Malloc disk > npx0: <math processor> on motherboard > npx0: INT 16 interface > pcib0: <AcerLabs M1541 (Aladdin-V) PCI host bridge> on motherboard > pci0: <PCI bus> on pcib0 > pcib1: <AcerLabs M5243 PCI-PCI bridge> at device 1.0 on pci0 > pci1: <PCI bus> on pcib1 > pci1: <3Dfx Voodoo Banshee graphics accelerator> at 0.0 irq 11 > chip1: <AcerLabs M15x3 Power Management Unit> at device 3.0 on pci0 > isab0: <AcerLabs M1533 portable PCI-ISA bridge> at device 7.0 on pci0 > isa0: <ISA bus> on isab0 > dc0: <Intel 21143 10/100BaseTX> port 0xb800-0xb87f mem > 0xdd000000-0xdd00007f > irq 9 at device 9.0 on pci0 > dc0: Ethernet address: 00:00:f8:09:34:80 > miibus0: <MII bus> on dc0 > dcphy0: <Intel 21143 NWAY media interface> on miibus0 > dcphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > dc0: supplying EUI64: 00:00:f8:ff:fe:09:34:80 > dc1: <82c169 PNIC 10/100BaseTX> port 0xb400-0xb4ff mem > 0xdc800000-0xdc8000ff > irq 12 at device 10.0 on pci0 > dc1: Ethernet address: 00:a0:cc:5d:6c:d0 > miibus1: <MII bus> on dc1 > ukphy0: <Generic IEEE 802.3u media interface> on miibus1 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto > atapci0: <AcerLabs Aladdin ATA33 controller> port > 0xb000-0xb00f irq 0 at > device 15.0 on pci0 > ata0: at 0x1f0 irq 14 on atapci0 > ata1: at 0x170 irq 15 on atapci0 > fdc0: <NEC 72065B or clone> 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 > atkbd0: <AT Keyboard> irq 1 on atkbdc0 > vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem > 0xa0000-0xbffff on isa0 > sc0: <System console> 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: <Parallel port> at port 0x378-0x37f irq 7 on isa0 > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode > ppc0: FIFO with 16/16/7 bytes threshold > ppi0: <Parallel I/O> on ppbus0 > ppi0: can't allocate irq > device_probe_and_attach: ppi0 attach returned 12 > lpt0: <Printer> on ppbus0 > lpt0: Interrupt-driven port > plip0: <PLIP network interface> on ppbus0 > unknown: <PNP0401> can't assign resources > unknown: <PNP0501> can't assign resources > unknown: <PNP0501> can't assign resources > unknown: <PNP0700> can't assign resources > unknown0: <PNP0c01> at iomem > 0-0x9ffff,0x100000-0x7ffffff,0xe8000-0xeffff,0xf0000-0xf3fff,0 > xf4000-0xf7fff,0xf8000-0xfbfff,0xfc000-0xfffff,0xfffe0000-0xffffffff > on isa0 > unknown: <PNP0000> can't assign resources > unknown1: <PNP0100> at port 0x40-0x43 irq 0 on isa0 > unknown2: <PNP0b00> at port 0x70-0x71 irq 8 on isa0 > unknown: <PNP0303> can't assign resources > unknown3: <PNP0c04> at port 0xf0 irq 13 on isa0 > unknown4: <PNP0200> at port > 0-0xf,0x80-0x90,0x94-0x9f,0xc0-0xde drq 4 on > isa0 > unknown5: <PNP0800> at port 0x61 on isa0 > unknown6: <PNP0a03> at port 0xcf8-0xcff on isa0 > unknown7: <PNP0c02> at port > 0x290-0x297,0x40b,0x480-0x49f,0x4d6,0xec00-0xec3f,0xe800-0xe83 > f on isa0 > esscontrol0: <ESS Control> at port 0x800-0x807 on isa0 > sbc1: <ESS ES1869> at port > 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 > on isa0 > pcm0: <ESS 18xx DSP> on sbc1 > unknown8: <ESS ES1869 Plug and Play AudioDrive> at port 0x201 on isa0 > IP packet filtering initialized, divert enabled, rule-based > forwarding > enabled, default to accept, logging limited to 100 > packets/entry by default > DUMMYNET initialized (000106) > IPv6 packet filtering initialized, default to accept, logging > limited to 100 > packets/entry > IP Filter: initialized. Default = pass all, Logging = enabled > IP Filter: v3.3.8 > ad0: 8063MB <Maxtor 90845D4> [16383/16/63] at ata0-master using UDMA33 > ad1: 6149MB <QUANTUM FIREBALL CX6.4A> [13328/15/63] at > ata0-slave using > UDMA33 > acd0: CDROM <ATAPI 40X CDROM> at ata1-master using PIO4 > Mounting root from ufs:/dev/ad0s1a > dc0: starting DAD for fe80:0001::0200:f8ff:fe09:3480 > dc1: starting DAD for fe80:0002::02a0:ccff:fe5d:6cd0 > dc0: DAD complete for fe80:0001::0200:f8ff:fe09:3480 - no > duplicates found > WARNING: run /dev/MAKEDEV before 2000-06-01 to get rid of > block devices > dc1: DAD complete for fe80:0002::02a0:ccff:fe5d:6cd0 - no > duplicates found > pid 174 (ldconfig), uid 0: exited on signal 11 (core dumped) > microuptime() went backwards (53234.680005 -> 53234,-694706140) > microuptime() went backwards (55336.561761 -> 55336,-694824432) > > Here's my kernel: > # > # $FreeBSD: src/sys/i386/conf/MATRIX,v 1.251 2000/04/17 > 06:48:43 Kareem Exp > $ > > machine i386 > cpu I386_CPU > cpu I486_CPU > cpu I586_CPU > cpu I686_CPU > ident MATRIX > maxusers 64 > > makeoptions DEBUG=-g #Build kernel with > gdb(1) debug > symbols > > options MATH_EMULATE #Support for x87 emulation > options INET #InterNETworking > options INET6 #IPv6 communications protocols > options FFS #Berkeley Fast Filesystem > options FFS_ROOT #FFS usable as root > device [keep > this!] > options MFS #Memory Filesystem > options MD_ROOT #MD is a potential root device > options NFS #Network Filesystem > options NFS_ROOT #NFS usable as root > device, NFS > required > options MSDOSFS #MSDOS Filesystem > options CD9660 #ISO 9660 Filesystem > options CD9660_ROOT #CD-ROM usable as > root, CD9660 > required > options PROCFS #Process filesystem > options COMPAT_43 #Compatible with BSD > 4.3 [KEEP > THIS!] > options SCSI_DELAY=15000 #Delay (in ms) before > probing SCSI > options UCONSOLE #Allow users to grab > the console > options USERCONFIG #boot -c editor > options VISUAL_USERCONFIG #visual boot -c editor > options KTRACE #ktrace(1) support > options SYSVSHM #SYSV-style shared memory > options SYSVMSG #SYSV-style message queues > options SYSVSEM #SYSV-style semaphores > options P1003_1B #Posix P1003_1B > real-time extentions > options _KPOSIX_PRIORITY_SCHEDULING > options ICMP_BANDLIM #Rate limit bad replies > options PNPBIOS > > # ADDED opts > options VESA > options CPU_WT_ALLOC > options TCP_COMPAT_42 #emulate 4.2BSD TCP bugs > options MROUTING # Multicast routing > options IPFIREWALL #firewall > options IPFIREWALL_VERBOSE #print information about > # dropped packets > options IPFIREWALL_FORWARD #enable transparent > proxy support > options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity > options IPFIREWALL_DEFAULT_TO_ACCEPT #allow > everything by default > options IPV6FIREWALL #firewall for IPv6 > options IPV6FIREWALL_VERBOSE > options IPV6FIREWALL_VERBOSE_LIMIT=100 > options IPV6FIREWALL_DEFAULT_TO_ACCEPT > options IPDIVERT #divert sockets > options IPFILTER #ipfilter support > options IPFILTER_LOG #ipfilter logging > options IPSTEALTH #support for stealth > forwarding > options TCPDEBUG > options COMPAT_SVR4 # build emulator statically > #options DEBUG_SVR4 # enable verbose debugging > pseudo-device streams # STREAMS network driver > (required for > svr4). > options DUMMYNET > options USER_LDT #allow user-level > control of i386 > ldt > > > # To make an SMP kernel, the next two are needed > #options SMP # Symmetric > MultiProcessor Kernel > #options APIC_IO # Symmetric (APIC) I/O > # Optionally these may need tweaked, (defaults shown): > #options NCPU=2 # number of CPUs > #options NBUS=4 # number of busses > #options NAPIC=1 # number of IO APICs > #options NINTR=24 # number of INTs > > device pcm > device isa > device eisa > device pci > options COMPAT_OLDISA # Old ISA driver shims > options COMPAT_OLDPCI # Old PCI driver shims > > # sound opts > device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 > #device snd > #device pas0 at isa? port 0x388 irq 10 drq 6 > #device sb0 at isa? port 0x220 irq 5 drq 1 > #device sbxvi0 at isa? drq 5 > #device sbmidi0 at isa? port 0x330 > #device awe0 at isa? port 0x620 > #device gus0 at isa? port 0x220 irq 12 drq 1 > ##device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 > #device mss0 at isa? port 0x530 irq 10 drq 1 > #device css0 at isa? port 0x534 irq 5 drq 1 flags 0x08 > #device sscape0 at isa? port 0x330 irq 9 drq 0 > #device trix0 at isa? port 0x330 irq 6 drq 0 > #device sscape_mss0 at isa? port 0x534 irq 5 drq 1 > #device opl0 at isa? port 0x388 > #device mpu0 at isa? port 0x330 irq 6 drq 0 > #device uart0 at isa? port 0x330 irq 5 > > > # Floppy drives > device fdc0 at isa? port IO_FD1 irq 6 drq 2 > device fd0 at fdc0 drive 0 > device fd1 at fdc0 drive 1 > > # ATA and ATAPI devices > device ata0 at isa? port IO_WD1 irq 14 > device ata1 at isa? port IO_WD2 irq 15 > device ata > device atadisk # ATA disk drives > device atapicd # ATAPI CDROM drives > device atapifd # ATAPI floppy drives > device atapist # ATAPI tape drives > options ATA_STATIC_ID #Static device numbering > #options ATA_ENABLE_ATAPI_DMA #Enable DMA on ATAPI devices > > > # atkbdc0 controls both the keyboard and the PS/2 mouse > device atkbdc0 at isa? port IO_KBD > device atkbd0 at atkbdc? irq 1 > device psm0 at atkbdc? irq 12 > > device vga0 at isa? > > # splash screen/screen saver > pseudo-device splash > > # syscons is the default console driver, resembling an SCO console > device sc0 at isa? > options SC_NORM_ATTR="(FG_LIGHTBLUE |BG_BLACK)" > #options SC_NORM_REV_ATTR="(FG_BLACK|BG_LIGHTBLUE)" > #options SC_KERNEL_CONS_ATTR="(FG_LIGHTRED |BG_BLACK)" > #options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_LIGHTRED)" > > # Floating point support - do not disable. > device npx0 at nexus? port IO_NPX irq 13 > > # Power management support (see LINT for more options) > device apm0 at nexus? disable flags 0x20 # Advanced Power > Management > > # Serial (COM) ports > device sio0 at isa? port IO_COM1 flags 0x10 irq 4 > device sio1 at isa? port IO_COM2 irq 3 > device sio2 at isa? disable port IO_COM3 irq 5 > device sio3 at isa? disable port IO_COM4 irq 9 > > # Parallel port > device ppc0 at isa? irq 7 > device ppbus # Parallel port bus (required) > device lpt # Printer > device plip # TCP/IP over parallel > device ppi # Parallel port interface device > #device vpo # Requires scbus and da > > > # PCI Ethernet NICs. > device de # DEC/Intel DC21x4x (``Tulip'') > device fxp # Intel EtherExpress PRO/100B > (82557, 82558) > device tx # SMC 9432TX (83c170 ``EPIC'') > device vx # 3Com 3c590, 3c595 (``Vortex'') > device wx # Intel Gigabit Ethernet Card > (``Wiseman'') > > # PCI Ethernet NICs that use the common MII bus controller code. > device miibus # MII bus support > device dc # DEC/Intel 21143 and various > workalikes > device rl # RealTek 8129/8139 > device sf # Adaptec AIC-6915 (``Starfire'') > device sis # Silicon Integrated Systems > SiS 900/SiS > 7016 > device ste # Sundance ST201 (D-Link DFE-550TX) > device tl # Texas Instruments ThunderLAN > device vr # VIA Rhine, Rhine II > device wb # Winbond W89C840F > device xl # 3Com 3c90x (``Boomerang'', > ``Cyclone'') > > # Pseudo devices - the number indicates how many units to allocated. > pseudo-device loop # Network loopback > pseudo-device ether # Ethernet support > pseudo-device sl 1 # Kernel SLIP > pseudo-device ppp 1 # Kernel PPP > pseudo-device tun # Packet tunnel. > pseudo-device pty # Pseudo-ttys (telnet etc) > pseudo-device md # Memory "disks" > pseudo-device gif 4 # IPv6 and IPv4 tunneling > pseudo-device faith 1 # IPv6-to-IPv4 relaying (translation) > > # The `bpf' pseudo-device enables the Berkeley Packet Filter. > # Be aware of the administrative consequences of enabling this! > pseudo-device bpf # Berkeley packet filter > ______________________________________________________ > Get Your Private, Free Email at http://www.hotmail.com > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-newbies" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ABD44D466F85D311A69900A0C900DB6B1954E2>