lkml.org 
[lkml]   [2002]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sonypi in 2.4.18-pre9
On Sat, Feb 09, 2002 at 12:48:34PM +0100, Felix Seeger wrote:

> Great I just want to say that sonypi in 2.4.18-pre9 works fine.

Thanks.

> I have a vaio pcg qr10. This is the first kernel Version in which I can
> changing the background lite.

Strange, the screen brightness code wasn't modified in a while. What
was your latest kernel ?

> Just one Problem. Maybe a spicctrl Problem but if I try to get infos like:
> spicctrl -p
> BAT1: 2202/2479 88.83%
>
> It works fine.
>
> But sometimes (every 10 times) I get this:
> BAT1: 2191/44975 4.87%
[...]

Known problem, not sure if it's a timing io port access problem
or something else. This will be properly resolved in the 2.5
version of the sonypi driver, when the screen brightness / battery
status etc will be directly accessed through the ACPI layer.

> As you can see I can get the battery status from spicctrl. But apm can't get
> the status, is there a way to enable apmd to use sonypi, or work correct.
> This is the output from /proc/apm:
> 1.16 1.2 0x03 0x01 0xff 0x80 -1% -1 ?

APM is screwed on most sony (and other recent, not sony) laptops.
The only way to get this working is to use ACPI instead of APM
(but since ACPI support is not and will not be complete in the 2.4
kernels, you will not have sleep/hibernation support etc).

That's why I added the battery query functions to the sonypi driver,
to work around buggy apm bioses and incomplete ACPI kernel support.
You can then hack the application inquiring the power status to
execute spicctrl instead of reading from /proc/apm.

Stelian.
--
Stelian Pop <stelian.pop@fr.alcove.com>
Alcove - http://www.alcove.com
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.062 / U:1.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site