Re: /dev/dsp device not configured

2000-04-20 Thread wow boong

i use,
device pcmo0 at isa? port 0x220 irq 5 drq 1
for my ESS 1869 sound card


>From: "Otter" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
>CC: <[EMAIL PROTECTED]>
>Subject: Re: /dev/dsp device not configured
>Date: Wed, 19 Apr 2000 23:08:31 -0400
>
>- Original Message -
>From: "Cosmic 665" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Cc: <[EMAIL PROTECTED]>
>Sent: Wednesday, April 19, 2000 5:44 PM
>Subject: /dev/dsp device not configured
>
>
> > how can I configure/reconfigure /dev/dsp under FreeBSD 4.0??
>
>Did you /dev/MAKEDEV snd0?
>
>
>
>  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
> > [EMAIL PROTECTED]:/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
> >   AMD Features=0x8800
> > 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:  on motherboard
> > npx0: INT 16 interface
> > pcib0:  on motherboard
> > pci0:  on pcib0
> > pcib1:  at device 1.0 on pci0
> > pci1:  on pcib1
> > pci1: <3Dfx Voodoo Banshee graphics accelerator> at 0.0 irq 11
> > chip1:  at device 3.0 on pci0
> > isab0:  at device 7.0 on pci0
> > isa0:  on isab0
> > dc0:  port 0xb800-0xb87f mem
>0xdd00-0xdd7f
> > irq 9 at device 9.0 on pci0
> > dc0: Ethernet address: 00:00:f8:09:34:80
> > miibus0:  on dc0
> > dcphy0:  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
>0xdc80-0xdc8000ff
> > irq 12 at device 10.0 on pci0
> > dc1: Ethernet address: 00:a0:cc:5d:6c:d0
> > miibus1:  on dc1
> > ukphy0:  on miibus1
> > ukp

Re: /dev/dsp device not configured

2000-04-19 Thread Otter

- Original Message -
From: "Cosmic 665" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 19, 2000 5:44 PM
Subject: /dev/dsp device not configured


> how can I configure/reconfigure /dev/dsp under FreeBSD 4.0??

Did you /dev/MAKEDEV snd0?



 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
> [EMAIL PROTECTED]:/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
>   AMD Features=0x8800
> 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:  on motherboard
> npx0: INT 16 interface
> pcib0:  on motherboard
> pci0:  on pcib0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pci1: <3Dfx Voodoo Banshee graphics accelerator> at 0.0 irq 11
> chip1:  at device 3.0 on pci0
> isab0:  at device 7.0 on pci0
> isa0:  on isab0
> dc0:  port 0xb800-0xb87f mem
0xdd00-0xdd7f
> irq 9 at device 9.0 on pci0
> dc0: Ethernet address: 00:00:f8:09:34:80
> miibus0:  on dc0
> dcphy0:  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
0xdc80-0xdc8000ff
> irq 12 at device 10.0 on pci0
> dc1: Ethernet address: 00:a0:cc:5d:6c:d0
> miibus1:  on dc1
> ukphy0:  on miibus1
> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> atapci0:  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:  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,0x64 on isa0
> atkbd0:  irq 1 on atkbdc0
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb 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: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: FIFO with 16/16/7 bytes threshold
> ppi0:  on ppbus0
> ppi0: can't allocate irq
> device_probe_and_attach: ppi0 attach returned 12
> lpt0:  on ppbus0
> lpt0: Interrupt-driven port
> plip0:  on ppbus0
> unknown:  can't assign resources
> unknown:  can't assign resources
> unknown:  can't assign resources
> unknown:  can't assign resources
> unknown0:  at iomem
>
0-0x9,0x10-0x7ff,0xe8000-0xe,0xf-0xf3fff,0xf4000-0xf7fff
,0xf8000-0xfbfff,0xfc000-0xf,0xfffe-0x
> on isa0
> unknown:  can't assign resources
> unknown1:  at port 0x40-0x43 irq 0 on isa0
> unknown2:  at port 0x70-0x71 irq 8 on i

RE: /dev/dsp device not configured

2000-04-19 Thread Jason Young


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:[EMAIL PROTECTED]]
> Sent: Wednesday, April 19, 2000 4:45 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> 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
> [EMAIL PROTECTED]:/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
>   AMD Features=0x8800
> 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:  on motherboard
> npx0: INT 16 interface
> pcib0:  on motherboard
> pci0:  on pcib0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pci1: <3Dfx Voodoo Banshee graphics accelerator> at 0.0 irq 11
> chip1:  at device 3.0 on pci0
> isab0:  at device 7.0 on pci0
> isa0:  on isab0
> dc0:  port 0xb800-0xb87f mem 
> 0xdd00-0xdd7f 
> irq 9 at device 9.0 on pci0
> dc0: Ethernet address: 00:00:f8:09:34:80
> miibus0:  on dc0
> dcphy0:  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 
> 0xdc80-0xdc8000ff 
> irq 12 at device 10.0 on pci0
> dc1: Ethernet address: 00:a0:cc:5d:6c:d0
> miibus1:  on dc1
> ukphy0:  on miibus1
> ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> atapci0:  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:  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,0x64 on isa0
> atkbd0:  irq 1 on atkbdc0
> vga0:  at port 0x3c0-0x3df iomem 
> 0xa-0xb 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: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
> ppc0: