You are not logged in.

#1 2015-07-27 09:32:44

crondog
Member
Registered: 2011-04-21
Posts: 130

Asus T300CHI Keyboard

I am trying to figure out how to fix some of the issues which I am having with this laptop's keyboard (I am really regretting not getting the X305 but I got this one $200 cheaper). It is a bluetooth keyboard so it is a bit shit anyway smile I have a feeling that I will need to go kernel hacking but would like to get some advice before I go running around in circles.

1: The keyboard uses fn+key_down for pagedown and fn+key_up for pageup. However I have problems when I try to use it with the shift key. With normal keys like a-z etc it works fine. I can see this in evtest where I can hold down the shift key and see it repeat. Then I press 'a' and then evtest does not show the repeated shift.

Event: time 1437989376.499771, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989376.499771, -------------- EV_SYN ------------
Event: time 1437989376.533110, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989376.533110, -------------- EV_SYN ------------
Event: time 1437989376.566443, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989376.566443, -------------- EV_SYN ------------
Event: time 1437989376.599775, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989376.599775, -------------- EV_SYN ------------
Event: time 1437989376.633111, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989376.633111, -------------- EV_SYN ------------
Event: time 1437989376.666442, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989376.666442, -------------- EV_SYN ------------
Event: time 1437989376.699772, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989376.699772, -------------- EV_SYN ------------
Event: time 1437989376.733111, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989376.733111, -------------- EV_SYN ------------
Event: time 1437989376.761395, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70004
Event: time 1437989376.761395, type 1 (EV_KEY), code 30 (KEY_A), value 1
Event: time 1437989376.761395, -------------- EV_SYN ------------
Event: time 1437989376.861345, type 4 (EV_MSC), code 4 (MSC_SCAN), value 70004
Event: time 1437989376.861345, type 1 (EV_KEY), code 30 (KEY_A), value 0

However when I do it with the fn+up it continues spilling out shifts

Event: time 1437989478.169767, -------------- EV_SYN ------------
Event: time 1437989478.203098, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.203098, -------------- EV_SYN ------------
Event: time 1437989478.236434, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.236434, -------------- EV_SYN ------------
Event: time 1437989478.269766, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.269766, -------------- EV_SYN ------------
Event: time 1437989478.303097, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.303097, -------------- EV_SYN ------------
Event: time 1437989478.323202, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e1
Event: time 1437989478.323202, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 0
Event: time 1437989478.323202, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7004e
Event: time 1437989478.323202, type 1 (EV_KEY), code 109 (KEY_PAGEDOWN), value 1
Event: time 1437989478.323202, -------------- EV_SYN ------------
Event: time 1437989478.414488, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7004e
Event: time 1437989478.414488, type 1 (EV_KEY), code 109 (KEY_PAGEDOWN), value 0
Event: time 1437989478.414488, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e1
Event: time 1437989478.414488, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 1
Event: time 1437989478.414488, -------------- EV_SYN ------------
Event: time 1437989478.663103, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.663103, -------------- EV_SYN ------------
Event: time 1437989478.696428, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.696428, -------------- EV_SYN ------------
Event: time 1437989478.729769, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.729769, -------------- EV_SYN ------------
Event: time 1437989478.763098, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.763098, -------------- EV_SYN ------------
Event: time 1437989478.796435, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.796435, -------------- EV_SYN ------------
Event: time 1437989478.829766, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.829766, -------------- EV_SYN ------------
Event: time 1437989478.863098, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.863098, -------------- EV_SYN ------------
Event: time 1437989478.896427, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2
Event: time 1437989478.896427, -------------- EV_SYN ------------
Event: time 1437989478.929767, type 1 (EV_KEY), code 42 (KEY_LEFTSHIFT), value 2

2: Since this is an asus laptop it has that stupid wmi thing. The brightness keys don't send acpi events however they do send the below. For example this is the brightness down key. See how it outputs as a EV_REL and not EV_KEY. I was thinking about writing a userspace program to intercept these weird key events or having a go at the kernel...

vent: time 1437989479.153224, -------------- EV_SYN ------------
Event: time 1437989586.155198, type 2 (EV_REL), code 9 (REL_MISC), value 16
Event: time 1437989586.155198, -------------- EV_SYN ------------

So has anyone come across these issues before and or have fixes for them? Googling things about linux shift keys only gives me results of people failing at grub smile

Offline

#2 2015-07-27 10:12:49

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Asus T300CHI Keyboard

Rant: I have been fighting with Asus devices for years as well and I will now simply not buy them anymore.

Since this is out now... If you use a crawler on "asus wmi linux" you will find the ACPI4Asus driver. It has been part of the Linux kernel for quite a long time, so chances are you only need to activate a kernel module. Check the loaded modules for anything "asus", "wmi" or even "eee", maybe the module is not loaded at all, maybe the wrong module is being loaded.

Offline

#3 2015-07-27 10:17:30

crondog
Member
Registered: 2011-04-21
Posts: 130

Re: Asus T300CHI Keyboard

Forgot to mention that those modules are already loaded. Even when i use evtest on the wmi event none of the acpi keys do anything. But if i run acpi_listen only the power and volume keys generate input

asus_nb_wmi            24576  0
asus_wmi               24576  1 asus_nb_wmi
sparse_keymap          16384  1 asus_wmi
rfkill                 24576  5 cfg80211,bluetooth,asus_wmi
wmi                    20480  1 asus_wmi
video                  24576  2 i915,asus_wmi
led_class              16384  3 sdhci,iwlmvm,asus_wmi

Last edited by crondog (2015-07-27 10:18:14)

Offline

Board footer

Powered by FluxBB