* Help with ACPI events
@ 2006-12-29 2:21 Larry Finger
2006-12-29 10:46 ` Alexey Starikovskiy
0 siblings, 1 reply; 3+ messages in thread
From: Larry Finger @ 2006-12-29 2:21 UTC (permalink / raw)
To: len.brown; +Cc: linux-acpi
I'm writing for some help with ACPI events, which may be getting in the way of the setting of LEDs
for the bcm43xx module. I have an HP notebook with a "Broadcom Corporation Dell Wireless 1390 WLAN
Mini-PCI Card". This machine has a wireless on/off switch on the front. By experimenting while using
2.6.9.1, I found the necessary code needed to toggle the LED associated with the switch. The same
code does not work with 2.6.20-rc2 and the LED is always off. The state of the switch is correctly
read out by my code, but no deal with changing the LED state.
The reason I'm writing you is that whenever the switch is changed on 2.6.20, a "ACPI: EC: evaluating
_Q10" message is logged just before my code detects the switch change. I looked at the acpi driver a
little, but quickly got lost.
Is there a change in the acpi subsystem in 2.6.20 that might be interfering? Where should I look next?
Thanks,
Larry
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help with ACPI events
2006-12-29 2:21 Help with ACPI events Larry Finger
@ 2006-12-29 10:46 ` Alexey Starikovskiy
2006-12-30 1:28 ` Larry Finger
0 siblings, 1 reply; 3+ messages in thread
From: Alexey Starikovskiy @ 2006-12-29 10:46 UTC (permalink / raw)
To: Larry Finger; +Cc: linux-acpi
Next, you should look into your DSDT and find what exactly _Q10 does (it
might set/reset some variable with descriptive name). Then, in your code
you can read the state of this variable with
acpi_evaluate_integer/acpi_evaluate_object. Please look at drivers in
drivers/acpi for examples.
Regards,
Alex.
Larry Finger wrote:
> I'm writing for some help with ACPI events, which may be getting in the way of the setting of LEDs
> for the bcm43xx module. I have an HP notebook with a "Broadcom Corporation Dell Wireless 1390 WLAN
> Mini-PCI Card". This machine has a wireless on/off switch on the front. By experimenting while using
> 2.6.9.1, I found the necessary code needed to toggle the LED associated with the switch. The same
> code does not work with 2.6.20-rc2 and the LED is always off. The state of the switch is correctly
> read out by my code, but no deal with changing the LED state.
>
> The reason I'm writing you is that whenever the switch is changed on 2.6.20, a "ACPI: EC: evaluating
> _Q10" message is logged just before my code detects the switch change. I looked at the acpi driver a
> little, but quickly got lost.
>
> Is there a change in the acpi subsystem in 2.6.20 that might be interfering? Where should I look next?
>
> Thanks,
>
> Larry
> -
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Help with ACPI events
2006-12-29 10:46 ` Alexey Starikovskiy
@ 2006-12-30 1:28 ` Larry Finger
0 siblings, 0 replies; 3+ messages in thread
From: Larry Finger @ 2006-12-30 1:28 UTC (permalink / raw)
To: Alexey Starikovskiy; +Cc: linux-acpi
Alexey Starikovskiy wrote:
> Next, you should look into your DSDT and find what exactly _Q10 does (it
> might set/reset some variable with descriptive name). Then, in your code
> you can read the state of this variable with
> acpi_evaluate_integer/acpi_evaluate_object. Please look at drivers in
> drivers/acpi for examples.
Thanks for the quick response. Fortunately, I didn't need to deal with the problem. Apparently, some
part of my git tree had gotten corrupted. When I downloaded a fresh copy, this problem went away.
Larry
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-30 1:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-29 2:21 Help with ACPI events Larry Finger
2006-12-29 10:46 ` Alexey Starikovskiy
2006-12-30 1:28 ` Larry Finger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).