volume buttons in ubuntu 7.10

Solaris, RedHat, FreeBSD and the like
Post Reply
Message
Author
Paul Unger
Senior Member
Senior Member
Posts: 551
Joined: Mon Jun 14, 2004 8:18 am
Location: Solomon Islands / Canada

volume buttons in ubuntu 7.10

#1 Post by Paul Unger » Mon Mar 31, 2008 9:33 pm

Strange problem; search didn't help. I'm running Ubuntu 7.10 on my T61, trying to use the volume up/down buttons. Pressing either of them invokes a rather large speaker icon in the middle of the screen, and each press of a button moves the 'slider' up/down a notch, but it does nothing to the actual volume emitting from the speakers. Any hints?

[Later] OK, I think I'm on to something, though I still have no clue what to do . . . I opened something called "Volume Control: HDA Intel (Alsa mixer)" by clicking the speaker icon in the upper right task-bar. Now when I click a volume button I can see that it moves the Microphone slider up and down, but the PCM slider doesn't move. How do I link the volume buttons to the PCM controller?
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3

carbon_unit
Moderator Emeritus
Moderator Emeritus
Posts: 2988
Joined: Sat Apr 24, 2004 9:10 pm
Location: South Central Iowa, USA

#2 Post by carbon_unit » Tue Apr 01, 2008 5:16 am

I've got the same problem on an R61. The volume buttons move the wrong control. It never bothered me enough to find a solution.
T60 2623-D7U, 3 GB Ram.
Dual boot XP and Linux Mint.
Registered linux user #160145

Superego
Sophomore Member
Posts: 239
Joined: Tue Feb 20, 2007 4:05 pm
Location: Minneapolis, MN

#3 Post by Superego » Tue Apr 01, 2008 8:35 am

You may want to look into the "tpb" package (thinkpad button). I'm pretty sure it will change the the on-screen display to something more similar to the green bars seen in Windows.

http://packages.ubuntu.com/feisty/utils/tpb
W510: i7-820QM / 8GB 1066 RAM/ 1 GB NVIDIA Quadro FX 880M / 500GB 7200rpm / 15.6" HD 1080 / Arch Linux

Paul Unger
Senior Member
Senior Member
Posts: 551
Joined: Mon Jun 14, 2004 8:18 am
Location: Solomon Islands / Canada

#4 Post by Paul Unger » Tue Apr 01, 2008 9:19 am

carbon_unit wrote:I've got the same problem on an R61. The volume buttons move the wrong control. It never bothered me enough to find a solution.
:shock: Really?! :shock: Drives me bonkers. I did find this today. It seems to work . . .

Edit: "this" is setting 'Default Mixer Tracks' in System / Sound Preferences / Devices to PCM (used to be Microphone).
Last edited by Paul Unger on Sat Apr 19, 2008 9:27 am, edited 1 time in total.
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3

lightweight
Sophomore Member
Posts: 234
Joined: Sat Jun 30, 2007 10:56 pm
Location: L. A.

#5 Post by lightweight » Thu Apr 03, 2008 6:57 pm

You can do this with xbindkeys manually or with a handy GUI. Let's go the latter route:

1) Install xbindkeys-config (this will also grab xbindkeys and whatever dependencies you are missing) and aumixer.

Code: Select all

sudo apt-get install xbindkeys-config aumix
2) Create your default config.

Code: Select all

xbindkeys --defaults > ~/.xbindkeysrc
3) Run the GUI.

Code: Select all

xbindkeys-config
4) Click on New (bottom row)
5) Click on Get Key (right column)
6) Wait for the new window. Then press the up volume button on your Thinkpad.
7) Replace "command" by Action with aumix -w+
8) Click Apply.
9) Repeat steps 4 & 5.
10) Wait for the new window. Then press the down volume button on your Thinkpad.
11) Replace "command" by Action with aumix -w-
12) Click Save & Apply & Exit

You can do an aumix and watch to make sure the volume meter changes. The -w flag controls PCM. If you want to control something else, just type aumix --help in a terminal and choose the control you want.
Have: x60s ultralight 1705-CTO, Debian SiD, Linux 2.6.25-2 | x61s ultralight 7668-CTO, Debian SiD/Experimental, Linux 2.6.27-git5 | Model M 1391401, white label, 07-17-91
Had: x22, Debian Testing/SiD, Linux 2.6.18-22

EarloftheWest
Posts: 29
Joined: Sun Mar 23, 2008 2:37 pm
Location: Portland, Oregon
Contact:

Buttons work in Hardy

#6 Post by EarloftheWest » Tue Apr 15, 2008 3:30 pm

I'm running the Hardy beta and the buttons work out of the box. Doesn't help you with 7.10 but I thought I'd at least mention it.
http://earlofthewest.blogspot.com/
Running the T61
Dual booting with Windows XP and Hardy Heron

carbon_unit
Moderator Emeritus
Moderator Emeritus
Posts: 2988
Joined: Sat Apr 24, 2004 9:10 pm
Location: South Central Iowa, USA

#7 Post by carbon_unit » Tue Apr 15, 2008 6:44 pm

That's good to know. I have something to look forward to when it goes final. I've done enough beta testing for now.
T60 2623-D7U, 3 GB Ram.
Dual boot XP and Linux Mint.
Registered linux user #160145

pailhead
Posts: 48
Joined: Mon Nov 26, 2007 9:40 pm
Location: Chicago, Il.

Re: volume buttons in ubuntu 7.10

#8 Post by pailhead » Sat Apr 19, 2008 5:59 pm

Paul Unger wrote:Strange problem; search didn't help. I'm running Ubuntu 7.10 on my T61, trying to use the volume up/down buttons. Pressing either of them invokes a rather large speaker icon in the middle of the screen, and each press of a button moves the 'slider' up/down a notch, but it does nothing to the actual volume emitting from the speakers. Any hints?

[Later] OK, I think I'm on to something, though I still have no clue what to do . . . I opened something called "Volume Control: HDA Intel (Alsa mixer)" by clicking the speaker icon in the upper right task-bar. Now when I click a volume button I can see that it moves the Microphone slider up and down, but the PCM slider doesn't move. How do I link the volume buttons to the PCM controller?
You need to go into your sound preferences and change the device.

System > Preferences > Sound

At he bottom you will a list of devices. Choose "PCM" and close.

Paul Unger
Senior Member
Senior Member
Posts: 551
Joined: Mon Jun 14, 2004 8:18 am
Location: Solomon Islands / Canada

#9 Post by Paul Unger » Sat Apr 19, 2008 6:22 pm

Right. My recent edit of my second post above noted this. But it's always good to receive confirmation! :wink:
T430s 2352-CTO 2.60GHz (i5), 4.0GB, 500GB (7200rpm), 14" HD+, W7 (64)
X201 3249-CTO 2.53GHz (i5), 8.0GB, 500GB (7200rpm), 12" WXGA, W7 (64)
T42 2373-3UU 1.7GHz (PM), 2.0GB, 80GB, 14" SXGA+, XP SP3 / Ubuntu 9.04
T42 2373-4TU 1.7GHz (PM), 1.5GB, 60GB, 14" XGA, XP SP3

pailhead
Posts: 48
Joined: Mon Nov 26, 2007 9:40 pm
Location: Chicago, Il.

#10 Post by pailhead » Sat Apr 19, 2008 6:25 pm

Paul Unger wrote:Right. My recent edit of my second post above noted this. But it's always good to receive confirmation! :wink:
Oops! I missed that. =/

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “Linux Questions”

Who is online

Users browsing this forum: axur-delmeria and 1 guest