Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
With old kernel 2.6.18.3 USB keyboard is working.
Updated to kernel 3.2 60
With updated kernel 3.2.60 USB keyboard is not getting detected.
Just replace the bzimage to latest.
using the same RFS, why my USB keyboard is not working.
plz let me know how to check the keyboard events in any of the dev nodes.
i tried to # cat /dev/input/mice for checking the keyboard events but failed.
log dmesg [ after plugin the USB keyboard ]
[ 3714.956027] usb 3-1: new low-speed USB device number 5 using uhci_hcd
[ 3715.118063] usb 3-1: New USB device found, idVendor=413c, idProduct=2003
[ 3715.118068] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3715.118072] usb 3-1: Product: Dell USB Keyboard
[ 3715.118075] usb 3-1: Manufacturer: Dell
Usually the keyboard is straightforward. Most of the human interface devices have 'hid' in their kernel config. If you grep your kernel config (Usually in /boot) for 'HID' you'll see what's compiled in.
For usb controllers, best to load modules in this order
1. xhci # usb-3.x
2. ehci # usb-2.x
3. uhci or ohci (but not both 0 # usb-1.x
Uhci goes with Intel & Via chipsets, all others get ohci.
There may be some issue to the controller doing this. I'd get the feeling that if dmseg reports as above then the keyboard is being seen on usb. Wonder if you can get an on-screen keyboard to report lsusb?
Can you attach a ps/2 keyboard?
Can you change state of numlock (assumes you have a numlock light)?
Since it did work we can usually rule out bad keyboard but maybe try different one.
I'd put a live cd in that has a modern kernel and see what happens.
Can you boot to any safe mode settings on this from grub?
Thank you guys for guiding me, but my issue is still not resolved.
ps/2 keyboard is working fine, but need USB keyboard support.
I can't change state of numlock, light always there. if i unplug and plug back the USB keyboard then i am not getting the light.
If i reboot the system numlock light comesup and stays.
let me know if you guys need more information so i can get out of this problem.
my kernel config
#/proc/config.gz
output log [ updated with only enabled configuration in this out put ]
On my unit i do not have lsusb binary to check.
I copied lsusb binary but getting below error output
# /root/lsusb
Error, cannot open USBIDS File "/usr/share/hwdata/usb.ids", No such file or directory
plz help me is there any other way to find at least error logs for failure.
if you need /pro/bus/ or other information plz let me know.
Thank you
First, read the LQ Rules about text-speak, and about not using it. It's "please", not "plz".
And you've not said what kind of hardware you're using, or what version/distro of Linux. Having to copy the lsusb BINARY file over is VERY odd, since I've not heard of a distro that doesn't come with it these days. What kind of keyboard is the one you're trying to get working, and what kind of computer are you plugging it into??
On some systems there is a bios entry for legacy but that usually fades when system is loaded. On one dell server I had to disable something to get usb to work but I forget what that was. Some odd setting in bios.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.