no sound with certain applications -- usb audio
Hello,
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) Code:
/sbin/lspci -vv | grep audio 1) reinstalling: alsa-lib, alsa-utils, alsa-oss 2) verifying the usb_audio modules are loaded: Code:
bash-3.1$ lsmod | grep usb_audio 4) I've made sure my user is in the 'audio' group. 5) Added usb-audio info to /etc/modprobe.conf from here: http://alsa.opensrc.org/index.php/Us...b-audio_driver 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.. |
Do you have two soundcards running in your system?
|
No, just one sound card. I have an external usb-DAC that connects to a stereo receiver.
|
I know that in kmix you can a configure channels, just move all available channels into the visible channels and that will enable all features.
|
Hmm
Code:
bash-3.1# kmix & Perhaps someone's resolved this without ditching xfce4 though? |
Quote:
|
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
http://www.linuxquestions.org/questi...device-713793/ |
Hi, a qt mixer interface for jack(it).
qjackctl A software patchbay device. Regards Glenn ps, I have similar problems, make sure the motherboard beep (pc speaker) is disabled, use /etc/modprobe.d/blacklist(.txt) GW |
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.. Code:
root@localhost:# aplay -l http://linuxconfig.dyndns.org/lazy/L...28Slackware%29 /Magnus |
Thanks everyone for all the helpful information.
I think I'm almost there. I added the line to /etc/asound.conf (it looks like this now): Code:
bash-3.1$ cat /etc/asound.conf Code:
bash-3.1$ aplay -l Code:
bash-3.1$ cat /etc/modprobe.d/sound 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 |
Try something like this to set the second card and device 0 as default:
defaults.pcm.card 1 defaults.ctl.card 1 defaults.pcm.device 0 http://forums.debian.net/viewtopic.php?t=22325 |
Daedra and Uppman, Thanks so much! Tack så mycket!
That did the trick. Both devices are still listed as 'device 0' under aplay -l, but distinguishing them by card number seems to solve the problem. |
All times are GMT -5. The time now is 06:40 PM. |