Re: Enabling sound?

2006-07-24 Thread Greg Groth

 I got a SoundBlaster Live! because it was listed as a known working
 piece of hardware.  Apparently this is a newer version of the board that
 isn't supported yet.  Getting it to work is becoming a PITA beyond what
 I have the time and willpower to put in right now.

 Is there a piece of sound hardware I can just run down to CompUSA and
 buy, that I can drop in here and get this thing working with *today*?

Just ran into this getting MythTV running on Gentoo.  In ALSA, it seems 
the new soundblaster cards don't use the emu10k1 driver, they use the 
ca0106 driver.  Don't know if this exists for FreeBSD or not.  In my 
case, the ca0106 driver produced static and a hint of something that 
sounded like sound.  I gave up, and stole an older soundblaster from 
another system I had.


Best regards,
Greg Groth
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling sound?

2006-07-22 Thread Dylan Cochran

 I don't get the pcm0 lines that section 7.2.2 in the manual talks
 about.  cat /dev/sndstat returns:
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 and nothing else.


The driver isn't attached to the device, either because the pci id's
don't match or the card isn't using an emu10k* chip. Please type
pciconf -l -v and reply with the portion that matches the card.



 kldload snd_emu10k1 yields no output whatsoever.  When followed by cat
 /dev/sndstat it produces the same outputs as above.

 kld_load snd_driver yields:
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0x20
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled


This is because snd_driver kldload's EVERY known sound driver,
including ones for ISA. Hence the use in the handbook of only using it
to find the driver for your card. (Blind probing ISA is a quick way to
crash an older machine)



 I recompiled with the sound and emu10k1 drivers commented out, and the
 kldload and cat /dev/sndstat commands still yield the same.



compiling the kernel with those options is almost exactly the same as
kldloading it after it boots.


 I need to get sound enabled on this box, so I can do some online
 training provided through streaming video.  Please, please, please tell
 me I don't have to break down and install wankers on this thing ...


pciconf -l -v will be the best bet, at least you'll have a better idea
of what you're dealing with.


isab0: PCI-ISA bridge at device 10.0 on pci0
.
.
.
pci3: multimedia, audio at device 10.0 (no driver attached)


IIRC, and I'm really not 100%, that the older emu10k1 cards used a
pci-isa bridge to the actual device (I'm away from my machine with a
working one of those cards, so I can't confirm that's normal, though I
recall seeing that in dmesg).



I've re-compiled my kernel yet again to remove the sio device, since
this thing has no 8250 or 16[45]50 serial ports on it, which got rid of
the error messages in dmesg I was seeing about the port not being
enabled and the IRQ not mapping.

It also has no parallel port on it -- can I remove the ppc, ppbus, lpt,
plip, and ppi devices without breaking anything else?


NO, you can't remove ppbus in 6.1 or any previous versions I've tried.
And it's a quick way to kernel panic on boot (the note in the GENERIC
kernel comments agrees with me, it IS required for i386 at least for
now).



The only peripheral ports this thing has on it are USB2.

I'm pretty much stuck with a custom kernel on this machine, since the
wireless network I'm on requires WEP, and the wlan_wep module would need
to be loaded by hand if I went with the generic kernel and module
loading ... which would also mean hand-starting dhcpclient and ifconfig,
since both will fail at boot-time without wlan_wep.  All the wireless
stuff works just fine with ath, ath_hal, ath_rate_sample, wlan, and
wlan_wep compiled into the kernel.


You don't really need to do this, though it's irrelevant to the problem at hand.

You can use/boot/loader.conf can load ko's at boot time before the
kernel is loaded, /boot/defaults/loader.conf has examples at the
bottom. typically it's module_load=YES

You can also add a shell script to  /usr/local/etc/rc.d/ that will
load it and add a tunable in rc.conf that will enable/disable wireless
on boot, just add a BEFORE: netif line. Use rcorder /etc/rc.d/*
/usr/local/etc/rc.d/* to make sure your script is before netif (this
will make sure the drivers are loaded before dhclient and everything
else).



The only thing I can't seem to get working is this blasted sound card.
I wouldn't even worry about it if I didn't have to do this stupid flash
based video training crap (why can't they just send me TFM so I can R
it?!?). *sigh*


I hope this helps, if you understand C and how pci works you can use
the pci id output that pciconf provides and modify the #define
EMU10K1_PCI_ID  0x00021102 line in /usr/src/sys/dev/sound/pci/emu10k1.c
to match it, this will force the driver to try to bind to the card.
This may not work, it's not supported, and definately DON'T link the
driver to the kernel (ie, don't add a device snd_emu10k1 line to the
kernel config) in the off chance it causes 

Re: Enabling sound?

2006-07-22 Thread Rich Demanowski

Dylan Cochran wrote:

 I don't get the pcm0 lines that section 7.2.2 in the manual talks
 about.  cat /dev/sndstat returns:
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 and nothing else.


The driver isn't attached to the device, either because the pci id's
don't match or the card isn't using an emu10k* chip. Please type
pciconf -l -v and reply with the portion that matches the card.


[EMAIL PROTECTED]:10:0:   class=0x040100 card=0x10061102 chip=0x00071102 
rev=0x00 hdr=0x00

   vendor   = 'Creative Labs'
   device   = 'CA0106-DAT Audigy LS'
   class= multimedia
   subclass = audio

So, at the very least, FreeBSD knows there's *something* there, it just 
doesn't grok what it is that's there.
I hope this helps, if you understand C and how pci works 
I grok some C, but I've never dealt with PCI peripherals before.  I've 
only ever coded at the application level.

you can use
the pci id output that pciconf provides and modify the #define
EMU10K1_PCI_ID0x00021102 line in /usr/src/sys/dev/sound/pci/emu10k1.c
to match it, this will force the driver to try to bind to the card.

That would be the chip=0x00071102 piece?


This may not work, it's not supported, and definately DON'T link the
driver to the kernel (ie, don't add a device snd_emu10k1 line to the
kernel config) in the off chance it causes a strange hard lock
problem.

Good luck :)

Thanks, I'll give it a go and see what happens. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling sound?

2006-07-22 Thread Rich Demanowski

Dylan Cochran wrote:

the pci id output that pciconf provides and modify the #define
EMU10K1_PCI_ID0x00021102 line in /usr/src/sys/dev/sound/pci/emu10k1.c

Well, at least I got a new response in dmesg out of that one:
   pcm0: Creative EMU10K1 port 0xcf00-0xcf1f irq 18 at device 10.0 on 
pci3

   pcm0: AC97 reset timed out.
   pcm0: ac97 codec invalid or not present (id == 0)
   device_attach: pcm0 attach returned 6

I took the device sound and device snd_emu10k1 lines out of the kernel 
config, changed the line in emu10k1.c to EMU10K1_PCI_ID 0x00071102, 
recompiled, and added snd_emu10k1_load=YES to /boot/loader.conf


Now it seems I need to tweak the AC97 stuff, too?  Or, since pciconf 
shows this as an Audigy, should I instead tweak one of the EMU10K2 or K3 
lines?



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling sound?

2006-07-22 Thread Rich Demanowski

Dylan Cochran wrote:

 I don't get the pcm0 lines that section 7.2.2 in the manual talks
 about.  cat /dev/sndstat returns:
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 and nothing else.


The driver isn't attached to the device, either because the pci id's
don't match or the card isn't using an emu10k* chip. Please type
pciconf -l -v and reply with the portion that matches the card.
Well, I'm still not getting any further.  I pulled the SB Live! card out 
and enabled the on-board sound in the BIOS, to see if doing a kldload 
snd_driver would recognize *that*.  It doesn't. 


The on-board sound shows up like this in pciconf -l -v:
   [EMAIL PROTECTED]:16:1:   class=0x040300 card=0x2a3e103c 
chip=0x026c10de rev=0xa2 hdr=0x00

   vendor   = 'NVIDIA Corporation'
   class= multimedia

kldload snd_driver followed by cat /dev/sndstat yields:
   FreeBSD Audio Driver (newpcm)
   Installed devices:

just like before. :(
---
Information I can glean from looking at the SoundBlaster card:
   On the board:
   Sound Blaster Live! 24-bit
   Model: SB0410
   On the chips:
  Creative CA0106-DAT LF (c) Creative Tech '02 C0524 KD692
  Cirrus Logic CS4382-KQZ WAEXAR0452
  WM WM8775SEDS 4AAADOG

Everything else on there seems to be simple resistors, caps, and maybe a 
mosfet or three.


Changing emu10k1.c so that the definition of EMU10K1_PCI_ID matches what 
pciconf -l -v found gets the module to recognize that there's a card 
there, and then it pukes on the ac97 stuff (which confuses me since this 
card claims to be ac97 compliant and the Cirrus chips is there ...)
  pcm0: Creative EMU10K1 port 0xcf00-0xcf1f irq 18 at device 10.0 on 
pci3

  pcm0: AC97 reset timed out.
  pcm0: ac97 codec invalid or not present (id == 0)
  device_attach: pcm0 attach returned 6

Looking through sound/pcm/ac97.c I can see that the reset() function is 
failing, and the id = line in the ac97_initmixer() function isn't 
recognizing the chip on the board.


I got a SoundBlaster Live! because it was listed as a known working 
piece of hardware.  Apparently this is a newer version of the board that 
isn't supported yet.  Getting it to work is becoming a PITA beyond what 
I have the time and willpower to put in right now.


Is there a piece of sound hardware I can just run down to CompUSA and 
buy, that I can drop in here and get this thing working with *today*?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling sound?

2006-07-22 Thread Dylan Cochran

On 7/22/06, Rich Demanowski [EMAIL PROTECTED] wrote:

Dylan Cochran wrote:
  I don't get the pcm0 lines that section 7.2.2 in the manual talks
  about.  cat /dev/sndstat returns:
  FreeBSD Audio Driver (newpcm)
  Installed devices:
  and nothing else.

 The driver isn't attached to the device, either because the pci id's
 don't match or the card isn't using an emu10k* chip. Please type
 pciconf -l -v and reply with the portion that matches the card.
Well, I'm still not getting any further.  I pulled the SB Live! card out
and enabled the on-board sound in the BIOS, to see if doing a kldload
snd_driver would recognize *that*.  It doesn't.

The on-board sound shows up like this in pciconf -l -v:
[EMAIL PROTECTED]:16:1:   class=0x040300 card=0x2a3e103c
chip=0x026c10de rev=0xa2 hdr=0x00
vendor   = 'NVIDIA Corporation'
class= multimedia

kldload snd_driver followed by cat /dev/sndstat yields:
FreeBSD Audio Driver (newpcm)
Installed devices:

just like before. :(
---
Information I can glean from looking at the SoundBlaster card:
On the board:
Sound Blaster Live! 24-bit
Model: SB0410
On the chips:
   Creative CA0106-DAT LF (c) Creative Tech '02 C0524 KD692
   Cirrus Logic CS4382-KQZ WAEXAR0452
   WM WM8775SEDS 4AAADOG

Everything else on there seems to be simple resistors, caps, and maybe a
mosfet or three.

Changing emu10k1.c so that the definition of EMU10K1_PCI_ID matches what
pciconf -l -v found gets the module to recognize that there's a card
there, and then it pukes on the ac97 stuff (which confuses me since this
card claims to be ac97 compliant and the Cirrus chips is there ...)
   pcm0: Creative EMU10K1 port 0xcf00-0xcf1f irq 18 at device 10.0 on
pci3
   pcm0: AC97 reset timed out.
   pcm0: ac97 codec invalid or not present (id == 0)
   device_attach: pcm0 attach returned 6

Looking through sound/pcm/ac97.c I can see that the reset() function is
failing, and the id = line in the ac97_initmixer() function isn't
recognizing the chip on the board.

I got a SoundBlaster Live! because it was listed as a known working
piece of hardware.  Apparently this is a newer version of the board that
isn't supported yet.  Getting it to work is becoming a PITA beyond what
I have the time and willpower to put in right now.

Is there a piece of sound hardware I can just run down to CompUSA and
buy, that I can drop in here and get this thing working with *today*?


Newer Audigy's use a completely different DSP chip then the older
SoundBlasters. The SoundBlaster brand is so vague now with regard to
the actual chips that it's misleading.

The el cheapo CompUSA brand card is iirc a very old and generic chip,
it's not the best quality wise but when I bought them months ago they
seemed to work with everything I threw at them. In all honesty I don't
remember testing them with FreeBSD, but it works out of the box with
BeOS R5, so I'd assume FreeBSD comes with the driver.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Enabling sound?

2006-07-21 Thread Rich Demanowski
I just dropped a SoundBlaster Live! card into my box, and have followed 
the directions in the handbook and the man pages.


The following lines are in the compiled kernel:
   device sound
   device snd_emu10k1

I don't get the pcm0 lines that section 7.2.2 in the manual talks 
about.  cat /dev/sndstat returns:

   FreeBSD Audio Driver (newpcm)
   Installed devices:
and nothing else.

kldload snd_emu10k1 yields no output whatsoever.  When followed by cat 
/dev/sndstat it produces the same outputs as above.
 
kld_load snd_driver yields:

   ppc0: parallel port not found.
   sio1: configured irq 3 not in bitmap of probed irqs 0x20
   sio1: port may not be enabled   
   ppc0: parallel port not found.

   sio1: configured irq 3 not in bitmap of probed irqs 0
   sio1: port may not be enabled
   ppc0: parallel port not found.
   sio1: configured irq 3 not in bitmap of probed irqs 0
   sio1: port may not be enabled
   ppc0: parallel port not found.
   sio1: configured irq 3 not in bitmap of probed irqs 0
   sio1: port may not be enabled
   ppc0: parallel port not found.
   sio1: configured irq 3 not in bitmap of probed irqs 0
   sio1: port may not be enabled   
   ppc0: parallel port not found.

   sio1: configured irq 3 not in bitmap of probed irqs 0
   sio1: port may not be enabled
   ppc0: parallel port not found.
   sio1: configured irq 3 not in bitmap of probed irqs 0
   sio1: port may not be enabled

I recompiled with the sound and emu10k1 drivers commented out, and the 
kldload and cat /dev/sndstat commands still yield the same.


I need to get sound enabled on this box, so I can do some online 
training provided through streaming video.  Please, please, please tell 
me I don't have to break down and install wankers on this thing ...
 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling sound?

2006-07-21 Thread Derrick Ryalls

On 7/21/06, Rich Demanowski [EMAIL PROTECTED] wrote:

I just dropped a SoundBlaster Live! card into my box, and have followed
the directions in the handbook and the man pages.

The following lines are in the compiled kernel:
device sound
device snd_emu10k1

I don't get the pcm0 lines that section 7.2.2 in the manual talks
about.  cat /dev/sndstat returns:
FreeBSD Audio Driver (newpcm)
Installed devices:
and nothing else.

kldload snd_emu10k1 yields no output whatsoever.  When followed by cat
/dev/sndstat it produces the same outputs as above.

kld_load snd_driver yields:
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0x20
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

I recompiled with the sound and emu10k1 drivers commented out, and the
kldload and cat /dev/sndstat commands still yield the same.

I need to get sound enabled on this box, so I can do some online
training provided through streaming video.  Please, please, please tell
me I don't have to break down and install wankers on this thing ...



I would try this:

kldload snd_driver

then cat /dev/sndstat to see if perhaps a different driver is needed.
Also, you shouldn't need to recompile, just add the driver line to
/boot/loader.conf as described in the handbook.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling sound?

2006-07-21 Thread Rich Demanowski

Derrick Ryalls wrote:

On 7/21/06, Rich Demanowski [EMAIL PROTECTED] wrote:

I just dropped a SoundBlaster Live! card into my box, and have followed
the directions in the handbook and the man pages.

The following lines are in the compiled kernel:
device sound
device snd_emu10k1

I don't get the pcm0 lines that section 7.2.2 in the manual talks
about.  cat /dev/sndstat returns:
FreeBSD Audio Driver (newpcm)
Installed devices:
and nothing else.

kldload snd_emu10k1 yields no output whatsoever.  When followed by cat
/dev/sndstat it produces the same outputs as above.

kld_load snd_driver yields:
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0x20
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

I recompiled with the sound and emu10k1 drivers commented out, and the
kldload and cat /dev/sndstat commands still yield the same.

I need to get sound enabled on this box, so I can do some online
training provided through streaming video.  Please, please, please tell
me I don't have to break down and install wankers on this thing ...



I would try this:

kldload snd_driver

then cat /dev/sndstat to see if perhaps a different driver is needed.

I tried that.  That's what got me all the ppc0 and sio1 errors.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling sound?

2006-07-21 Thread Derrick Ryalls

On 7/21/06, Rich Demanowski [EMAIL PROTECTED] wrote:

Derrick Ryalls wrote:
 On 7/21/06, Rich Demanowski [EMAIL PROTECTED] wrote:
 I just dropped a SoundBlaster Live! card into my box, and have followed
 the directions in the handbook and the man pages.

 The following lines are in the compiled kernel:
 device sound
 device snd_emu10k1

 I don't get the pcm0 lines that section 7.2.2 in the manual talks
 about.  cat /dev/sndstat returns:
 FreeBSD Audio Driver (newpcm)
 Installed devices:
 and nothing else.

 kldload snd_emu10k1 yields no output whatsoever.  When followed by cat
 /dev/sndstat it produces the same outputs as above.

 kld_load snd_driver yields:
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0x20
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 ppc0: parallel port not found.
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled

 I recompiled with the sound and emu10k1 drivers commented out, and the
 kldload and cat /dev/sndstat commands still yield the same.

 I need to get sound enabled on this box, so I can do some online
 training provided through streaming video.  Please, please, please tell
 me I don't have to break down and install wankers on this thing ...


 I would try this:

 kldload snd_driver

 then cat /dev/sndstat to see if perhaps a different driver is needed.
I tried that.  That's what got me all the ppc0 and sio1 errors.




Sorry, missed that.  Record heat around here.  My only other
suggestion would involve a different sound card or possibly try a live
O/S disk to see if the hardware is good.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling sound?

2006-07-21 Thread Derrick Ryalls

On 7/21/06, Rich Demanowski [EMAIL PROTECTED] wrote:

Derrick Ryalls wrote:
 On 7/21/06, Rich Demanowski [EMAIL PROTECTED] wrote:
 Derrick Ryalls wrote:
  On 7/21/06, Rich Demanowski [EMAIL PROTECTED] wrote:
  I just dropped a SoundBlaster Live! card into my box, and have
 followed
  the directions in the handbook and the man pages.
 
  The following lines are in the compiled kernel:
  device sound
  device snd_emu10k1
 
  I don't get the pcm0 lines that section 7.2.2 in the manual talks
  about.  cat /dev/sndstat returns:
  FreeBSD Audio Driver (newpcm)
  Installed devices:
  and nothing else.
 
  kldload snd_emu10k1 yields no output whatsoever.  When followed by
 cat
  /dev/sndstat it produces the same outputs as above.
 
  kld_load snd_driver yields:
  ppc0: parallel port not found.
  sio1: configured irq 3 not in bitmap of probed irqs 0x20
  sio1: port may not be enabled
  ppc0: parallel port not found.
  sio1: configured irq 3 not in bitmap of probed irqs 0
  sio1: port may not be enabled
  ppc0: parallel port not found.
  sio1: configured irq 3 not in bitmap of probed irqs 0
  sio1: port may not be enabled
  ppc0: parallel port not found.
  sio1: configured irq 3 not in bitmap of probed irqs 0
  sio1: port may not be enabled
  ppc0: parallel port not found.
  sio1: configured irq 3 not in bitmap of probed irqs 0
  sio1: port may not be enabled
  ppc0: parallel port not found.
  sio1: configured irq 3 not in bitmap of probed irqs 0
  sio1: port may not be enabled
  ppc0: parallel port not found.
  sio1: configured irq 3 not in bitmap of probed irqs 0
  sio1: port may not be enabled
 
  I recompiled with the sound and emu10k1 drivers commented out, and
 the
  kldload and cat /dev/sndstat commands still yield the same.
 
  I need to get sound enabled on this box, so I can do some online
  training provided through streaming video.  Please, please, please
 tell
  me I don't have to break down and install wankers on this thing ...
 
 
  I would try this:
 
  kldload snd_driver
 
  then cat /dev/sndstat to see if perhaps a different driver is needed.
 I tried that.  That's what got me all the ppc0 and sio1 errors.



 Sorry, missed that.  Record heat around here.  My only other
 suggestion would involve a different sound card or possibly try a live
 O/S disk to see if the hardware is good.
Where/how do I obtain one of those?  All I have are the install discs 1
and 2 that I downloaded the iso images for, and all I can get from those
is an emergency holographic shell that can't even find the ls command,
let alone kldload ...



I was referring to something Knoppix like (Freesbie?) so you can see
if a different version of the O/S helps.  I wouldn't know how to
diagnose sound issues in anything linux based though.  Can you drop
the card in a Windows box temporarily to see if it works there?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Enabling sound?

2006-07-21 Thread Rich Demanowski

Derrick Ryalls wrote:

On 7/21/06, Rich Demanowski [EMAIL PROTECTED] wrote:

I just dropped a SoundBlaster Live! card into my box, and have followed
the directions in the handbook and the man pages.

The following lines are in the compiled kernel:
device sound
device snd_emu10k1

I don't get the pcm0 lines that section 7.2.2 in the manual talks
about.  cat /dev/sndstat returns:
FreeBSD Audio Driver (newpcm)
Installed devices:
and nothing else.

kldload snd_emu10k1 yields no output whatsoever.  When followed by cat
/dev/sndstat it produces the same outputs as above.

kld_load snd_driver yields:
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0x20
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled

I recompiled with the sound and emu10k1 drivers commented out, and the
kldload and cat /dev/sndstat commands still yield the same.

I need to get sound enabled on this box, so I can do some online
training provided through streaming video.  Please, please, please tell
me I don't have to break down and install wankers on this thing ...



I would try this:

kldload snd_driver

then cat /dev/sndstat to see if perhaps a different driver is needed.
Also, you shouldn't need to recompile, just add the driver line to
/boot/loader.conf as described in the handbook.

Could this be (part of?) the problem? --

in dmesg:
   .
   .
   .
   isab0: PCI-ISA bridge at device 10.0 on pci0
   .
   .
   .
   pci3: multimedia, audio at device 10.0 (no driver attached)

I've re-compiled my kernel yet again to remove the sio device, since 
this thing has no 8250 or 16[45]50 serial ports on it, which got rid of 
the error messages in dmesg I was seeing about the port not being 
enabled and the IRQ not mapping.


It also has no parallel port on it -- can I remove the ppc, ppbus, lpt, 
plip, and ppi devices without breaking anything else?


The only peripheral ports this thing has on it are USB2.

I'm pretty much stuck with a custom kernel on this machine, since the 
wireless network I'm on requires WEP, and the wlan_wep module would need 
to be loaded by hand if I went with the generic kernel and module 
loading ... which would also mean hand-starting dhcpclient and ifconfig, 
since both will fail at boot-time without wlan_wep.  All the wireless 
stuff works just fine with ath, ath_hal, ath_rate_sample, wlan, and 
wlan_wep compiled into the kernel.


The only thing I can't seem to get working is this blasted sound card.  
I wouldn't even worry about it if I didn't have to do this stupid flash 
based video training crap (why can't they just send me TFM so I can R 
it?!?). *sigh*

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Enabling sound on Dell Dimension 8300 (FreeBSD 5.1-RELEASE)

2005-03-27 Thread Amit Kumar Saha

Hi,
I am trying to enable the builtin sound card present in Dell
Dimension 8300 but cant seem to get it done. As far as I remember, in
FreeBSD 5.3 it can be done simply by having the following two options in
the kernel config file:

device sound
device snd_ich

However, FreeBSD 5.1 does not recognize any of these even (Even man sound
or man snd_ich does not work even though it should work on any FreeBSD 5.*
So I guess I have to give some hardware hints in order to

config MYCONFIG gives the following error report:
=

config: Error: device sound is unknown
config: Error: device snd_ich is unknown

(/boot/kernel/ however has the files snd_ich.ko as well as snd_pcm.ko)

The output of cat /dev/sndstat is as follows:
=

FreeBSD Audio Driver (newpcm)
Installed devices:


The dmesg output is as follows:


== START OF dmesg output

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #3: Tue Oct 14 18:17:28 CDT 2003
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/NEW
Preloaded elf kernel /boot/kernel/kernel at 0xc070.
Preloaded elf module /boot/kernel/acpi.ko at 0xc0700294.
Timecounter i8254  frequency 1193182 Hz
Timecounter TSC  frequency 3192009524 Hz
CPU: Intel(R) Pentium(R) 4 CPU 3.20GHz (3192.01-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
  Hyperthreading: 2 logical CPUs
real memory  = 1073168384 (1023 MB)
avail memory = 1035091968 (987 MB)
Pentium Pro MTRR support enabled
npx0: math processor on motherboard
npx0: INT 16 interface
acpi0: DELL   8300on motherboard
pcibios: BIOS version 2.10
Using $PIR table, 8 entries at 0xc00feae0
acpi0: power button is handled as a fixed feature programming model.
Timecounter ACPI-fast  frequency 3579545 Hz
acpi_timer0: 24-bit timer at 3.579545MHz port 0x808-0x80b on acpi0
acpi_cpu0: CPU port 0x530-0x537 on acpi0
acpi_cpu1: CPU port 0x530-0x537 on acpi0
acpi_button0: Power Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: Intel Generic host to PCI bridge mem 0xe800-0xefff at device 
0.0 on pci0
pcib1: PCIBIOS PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
uhci0: Intel 82801EB (ICH5) USB controller USB-A port 0xff80-0xff9f irq 11 at 
device 29.0 on pci0
usb0: Intel 82801EB (ICH5) USB controller USB-A on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: Intel 82801EB (ICH5) USB controller USB-B port 0xff60-0xff7f irq 10 at 
device 29.1 on pci0
usb1: Intel 82801EB (ICH5) USB controller USB-B on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: Intel 82801EB (ICH5) USB controller USB-C port 0xff40-0xff5f irq 9 at 
device 29.2 on pci0
usb2: Intel 82801EB (ICH5) USB controller USB-C on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: Intel 82801EB (ICH5) USB controller USB-D port 0xff20-0xff3f irq 11 at 
device 29.3 on pci0
usb3: Intel 82801EB (ICH5) USB controller USB-D on uhci3
usb3: USB revision 1.0
uhub3: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
pci0: serial bus, USB at device 29.7 (no driver attached)
pcib2: ACPI PCI-PCI bridge at device 30.0 on pci0
pci2: ACPI PCI bus on pcib2
fxp0: Intel 82801BA (D865) Pro/100 VE Ethernet port 0xdf40-0xdf7f mem 
0xfcfff000-0xfcff irq 10 at device 8.0 on pci2
fxp0: Ethernet address 00:07:e9:5f:67:fd
miibus0: MII bus on fxp0
inphy0: i82562ET 10/100 media interface on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: PCI-ISA bridge at device 31.0 on pci0
isa0: ISA bus on isab0
atapci0: Intel ICH5 UDMA100 controller port 
0xffa0-0xffaf,0x374-0x377,0x170-0x177,0x3f4-0x3f7,0x1f0-0x1f7 mem 
0xfebffc00-0xfebf irq 9 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
atapci1: Intel ICH5 SATA150 controller port 
0xfea0-0xfeaf,0xfe30-0xfe33,0xfe20-0xfe27,0xfe10-0xfe13,0xfe00-0xfe07 irq 9 at 
device 31.2 on pci0
ata2: at 0xfe00 on atapci1
ata3: at 0xfe20 on atapci1
pci0: serial bus, SMBus at device 31.3 (no driver attached)
pci0: multimedia, audio at device 31.5 (no driver attached)
fdc0: Enhanced floppy controller (i82077, NE72065 or clone) port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1440-KB 3.5 drive on fdc0 drive 0