Dr. David Kirkby wrote:
>> Please try
>>
>> http://www.opensolaris.org/os/community/laptop/windmil
>> l/acpi/6728564.tar.gz
>>
>> and let me know if there are any improvements.
>>
>> Phi
> 
> Hi Phi,
> 
> Thank you for the updated driver in the file 6728564.tar.gz
> 
> Having tried  the driver a bit more, I'm finding nothing is very consistent.  
> Looking at the acpi.d script you gave me, which generates an output under all 
> circumstances, I find that the output is not consistent. 
> 
> *Sometimes* adding the battery causes this:
> 
>  1  -> acpi_drv_cbat_notify                  
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x0
>   1    -> acpi_drv_cbat_notify                
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x80
> 
> but *sometimes* adding the battery causes 
> 
>   0  -> acpi_drv_cbat_notify                  
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x0
>   0    -> acpi_drv_cbat_notify                
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x80
> 
> Sometimes* removing the battery causes this:
> 
>   1  -> acpi_drv_cbat_notify
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x1
>   1    -> acpi_drv_cbat_notify
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x80
> 
> but sometimes removing the battery generates this:
> 
>   0  -> acpi_drv_cbat_notify
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x1
>   0    -> acpi_drv_cbat_notify
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x80
> 
> So you can see, the output generated when the battery is added or removed is 
> not always the same. This is true when adding or removing the mains too. 
> 
> Sometimes removing the mains generates:
>   1  -> acpi_drv_ac_notify               
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x80
> 
> But other times removing the mains generates.
> 
>   0  -> acpi_drv_ac_notify               
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x80
> 
> Sometimes adding the mains generates
> 
>   1  -> acpi_drv_ac_notify               
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x80
> 
> 
> But on other times adding the mains generates
> 
>   0  -> acpi_drv_ac_notify               
> acpica`AcpiEvNotifyDispatch+0x7d
> 0x80
> 
> So you can see there is not a consistant output when the mains is added or 
> removed. 
> 
> 
> The only thing that is 100% consistent is that some output is generated from 
> acpi.d whenever any aspect of the power source is changed. 
> 
> Any ideas? 

If you mean the difference between the "0 ->" and the "1 ->",
that just shows what CPU it is running on.  Everything here looks
normal.

Do you see any behavior difference in the battery monitor?  I thought
the remaining issue is that you see a difference in behavior when you 
boot with or without the battery?  If yes, what are the behavior 
differences and can you run the dtrace script for the problems you see?

Phi

Reply via email to