Lately I bought a Creative Labs SB1095, a 5.1 USB DAC for my laptop. This USB sound card works perfectly on Linux. The sound quality is better than the integrated, but it has a volume knob on it and a remote controller, which does not support out of the box by Linux distributions which I have tried(Ubuntu, Linux Mint, OpenSuse, Arch Linux). After digging up the internet a little bit I perceived that it is required to configure a software volume controller to handle the volume knob. However, I did not want to go for that kind of advanced configurations, and finally found an easy workaround for this purpose. Would like to take down the steps, so it might help others which have the same issue.
To achieve this I used lirc (an application which interprets IR actions) to detect volume knob and remote actions and wrapped it with irexec (trigger actions for lirc inputs) to change system sound volume.
I am currently using Linux Mint 18.1, so this solution will work perfectly with Ubuntu 16.04 derivatives.
For other Linux distributions please follow this guide.
First I installed these packages, selected Creative USB IR Receiver (SB0540) for remote controller configuration(not the SB1095, but it has the same configurations) and selected none for IR transmitter in appearing configuration menus when installing.
Then I changed the
REMOTE_DRIVER in lirc hardware configuration file
/etc/lirc/hardware.conf, left other settings unchanged.
Then I restarted lirc daemon and loaded irexec daemon.
Now I have the volume knob working just fine.
If the volume is not changing check whether lirc detects inputs by the USB device using the command
If the output is something like the above, try changing config values(commands to change sound volume) in the
~/.lircrc after that try restarting lirc daemon and loading
Setting Up Creative Labs USB DAC Volume Knob On Linux by Lahiru Pathirage is licensed under a Creative Commons Attribution 4.0 International License.