Wind River Support Network

HomeDefectsLIN1021-2255
Fixed

LIN1021-2255 : Keyboard and mouse do not work on xilinx-zynqmp BSP

Created: Dec 21, 2021    Updated: Jan 7, 2022
Resolved Date: Dec 28, 2021
Found In Version: 10.21.20.8
Fix Version: 10.21.20.8
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: BSP

Description

The keyboard and mouse can be detected on the xilinx-zynqmp BSP target as below, but they cannot work. (No outputs from the keyboard and movements from the mouse.)

root@xilinx-zynqmp:~# dmesg | grep -i usb
[    1.307148] usbcore: registered new interface driver usbfs
[    1.311144] usbcore: registered new interface driver hub
[    1.315113] usbcore: registered new device driver usb
[    2.194567] usbcore: registered new interface driver usb-storage
[    2.337446] usbcore: registered new interface driver usbhid
[    2.340775] usbhid: USB HID core driver
[    2.348733] usbcore: registered new interface driver snd-usb-audio
[    2.788363] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[    2.789789] hub 1-0:1.0: USB hub found
[    2.790142] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[    2.790154] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    2.790863] hub 2-0:1.0: USB hub found
[    3.042714] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    3.238638] hub 1-1:1.0: USB hub found
[    3.318930] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[    3.623153] hub 2-1:1.0: USB hub found
[    3.662913] usb 1-1.1: new high-speed USB device number 3 using xhci-hcd
[    3.846798] hub 1-1.1:1.0: USB hub found
[    3.994728] usb 1-1.4: new low-speed USB device number 4 using xhci-hcd
[    4.203934] input: Logitech USB Optical Mouse as /devices/platform/axi/ff9d0000.usb0/fe200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.4/1-1.4:1.0/0003:046D:C077.0001/input/input1
[    4.203997] hid-generic 0003:046D:C077.0001: input: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-xhci-hcd.1.auto-1.4/input0
[    4.247210] usb 2-1.1: new SuperSpeed Gen 1 USB device number 3 using xhci-hcd
[    4.567077] hub 2-1.1:1.0: USB hub found
[    4.634881] usb 1-1.1.3: new low-speed USB device number 5 using xhci-hcd
[    4.842346] input: DELL Dell USB Entry Keyboard as /devices/platform/axi/ff9d0000.usb0/fe200000.dwc3/xhci-hcd.1.auto/usb1/1-1/1-1.1/1-1.1.3/1-1.1.3:1.0/0003:413C:2107.0002/input/input2
[    4.898938] hid-generic 0003:413C:2107.0002: input: USB HID v1.10 Keyboard [DELL Dell USB Entry Keyboard] on usb-xhci-hcd.1.auto-1.1.3/input0

Steps to Reproduce

1. Build project

$ /lpg-build/cdc/fast_prod/WRL10_21/WRL10_21_GIT/wrlinux-10/setup.sh --machines=xilinx-zynqmp --templates feature/test --distro wrlinux --accept-eula=yes --dl-layers
 $ source environment-setup-x86_64-wrlinuxsdk-linux
 $ source oe-init-build-env
 $ echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"' >> conf/local.conf
 $ bitbake-layers add-layer /lpg-build/cdc/WASSP_LINUX_1021/testcases/wrlinux/wr-testing/bts-dev/
 $ echo "WRTEMPLATE_append = \" feature/bts\"" >> conf/local.conf
 $ bitbake wrlinux-image-std-sato

 2. Input from keyboard and mouse connected on the target (#29049)
Live chat
Online