AnsweredAssumed Answered

Imx8mq with usb keyboard no response

Question asked by Hongxing Yu on Jul 2, 2020
Latest reply on Jul 10, 2020 by Aldo Gutierrez

Linux version 4.14.98-06002-g2486935-dirty 

Machine model: Freescale i.MX8MQ EVK

 

There is a issue with the blew Linux version and machine model. The usb mouse and usb storage are ok, but the usb keyboard is not ok.

 

but I can see the usb keyboard device as blew:

root@imx8mqevk:~# cat /proc/bus/input/devices
I: Bus=0003 Vendor=413c Product=2113 Version=0111
N: Name="Dell KB216 Wired Keyboard"
P: Phys=usb-xhci-hcd.0.auto-1/input0
S: Sysfs=/devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:413C:2113.0001/input/input0
U: Uniq=
H: Handlers=sysrq kbd leds event0
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

 

I: Bus=0003 Vendor=413c Product=2113 Version=0111
N: Name="Dell KB216 Wired Keyboard"
P: Phys=usb-xhci-hcd.0.auto-1/input1
S: Sysfs=/devices/platform/usb@38200000/38200000.dwc3/xhci-hcd.0.auto/usb1/1-1/1-1:1.1/0003:413C:2113.0002/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=13
B: KEY=80002000000 387ad801d001 1e000000000000 0
B: MSC=10

 

and the usb keyboard event is ok as blew:

root@imx8mqevk:~# hexdump /dev/input/event0
0000000 b8f1 5e00 0000 0000 dca0 0000 0000 0000
0000010 0004 0004 0028 0007 b8f1 5e00 0000 0000
0000020 dca0 0000 0000 0000 0001 001c 0001 0000
0000030 b8f1 5e00 0000 0000 dca0 0000 0000 0000
0000040 0000 0000 0000 0000 b8f1 5e00 0000 0000
0000050 9801 0001 0000 0000 0004 0004 0028 0007
0000060 b8f1 5e00 0000 0000 9801 0001 0000 0000
0000070 0001 001c 0000 0000 b8f1 5e00 0000 0000
0000080 9801 0001 0000 0000 0000 0000 0000 0000

 

But there is no response when i select Wayland Terminal and press the keyboard.

Outcomes