music goes to usb-audio, youtube sound goes to laptop speaker (hda-intel)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
music goes to usb-audio, youtube sound goes to laptop speaker (hda-intel)
Hi,
when I play music in Rhythmbox, the sound comes out of my main speakers via a usb sound card (snd-usb-audio), but sound from the browser comes out of the laptop speakers (snd-hda-intel).
I have tried editing the sound cards' indexes in /etc/modprobe.d/alsa-base, but this didn't have any effect.
Is there a way I can completely disable a certain device or driver, or just make usb-audio the default, in order to force all sound to come out of the main speakers?
-r --remove
This option causes modprobe to remove, rather than insert a module. If the modules it depends on are also unused, modprobe will try to remove them, too. Unlike insertion, more than one module can be specified on the command line (it does not make sense to specify module parameters when removing modules).
There is usually no reason to remove modules, but some buggy modules require it. Your kernel may not support removal of modules.
-v --verbose
Print messages about what the program is doing. Usually modprobe only prints messages if something goes wrong.
This option is passed through install or remove commands to other modprobe commands in the MODPROBE_OPTIONS environment variable.
-i --ignore-install --ignore-remove
This option causes modprobe to ignore install and remove commands in the configuration file (if any), for the module on the command line (any dependent modules are still subject to commands set for them in the configuration file). See modprobe.conf(5).
-n --dry-run
This option does everything but actually insert or delete the modules (or run the install or remove commands). Combined with -v, it is useful for debugging problems.
Another way is to use index=-2 in the file where you set the index before.
Hey, I'm running some fairly recent Debian distro, and just used this to fix my cheapo '3D Sound' usb sound card. Flash now plays sound through my usb, which is great.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.