LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Reply
  Search this Thread
Old 01-05-2005, 06:03 PM   #31
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16

I am currently investigating some options such as LaptopConf and Acpitool.

I will post results after checking them out. Both look promising.
 
Old 01-05-2005, 06:39 PM   #32
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16
Well unfortunately I now believe that I cannot suspend to either of the states S3 or S4. Both of the utilities I mentioned above have limited support on my laptop with acpitool being the better of the two (IMO).

I can only hope that perhaps some future FC3 updates will fix this issue. I will keep my ears to the ground.
 
Old 01-05-2005, 06:56 PM   #33
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
This might be of some help as well. http://softwaresuspend.berlios.de/

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 01-05-2005, 07:50 PM   #34
aero402
LQ Newbie
 
Registered: Jan 2005
Distribution: Fedora Core 3
Posts: 11

Rep: Reputation: 0
Hey guys,

Fascinating conversation, unfortuntely too dumb to help, but was wondering about these "Dell Laptop Extras". I have an inspiron 7K but my screen does turn of however alot of laptop function keysdon't work in FC3. Will this cause them to work? How do I determine if this was installed and if not where can I get it and install it?
 
Old 01-05-2005, 08:07 PM   #35
mr_maximum
LQ Newbie
 
Registered: Dec 2004
Distribution: Fedora Core 2
Posts: 14

Rep: Reputation: 0
omke is a good program to take advantage of the features of a laptop that aren't already supported in Linux.

GO here: http://sourceforge.net/projects/omke/
 
Old 01-05-2005, 09:08 PM   #36
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16
Brian1,

Thanks for the post. Yes I forgot that I had come across that one but it requires a kernal re-compile (which would be my first) so I am going to wait for the weekend to try it out.

mr_maximum,

I didn't see much mention of dell laptop support. Has anyone else tried this with dell laptops?
 
Old 01-06-2005, 01:15 AM   #37
TFMegatron
Member
 
Registered: May 2004
Distribution: Debian Sid, Windows XP Pro
Posts: 47

Rep: Reputation: 15
To make use of those extra buttons both on laptops and multimedia keyboards you should use lineakd. I like it and it's easy to set up. It also has and config file with pre-configured settings for all kinds of keyboards and laptops. Just need to pick your model. You can find it here or just apt-get install lineakd.

http://lineak.sourceforge.net/

good luck
 
Old 01-06-2005, 08:49 AM   #38
TFMegatron
Member
 
Registered: May 2004
Distribution: Debian Sid, Windows XP Pro
Posts: 47

Rep: Reputation: 15
Sorry you also need to install aumix. This mixer program won't mess with your original alsa settings. Kmix just doesn't accept command line options for the volume. This program withh allow lineakd to change and mute the volume from the scripts it comes with. You should be able to apt-get this.
 
Old 08-24-2005, 09:45 PM   #39
robert2513
Member
 
Registered: Oct 2004
Posts: 35

Original Poster
Rep: Reputation: 15
I know this thread is a few months old but. . . I figured I would post here instead of making a new thread.

I recently did a clean install with Fedora 4 and this time, when I followed the steps suggested by TFMegatron, it didn't work. Has something changed between the two versions of Fedora that would prevent this from working?
 
Old 08-25-2005, 01:09 AM   #40
TFMegatron
Member
 
Registered: May 2004
Distribution: Debian Sid, Windows XP Pro
Posts: 47

Rep: Reputation: 15
What are you attempting to do? Are you setting up the radeon tool or lineak? What steps have you taken so far?
 
Old 08-25-2005, 08:14 AM   #41
robert2513
Member
 
Registered: Oct 2004
Posts: 35

Original Poster
Rep: Reputation: 15
Well, here is what I did:

1.) Create lidbtn in /etc/acpi/events and lidbtn.sh in /etc/acpi
2.) Make lidbtn.sh executable
3.) Installed radeontool in /usr/sbin
4.) Restarted the acpid service (sudo service acpid restart)

When I noticed the screen was not turning off, I went back and did

cat /proc/acpi/button/lid/LID/state

and it still showed the status of the lid button when it was open and closed. Also, if I type

/usr/sbin/radeontool light off

I am able to shut off the screen.
 
Old 08-25-2005, 07:28 PM   #42
TFMegatron
Member
 
Registered: May 2004
Distribution: Debian Sid, Windows XP Pro
Posts: 47

Rep: Reputation: 15
/

Last edited by TFMegatron; 08-25-2005 at 08:25 PM.
 
Old 08-25-2005, 07:28 PM   #43
TFMegatron
Member
 
Registered: May 2004
Distribution: Debian Sid, Windows XP Pro
Posts: 47

Rep: Reputation: 15
Quote:
cat /proc/acpi/button/lid/LID/state
and it still showed the status of the lid button when it was open and closed.
I assume that you are saying it is reading correctly. If that is true and the program itself is working it would seem to be something wrong with the scripts.

Just so there are no errors with permissions set your lidbtn.sh to:
chmod 755 lidbtn.sh
if not already.

Here are mine:

/etc/acpi/lidbtn.sh

#!/bin/sh


state=`cat /proc/acpi/button/lid/LID/state | awk '{print $2}'`

logger –i "LID state $state"

if [ "$state" = "closed" ]; then
/usr/sbin/radeontool light off
else
/usr/sbin/radeontool light on
fi

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

/etc/acpi/events/lidbtn

event=button[ /]lid
action=/etc/acpi/lidbtn.sh


Hopefully that will work.



Last edited by TFMegatron; 08-25-2005 at 07:43 PM.
 
Old 08-26-2005, 12:41 PM   #44
robert2513
Member
 
Registered: Oct 2004
Posts: 35

Original Poster
Rep: Reputation: 15
Well, I checked the scripts and changed the permission of lidbtn.sh with the chmod command but still no go.
 
Old 08-26-2005, 01:00 PM   #45
TFMegatron
Member
 
Registered: May 2004
Distribution: Debian Sid, Windows XP Pro
Posts: 47

Rep: Reputation: 15
I am sorry for repeating a question but the location /proc/acpi/button/lid/LID/state is reporting the correct state? If so, I have no idea what is wrong. Maybe do this.

Take your lidbtn.sh file and add this.

set -x #right above state=`cat

and

set +x #right below fi

the run it in a shell.
./lidbtn.sh

This will echo each line as it runs giving you output of what is happening in the script. It could then tell you if it is running the correct thing. Try this once without the button pressed and once with it pressed. You should see it saying that the state=closed or open and that is chooses the correct radeontool option. If it is not then it would seem it is not reading the state correctly for some reason. It could at least give you a place to look.

Also the file /etc/acpi/events/lidbtn should be owned by root/root.

Last edited by TFMegatron; 08-26-2005 at 01:56 PM.
 
  


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
LCD screen and X demiurge Linux - Software 3 03-29-2005 07:26 AM
How to get laptop LCD to shut off deviant03 Linux - Hardware 0 01-25-2005 06:39 AM
LCD screen minm Linux - Newbie 3 07-24-2004 06:47 PM
blurry lcd screen fobius Linux - Hardware 3 06-18-2004 01:48 AM
Unable to configure screen resolution for 15.2" LCD screen in Fedore Core 1 schu Linux - Newbie 3 01-02-2004 05:39 PM

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

All times are GMT -5. The time now is 03:22 AM.

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