LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 06-09-2007, 11:07 AM   #1
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Rep: Reputation: 35
kmilo on slackware?


Hello,

On the Lenovo ThinkPads, the special ThinkVantage, volume and mute buttons seem to be BIOS-controlled. While the program tpb (thinkpadbutton) works well in console mode, it doesn't integrate with KDE.

For this it seems like KMilo is perfect. Having looked at the kdeutils package in KDE 3.5.7, KDE seems to have KMilo included, but all I can find in Slackware is the kmilo libraries - no executable file or area in Control Panel to actually control and set up the hardware volume buttons linked to for instance the kmix volume control.

tpb is sub-optimal as there's no KDE integration so you end up with multiple un-related volume controls (ie you can turn the buttons all the way down, and still have KDE's kmix at full blast)

Anyone have experience with KMilo?

-Y1
 
Old 06-09-2007, 01:32 PM   #2
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
http://gentoo-wiki.com/HOWTO_Use_Multimedia_Keys

it's a bit misleading, you don't have to specify your keyboard. set up xmodmap and use input actions. this might be helpful ,too:http://www.nirvani.net/software/aumix-mute-toggle/
 
Old 06-09-2007, 01:39 PM   #3
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Original Poster
Rep: Reputation: 35
Thanks for answering.

Does this mean that the kmilo that's included in KDE 3.5.7 in -current comes default with kmilo and I just have to enable it? Any insight on how I do that in Slackware?

-Y1
 
Old 06-09-2007, 01:59 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 5,315

Rep: Reputation: Disabled
I always used tpb with the xosd package (http://www.slackware.com/~alien/slackbuilds/xosd/) on my THinkPad. This is independent of KDE, works with any X Window Manager.

Eric
 
Old 06-10-2007, 02:47 AM   #5
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Original Poster
Rep: Reputation: 35
Hi Eric, and thanks for answering,

Quote:
Originally Posted by Alien Bob
I always used tpb with the xosd package (http://www.slackware.com/~alien/slackbuilds/xosd/) on my THinkPad. This is independent of KDE, works with any X Window Manager.

Eric
I tried tpb and xosd, and while it works great, my only concern is exactly that it works completely independently from KDE, and as such doesn't integrate with KDE's kmix mute/increase/decrease volume capabilities.

Thus you end up with two places to mute, two places to control volume, etc..

Since the PC will be used only with KDE, I figured I might as well get it fully integrated

Seems like all I need to do to get KMilo to work is to create a device /dev/nvram, and then I'll be all set. Will try tomorrow when I'm back home with my ThinkPad

-Y1
 
Old 06-10-2007, 05:47 AM   #6
erklaerbaer
Member
 
Registered: Mar 2006
Posts: 381

Rep: Reputation: 30
kmix is just another mixer; no harm in using another.


/dev/nvram is the interface to the cmos; be _very careful there.
 
Old 06-12-2007, 11:29 AM   #7
Yalla-One
Member
 
Registered: Oct 2004
Location: Norway
Distribution: Slackware, CentOS
Posts: 635

Original Poster
Rep: Reputation: 35
Ok, found the solution. By loading the nvram kernel module, the /dev/nvram device is created (read only) automagically, and thus kmilo becomes visible in KDE Control Panel, and now the buttons are integrated into KDE so that there's only one volume and button master.

Works like a charm.

Thanks to everyone who answered.
 
  


Reply


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
About Slackware 9.1 boot disk?? ftp://ftp.kpn.be/pub/linux/slackware/slackware-9.1-is AL3OMDAH Slackware 4 04-18-2007 09:54 AM
Gentoo install kmilo aeruzcar Linux - Software 1 02-28-2007 07:44 PM
Dell Inspiron panel buttons and kmilo jjorloff1 Linux - Hardware 4 11-16-2005 01:33 PM
How do I remove kmilo? Hombre Linux - Software 2 10-04-2005 03:49 PM


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

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