1. pactl error in crontab script
**** XDG_RUNTIME_DIR=/run/user/$(id -u) /path/to/script
pactl 是用來 heartBeat bluetooth speaker 的, 因為15min不用會入睡, 既不想站起來按一下, 也不想設為永遠不入睡, 只好寫了個 heartBeat scrip, 每10min就 pactl set 一下
...原以為因為是這樣才不入睡的, 結果過去幾天都fail還是沒入睡?
2. headphone volume control fail
in /etc/pulse/default.pa
load-module module-udev-detect ignore_dB=1 -> for MM-1 volume control problem
but this option make headphone volume control fail
2023/07/24 update, alsamix -> headphone volume increase to normal
load-module module-alsa-sink control=PCM
3. microphone
/etc/pulse/default.pa set-source-volume 1 300000
/etc/pulse/daemon.conf avoid-resampling = yes
4. restart pulseaudio
pulseaudio -k pulseaudio --start
沒有留言:
張貼留言