LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   display power management in kde on slackware 9.1 (https://www.linuxquestions.org/questions/slackware-14/display-power-management-in-kde-on-slackware-9-1-a-168587/)

win32sux 04-10-2004 07:14 PM

display power management in kde 3.1 on slackware 9.1
 
this box had mandrake 9.1 before, and the display's power managment on kde 3.1 worked fine (if it was set to suspend the monitor after 30 minutes of inactivity, it would)...

i installed slackware 9.1 and it seems the settings for the display's power management (in the display power control section of kde's control center) are having no effect...

the monitor just stays on like normal...


does anybody know what could be causing this???

thanks for your help guys!!!



auditek747 04-10-2004 08:59 PM

Are you loading the "APM" module at boot?

win32sux 04-11-2004 05:50 PM

hello auditek747, thanks for replying...

i'm not loading the APM module, i am using ACPI, and the acpid daemon is running...

doing a "modprobe apm" generates errors:

/lib/modules/2.4.24/kernel/arch/i386/kernel/apm.o.gz: init_module: No such device
/lib/modules/2.4.24/kernel/arch/i386/kernel/apm.o.gz: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.24/kernel/arch/i386/kernel/apm.o.gz: insmod /lib/modules/2.4.24/kernel/arch/i386/kernel/apm.o.gz failed
/lib/modules/2.4.24/kernel/arch/i386/kernel/apm.o.gz: insmod apm failed

but i guess these errors are due to my kernel/board being acpi... right???

the mandrake that had this display power management working was also using acpi...

auditek747 04-11-2004 10:21 PM

Hey there,
I run Slack 9.1 on my desktop and laptop both. The only time I tried acpi was on my lap and I couldn't get it working right. (though I didn't try very hard)
Currently I boot the non acpi kernel on both machines and have uncommented the /sbin/modprobe apm line in /etc/rc.d/rc.modules.
This gives me display power management in KDE, autoshutdown, and even the battery monitor and some fan control in my old Gateway laptop.
As far as acpi goes, I noticed /etc/X11/XF86Config has options for dpms. Mine are commented out by default but perhaps acpi needs them uncommented. I don't know if this is the case but it's something to try.
If your only current concern though is dpms in KDE, then apm will give it to you.

see ya

win32sux 04-12-2004 03:36 AM

okay i just tried using the "bare.i" kernel instead of the "bareacpi.i" i was running...

i uncommented "/sbin/modprobe apm" in my "/etc/rc.d/rc.modules", made "/etc/rc.d/rc.acpid" non-executable, and i disabled acpi in my bios...

the system loaded the new kernel and the apm module without errors...

however, the problem remains... kde's dpms has no effect...

=(


this is starting to get freaky...


oh, and before switching kernels, i uncommented one of the dpms lines in my "/etc/X11/XF86Config" and no effect either... i'll try doing that (and other stuff, including whatever else you can suggest) with this regular ide kernel tomorrow...

i'm so sleepy right now...

=)


thanks for the support you're givin' me auditek747... i really appreciate it...


tigerflag 04-12-2004 09:12 AM

I had the same problem, using the bare.i kernel with APM module uncommented, etc... Here's what worked:

edit your /etc/X11/XF86Config file as follows:

Graphics Device section > Section Device

add the line:

Option: "DPMS"

Mine looks like:

Section "Device"
Identifier "NVIDIA GeForce"
Driver "nvidia"
Option "DPMS"
#VideoRam 32768
# Insert Clocks lines here if appropriate
EndSection

HTH,
Siri Amrit

auditek747 04-12-2004 09:53 AM

Hey,
Tigerflag is right! My XF86Config is the same, I missed that... for shame.
I hope that works for you!
I will be getting the new Slack when it comes around, maybe I'll try acpi again when I install.


see ya

win32sux 04-12-2004 01:18 PM

IT WORKED!!!

i added that line (Option "DPMS") to my card's entry (i also use official nvidia drivers, by the way) in my "/etc/X11/XF86Config" and my monitor is now suspending properly...

THANKS SO MUCH YOU GUYS!!! I AM FOREVER GRATEFUL.!!!

=)

tigerflag 04-13-2004 09:13 AM

Glad it helped :-) It was some genius in this forum that originally posted that trick. Display power management was the only thing I couldn't get to work, that had me leaning towards going back to Mandrake. Needless to say, I'm backing up this configuration file and some others from /etc before I try an upgrade...

Siri Amrit

auditek747 04-13-2004 10:30 AM

This is a pretty good forum.
The search button alone has answered just about every question I've ever had!

rimcrazy 05-16-2004 10:07 AM

Quote:

Originally posted by tigerflag
Glad it helped :-) It was some genius in this forum that originally posted that trick. Display power management was the only thing I couldn't get to work, that had me leaning towards going back to Mandrake. Needless to say, I'm backing up this configuration file and some others from /etc before I try an upgrade...

Siri Amrit

Thanks much. This worked on my Inspiron 5K laptop. I just loaded Suse 9.1 and could not figure out why the monitor would not shut off after I enabled everything. Worked like a champ.

Phil

rettich 02-07-2005 06:58 AM

Thx!!

Tried many things to get DPMS working. The strange thing is that DPMS worked out of the box with Suse 9.0 not with Suse 9.1

:confused:


All times are GMT -5. The time now is 07:28 PM.