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'm trying to have sound output to usb, but it does not consistently work with many programs (namely, audio from flash in firefox and exaile). If I play music from xmms, however, there is no problem.
I'm using xfce4 on slackware 13, 2.6.29.6-smp (full install)
I had audio from flash one time, but after rebooting, it disappeared. I cannot get exaile to make a peep. I set "audio sink" to alsa, rebooted, tried again. nothing.
Any suggestions?
Thanks in advance for your help.
Is there no "complete" mixer like in gnome where you can select the output device and view the applications using it? I've been trying aumix, alsamixer, and xfce4-mixer; none have those options..
If that is the case then it sounds like alsa is loading your onboard chipset first, if so you need to change the default soundcard to your usb. Edit your /etc/modprobe.d/sound. see this thread
I solved a similar problem by hacking asound.conf.
Add the line below to /etc/asound.conf, change the "1" to whatever the USB-audio got. List the available devices with aplay -l.
defaults.pcm.device 1 # device 1: ALC883 Digital [ALC883 Digital]
Below is an example to help you understand where the "1" comes from..
Daedra provided a link to a thread where it was solved by modifying /etc/modprobe.d/sound. I made the following changes:
Code:
bash-3.1$ cat /etc/modprobe.d/sound
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
options snd-intel8x0 index=0
alias snd-card-1 snd-usb-audio
alias snd-slot-1 ans-usb-audio
options snd-usb-audio index=1
I rebooted afterwards, but when I look at aplay -l, both the onboard chipset and the usb audio are still "device 0". Naturally, there is no device 1 and I get an error that says, falling back to onboard sound device.
Is there another way to change the device number? Or to force those options in /etc/modprobe.d/sound to be read? (Daedra, I also saw your other method posted from that thread, but a few folks chimed in warning against it for flash 9+ audio.)
Thanks again!
(EDIT: I just tried qjackctl. I'll have to look at that one more and see how it actually works.. I just get lots of errors at present)
yes, ignore my way. the /etc/modprobe.d/sound is the correct way. did you try setting your usb sound card as 0, like this...
alias snd-card-0 snd-usb-audio
alias snd-slot-0 ans-usb-audio
options snd-usb-audio index=0
alias snd-card-1 snd-intel8x0
alias sound-slot-1 snd-intel8x0
options snd-intel8x0 index=1
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.