LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 07-26-2011, 03:44 AM   #1
federfigo5
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Rep: Reputation: Disabled
Angry Linux and power management.


I tried a lot of distros to bring my old Compaq N1020v laptop to life (it's got 512mb of ram): Lubuntu, Lucid Puppy, Mint, Gentoo, Salix, Damn small linux...
The original screen of the laptop is broken (the lamp doesn't work), so I've connected it to an external mointor.
Here's my problem: whatever live distro I try, after booting (when desktop appears) the external monitor goes into power saving mode and I can see the shapes of the icons by looking at the broken one.
The only one distro I can use is Damn Small Linux, but I don't want it.
How can I solve this problem?
I'm getting crazy. Maybe it's a stupid thing. Maybe it's not.
But in fact I can't use a laptop just for the power saving.

Federico.

Last edited by federfigo5; 07-26-2011 at 09:51 AM.
 
Old 07-26-2011, 09:31 PM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 307Reputation: 307Reputation: 307Reputation: 307
Does turning ACPI off in BIOS have any effect?
 
Old 07-27-2011, 01:07 AM   #3
gary185
Member
 
Registered: Jul 2011
Posts: 113

Rep: Reputation: Disabled
try putting this line in /etc/X11/xorg.conf
under Section "Monitor"
Option "DPMS" "false"

might help
 
Old 07-27-2011, 02:33 AM   #4
federfigo5
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Thank you for your answers.
andrewthomas, I tried to run every distro with noacpi or acpi=off, but nothing happened.
gary185, excuse me for my ignorance, but can I put that by terminal in Damn small linux? That's the only one working OS...
 
Old 07-27-2011, 03:20 AM   #5
federfigo5
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
I think that when X starts the signal isn't sent to the external monitor and it goes into power saving.
 
Old 07-27-2011, 07:38 PM   #6
gary185
Member
 
Registered: Jul 2011
Posts: 113

Rep: Reputation: Disabled
yea,
how is the external monitor connected?
basically all linux distributions are the same.
you just have to configure the display server to send the signal the the right device.

Last edited by gary185; 07-27-2011 at 07:42 PM.
 
Old 07-27-2011, 08:04 PM   #7
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,366
Blog Entries: 2

Rep: Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981
I would try it like this: Install a distro from its normal install CD, not a live-CD, best with text mode and see if it works to install it with an attached monitor. Make sure that an SSH-server is installed. For example, try it with Debian. After the install, when the monitor isn't working anymore, SSH into the machine and set up the xorg.conf the way you need to work with the monitor.
 
Old 07-28-2011, 03:30 AM   #8
federfigo5
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
The external monitor is connected by regular cable...
TobiSGS, I've already done that: I've installed salix, based on slackware, but now I don't know how to edit xorg.conf if I can't boot the OS completely. I said, if I try to do it by the commandline of the salix cd:
/etc/X11/xorg.conf
I get a "not found" message...
I dunno, am I doing something wrong?
 
Old 07-28-2011, 05:55 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,366
Blog Entries: 2

Rep: Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981Reputation: 3981
Modern distros don't come with xorg.conf by default. Create one with
Code:
X -configure
and copy it to your /etc/X11/ directory.
 
Old 07-28-2011, 06:12 AM   #10
gary185
Member
 
Registered: Jul 2011
Posts: 113

Rep: Reputation: Disabled
from the command line of the live cd you have to mount the hard disk partition the file is on to edit it
as root
mkdir /mnt/dslinux
mount -t <file system type> /dev/<whatever the partition is> /mnt/dslinux

the use of the /mnt/dslinux folder is arbitrary, it can be any empty folder
if you can't make a folder on the live cd just use any existing folder

then you can navigate
cd /mnt/dslinux/etc/X11

you will need to play a bit with the Xorg config until you get it
you need two "Device" sections, two "Monitor" sections, and two "Screen" sections
the device (video device) for both is the same but each need a separate section
here is an example config
http://ozlabs.org/~jk/docs/mergefb/xorg.conf

in the example the guy only references the internal screen in the "ServerLayout"
not sure why but it must work that way

under the monitor section for the loptop monitor you can put
Option "ignore" "true"
 
Old 07-28-2011, 07:12 AM   #11
federfigo5
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
gary85 and tobySGD, thank you, but the problem is that I can't boot by live cd... If I type X -configure it gives me a "1777" error and if I type mkdir /mnt/dslinux and the other commands I get more strange errors...
Now, assuming that I have the access to the slackware linux rescue command line (from the installation cd) and to Damn Small linux live cd and there's a slackware-based distro installed on the laptop, how can I type those commands? (yeah, I know, it's a bit pathetic...)
 
Old 07-28-2011, 07:48 AM   #12
federfigo5
LQ Newbie
 
Registered: Jul 2011
Posts: 7

Original Poster
Rep: Reputation: Disabled
Ok, I got an idea: I'll install slackware 13.37 but before "startx" I'll type X -configure and, if the external screen doesn't work I'll type all the stuff indicated by gary185. I'll post the results soon...
 
Old 07-30-2011, 04:01 PM   #13
gary185
Member
 
Registered: Jul 2011
Posts: 113

Rep: Reputation: Disabled
remember that from the rescue cd lots of the things you will need to do as root
i think 1777 is about permissions
most rescue cds root password is blank
 
  


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
Power Management not working on embedded MIPS when using /sys/power/state RichardS Programming 1 01-21-2011 07:18 AM
power management : windows vs linux fahadnasir General 1 04-14-2008 05:09 AM
Power Management on Linux tahaarifali Linux - General 1 01-21-2006 01:50 PM
Enabling power save/power management/cpu freq scaling features for a Debian system zero79 Debian 0 12-19-2004 01:17 PM
Power Management In Linux rch Linux - Hardware 0 05-18-2003 12:09 AM


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