LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   USB portable hard drive is working, USB mouse and keyboard are not working. (https://www.linuxquestions.org/questions/linux-hardware-18/usb-portable-hard-drive-is-working-usb-mouse-and-keyboard-are-not-working-4175687466/)

mehh 12-25-2020 08:28 AM

USB portable hard drive is working, USB mouse and keyboard are not working.
 
I had previously installed Windows, Linux Mint and many other systems on my laptop with T4400 processor and used it for a long time without any problems. I installed Lubuntu 18.04 32 bit to be light and fast, but USB mouse and keyboard didn't work, USB portable hard drive works fine.
https://www.technopat.net/sosyal/eklenti/799810.jpg
https://www.technopat.net/sosyal/eklenti/799811.jpg
https://www.technopat.net/sosyal/eklenti/799812.jpg
https://www.technopat.net/sosyal/eklenti/799813.jpg
https://www.technopat.net/sosyal/eklenti/799814.jpg
When inserting a USB portable hard drive;
https://www.technopat.net/sosyal/eklenti/799817.jpg
How can I operate a USB keyboard and mouse?

sgosnell 12-25-2020 03:58 PM

Mice and keyboards should work out of the box, the drivers are in the kernel. I have no idea why yours don't work. "Didn't work" is not at all descriptive. What are you using to connect the devices, and what are the symptoms? Are they wireless, or wired? Your photos are hard to see, and don't provide much information.

frankbell 12-25-2020 07:51 PM

Do you have other known-good devices that you can test with?

Brains 02-14-2021 04:05 PM

They are seen and picked up, however, the kernel driver being used is USB1.1. The laptop does have USB2 as that is the kernel driver in use for the USB hub supporting the webcam.
This suggests the keyboard and mouse are relics of the distant past.

Emerson 02-14-2021 04:21 PM

I vaguely remember there can be a USB driver loading order issue with generic kernel, resulting in issue like this. If this was my computer I'd log in over SSH and try unloading ohci, ehci, uhci and xhci and then experiment with loading them back. There may be more information in Ubuntu forums.

Edit: maybe it is xhci which should not be loaded at all. See below, my wife's computer, it has uhci and ehci only.

Code:

lsusb -t
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
    |__ Port 2: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 2: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=uhci_hcd/2p, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/6p, 480M


mrmazda 02-19-2021 12:23 AM

Quote:

Originally Posted by mehh (Post 6199837)
...USB mouse and keyboard didn't work...

When didn't they work, after starting an X session? At the GUI login screen? At the Grub menu? Booted only to text mode (append 3 to line (usually wrapped) beginning with linu after striking the E key)? If only after the GUI starts is the problem, try unplugging and re-plugging the two devices.


All times are GMT -5. The time now is 09:33 AM.