Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I got a new (to me) computer. I installed Slackware, built a new kernel on the machine. It fails to detect any USB device, which includes my only keyboards and mice. I figured this out by putting lsusb (and dmesg and lsmod) in rc.M, saving the output to a file. lsusb lists only the hubs, no attached devices. I forced loading of the relevant modules; they load, but do nothing because they see no devices. When I boot from a USB drive they work. What is failing to happen?
I got a new (to me) computer. I installed Slackware, built a new kernel on the machine. It fails to detect any USB device, which includes my only keyboards and mice. I figured this out by putting lsusb (and dmesg and lsmod) in rc.M, saving the output to a file. lsusb lists only the hubs, no attached devices. I forced loading of the relevant modules; they load, but do nothing because they see no devices. When I boot from a USB drive they work. What is failing to happen?
There is a comprehensive list of functionalities for USB devices in kernel configuration, also for HID. You want us to guess what you have missed (I will not) or you will drop your kernel conf into a pastebin site for us to look at it?
There is a comprehensive list of functionalities for USB devices in kernel configuration, also for HID. You want us to guess what you have missed (I will not) or you will drop your kernel conf into a pastebin site for us to look at it?
I started with the same kernel config that works on this computer with the same keyboard, mouse, and usb drives. Then I enabled every item that deals with usb keyboard and mouse input and built a clean kernel. It misses my bluetooth adaptor and smartphone, too, every device I have. The BIOS finds them. They worked in a Win 95 partition that I wiped out when I formatted the disk. When I boot from the USB drive it sees the keyboard (but lacks a mouse driver module) and drives.
The dmesg from when it doesn't work finds every USB hub but no connected device. I think there's something more basic wrong. I wouldn't think of subjecting others to reading my kernel config, but if anyone wants to https://pastebin.com/tLUPCLgP
I built the kernel with a bunch of USB facilities built in, rather than as modules (I prefer to make everything a module) and building some new facilities which I don't know I have, and it works. I'd still like to know what makes the difference.
I haven't tried to narrow it down further. The BIOS sees these devices before I load the kernel; why can't Linux? I have no UHCI devices, so it's probably irrelevant. My laptop has EHCI but no XHCI. I build EHCI as modules on it, and they work. So maybe it's just XHCI. Is there a problem with expecting their modules to load?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.