Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Nov 2011 13:26:43 +0200
From:      Alexander Motin <mav@FreeBSD.org>
To:        rmgls@free.fr
Cc:        current <current@freebsd.org>
Subject:   Re: no sound on alc-889
Message-ID:  <4EBE57F3.4090102@FreeBSD.org>
In-Reply-To: <mailpost.1321044639.1871299.27634.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw>
References:  <mailpost.1321044639.1871299.27634.mailing.freebsd.current@FreeBSD.cs.nctu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11.11.2011 22:48, rmgls@free.fr wrote:
> i try to unmute a box with a mcp79 ane alc-889.
> 
> the sound is working on another os, and playback
> and recording are treated separately by os x, (10.7).
> 
> i tried different combinations according to the snd_hda man page,
> but i cannot find a good one.
> 
> Pleease, have you some hints?
> 
> here is the config and pindump:
> 
> hdac0: <NVidia MCP79 High Definition Audio Controller> mem 0xd3480000-0xd3483fff irq 22 at device 8.0 on pci0
> 
> pci3: <network> at device 0.0 (no driver attached)
> hdac0: HDA Codec #0: Realtek ALC885
> pcm0: <HDA Realtek ALC885 PCM #0 Analog> at cad 0 nid 1 on hdac0
> pcm1: <HDA Realtek ALC885 PCM #1 Digital> at cad 0 nid 1 on hdac0
> pcm2: <HDA Realtek ALC885 PCM #2 Analog> at cad 0 nid 1 on hdac0
>       pins dump
> hdac0: Dumping AFG cad=0 nid=1 pins:
> hdac0:  nid 20 0x012b4040 as  4 seq  0    Headphones  Jack jack 11 loc  1 color   Green misc 0
> hdac0:        Caps: IN OUT HP      VREF Sense: 0x00000000
> hdac0:  nid 21 0x018b3010 as  1 seq  0       Line-in  Jack jack 11 loc  1 color    Blue misc 0
> hdac0:        Caps: IN OUT HP      VREF Sense: 0x00000000
> hdac0:  nid 22 0x400000f0 as 15 seq  0      Line-out  None jack  0 loc  0 color Unknown misc 0 [DISABLED]
> hdac0:        Caps: IN OUT HP           Sense: 0x00000000
> hdac0:  nid 23 0x400000f0 as 15 seq  0      Line-out  None jack  0 loc  0 color Unknown misc 0 [DISABLED]
> hdac0:        Caps: IN OUT HP           Sense: 0x00000000
> hdac0:  nid 24 0x90100130 as  3 seq  0       Speaker Fixed jack  0 loc 16 color Unknown misc 1
> hdac0:        Caps: IN OUT HP      VREF Sense: 0x00000000
> hdac0:  nid 25 0x400000f0 as 15 seq  0      Line-out  None jack  0 loc  0 color Unknown misc 0 [DISABLED]
> hdac0:        Caps: IN OUT HP      VREF Sense: 0x00000000
> hdac0:  nid 26 0x400000f0 as 15 seq  0      Line-out  None jack  0 loc  0 color Unknown misc 0 [DISABLED]
> hdac0:        Caps: IN OUT HP      VREF Sense: 0x00000000
> hdac0:  nid 27 0x400000f0 as 15 seq  0      Line-out  None jack  0 loc  0 color Unknown misc 0 [DISABLED]
> hdac0:        Caps: IN OUT HP      VREF Sense: 0x00000000
> hdac0:  nid 28 0x400000f0 as 15 seq  0      Line-out  None jack  0 loc  0 color Unknown misc 0 [DISABLED]
> hdac0:        Caps: IN                 
> hdac0:  nid 30 0x014be050 as  5 seq  0     SPDIF-out  Jack jack 11 loc  1 color   White misc 0
> hdac0:        Caps:    OUT             
> hdac0:  nid 31 0x01cbe020 as  2 seq  0      SPDIF-in  Jack jack 11 loc  1 color   White misc 0
> hdac0:        Caps: IN                 
> hdac0: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
> hdac0: GPIO: data=0x00000000 enable=0x00000000 direction=0x00000000
> hdac0:       wake=0x00000000  unsol=0x00000000    sticky=0x00000000
> 
> Thanks, in advance for your help.

Could you describe what exactly doesn't work? Do you have sound from
speaker or headphones output? In your case headphones are on separate
device pcm2/dsp2, but it can be reconfigured for automatic playback
redirection with such hint:
hint.hdac.0.cad0.nid20.config="as=3 seq=15"

-- 
Alexander Motin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EBE57F3.4090102>