Re: Lost audio after new Video card installation
- From: Carmel <carmel_ny@xxxxxxxxxxx>
- Date: Tue, 2 Mar 2010 18:50:14 -0500
On Tue, 2 Mar 2010 14:00:31 +0100
Andreas Rudisch <"cyb."@gmx.net> articulated:
On Tue, 2 Mar 2010 05:51:00 -0500
Carmel <carmel_ny@xxxxxxxxxxx> wrote:
On Tue, 2 Mar 2010 09:05:03 +0100
Andreas Rudisch <"cyb."@gmx.net> articulated:
On Mon, 1 Mar 2010 19:42:19 -0500
Carmel <carmel_ny@xxxxxxxxxxx> wrote:
I installed a nVidia GeForce GT 220 card.
Now, the video is fine; however, there is no audio.
hdac0: <NVidia (Unknown) High Definition Audio Controller> mem
0xfcffc000-0xfcffffff irq 16 at device 0.1 on pci3
I ran into the same problem after installing a GT 240. The video
cards support audio via HDMI. During boot the audio chip of the
video card is found first (also snd_hda) and used as primary
audio device.
After kldunload / kldload snd_hda everything would work properly.
As a workaround I do not load the snd_hda kernel module at boot,
but with a cronjob @reboot. This way the normal sound card is
found first.
I have sound compiled into my kernel:
# Sound
device sound
device snd_hda # nVidia MCP51 sound
support
In that case you will not be able to unload/load the kernel module.
Anyway, I looked again at the problem and the correct way is to simply
set hw.snd.default_unit to the number of the correct pcm device.
Since the graphic card uses pcm0 to pcm3, it should be pcm4. Take a
look at the output of:
%dmesg | grep hda
You should see something like:
pcm2: <HDA NVidia (Unknown) PCM #0 Digital> at cad 2 nid 1 on hdac0
pcm3: <HDA NVidia (Unknown) PCM #0 Digital> at cad 3 nid 1 on hdac0
hdac1: HDA Codec #0: Realtek ALC883
pcm4: <HDA Realtek ALC883 PCM #0 Analog> at cad 0 nid 1 on hdac1
So set hw.snd.default_unit=4 using sysctl or /etc/sysctl.conf.
man snd_hda
man sound
man sysctl.conf
Great, I just went and rebuilt the kernel sans sound and now I find the
answer. Anyway, this is what the output for "dmesg | grep -i hda" was
before I rebuilt the kernel:
hdac0: <NVidia MCP51 High Definition Audio Controller> mem 0xfe024000-0xfe027fff irq 21 at device 16.1 on pci0
hdac0: HDA Driver Revision: 20090624_0136
hdac0: [ITHREAD]
hdac0: HDA Codec #1: Realtek ALC883
pcm0: <HDA Realtek ALC883 PCM #0 Analog> at cad 1 nid 1 on hdac0
pcm1: <HDA Realtek ALC883 PCM #1 Analog> at cad 1 nid 1 on hdac0
pcm2: <HDA Realtek ALC883 PCM #2 Digital> at cad 1 nid 1 on hdac0
hdac0: <NVidia MCP51 High Definition Audio Controller> mem 0xfe024000-0xfe027fff irq 21 at device 16.1 on pci0
hdac0: HDA Driver Revision: 20090624_0136
hdac0: [ITHREAD]
hdac0: HDA Codec #1: Realtek ALC883
pcm0: <HDA Realtek ALC883 PCM #0 Analog> at cad 1 nid 1 on hdac0
pcm1: <HDA Realtek ALC883 PCM #1 Analog> at cad 1 nid 1 on hdac0
pcm2: <HDA Realtek ALC883 PCM #2 Digital> at cad 1 nid 1 on hdac0
hdac0: <NVidia MCP51 High Definition Audio Controller> mem 0xfe024000-0xfe027fff irq 21 at device 16.1 on pci0
hdac0: HDA Driver Revision: 20090624_0136
hdac0: [ITHREAD]
hdac0: HDA Codec #1: Realtek ALC883
pcm0: <HDA Realtek ALC883 PCM #0 Analog> at cad 1 nid 1 on hdac0
pcm1: <HDA Realtek ALC883 PCM #1 Analog> at cad 1 nid 1 on hdac0
pcm2: <HDA Realtek ALC883 PCM #2 Digital> at cad 1 nid 1 on hdac0
now, "dmesg | grep -i hda" lists nothing
So if I rebuild the kernel with sound, I should set
hw.snd.default_unit=4, is that correct? Couldn't I use '3' also?
--
Carmel
carmel_ny@xxxxxxxxxxx
|::::=======
|::::=======
|===========
|===========
|
This is supposed to be a happy occasion.
Let's not BICKER and ARGUE over who killed who!
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- References:
- Lost audio after new Video card installation
- From: Carmel
- Re: Lost audio after new Video card installation
- From: Andreas Rudisch
- Re: Lost audio after new Video card installation
- From: Carmel
- Re: Lost audio after new Video card installation
- From: Andreas Rudisch
- Lost audio after new Video card installation
- Prev by Date: reverse scsi emulation possible (camatapi)?
- Next by Date: Re: Lost audio after new Video card installation
- Previous by thread: Re: Lost audio after new Video card installation
- Next by thread: Re: Lost audio after new Video card installation
- Index(es):
Relevant Pages
|