[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-29 Thread Anton Sudak
Media keys back to normal, mouse is ok too, but Fn+F4 and Fn+F10 are not working. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1927545 Title: Some of Lenovo Lenovo Essential Wireless

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-28 Thread Chris Chiu
How about v8? It has different mapping for the Fn+F4. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1927545 Title: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-25 Thread Anton Sudak
With v7 it seems that Fn+F4 and Fn+F10 still do nothing, however other media keys got Mute Mic mapping as well as their primary function. For example if I press Vol+ I hear that volume increased but also GNOME shows that microphone become muted. This happens for mute, vol+, vol- and playback

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-25 Thread Chris Chiu
Yes. It's v7 and it should be silent to avoid the endless debug messages you mentioned. Could you give me the full dmesg because it should have the input mapping for the hid usage 0x0c? So the mic mute function still not working? And how about the mouse wheel? Is it affected? -- You

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-24 Thread Anton Sudak
I believe you are talking about v7 kernel. I've tried it and for this version dmesg was sielent on Fn+F4 and Fn+F10 pressing. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1927545

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-24 Thread Chris Chiu
I build a kernel in https://people.canonical.com/~mschiu77/lp1927545/v6/ that won't print the raw event add add keymap for the HID usage 0x0c. Seems that there's no way to distinguish Fn+F4 and Fn+F10. I add a verbose print in lenovo_event to get the value for the difference (I expect the

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-21 Thread Anton Sudak
Hi Chris, difference between full log and one I attached to previous comment is that in the full one contained line "usage 0 hid: 0x0c index 0x00 code 0x00 type 0x0" repeated endlessly. I rebooted system once log file was filled with that line up to ~150 mb. If anything else should be in

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-21 Thread Chris Chiu
Please also give me the full dmesg after boot of v6. I need to know the input mapping for the very specific HID usage 0x0c. Thanks. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-18 Thread Anton Sudak
Here what I was able to extract with the latest kernel: Fn+F4 [ 44.615947] lenovo_raw_event data 0x1:0x0:0x0 [ 44.615950] report id/type/app: 1/0/786433 maxfield: 1 [ 44.615952] field 0 physical: 0x00 logical 0x00 app 0x0c0001 flags 0x00, max usage 573 [ 44.615953] usage 0

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-18 Thread Chris Chiu
It's a pity that there's nothing distinguishable for them. I'll need more information. Please help try https://people.canonical.com/~mschiu77/lp1927545/v6/. Thanks -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-17 Thread Anton Sudak
Here is what dmesg shows now: Fn+F4 [ 90.603608] lenovo_raw_event data 0x1:0x0:0x0 [ 90.603611] report id/type/app: 3223070016/1/0 maxfield: 786433 [ 90.603612] field 0 hid usage hid: 0x0c index 0x00 Fn+F10 [ 95.779641] lenovo_raw_event data 0x1:0x0:0x0 [ 95.779652] report

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-17 Thread Chris Chiu
That's the confusing part if the lenovo_raw_event report the same for different key combinations. I'll need more information. Please use the kernel in https://people.canonical.com/~mschiu77/lp1927545/v5 and post the dmesg when pressing Fn+F4 and Fn+F10. Thanks. -- You received this bug

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-15 Thread Anton Sudak
No worries, thats might happen for everyone. Some good news, now there is some reaction on both keys in dmesg: [ 28.599434] (efault) data 0x0:0x00x0 Message is the same for Fn+F4 and Fn+F10. Mouse still work in weird way with mouse wheel not working. There is also a quirk that restart entry

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-15 Thread Chris Chiu
Sorry that I didn't double check to verify if the image upload succeeds or not. It should be there now. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1927545 Title: Some of Lenovo

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-11 Thread Anton Sudak
v4 folder seems empty for me. Am I overlooking something? -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1927545 Title: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-11 Thread Chris Chiu
Thanks. Since the HID USAGE page is not found in the report descriptor, I can only quirk this in process_events function instead of input_mapping. I need some more information. Could u help me test the kernel in https://people.canonical.com/~mschiu77/lp1927545/v4 and give me the dmesg output which

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-11 Thread Anton Sudak
Sure, here it is. ** Attachment added: "dmesg with v3" https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1927545/+attachment/5504017/+files/dmesg -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-10 Thread Chris Chiu
Can you give me the dmesg from boot? I can at least know how the HID do the input mapping. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1927545 Title: Some of Lenovo Lenovo Essential

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-10 Thread Anton Sudak
Keyboard worked with new kernel, however Fn+F4 still doesn't functional. I've also noticed that mouse middle button stopped to work (both scrolling and clicking) on this version. dmesg doesn't show anything on pressing Fn+F4. -- You received this bug notification because you are a member of

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-10 Thread Chris Chiu
My bad. The USB VID/PID seem to be incorrect in my quirk. Please try https://people.canonical.com/~mschiu77/lp1927545/v3 and post me the output when pressing Fn+F4. Thanks. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-09 Thread Anthony Wong
** Changed in: linux (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1927545 Title: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-09 Thread Anton Sudak
With v2 both keyboard and mouse from Lenovo Essentials set stopped to work. Fortunately I had a replacement so I still was able to check what happens. Seems that they stopped to be recognized as input devices, at least there were no messages like following in dmesg input: Primax Lenovo Essential

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-08 Thread Chris Chiu
Sorry that I forget the add the VID/PID to the hid quirk table. Could you help me verify the kernel in https://people.canonical.com/~mschiu77/lp1927545/v2? Thanks -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-08 Thread Anton Sudak
I've checked provided kernel and seems nothing has changed. Keys still does't work and dmesg is sielent when I'm pressing mic mute. For Fn+F10 it seems that the closest behavior would be to take selective screenshot. But if there is no such event defined that it might be mapped as a generic Fn

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-08 Thread Chris Chiu
I've built a kernel to map the MIC-MUTE key (Fn+F4) in https://people.canonical.com/~mschiu77/lp1927545/. Could you help test the mic mute function and give me the dmesg output when you press Fn+F4? Thanks The Fn+F10 (Scissors) is probably MS Windows specific. I can't find an appropriate mapping

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-07 Thread Anton Sudak
Hi Chris, Here is what I've got running these command in parallel mute: # cat /dev/usb/hiddev0 | hexdump -v -e '/1 "%02X\n"' 00 00 00 FF DC 00 00 00 00 00 00 FF 00 00 00 00 00 00 00 FF 00 00 00 00 # cat /sys/kernel/debug/hid/0003\:17EF\:60A9.0003/events report (size 3) (numbered) = 01 00 00

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-07 Thread Chris Chiu
Thanks for the information. >From the rdesc, the raw report data (01 00 00) does not match may valid HID_USAGE_PAGE/HID_USAGE. That's why they are not processed. >From the raw data by the command cat /dev/usb/hiddev0 | hexdump -v -e '/1 "%02X\n"', it seems that the data is MicroSoft specific

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-04 Thread Anton Sudak
Hi Chris, Here is output of the cat /sys/kernel/debug/hid/0003\:17EF\:60A9.0003/events report (size 3) (numbered) = 01 00 00 # for Fn+F4 report (size 3) (numbered) = 01 00 00 # for Fn+F10 I've added rdesc as attachment as it quite long. ** Attachment added: "cat

[Kernel-packages] [Bug 1927545] Re: Some of Lenovo Lenovo Essential Wireless Keyboard Fn keys doesn't work

2021-06-04 Thread Chris Chiu
Hi Anton, Can you provide the content of /sys/kernel/debug/hid/:17ef:60a9./rdesc and the output of /sys/kernel/debug/hid/:17ef:60a9./events when you press Fn+F4 and Fn+F10? It will help us understand the PTP message format to parse the raw data from the hiddev. -- You received