> 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? 

Dave
 
 
This message posted from opensolaris.org

Reply via email to