ASUS K-series laptops: cannot toggle antenna via /sys/class/net/$dev/rfkill/rfkill$int/state
Bug #626797 reported by
Leonid Nasedkin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: acpi-support
Ubuntu 10.04
acpi-support 0.136.1
Hardware: ASUS k40in
Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
In normaly the keyboard combination Fn+F2 (control wlan) does not work with wlan card and wlan led.
This is patch of state-funcs file and events add the normal work with wlan card on the ASUS laptop like k40in and other from k-series (tested with k50in).
Thank you for taking the time to report this issue and help to improve Ubuntu.
Please submit patches in diff -u (unidiff) format.
This patch needs improvement on a couple of points. First, you don't want to trigger both /etc/acpi/ events/ asus-wireless- on and /etc/acpi/ events/ asus-wireless- off on the same event; this should be abstracted better, treating 0000005d as a "toggle" event. Second, /usr/share/ acpi-support/ state-funcs already supports the standard rfkill abstractions in the kernel, and if this doesn't work with the asus_laptop driver, that's a bug in that driver - not in acpi-support. Opening a task on this bug for the kernel side.