[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-users
Subject:    Re: athn(4) Not working with Atheros AR5B95-H
From:       Abhinav Upadhyay <er.abhinav.upadhyay () gmail ! com>
Date:       2016-06-05 17:15:29
Message-ID: CAHwRYJn3QEN38DCSG_YD8aDgin2RU_e6Lu8JmX6N5rWKP4VozQ () mail ! gmail ! com
[Download RAW message or body]

On Fri, May 27, 2016 at 2:42 PM, Martin Husemann <martin@duskware.de> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic