Skip to content

Keyboard is not working after reconnecting it #200

Description

@ahui-A

Issue description: disconnect keyboard , then connect keyboard, it is not possible to type anything.
Environment: HP DL360 Gen 11 with Almalinux 9.3

A possible workaround:
1)Log into an ssh session to check usb devices, keyboard is missing
$ lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
|__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M
2) list USB controllers
$ lspci | grep USB
00:14.0 USB controller: Intel Corporation Device 1bcd (rev 11)
01:00.4 USB controller: Hewlett-Packard Company iLO5 Virtual USB Controller (rev 01)
3)00:14.0 is the one we want to reset. unbind and then bind it again
$ echo -n "0000:00:14.0" | sudo tee /sys/bus/pci/drivers/xhci_hcd/unbind
0000:00:14.0
[sas@irdeto-server xhci_hcd]$ echo -n "0000:00:14.0" | sudo tee /sys/bus/pci/drivers/xhci_hcd/bind
0000:00:14.0
4)check usb devices again, the keyboard is connected again.
$ lsusb -t
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 10000M
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
|__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
|__ Port 13: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 13: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/8p, 480M

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions