no sound with ALC888
O. Hartmann
ohartman at mail.zedat.fu-berlin.de
Sat Oct 16 13:02:24 UTC 2010
On 10/15/10 18:52, Bernt Hansson wrote:
> 2010-10-14 21:28, O. Hartmann skrev:
>> Running most recent FreeBSD 8.1-STABLE on a P45/ICH10 based ASUS
>> motherboard. There is no sound.
>> dmesg output reports two HDA devices, one located on a Radeon HD4830
>> graphics board and one located on the ICH10 chipset.
>>
>> Setting hw.snd.default_unit=1 in /etc/sysctl.conf or manually does not
>> solve the problem. 'cat /dev/sndstat' reports this:
>>
>> FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64)
>> Installed devices:
>> pcm0:<HDA ATI R6xx HDMI PCM #0 HDMI> (play)
>> pcm1:<HDA Analog Devices AD1988B PCM #0 Analog> (play/rec) default
>> pcm2:<HDA Analog Devices AD1988B PCM #1 Analog> (play)
>> pcm3:<HDA Analog Devices AD1988B PCM #2 Digital> (play)
>>
>> (dmesg output:
>> hdac0:<ATI RV770 High Definition Audio Controller> mem
>> 0xfe7fc000-0xfe7fffff irq 17 at device 0.1 on pci1
>> hdac0: HDA Driver Revision: 20100226_0142
>> hdac0: [ITHREAD]
>> hdac1:<Intel 82801JI High Definition Audio Controller> mem
>> 0xfe6f8000-0xfe6fbfff irq 22 at device 27.0 on pci0
>> hdac1: HDA Driver Revision: 20100226_0142
>> hdac1: [ITHREAD]
>> hdac0: HDA Codec #0: ATI R6xx HDMI
>> pcm0:<HDA ATI R6xx HDMI PCM #0 HDMI> at cad 0 nid 1 on hdac0
>> hdac1: HDA Codec #0: Realtek ALC888
>> pcm1:<HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac1
>> pcm2:<HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac1
>> pcm3:<HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac1
>> pcm4:<HDA Realtek ALC888 PCM #3 Digital> at cad 0 nid 1 on hdac1)
>
> This is what I have
>
> hdac0: <ATI SB600 High Definition Audio Controller> mem
> 0xfe024000-0xfe027fff irq 16 at device 20.2 on pci0
> hdac0: HDA Driver Revision: 20100226_0142
> hdac0: [ITHREAD]
> hdac0: HDA Codec #0: Realtek ALC888
> hdac1: <ATI (Unknown) High Definition Audio Controller> mem
> 0xfdffc000-0xfdffffff irq 19 at device 0.1 on pci1
> hdac1: HDA Driver Revision: 20100226_0142
> hdac1: [ITHREAD]
> hdac1: HDA Codec #0: ATI R6xx HDMI
> pcm0: <HDA Realtek ALC888 PCM #0 Analog> at cad 0 nid 1 on hdac0
> pcm1: <HDA Realtek ALC888 PCM #1 Analog> at cad 0 nid 1 on hdac0
> pcm2: <HDA Realtek ALC888 PCM #2 Digital> at cad 0 nid 1 on hdac0
> pcm3: <HDA ATI R6xx HDMI PCM #0 HDMI> at cad 0 nid 1 on hdac1
>
> Try putting this in rc.local: kldload snd_hda
> If you put it in boot/loader.conf sound won't work, at least not for me.
>
>> I tried windows 7 on the box, no problem, sound is all right. VLC on
>> freebsd doesn't do any sound output. When using a legacy PCI sound card
>> (M-Audio Revolution 5.1), sound is present.
>>
>> I do not have any idea what the muting of the device could trigger. Any
>> suggestions?
>
> What is the output of the command "mixer"
>
>> Please email, too, since I'm not subscribing 'questions'. Thanks.
>>
>> Oliver
Setting 'hw.snd.default_unit=2' didn't do anything.
The driver(s) 'sound' and 'snd_hda' are compiled into the kernel.
The output of 'mixer' looked good for the device in question, all
HDMI/ATi R600/R700 related devices had two lines of devices while device
number '1' had several, like this:
Mixer vol is currently set to 100:100
Mixer pcm is currently set to 75:75
Mixer speaker is currently set to 75:75
Mixer line is currently set to 75:75
Mixer mic is currently set to 0:0
Mixer mix is currently set to 0:0
Mixer rec is currently set to 75:75
Mixer igain is currently set to 0:0
Recording source: mic
Well, one problem vanished: after rebooting the box and prior to this
extracting the PCI sound card, using sound on the rear plugs is a
sexpected, but there is no sound on the front plugs (while Windows 7
shows on both sources sound).
Oliver
More information about the freebsd-questions
mailing list