cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HonzaMolnar
Serial Port
Posts: 16
Registered: ‎05-11-2017
Location: CZ
Views: 12,398
Message 1 of 16

Professional Wireless Keyboard not working on Linux

My Lenovo Professional Wireless Keyboard (03X6972/4X30H56803) works fine on Windows, BIOS/EFI and in Grub. On Linux only Shift, Ctrls, Alts, Meta and multimedia keys work (no letters, no number, no arrows...). "showkey --scancodes" cannot recognize keypresses. Any ideas, please?

Guru
Posts: 9,598
Registered: ‎12-26-2009
Location: CA
Views: 12,276
Message 2 of 16

Re: Professional Wireless Keyboard not working on Linux

Here's a thread that didn't get solved...
https://askubuntu.com/questions/897729/lenovo-professional-wireless-keyboard-and-mouse-combo-not-wor...

Does using atkbd.softraw=0 in your kernel boot parameters do anything?

W520: 2960XM, Q2000M @ 1091/1380, 32GB RAM, 500GB&750GB HDD & 500GB SSD, FHD&MB168B+
X61T: L7500, 4GB RAM, 500GB HDD, XGA screen, Ultrabase
W550s: 5600U, K620M at 1164/1281, 16GB RAM, 512GB SSD, 3K touchscreen
X200s: SL9400, 6GB RAM, 64GB SD card, WXGA+ screen
TPT1: 1839-23U
HonzaMolnar
Serial Port
Posts: 16
Registered: ‎05-11-2017
Location: CZ
Views: 12,243
Message 3 of 16

Re: Professional Wireless Keyboard not working on Linux

Thanks for the reference. I am aware of it, but I do not have enough reputation even to upvote there. An ASUS keyboard seems to have the same issue – they are both made by Primax Electronics.

 

"atkbd.softraw=0" unfortunately did not help. "showkey --scancodes" resulted into the same output.

 

On https://pastebin.com/jm1tRjKR I pasted "evtest --grab" output from my old Ultraslim Plus Wireless Keyboard. That one works fine. The outputs are almost identical apart from a few extra lines of the older one:

--- /tmp/ps	2017-07-04 09:42:06.887928198 +0200
+++ /tmp/us	2017-07-04 09:41:49.251930079 +0200
@@ -1,6 +1,6 @@
 Input driver version is 1.0.1
-Input device ID: bus 0x3 vendor 0x17ef product 0x609b version 0x111
-Input device name: "Lenovo USB Receiver"
+Input device ID: bus 0x3 vendor 0x17ef product 0x6022 version 0x111
+Input device name: "Lenovo Ultraslim Plus Wireless Keyboard & Mouse"
 Supported events:
   Event type 0 (EV_SYN)
   Event type 1 (EV_KEY)
@@ -70,6 +70,11 @@
     Event code 241 (KEY_VIDEO_NEXT)
     Event code 244 (KEY_BRIGHTNESS_ZERO)
     Event code 256 (BTN_0)
+    Event code 272 (BTN_LEFT)
+    Event code 273 (BTN_RIGHT)
+    Event code 274 (BTN_MIDDLE)
+    Event code 275 (BTN_SIDE)
+    Event code 276 (BTN_EXTRA)
     Event code 353 (KEY_SELECT)
     Event code 354 (KEY_GOTO)
     Event code 358 (KEY_INFO)
@@ -135,7 +140,11 @@
     Event code 592 (KEY_BRIGHTNESS_MIN)
     Event code 593 (KEY_BRIGHTNESS_MAX)
   Event type 2 (EV_REL)
+    Event code 0 (REL_X)
+    Event code 1 (REL_Y)
     Event code 6 (REL_HWHEEL)
+    Event code 7 (REL_DIAL)
+    Event code 8 (REL_WHEEL)
   Event type 3 (EV_ABS)
     Event code 32 (ABS_VOLUME)
       Value      0
@@ -143,7 +152,7 @@
       Max      572
     Event code 40 (ABS_MISC)
       Value      0
-      Min     -128
+      Min     -127
       Max      127
   Event type 4 (EV_MSC)
     Event code 4 (MSC_SCAN)

 ... "evtest --grab" outputs probably are not very important due to their similarity.

 

Just after my initial message, I re-paired the keyboard for tenth time and it appeared to work for a while. I haven't been able to reproduce it since then.

HonzaMolnar
Serial Port
Posts: 16
Registered: ‎05-11-2017
Location: CZ
Views: 12,212
Message 4 of 16

Re: Professional Wireless Keyboard not working on Linux

A workaround found: https://github.com/y-trudeau/linux_lenovo_ultraslim_plus

 

A vanilla kernel solution advice is still welcome.

MatthewKeenan
Paper Tape
Posts: 1
Registered: ‎09-26-2017
Location: IE
Views: 11,836
Message 5 of 16

Re: Professional Wireless Keyboard not working on Linux

I'm experiencing the same issue on Linux Mint 18, I tried the workaround from github, whilst it resolves the keyboard issue, unfortunately the mouse stops working. Sigh.

 

So it's not a complete solution.

 

Interestingly if I run the supplied script lenovo_keyboard.sh manually the keyboard input is recognised and acted upon, and the mouse continues to work. So hooking up the dongle plug in to automatically run this script could be another workaround.

 

Anyone else see this issue or have another solution ?

GodLike
What's DOS?
Posts: 3
Registered: ‎05-12-2016
Location: BG
Views: 11,789
Message 6 of 16

Re: Professional Wireless Keyboard not working on Linux

same problem yet no solution .....

HonzaMolnar
Serial Port
Posts: 16
Registered: ‎05-11-2017
Location: CZ
Views: 11,749
Message 7 of 16

Re: Professional Wireless Keyboard not working on Linux

Hi guys, the issue is seen probably by everyone. Some people just took another keyboard.

 

There seems to be a bug in Linux HID descriptor parser – fixing it would solve the issue the most reliable way. See https://unix.stackexchange.com/a/377873/239474

DavidDemelier
What's DOS?
Posts: 1
Registered: ‎10-30-2017
Location: FR
Views: 11,346
Message 8 of 16

Re: Professional Wireless Keyboard not working on Linux

Please tell me how in 2017 it's still possible to have non working keyboards? It's just a set of codes to send to the USB bus. I can't believe lenovo could sell broken keyboards without testing them. I surely never buy any lenovo accessories anymore. Thanks lenovo Heart

 

Even the cheapest keyboards on earth work OOB.

dpt1
Paper Tape
Posts: 1
Registered: ‎11-23-2017
Location: DE
Views: 10,712
Message 9 of 16

Re: Professional Wireless Keyboard not working on Linux

Hello,

I have the same problem, I am trying to use my new wireless professional keyboard. I used the information of githup

https://github.com/y-trudeau/linux_lenovo_ultraslim_plus

I changed in 85-lenovo-keyboard.rules the ATTRS{idProduct}=="609b" for "609c". I did not have problems with the installation but the keyboard works just for a moment and then anymore. I have to plug the dongle again and the keyboard works again. But if I read something on the web (I mean ir I stop typing) or I use the keys "calculator" or "volume" then the rest of the keys do not work anymore.

Have someone an idea, what is it happens? How can I get a solution?

I appreciate your help in advance.

 

@ For the people of lenovo: How is possible that you are not fix this problem. The linux community is very big and you should sell a working wireless keyword for such customer segment or write in your website very clear that your wireless keywords only works for windows.

 

Thank you very much

 

 

fabianbl
What's DOS?
Posts: 1
Registered: ‎01-04-2018
Location: CH
Views: 9,983
Message 10 of 16

Re: Professional Wireless Keyboard not working on Linux

I also had the problem that the keyboard worked just for some time and then stopped to work. Instead of a udev rule, I'm running y-trudeau's script as a service using systemctl (tested on Ubuntu 16.04 with kernel 4.10):

 

https://github.com/fabianbl/lenovo_professional_wireless_keyboard

 

Still kind of hacky, but does the job for me. Would be happy to hear if this works for other people.

Check out current deals!


Shop current deals

Top Kudoed Authors