Date: Sat, 03 Oct 2020 01:10:58 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 250009] graphics/drm-fbsd12.0-kmod: sound unusable on DisplayPort after DPMS or screen OFF/ON. Message-ID: <bug-250009-7141-j5CEJLbpNu@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-250009-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-250009-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250009 --- Comment #4 from Jean-Claude MICHOT <jc@michot.fr> --- With lsof i found why 'devctl disable hdacc2' return 'device busy'. /dev/mixer5 was always open by few process (pulse audio, kmix, kde...) After killing the process, 'devctl disable hdacc2' was usable. But i also need a sysctl -w dev.hdaa.2.reconfig=3D1 and re-setup the config. The following script is ok for me: #!/bin/sh devctl disable hdacc2 devctl enable hdacc2 sysctl -w dev.hdaa.2.reconfig=3D1 sysctl -w hw.snd.default_unit=3D5 mixer vol 80 mixer pcm 80 # test with noise on speaker dd if=3D/dev/random of=3D/dev/dsp bs=3D1k count=3D1 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250009-7141-j5CEJLbpNu>