Imx8mq with usb keyboard no response

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Imx8mq with usb keyboard no response

528 Views
hongxingyu1982
Contributor III

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.

0 Kudos
1 Reply

479 Views
AldoG
NXP TechSupport
NXP TechSupport

Hello,

 

Haven't seen this kind of behavior, I see that you have built your own image, could you try with one of our pre-built image and check if the issue persist, you may find them here:
https://www.nxp.com/webapp/Download?colCode=L4.14.98_2.0.0_MX8MQ&appType=license

 

Thank you,

Best regards,

Aldo.

0 Kudos