[Bug 250009] graphics/drm-fbsd12.0-kmod: sound unusable on DisplayPort after DPMS or screen OFF/ON.

[email protected]
Newsgroups gmane.os.freebsd.devel.x11
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250009

--- Comment #4 from Jean-Claude MICHOT <[email protected]> ---
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.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.