Switch audio output to another USB device
Operating System | Debian 7 |
Introduction
I’ve recently bought an Enermax keyboard (Caesar) and have input and output audio directly on the keyboard! That’s great and better when it works. Unfortunately, as I have a minimal OS, it doesn’t work out of the box. So here is how I could achieve it.
I will present 2 ways to make it work and I personally use the manual way.
Manual way
First of all, you need to see if you could find your USB Audio device (normally there is no reason why you shouldn’t see it):
|
|
Then check this module is loaded:
|
|
If it’s not the case, add it to your module list and load it:
|
|
Now find the corresponding card ID (you could also have it in AlsaMixer):
|
|
My card number is 1! Nice, now let’s add to our personal configuration (replace 1 at the end of the lines by your card number):
|
|
Now reboot to make it work!
Automatic way
For the automatic rules, we’re going to play with udev. Simply create a rule for it:
|
|
Udev will do the work to make it automatically work :-)
References
https://archlinux.me/w0ng/2012/07/06/alsa-switch-audio-usb-headset/
Last updated 23 May 2013, 15:00 CEST.