LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


View Poll Results: How do you rate this module installation?
Absolutely nice! The Toshiba_acpi module wasn't working correctly 1 100.00%
Nice. I did had the acpi_lcd module already but liked this installation 0 0%
Average 0 0%
I didn't find it usefull 0 0%
Do you call this an 'enhancement' ??? 0 0%
Voters: 1. You may not vote on this poll

Reply
  Search this Thread
Old 06-25-2004, 07:28 PM   #1
xbaez
Member
 
Registered: Mar 2004
Location: USA
Distribution: Ubuntu
Posts: 291

Rep: Reputation: 30
Enhanced Acpi_LCD Module installation! :)


Dear users

Please check the following INSTALL info to see if you'd like Toshiba to upload this enhanced Acpi_Module Tar which contains a neat installation (and yes, it works ok


--------------------------------------------------------
Patched version of the Acpi_Lcd module by Xavier Báez C.

Manage your computer's brightness values (ex: Toshiba
Satellite Laptos) from Linux box

For questions and comments, write to tech@socceraccess.net

--------------------------------

Download it from

http://www.socceraccess.net/tmp/acpi.lcd.tar.gz


--------------------------------

Installation for the desperate:

1) type 'make' to compile this package.

2) type 'make install' to install the module and make it autoboot each time your Linux box starts

3) type 'make uninstall' if you want to uninstall the package

4) type 'make clean' if you want to remove the acpi_lcd.o (module) that the 'make' command created

5) type '1' in your shell in order to lower your brightness to level 1 (keys 1 through 9 should work)


--------------------------------
Detailed Installation Instructions:

1) type 'make' to compile this package.

IMPORTANT: In order for the compiler to work, you must have your kernel sources installed.

Type 'uname -r' to see the version of your kernel.

You NEED to have the /usr/src/KERNEL-VERSION folder in your system for this to work

For instance, if I type 'uname -r' this is what I see:

2.4.22-6mdkcustom

Since I have the '/usr/src/2.4.22-6mdkcustom' folder in my system, I can proceed



2) type 'make install' to install the module and make it autoboot each time your LInux box starts

This will:

- copy the 'acpi_lcd.o' file to your '/lib/modules/KERNEL-VERSION/kernel/drivers/acpi' folder

- create a copy of your '/etc/modules' file (/etc/modules.acpi_lcd) as a backup

- add the following line to your '/etc/modules'file:

acpi_lcd

- create the '/usr/local/acpi_lcd' folder with 10 little scripts that should help you control your brightness

- Create symbolic links from '/usr/local/acpi_lcd/*' to '/usr/local/bin/'. This will help you control your brightness with a touch of a button

I have Mandrake 9 and that file allows me to add modules I want to autostart with my box.



3) type 'make uninstall' if you want to uninstall the package

This will:

- Unload the 'acpi_lcd' module if you're running it

- replace the '/etc/modules' file with the original one (/etc/modules.acpi_lcd)

- remove the '/lib/modules/KERNEL-VERSION/kernel/drivers/acpi/acpi_lcd.o' file from your system


4) type 'make clean' if you want to remove the acpi_lcd.o (module) that the 'make' command created

This command will remove the 'acpi_lcd.o' file from your source directory (This one!)

This is in case you want to have a fresh source in order to install the 'acpi_lcd' module to a new kernel

/lib/modules/KERNEL-VERSION/kernel/drivers/acpi


5) type '1' in your shell in order to lower your brightness to level 1 (keys 1 through 9 should work)

You should now be able to control the brightness of your Toshiba laptop by going to the shell and typing any of the numeric keys. Key# '1' stands for the lowest resulotion (level1) while the key # '9' stands for the highest resolution

You can also control the brightness of your screen by typing 'echo "brightness: xx" > /proc/acpi/lcd"

Where 'xx' is a value between 00 to 99

(Use multiple of ten here)



BETA TESTING:
This Kernel module has been sucessfully installed in a Mandrake 9 (2.4.22-6mdk) Distro.
It should work on most distros though

Any comments?
tech@socceraccess.net


PD: "Give thanks to the Lord, our God, our King"
 
  


Reply



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
enhanced speedstep.....how to get it working lumbrjackedpcj Linux - Laptop and Netbook 6 04-02-2005 04:59 PM
Enhanced: ACPI_LCD Kernel Module! :) xbaez Linux - Laptop and Netbook 2 06-26-2004 05:52 AM
Copying an Enhanced CD (CD-Plus/CD-Extra) seidren Linux - Software 6 06-02-2003 10:41 PM
Module Installation patpawlowski Linux - Hardware 0 03-19-2003 11:21 PM
Module Installation juagut Linux - General 16 08-26-2001 07:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration