LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   usb keyboard in Linux 7.1 (https://www.linuxquestions.org/questions/linux-newbie-8/usb-keyboard-in-linux-7-1-a-9805/)

Danleff 12-07-2001 07:55 PM

usb keyboard in Redhat Linux 7.1/SGI XFS 2.4.9 kernel
 
Hi;

I have a NEC Clavier 5101 usb keyboard that I can't seem to get Linux to use. USB is enabled in the bios. The startup script seems to sense the device and kudzu id'ed it when it was first installed. However, I get no input. It lights-up when booting, as should be normal. Core input devices are set for keyboard directly compiled into the kernel, as well as HID and primary usb filesystem. Any ideas would be greatly appreciated. By the way, it works with WIN ME, in this dual-boot system.

Thanks!

Aussie 12-08-2001 10:03 PM

There is no "linux 7.1", there is however a "Redhat linux 7.1". You need to tell us what distro your using before we can help.

Danleff 12-09-2001 06:00 AM

Hi Aussie;

Opps... sorry. Yes, Redhat 7.1 updated with the SGI XFS 2.4.9 ver 1.0.2 kernel.

Sorry for the confusion!

Aussie 12-09-2001 06:11 AM

One more question, did you compile the kernel yourself with usb or is it a stock kernel from the install?

Danleff 12-09-2001 09:00 AM

Hi;

I used the Redhat 7.1 version rpm SGI kernel and source files, then added input core support for keyboard, as well as support for my Athlon processor (it had defaulted to intel). I also built in the UHCI for my via chipset, as well as full support for HID, and for my DC280 digital camera. Under sound, I built in support for my Allegro Maestro3.

One point is that Menuconfig showed that /dev/hiddev/raw HID device support was already built in with the kernel. Is this a possible problem, or is it OK?

Dmesg shows;

usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.259 $ time 13:04:07 Nov 15 2001
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 5 for device 00:07.2
PCI: Sharing IRQ 5 with 00:07.3
usb-uhci.c: USB UHCI at I/O 0xe400, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 5 for device 00:07.3
PCI: Sharing IRQ 5 with 00:07.2
usb-uhci.c: USB UHCI at I/O 0xe800, IRQ 5
usb-uhci.c: Detected 2 ports
hub.c: USB new device connect on bus1/2, assigned device number 2
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.251:USB Universal Host Controller Interface driver
hub.c: USB new device connect on bus1/2/1, assigned device number 3
usb.c: USB device 3 (vend/prod 0x77c/0x5) is not claimed by any active driver.
usb.c: registered new driver hid
input0: USB HID v1.00 Keyboard [Forward NEC USB Hub ] on usb1:3.0
hiddev0: USB HID v1.00 Device [Forward NEC USB Hub ] on usb1:3.1
usb.c: registered new driver hiddev
hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers

One final thought that may help, in my bios, I chose assign IRQ for USB, as well as USB keyboard support.

I hope this is useful.

Hey, are you the same Aussie on the motherboards.org website?

Aussie 12-09-2001 09:17 AM

No, I'm another Aussie :)
Can you post the output from "lsmod" There are a few modules that might need to be loaded, usbkbd and input are needed, I can see the part in your last post where "hid" is being loaded but you might need to add an entry for the others in /etc/modules.conf if they don't show up in "lsmod".

Danleff 12-09-2001 10:01 AM

Hi;

Thanks for the quick responses! Here it is;

[root@localhost danleff]# lsmod
Module Size Used by
ide-cd 30475 0 (autoclean)
cdrom 34793 0 (autoclean) [ide-cd]
ppp_async 8316 1 (autoclean)
ppp_generic 23361 3 (autoclean) [ppp_async]
slhc 6404 1 (autoclean) [ppp_generic]
autofs 13132 1 (autoclean)
ipchains 41925 0
keybdev 2692 0 (unused)
hid 22371 0 (unused)
input 5714 0 [keybdev hid]
usb-uhci 24367 0 (unused)
usbcore 62916 1 [hid usb-uhci]

Aussie 12-09-2001 10:21 AM

Well I'm stumped...you seem to have everything needed for a usb keyboard loaded. The only thing more I can suggest is an email to redhat or a search of their site for info on this keyboard.....
[edit] You might want to read the linux USB guide as well.

Danleff 12-09-2001 12:33 PM

Hi;

Thanks. I thought that I had done everything I should have to get this device working. I had hoped that I missed something simple, as newbees sometimes do. My guess is that this device, for whatever reason, isn't supported. I did look on RedHat's site..nada..they don't mention this particular keyboard. I also did see the USB site, which is what I used as a reference to try and configure the keyboard. The only thing that peaks my attention is the line in dmesg;

usb.c: USB device 3 (vend/prod 0x77c/0x5) is not claimed by any active driver.

This device should be the keyboard, by my guess. There are 2 onboard usb ports on this keyboard, which Redhat seems to be detecting, in addition to the onboard usb ports on my motherboard. Nothing via google.com or at the NEC website either. I'll try posting at RedHat.

I'll keep trying and past back here if I get it, so others may take advantage.
Thanks again for trying!

Aussie 12-09-2001 08:11 PM

Your welcome, sorry I couldn't be of more help. Good luck with it and if you get it working then maybe you should write a mini-how-to.


All times are GMT -5. The time now is 11:19 AM.