SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I recently bought a usb headset. The system detects the device and I can select it from programs like vlc. Other programs like flash-player and system sounds, other programs that don't have a selection option cannot play sound to the device. Is there a way to have the sound go to both current default source and my headset?
* What distribution of Linux?
* What is the name/specs of your headset?
* Post the results of the 'lsusb -v' command.
* Post the results of the 'aplay --list-devices' command.
Without this information no one has any idea what to tell you to do to help.
Problems like this have overly complicated solutions in Slackware. People here may throw rocks at me, but I'd suggest installing PulseAudio with pavucontrol, it really helps laymen to deal with multiple sound cards, especially detachable USB ones. I know it helped me with my USB microphone, something I didn't expect when decided to play with PA.
What else I can think of is setting your headset as the default playback device using asoundrc. The problem here is that your headset probably isn't always attached to your PC, so the sound may be broken when it isn't. Some udev rule that would call a script which replaces /etc/asound.conf with the correct version would help with that.
Well, considering this is the Slackware forum and he has Slackware listed as his distribution, I'm thinking it's a strong possibility that OP's running Slackware
Back to the topic... I am not sure how to get both to run simultaneously, but I do know you will need to make sure both have a consistent device number assigning by alsa. You can find more about this in the link franzen posted. This will make sure that the device IDs with alsa stay the same whether or not you have the USB headset plugged in when booting.
Are you looking to actually have audio outputted to both the headset and the laptop at the same time or just change from the laptop speakers to the headset when the headset is plugged in?
Hey, thanks for all the great replies to my question. To clarify, I am running Slackware64-current from a March 2015 time frame. I am going through the links genss linked. They seem to be exactly what I was looking for. I will post again once I have tried to implement the .asoundrc file with my devices in it.
Well, considering this is the Slackware forum and he has Slackware listed as his distribution, I'm thinking it's a strong possibility that OP's running Slackware
Ah my bad, I was logged in from the LQ android app and the app doesn't display the forum sub section a post is in. Actually, it doesn't display much except the post title, author and replies. Haha.
I've never used a USB headset, but I assume it's seen as a USB sound card. In that case, don't use an asoundrc. Use the slots module parameter. The official documentation is here:
Thank you all for your responses in an effort to resolve my sound configuration. I followed genss suggestion using plugins to send audio to both sound outputs at the same time. Although, I could not get his linked config to work. I did, however, find a similar article online that I was able to modify.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.