sound card (WAS: FreeBSD 4.10 RELEASE questions)
Bob Johnson
bob88 at eng.ufl.edu
Thu Jun 10 15:29:45 PDT 2004
> Message: 8
> Date: Wed, 9 Jun 2004 21:55:14 -0400
> From: Louis LeBlanc <freebsd at keyslapper.org>
> Subject: FreeBSD 4.10 RELEASE questions
> To: FreeBSD Questions <freebsd-questions at FreeBSD.org>
> Message-ID: <20040610015514.GA734 at keyslapper.org>
>
> Hey everyone. I have a confusing situation here with the new kernel.
>
> I just upgraded to 4.10, and in the process, decided to get a
> moderately updated kernel config. Particularly, I wanted to try to
> get my sound working again.
>
> Here's the thing. I have the following lines in my kernel config:
> device pcm
>
[deleted details]
> Problem is that I'm not sure if I should have the following:
>
> device pcm0 at isa? irq 10 drq 1 flags 0x0
Everything after "pcm0" is there for the benefit of ISA cards that are
not PNP-aware. Your "device pcm" should be entirely adequate for a PCI
card that does correct PNP configuration. It certainly works for me.
Also, if your system doesn't physically have SIO2 or SIO3, you can
remove those statements (which were in the details I deleted above).
>
> Note that my fxp0 is using irq 10. Should I just change the irq?
> Should I leave it and/or the PNPBIOS line out?
>
My system shows several unknown devices which are presumably various
features of the motherboard that I'm not using, so don't be too
concerned about the unknown device. PCI devices are assigned IRQs
dynamically, and you should not need to worry about which device ended
up on which IRQ as long as it doesn't conflict with an ISA device in
your system.
If dmesg.boot shows a "pcm0" device somewhere then your sound card
should be working. E.g.:
# grep pcm0 /var/run/dmesg.boot
pcm0: <VIA VT8235> port 0xe000-0xe0ff irq 5 at device 17.5 on pci0
pcm0: <Avance Log\M-ic ALC650 AC97 Codec>
#
I believe that in 4.10 you still have to do
# cd /dev
# sh MAKEDEV snd0
to populate /dev with the appropriate devices after you get the driver
loading properly (snd0 is not actually one of them, so don't look for
it). I guess you're familiar with that, since you had your sound
working in the past, but maybe you forgot. After you've done that,
something like
# cat /dev/sndstat
should tell you what you ended up with, in its own cryptic way.
To get the PCI card correctly recognized, you may need to play with the
"PNP BIOS" setting in your BIOS configuration, although I don't think
that's your problem in this case.
If your sound card actually is an ISA device, you need to set the IRQ
and possibly DRQ settings in the config line to what the card is
expecting. You may also have to go into your device and reserve that
IRQ for your ISA device to keep it from being assigned to a PnP device.
> I'm sure there's some pertinent details I'm leaving out, so don't
> hesitate to let me know what it is.
>
> Thanks for the feedback.
I hope that helps.
>
> Lou
> -- Louis LeBlanc leblanc at keyslapper.org Fully Funded Hobbyist, KeySlapper Extrordinaire :) http://www.keyslapper.org Ô¿Ô¬ Where are the calculations that go with a calculated risk?
- Bob
More information about the freebsd-questions
mailing list