linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* APM Console blanking not complete ?
@ 2002-08-01  9:44 Erland Hedman
  0 siblings, 0 replies; only message in thread
From: Erland Hedman @ 2002-08-01  9:44 UTC (permalink / raw)
  To: linux-kernel


Hi,

With a 2.4.18 kernel running on a Dell Inspiron 8000 I have the BIOS APM 
console blanking working properly for both the VT consoles as well as in X, 
but only when the laptop's internal keyboard and mouse is used. After having 
browsed the kernel source I guess that this blanking, turning off the power 
to the laptop backlight, is handled by the APM features in the BIOS 
independent of the Linux kernel.

The problem is that when I use an external mice, in this case a wireless 
track ball connected to an USB port some distance from the laptop, a touch of 
that mice does not turn on the laptop backlight again as I first took for 
granted. It works in windows 2k  ;-(

By adding a timer routine to drivers/input/mousedev.c (inspired by console.c) 
I managed to "fix" my particular problem by implicitly  call the 
apm_console_blank()  (apm.c) via the console_blank_hook used by console.c and 
do the display blanking  timimg independent of the BIOS settings.

This is a fix however, and does not address the problem in a general way and 
I guess that USB a keyboard and possible other external devices will face the 
same problem. In addition it does not sync with any BIOS settings of the 
blanking time, nor does this  fix reset the timer if the laptops mouse or 
keyboard is touched.

So my question here (if my observations are valid) is if there are interest 
to address this issue and/or if there is any work in progress for future 
releases.

PS. The question is not related to DPMS, nor  to the VT console's blanking 
controlled by setterm. DS.

Please CC me at erland.hedman@telia.com
-- 

Best Regards,
Erland Hedman

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-01  9:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-01  9:44 APM Console blanking not complete ? Erland Hedman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).