From: Steffen S. <pe...@gm...> - 2008-04-06 18:29:40
|
Hi, A few days ago I noticed that the battery alarm on my Santa Rosa Macbook Pro is not working. When 'battery' is loaded: cat /proc/acpi/battery/BAT0/alarm alarm: unsupported Witch sbshc and sbs do not even recognise a battery(no BAT0 dir). The module help says sbs uses SMBus, so I activated i2c-core and i2c-i801, but nothing.. Any hints on this? If this is not supported yet, how difficult would that be? /steffen |
From: Soeren S. <mac...@nn...> - 2008-04-06 19:44:07
|
On Sun, 2008-04-06 at 20:29 +0200, Steffen Schulz wrote: > Hi, > > A few days ago I noticed that the battery alarm on my Santa Rosa Macbook > Pro is not working. > > When 'battery' is loaded: > > cat /proc/acpi/battery/BAT0/alarm > alarm: unsupported what is battery alarm? > Any hints on this? If this is not supported yet, how difficult would > that be? note that this is also not supported on mbp1,1's Soeren |
From: Steffen S. <pe...@gm...> - 2008-04-06 20:38:00
|
On 080406 at 21:44, Soeren Sonnenburg wrote: > On Sun, 2008-04-06 at 20:29 +0200, Steffen Schulz wrote: > > cat /proc/acpi/battery/BAT0/alarm > > alarm: unsupported > > what is battery alarm? It seems to be mandatory to let acpi do something when the battery status gets critical. I don't get acpi events, acpid doesn't put the macbook to sleep. So the goal is to get the laptop into s2ram without polling the battery status.. |
From: Steffen S. <pe...@gm...> - 2008-04-06 22:05:41
|
On 080406 at 22:53, Chris Nolan wrote: > Steffen Schulz wrote: >> So the goal is to get the laptop into s2ram without polling the >> battery status.. > "[If the battery doesn't support alarms...] the ACPI specification > requires the OS to poll the battery to check its remaining capacity". > > Certainly on my Macbook 3,1 under Fedora, the laptop shuts down when the > battery reaches a critical level. "...It appears that Linux does not yet do this." So its a missing hardware feature. Unbelievable that neither the battery module nor acpid or laptop-mode can handle this problem.. Thanks for the info! *running yet another deamon* /steffen -- _---------------- (o< ·-_ Less CO2 | _o) +49/1781384223 //\ | for more ice! | /\\ .o) .o) gpg --recv-key A04D7875 V_/_ --------------- _\_V _(\)_(\) mailto: pe...@cb... |