Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jun 2015 00:48:27 +0200
From:      Denis D <stdedjub@googlemail.com>
To:        freebsd-questions@freebsd.org, mav@FreeBSD.org
Subject:   No Sound with Realtek ALC269
Message-ID:  <20150619224827.GB6377@Mugin.fritz.box>

next in thread | raw e-mail | index | archive | help
Hello, 

somehow i couldn't get my Realtek ALC269 to work.

2 Years ago someone had the same problem with the same soundcard.
Here is the link
https://lists.freebsd.org/pipermail/freebsd-questions/2012-October/245919.html.
.

So now to my system information:

~ uname -a
FreeBSD Notebook 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #6 r283366: Mon May 25
17:14:37 CEST 2015

~ cat /dev/sndstat :

FreeBSD Audio Driver (64bit 2009061500/amd64)
Installed devices:
pcm0: <ATI R6xx (HDMI)> on hdaa0  (1p:1v/0r:0v) default
pcm1: <Realtek ALC269 (Analog 2.0+HP/2.0)> on hdaa1  (1p:1v/1r:1v)
pcm2: <Realtek ALC269 (Internal Analog Mic)> on hdaa1  (0p:0v/1r:1v)


~ sysctl hw.snd.default_unit  

hw.snd.default_unit: 1



I have tried to play the sound with:

 cdcontrol play 4
 mplayer *.wav
 mpg123  test.mp3

 But nothing worked.
 Only mpg123 give me the following error :

 [audio.c:614] error: Error in writing audio (Invalid argument?)!

 [mpg123.c:681] error: Deep trouble! Cannot flush to my output anymore!


 My pindump:

 hdaa1: Dumping AFG pins:
 hdaa1: nid   0x    as seq device       conn  jack    loc        color   misc
 hdaa1: 18 90a60940 4  0  Mic           Fixed Digital Internal   Unknown 9
 hdaa1:     Caps: IN                 
 hdaa1: 20 90170110 1  0  Speaker       Fixed Analog  Internal   Unknown 1
 hdaa1:     Caps:    OUT    EAPD      Sense: 0x00000000 (disconnected)
 hdaa1: 21 0421101f 1  15 Headphones    Jack  1/8     Right      Black   0
 hdaa1:     Caps:    OUT HP EAPD      Sense: 0x00000000 (disconnected)
 hdaa1: 23 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
 hdaa1:     Caps:    OUT             
 hdaa1: 24 04a11830 3  0  Mic           Jack  1/8     Right      Black   8
 hdaa1:     Caps: IN OUT         VREF Sense: 0x00000000 (disconnected)
 hdaa1: 25 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
 hdaa1:     Caps: IN OUT         VREF Sense: 0x00000000 (disconnected)
 hdaa1: 26 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
 hdaa1:     Caps: IN OUT HP      VREF Sense: 0x00000000 (disconnected)
 hdaa1: 27 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
 hdaa1:     Caps: IN OUT         VREF Sense: 0x00000000 (disconnected)
 hdaa1: 30 411111f0 15 0  Speaker       None  1/8     Rear       Black   1 DISA
 hdaa1:     Caps:    OUT             
 hdaa1: NumGPIO=2 NumGPO=0 NumGPI=0 GPIWake=0 GPIUnsol=1
 hdaa1:  GPIO0: disabled
 hdaa1:  GPIO1: disabled

Following i have tested in /etc/sysctl.conf

 hint.hdacc.1.cad0.nid21.config="as=1 seq=15 device=Headphones"
 hint.hdacc.1.cad0.nid20.config="as=1 seq=0 device=Speaker"
_________
and


 hint.hdac.1.cad0.nid21.config="as=1 seq=15 device=Headphones"
 hint.hdac.1.cad0.nid20.config="as=1 seq=0 device=Speaker"
_________
and

 hint.hdaa.1.cad0.nid20.config="as=1 seq=0 device=Speaker
 hint.hdaa.1.cad0.nid21.config="as=1 seq=15 device=Headphones

 i know, some of them were wrong, but i was near desperation ;)

Hope someone could help me.



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