Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 02-10-2011, 12:06 PM   #1
Registered: Dec 2010
Distribution: Arch
Posts: 54

Rep: Reputation: 2
USB Speaker Volume Control

I got my Logitech v20 USB speakers working by simply running cat /proc/asound/cards to find the position the usb speaker card (which happened to be 1). I then edited my alsa configuration file and changed the 0 --> 1 for the following two lines

# defaults
defaults.ctl.card 1
defaults.pcm.card 1
After restarting the sound system, the usb speakers now work!

After having plugged in, however, my volume buttons on laptop keyboard are not able to adjust speaker volume (neither do the ones located on the speakers themselves); I have to resort to using alsamixer to change the volume. When I unplugged the speakers, it reverted back to the internal sound, but now the volume buttons on laptop don't work for the regular sound either (they reset after I rebooted). Does anyone know how I could make the laptop keys work for the USB speakers as well as the regular sound when the speakers are unplugged. Here is my xbindkeys configuration (which works fine without speakers in)

# Increase volume
"amixer set Master playback 1+"
    m:0x0 + c:123

# Decrease volume
"amixer set Master playback 1-"
    m:0x0 + c:122

# Toggle mute
"amixer set Master toggle"
    m:0x0 + c:156
It may be that the volume commands need to include PCM, but I would like them to work for both regular speakers and USB. I find it a bit strange, also, that they stop working when I unplug usb. Thanks for any help!

Last edited by Ipozya; 02-10-2011 at 12:27 PM.
Old 02-10-2011, 11:11 PM   #2
Registered: Dec 2010
Distribution: Arch
Posts: 54

Original Poster
Rep: Reputation: 2
I found the following on another thread on another forum.

"amixer -c1 sset PCM 3-"

"amixer -c1 sset PCM 3+"

"amixer -c1 sset PCM toggle"
These seem logical for the xbindkeys but I don't think that the regular sound control (w/o speakers in) will work if I alter it. Does anyone using USB speakers have any input?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Speaker/Volume Control Icon EarlInLevelland Linux - Newbie 8 08-15-2010 09:42 AM
Logitech USB Headset volume control messed up. Archoniam Linux - Hardware 9 07-26-2008 03:56 AM
Volume control speaker USB mjnman Linux - Hardware 0 07-12-2007 09:45 AM
USB speaker volume control? Brian Knoblauch Solaris / OpenSolaris 4 02-16-2006 07:40 AM
rear speaker volume control bennyp Linux - Software 1 05-11-2003 01:33 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration