LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-03-2007, 04:45 AM   #1
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Rep: Reputation: 36
How to enable laptop-mode in Slack?


I have tried to get laptop-mode to work on my Thinkpad but when I try to run the laptop-mode it gives following:
Code:
./laptop-mode: line 11: /lib/lsb/init-functions: No such file or directory
How to get it working?
 
Old 06-03-2007, 02:38 PM   #2
ludist
Member
 
Registered: Nov 2005
Location: Greece
Distribution: Slackware
Posts: 129

Rep: Reputation: 16
What about the most simplest method?

I put this on my /etc/rc.d/rc.local

echo 1 > /proc/sys/vm/laptop_mode
 
Old 06-04-2007, 06:30 AM   #3
Zmyrgel
Senior Member
 
Registered: Dec 2005
Location: Finland
Distribution: Slackware, CentOS, RHEL, OpenBSD
Posts: 1,006

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by ludist
What about the most simplest method?

I put this on my /etc/rc.d/rc.local

echo 1 > /proc/sys/vm/laptop_mode
Ah, so there's a easy way
I found a link in the kernel documentation which recommended a different method of doing it. The one you suggested seems to be working, thank you.
 
Old 06-07-2007, 01:34 PM   #4
tomcdyer
Member
 
Registered: Jun 2007
Location: Surrey, UK
Distribution: Slackware 11 (mainly), Vista, XP
Posts: 108

Rep: Reputation: 15
This could be a stupid question...

what advantages do the laptop mode offer. I have never used it.


Thanks
 
Old 06-07-2007, 02:30 PM   #5
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
check out the faq

Basically, extended (not-insignificant, YMMV) battery life Vs. HD wear and tear...
 
Old 06-07-2007, 02:57 PM   #6
tomcdyer
Member
 
Registered: Jun 2007
Location: Surrey, UK
Distribution: Slackware 11 (mainly), Vista, XP
Posts: 108

Rep: Reputation: 15
thanks.

So. not really necessary then
 
  


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
how to enable usb devices in recovery mode? AVD_ZM Ubuntu 0 03-07-2007 11:27 AM
enable password for single user mode cyrulo Linux - Security 3 02-28-2007 12:14 AM
proftpd only works in standalone mode, not inetd mode (slack 10.2) yimboli Linux - Newbie 9 01-24-2006 12:49 PM
How to enable "laptop mode" on 2.6.5 Slackware 9.1 ming0 Linux - Laptop and Netbook 0 06-06-2004 02:31 PM
canīt enable DMA-Mode why? Odan Linux - General 11 10-22-2003 06:45 AM


All times are GMT -5. The time now is 02:02 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