Dad Posted July 1, 2008 Share Posted July 1, 2008 (edited) Howdy, I'm trying to force my laptop audio from speakers to USB headphones. I did this before with Debian. I just added my sound driver to the blacklist file and thats all. I'm now trying the same thing and its not working. I'm using /etc/modprobe.d/blacklist-compat which I'm not sure thats the blacklist file or not. cat /proc/asound/cards 0 [VT82xx ]: HDA-Intel - HDA VIA VT82xx HDA VIA VT82xx at 0xc9100000 irq 22 1 [Headset ]: USB-Audio - Logitech USB Headset Logitech Logitech USB Headset at usb-0000:00:10.1-2, full speed How do I blacklist the driver? DOH! I some how managed to post this in the wrong place! Edited July 1, 2008 by Dad Link to comment Share on other sites More sharing options...
neddie Posted July 1, 2008 Share Posted July 1, 2008 Have you tried /etc/modprobe.conf ? Link to comment Share on other sites More sharing options...
arctic Posted July 1, 2008 Share Posted July 1, 2008 You are allowed to blacklist automatic module loading by using the following syntax in /etc/modprobe.conf : blacklist <module name> Link to comment Share on other sites More sharing options...
adamw Posted July 1, 2008 Share Posted July 1, 2008 However, placing the line in any file in /etc/modprobe.d should also work, as all files in /etc/modprobe.d are sourced by modprobe.conf. In fact it's 'more correct' to create a new file in /etc/modprobe.d than the edit modprobe.conf , these days. It suggests to me that maybe the line *is* being read but the module is loaded anyway - not sure why that might be. An alternative approach to the problem is to use index lines: options snd-usb-audio index=0 options snd-hda-intel index=1 that should make the USB device into device 0, the default device, rather than your onboard sound being the default device. Link to comment Share on other sites More sharing options...
Dad Posted July 2, 2008 Author Share Posted July 2, 2008 So far I have edited /etc/modprobe.d/blacklist-compat and /etc/modprobe.conf and neither has worked. So I'm either in the wrong place or typing the wrong driver info. So where exactly do I put "options snd-usb-audio index=0" and "options snd-hda-intel index=1" Thanks everyone! Link to comment Share on other sites More sharing options...
arctic Posted July 2, 2008 Share Posted July 2, 2008 However, placing the line in any file in /etc/modprobe.d should also work, as all files in /etc/modprobe.d are sourced by modprobe.conf. In fact it's 'more correct' to create a new file in /etc/modprobe.d than the edit modprobe.conf , these days.Good to know. :) Link to comment Share on other sites More sharing options...
Greg2 Posted July 2, 2008 Share Posted July 2, 2008 So where exactly do I put "options snd-usb-audio index=0" and "options snd-hda-intel index=1" You would add those lines to /etc/modprobe.conf Then you would have to reboot to see if it works. Link to comment Share on other sites More sharing options...
jkerr82508 Posted July 2, 2008 Share Posted July 2, 2008 So far I have edited /etc/modprobe.d/blacklist-compat and /etc/modprobe.conf and neither has worked. So I'm either in the wrong place or typing the wrong driver info. So where exactly do I put "options snd-usb-audio index=0" and "options snd-hda-intel index=1" Thanks everyone! lspcidrake -v | grep snd should display the sound modules that are loaded. Jim Link to comment Share on other sites More sharing options...
Dad Posted July 2, 2008 Author Share Posted July 2, 2008 Greg2 that worked! Thanks! and thanks to adamw for the first half!!! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now