KMix and more than one sound device

Matthias Apitz guru at unixarea.de
Mon Jun 19 11:02:58 UTC 2017


Hello,

I have configured in KDE 4.14.x for sound control:

System Settings --> Shortcuts and Gestures --> Global Keyboard Shortcuts --> KMix

Alt + f8   --> Mute
Alt + f9   --> Decrease Volume
Alt + f10  --> Increase Volume

This works fine with the default (internal) sound device. But when I
plug-in an USB audio headset, the default device is switched correctly
to the USB audio which works fine to and the 'mixer' command line works to:

$ cat /dev/sndstat 
Installed devices:
pcm0: <Intel Haswell (HDMI/DP 8ch)> (play)
pcm1: <Realtek (0x0283) (Analog 2.0+HP/4ch)> (play/rec)
pcm2: <USB audio> (play/rec) default

# tail /etc/sysctl.conf
...
#
# last attached snd device gets 'default'
# see man sound(4)
hw.snd.default_auto=2

# mixer
Mixer vol      is currently set to  75:75
Mixer pcm      is currently set to  75:75
Mixer mic      is currently set to   0:0


What is not working, is controlling the mixer with the Alt+F.. keys. It
seems that KMix does not see the switch to the new device.

	matthias

-- 
Matthias Apitz, ✉ guru at unixarea.de, ⌂ http://www.unixarea.de/  ☎ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
8. Mai 1945: Wer nicht feiert hat den Krieg verloren.
8 de mayo de 1945: Quien no festeja perdió la Guerra.
May 8, 1945: Who does not celebrate lost the War.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-freebsd/attachments/20170619/84e846c9/attachment.sig>


More information about the kde-freebsd mailing list