Bug #22

Several Bugs with the Asus N71VN

Added by Anonymous almost 2 years ago. Updated 10 months ago.

Status:Closed Start date:02/07/2010
Priority:Normal Due date:
Assignee:Corentin Chary % Done:

0%

Category:asus-laptop
Target version:-

Description

There are several Bugs with the N71VN when the asus-laptop module is used:

- FN + F2 should disable Wireless, but it doesn't. The Keypress isn't even registered in xev.
- Same with FN + F9 for the touchpad.
- FN + Enter(Keypad) should launch the calculator (or at least send a signal like the other hotkeys do). But there is no signal aswell.
- Left to the cardreader is a slideswitch to disable or enable both bluetooth and wireless. Only bluetooth is handled by now. (Which is okay if the FN + F2 can handle wireless)
- There are two white Led-Panels, on the left and the right of the notebook, i guess they can be controlled, afaik there was some option for that in the Win7 driver.

If you need any more information, logs etc, just mail me:

dsdt.gz (19.4 kB) Anonymous, 02/07/2010 04:18 pm


Add

CC Addresses

  • none

History

Updated by Corentin Chary almost 2 years ago

Comment

Hi,
Could you read http://dev.iksaif.net/projects/acpi4asus/wiki/Asus-laptop_Support and send the according informations ?
Could you also join the result of tree /sys/devices/platform/asus-laptop/
If you use a 2.6.32 kernel or newer you can try the latest version of asus-laptop.c just follow http://dev.iksaif.net/projects/acpi4asus/wiki/Backport_module and run python acpi4asus.py asus-laptop asus-laptop-refactor
Thanks

Updated by Anonymous almost 2 years ago

Comment

System is Ubuntu 9.10 Karmic i386

uname -r

2.6.31-19-generic-pae

dmesg | grep asus
[ 14.856011] asus_laptop: Asus Laptop Support version 0.42

[ 14.860205] asus_laptop: N71Vn model detected

[ 14.861077] Registered led device: asus::touchpad

[ 14.861101] asus_laptop: Brightness ignored, must be controlled by ACPI video driver

cat /sys/devices/platform/asus-laptop/infos

cat: /sys/devices/platform/asus-laptop/infos: No such file or directory

tree /sys/devices/platform/asus-laptop/
/sys/devices/platform/asus-laptop/ [error opening dir]

0 directories, 0 files

#xev only recognises FN+F8, which should activate the external vga. For the other keys, nothing is detected
xev | grep keycode
request MappingKeyboard, first_keycode 8, count 247

acpi_listen

FN+F2 → hotkey ATKD 0000005f 00000002

hotkey ATKD 0000007e 00000002

(the second line appears a few seconds laterr

FN+F8 → hotkey ATKD 00000061 00000001

FN+F9 → hotkey ATKD 0000006b 00000002

FN+keypad-return → hotkey ATKD 00000055 00000002

(this should open the calculator...but it should be enough to simply send a signal that we can use for a gnome keybinding)

Updated by Corentin Chary almost 2 years ago

Comment

Anonymous wrote:

acpi_listen

FN+F2 → hotkey ATKD 0000005f 00000002

hotkey ATKD 0000007e 00000002

(the second line appears a few seconds laterr

FN+F8 → hotkey ATKD 00000061 00000001

FN+F9 → hotkey ATKD 0000006b 00000002

FN+keypad-return → hotkey ATKD 00000055 00000002

(this should open the calculator...but it should be enough to simply send a signal that we can use for a gnome keybinding)

All these key are handled in newer asus-laptop modules.
Read http://dev.iksaif.net/projects/acpi4asus/wiki/Backport_module and try to use acpi4asus.py:

python acpi4asus.py asus-laptop backport-asus-laptop-2.6.31

Updated by Anonymous almost 2 years ago

Comment

Corentin Chary wrote:

Anonymous wrote:

acpi_listen

FN+F2 → hotkey ATKD 0000005f 00000002

hotkey ATKD 0000007e 00000002

(the second line appears a few seconds laterr

FN+F8 → hotkey ATKD 00000061 00000001

FN+F9 → hotkey ATKD 0000006b 00000002

FN+keypad-return → hotkey ATKD 00000055 00000002

(this should open the calculator...but it should be enough to simply send a signal that we can use for a gnome keybinding)

All these key are handled in newer asus-laptop modules.
Read http://dev.iksaif.net/projects/acpi4asus/wiki/Backport_module and try to use acpi4asus.py:
[...]

Thank you, everything works by now except the lights. :)
But there is one problem: The slideswitch now handles both wireless and bluetooth, while FN+F2 is only for wireless. That can be a bit of a mess.

Updated by Corentin Chary almost 2 years ago

Comment

Anonymous wrote:

Corentin Chary wrote:

Anonymous wrote:

acpi_listen

FN+F2 → hotkey ATKD 0000005f 00000002

hotkey ATKD 0000007e 00000002

(the second line appears a few seconds laterr

FN+F8 → hotkey ATKD 00000061 00000001

FN+F9 → hotkey ATKD 0000006b 00000002

FN+keypad-return → hotkey ATKD 00000055 00000002

(this should open the calculator...but it should be enough to simply send a signal that we can use for a gnome keybinding)

All these key are handled in newer asus-laptop modules.
Read http://dev.iksaif.net/projects/acpi4asus/wiki/Backport_module and try to use acpi4asus.py:
[...]

Thank you, everything works by now except the lights. :)
But there is one problem: The slideswitch now handles both wireless and bluetooth, while FN+F2 is only for wireless. That can be a bit of a mess.

Well, Fn+F2 should cycle. Anyway, asus-laptop only send input events, then some userspace utility (some part of gnome in your case), handle the input event and switch the device on or off. Could you send me the output of xev when pressing Fn+F2 and the slideswitch ?

The lights may be controlled by the "touchpad" led, could you try that ? (see /sys/class/leds , there should be some files, then echo 1 > brightness in the asus::touchpad directory).

Updated by Anonymous almost 2 years ago

Comment

Well, Fn+F2 should cycle. Anyway, asus-laptop only send input events, then some userspace utility (some part of gnome in your case), handle the input event and switch the device on or off. Could you send me the output of xev when pressing Fn+F2 and the slideswitch ?

xev for Fn+F2:
(pressed)
KeyPress event, serial 35, synthetic NO, window 0x5000001,
root 0x13f, subw 0x0, time 6736966, (694,310), root:(701,359),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x5000001,
root 0x13f, subw 0x0, time 6736966, (694,310), root:(701,359),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

(pressed again)
KeyPress event, serial 37, synthetic NO, window 0x5000001,
root 0x13f, subw 0x0, time 6742186, (172,-18), root:(179,31),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5000001,
root 0x13f, subw 0x0, time 6742186, (172,-18), root:(179,31),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

xev for the slideswitch:
(switch to the right -> on)
KeyPress event, serial 35, synthetic NO, window 0x5000001,
root 0x13f, subw 0x0, time 6571029, (1027,393), root:(1034,442),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x5000001,
root 0x13f, subw 0x0, time 6571029, (1027,393), root:(1034,442),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

(switch to the left -> off)
KeyPress event, serial 37, synthetic NO, window 0x5000001,
root 0x13f, subw 0x0, time 6574538, (1027,393), root:(1034,442),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x5000001,
root 0x13f, subw 0x0, time 6574538, (1027,393), root:(1034,442),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

The lights may be controlled by the "touchpad" led, could you try that ? (see /sys/class/leds , there should be some files, then echo 1 > brightness in the asus::touchpad directory).

I tried that, but there is no reaction. If it helps you, those two led-panels seem to be connected to the power-leds in a way, when the notebook is on s3, they blink in the same way as the power-leds do, they also turn off with them and on when resuming from s3. The only strange thing is, when the notebook is booting normally, those led panels are turned off. They then turn on as soon as grub2 loads the linux kernel (in a slow, fading way).

Updated by Corentin Chary almost 2 years ago

Comment

Anonymous wrote:

Well, Fn+F2 should cycle. Anyway, asus-laptop only send input events, then some userspace utility (some part of gnome in your case), handle the input event and switch the device on or off. Could you send me the output of xev when pressing Fn+F2 and the slideswitch ?

Could you try with different values of wapf ? modprobe asus_laptop wapf=[0,1,2,3,4,5].
See http://dev.iksaif.net/projects/acpi4asus/wiki/Asus-laptop_WAPF for more informations.

The lights may be controlled by the "touchpad" led, could you try that ? (see /sys/class/leds , there should be some files, then echo 1 > brightness in the asus::touchpad directory).

I tried that, but there is no reaction. If it helps you, those two led-panels seem to be connected to the power-leds in a way, when the notebook is on s3, they blink in the same way as the power-leds do, they also turn off with them and on when resuming from s3. The only strange thing is, when the notebook is booting normally, those led panels are turned off. They then turn on as soon as grub2 loads the linux kernel (in a slow, fading way).

Hum, what kind of control do you have for these leds on windows ?

Updated by Anonymous almost 2 years ago

Comment

Corentin Chary wrote:

Could you try with different values of wapf ? modprobe asus_laptop wapf=[0,1,2,3,4,5].
See http://dev.iksaif.net/projects/acpi4asus/wiki/Asus-laptop_WAPF for more informations.

fn+f2 xev (pressed twice with a second delay)
wapf=0

[nothing]

wapf=1

[nothing]

wapf=2

KeyPress event, serial 35, synthetic NO, window 0x4e00001,
root 0x13f, subw 0x0, time 3039052, (-384,297), root:(293,346),
state 0x0, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4e00001,
root 0x13f, subw 0x0, time 3039052, (-384,297), root:(293,346),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x4e00001,
root 0x13f, subw 0x0, time 3042558, (-384,297), root:(293,346),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x4e00001,
root 0x13f, subw 0x0, time 3042558, (-384,297), root:(293,346),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

wapf=3

KeyPress event, serial 35, synthetic NO, window 0x4e00001,
root 0x13f, subw 0x0, time 3077850, (-338,153), root:(339,202),
state 0x0, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 35, synthetic NO, window 0x4e00001,
root 0x13f, subw 0x0, time 3077850, (-338,153), root:(339,202),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 37, synthetic NO, window 0x4e00001,
root 0x13f, subw 0x0, time 3081421, (-338,153), root:(339,202),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 37, synthetic NO, window 0x4e00001,
root 0x13f, subw 0x0, time 3081421, (-338,153), root:(339,202),
state 0x10, keycode 246 (keysym 0x1008ff95, XF86WLAN), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

wapf=4

[nothing]

wapf=5

[nothing]


Slideswitch xev (first turned on, then off)
wapf=0

[nothing]

wapf=1

[nothing]

wapf=2

[nothing]

wapf=3

[nothing]

wapf=4

[nothing]

wapf=5

[nothing]

The lights may be controlled by the "touchpad" led, could you try that ? (see /sys/class/leds , there should be some files, then echo 1 > brightness in the asus::touchpad directory).

I tried that, but there is no reaction. If it helps you, those two led-panels seem to be connected to the power-leds in a way, when the notebook is on s3, they blink in the same way as the power-leds do, they also turn off with them and on when resuming from s3. The only strange thing is, when the notebook is booting normally, those led panels are turned off. They then turn on as soon as grub2 loads the linux kernel (in a slow, fading way).

Hum, what kind of control do you have for these leds on windows ?

Actually, on my asus driver disk there was no tool to configure these leds. But a friend of mine has a laptop that is pretty similar to mine, and he uses some kind of asus control panel software.

Updated by Corentin Chary almost 2 years ago

Comment

Anonymous wrote:

Corentin Chary wrote:

Could you try with different values of wapf ? modprobe asus_laptop wapf=[0,1,2,3,4,5].
See http://dev.iksaif.net/projects/acpi4asus/wiki/Asus-laptop_WAPF for more informations.

fn+f2 xev (pressed twice with a second delay)

Then your laptop need wapf=2, anyway this should be the default setting. Could you fill the http://dev.iksaif.net/projects/acpi4asus/wiki/Asus-laptop_WAPF with your results ?

Slideswitch xev (first turned on, then off)

Could you try with acpi_listen ? The key may not already be mapped to an input event.

Hum, what kind of control do you have for these leds on windows ?

Actually, on my asus driver disk there was no tool to configure these leds. But a friend of mine has a laptop that is pretty similar to mine, and he uses some kind of asus control panel software.

Hum.. It will be hard to find how to control these leds, there is no obious acpi interface to do it :/

Updated by Corentin Chary almost 2 years ago

  • Status changed from New to Feedback

Updated by Anonymous almost 2 years ago

Comment

Alright, here is the slideswitch data from acpi_listen:

wapf=0,1,2,3
hotkey ATKD 0000005e 00000000
hotkey ATKD 0000007d 00000000

hotkey ATKD 0000005f 00000000
hotkey ATKD 0000007e 00000000

wapf=4,5
hotkey ATKD 00000080 00000000

hotkey ATKD 00000081 00000000

Updated by Corentin Chary over 1 year ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF