Hi Phi, 6734667.tar.gz is [b]much[/b] better, but not totally flawless. First the good points:
1) If booted with only a battery present, the battery charge monitor works fine, detecting all changes correctly. 2) If booted with both mains and a battery, the battery charge monitor works fine, detecting all changes of both battery and mains. 3) Insertion or removal of the battery is almost instantly reflected in the monitor. Now the bad points: 1) If booted with only a mains connection, the battery charge monitor is totally inoperative and is unable to display any changes made at all. The trace output shows the battery being connected CPU FUNCTION 1 -> acpi_drv_cbat_notify acpica`AcpiEvNotifyDispatch+0x7d 0x0 1 -> acpi_drv_cbat_notify acpica`AcpiEvNotifyDispatch+0x7d 0x80 The dtrace code also shows the mains supply being removed 1 -> acpi_drv_ac_notify acpica`AcpiEvNotifyDispatch+0x7d 0x80 but neither of these are reflected in the battery charge monitor when the machine is booted with no battery present. 2) Whenever the mains is connected or disconnected, the changes take 20-30 seconds to show on the battery charge monitor. Why does this take a long time, but battery changes reflected almost instantly? Dave This message posted from opensolaris.org