[Bug 250009] graphics/drm-fbsd12.0-kmod: sound unusable on DisplayPort after DPMS or screen OFF/ON.
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Oct 3 01:10:59 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250009
--- Comment #4 from Jean-Claude MICHOT <jc at 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=1
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=1
sysctl -w hw.snd.default_unit=5
mixer vol 80
mixer pcm 80
# test with noise on speaker
dd if=/dev/random of=/dev/dsp bs=1k count=1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-x11
mailing list