Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard is not working after reconnecting it #200

Open
ahui-A opened this issue Jan 29, 2024 · 0 comments
Open

Keyboard is not working after reconnecting it #200

ahui-A opened this issue Jan 29, 2024 · 0 comments

Comments

@ahui-A
Copy link

ahui-A commented Jan 29, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant