Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2015 19:49:00 -0400
From:      Jerry <jerry@seibercom.net>
To:        FreeBSD FreeBSD <freebsd-questions@freebsd.org>
Subject:   Re: No Sound with Realtek ALC269
Message-ID:  <20150619194900.071293a4@seibercom.net>
In-Reply-To: <20150619224827.GB6377@Mugin.fritz.box>
References:  <20150619224827.GB6377@Mugin.fritz.box>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/EtLa0t5L3j=AixME02bpoLc
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sat, 20 Jun 2015 00:48:27 +0200, Denis D via freebsd-questions stated:

> Hello,=20
>=20
> somehow i couldn't get my Realtek ALC269 to work.
>=20
> 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.
> .
>=20
> So now to my system information:
>=20
> ~ uname -a
> FreeBSD Notebook 10.1-RELEASE-p10 FreeBSD 10.1-RELEASE-p10 #6 r283366: Mon
> May 25 17:14:37 CEST 2015
>=20
> ~ cat /dev/sndstat :
>=20
> 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)
>=20
>=20
> ~ sysctl hw.snd.default_unit =20
>=20
> hw.snd.default_unit: 1
>=20
>=20
>=20
> I have tried to play the sound with:
>=20
>  cdcontrol play 4
>  mplayer *.wav
>  mpg123  test.mp3
>=20
>  But nothing worked.
>  Only mpg123 give me the following error :
>=20
>  [audio.c:614] error: Error in writing audio (Invalid argument?)!
>=20
>  [mpg123.c:681] error: Deep trouble! Cannot flush to my output anymore!
>=20
>=20
>  My pindump:
>=20
>  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                =20
>  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            =20
>  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            =20
>  hdaa1: NumGPIO=3D2 NumGPO=3D0 NumGPI=3D0 GPIWake=3D0 GPIUnsol=3D1
>  hdaa1:  GPIO0: disabled
>  hdaa1:  GPIO1: disabled
>=20
> Following i have tested in /etc/sysctl.conf
>=20
>  hint.hdacc.1.cad0.nid21.config=3D"as=3D1 seq=3D15 device=3DHeadphones"
>  hint.hdacc.1.cad0.nid20.config=3D"as=3D1 seq=3D0 device=3DSpeaker"
> _________
> and
>=20
>=20
>  hint.hdac.1.cad0.nid21.config=3D"as=3D1 seq=3D15 device=3DHeadphones"
>  hint.hdac.1.cad0.nid20.config=3D"as=3D1 seq=3D0 device=3DSpeaker"
> _________
> and
>=20
>  hint.hdaa.1.cad0.nid20.config=3D"as=3D1 seq=3D0 device=3DSpeaker
>  hint.hdaa.1.cad0.nid21.config=3D"as=3D1 seq=3D15 device=3DHeadphones
>=20
>  i know, some of them were wrong, but i was near desperation ;)
>=20
> Hope someone could help me.

See if this makes any difference.

/etc/sysctl.conf

	hw.snd.default_unit=3D4
	hw.snd.maxautovchans=3D4
	dev.pcm.0.play.vchans=3D4

--=20
Jerry

--Sig_/EtLa0t5L3j=AixME02bpoLc
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJVhKpsAAoJEElTsHIJnX8ewSoH/2Otn8Oj1AsLqUGhX43GXGg4
aw2mM+gTIshfBs6R1BW5Iakzy02i/E5A6ATadpW93USmSulpO40436IejGdZMCn/
7XcCR/l/43E11fIiL3YjS7bQPnYdVMpg4mAxEIQRu+KeONLFQ7gDIhIzo+7YTkTM
jQy1FfQeEOtxYzaVuvwkP6e0ZfXjNU+oIJJ7wXRiTmuQLxvSKXSv0vZ3RGp1mokb
SX1o/8iVPJVFBO1LbB8FeLgwknBSDeZCc9fgmOPqZdbye1ph2TwnMvybRTe6R9Lf
jtEiZp1HYJs7Ve5MPHmsB/9hPlLAqS+Uwx1hlPlUQ+r3HcEhijSZXbmzE1KNbos=
=dwt0
-----END PGP SIGNATURE-----

--Sig_/EtLa0t5L3j=AixME02bpoLc--



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