NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: athn(4) Not working with Atheros AR5B95-H



On Fri, May 27, 2016 at 2:42 PM, Martin Husemann <martin%duskware.de@localhost> wrote:
> On Fri, May 27, 2016 at 01:55:55PM +0530, Abhinav Upadhyay wrote:
>> I also have a toggle key on the laptop (with an LED to indicate
>> whether the card is on or off) but it doesn't work once NetBSD boots
>> (the LED remains in off state).
>>
>> How can I fix this or help in fixing it?
>
> My key only works for on (default, may be configurable in the bios?)
> to off transistions once. I guess the key should be handled via acpi,
> but I never looked at details.
>
> You can check the files in sys/dev/acpi how they handle vendor specific
> buttons (thinkpad_acpi.c has some for example).

I upgraded to current kernel and things seem to have improved here (at
least I think so). Now when I press the wifi key, dmesg has the
following message:

wmihp0: failed to get data for event 0x80: AE_LIMIT

I looked inside src/sys/dev/acpi/wmi/wmi_hp.c, at line 304, it sets
the ACPI_STATUS to AE_LIMIT if the buffer length is not 8.

I'm tempted to debug this, reading the acpi(4) man page to figure out
how to go about it. Any pointers appreciated :)

-
Abhinav


Home | Main Index | Thread Index | Old Index