USB keyboard/mouse doesn't work with RH 7.2

USB keyboard/mouse doesn't work with RH 7.2

Post by Tim Maver » Wed, 20 Feb 2002 13:23:04



I just installed RH 7.2 and everything and cannot get my MS Internet
Keyboard Pro and MS Intellimouse Explorer (both USB) to work.

I selected USB for the mouse (not asked for keyboard) during setup, and
lsmod gives me this:

Module                  Size  Used by
autofs                 11232   0  (autoclean) (unused)
ipchains               36000   0
mousedev                4192   1
keybdev                 2000   0  (unused)
hid                    19408   0  (unused)
usbkbd                  3232   0  (unused)
input                   3552   0  [mousedev keybdev hid usbkbd]
usb-ohci               17936   0  (unused)
usbcore                49792   1  [hid usbkbd usb-ohci]
tulip                  37696   1
ext3                   61936   2
jbd                    38976   2  [ext3]

I get valid USB messages when I boot up.   The usb keyboard works up until
linux starts (it works fine in DOS with BIOS).   I have it connected through
an IOGear USB KVM which works great for my other machines.

Any ideas?  Until I fix this, I am forced to use a telnet session...

Thanks.

 
 
 

USB keyboard/mouse doesn't work with RH 7.2

Post by David Filio » Thu, 21 Feb 2002 02:15:29



> I just installed RH 7.2 and everything and cannot get my MS Internet
> Keyboard Pro and MS Intellimouse Explorer (both USB) to work.

> I selected USB for the mouse (not asked for keyboard) during setup, and
> lsmod gives me this:

> Module                  Size  Used by
> autofs                 11232   0  (autoclean) (unused)
> ipchains               36000   0
> mousedev                4192   1
> keybdev                 2000   0  (unused)
> hid                    19408   0  (unused)
> usbkbd                  3232   0  (unused)
> input                   3552   0  [mousedev keybdev hid usbkbd]
> usb-ohci               17936   0  (unused)
> usbcore                49792   1  [hid usbkbd usb-ohci]
> tulip                  37696   1
> ext3                   61936   2
> jbd                    38976   2  [ext3]

> I get valid USB messages when I boot up.   The usb keyboard works up until
> linux starts (it works fine in DOS with BIOS).   I have it connected through
> an IOGear USB KVM which works great for my other machines.

> Any ideas?  Until I fix this, I am forced to use a telnet session...

> Thanks.

Don't use hid and usbkdb at the same time.  Try just usb-ohci and hid.
From kernel config help:

USB Human Interface Device (full HID) support
CONFIG_USB_HID
  Say Y here if you want full HID support to connect keyboards,
  mice, joysticks, graphic tablets, or any other HID based devices
  to your computer via USB. You __can't__ use this driver and the
  HIDBP (Boot Protocol) keyboard and mouse drivers at the same time.
  More information is available: <file:Documentation/input/input.txt>.

  If unsure, say Y.

  This code is also available as a module ( = code which can be
  inserted in and removed from the running kernel whenever you want).
  The module will be called hid.o. If you want to compile it as a
  module, say M here and read <file:Documentation/modules.txt>.

 
 
 

USB keyboard/mouse doesn't work with RH 7.2

Post by Tim Maver » Thu, 21 Feb 2002 12:32:10



Quote:> Don't use hid and usbkdb at the same time.  Try just usb-ohci and hid.
> From kernel config help:

How do I prevent usbkbd from starting?  This is basically a default rh 7.2
install.

Thanks,

 
 
 

USB keyboard/mouse doesn't work with RH 7.2

Post by David Filio » Mon, 25 Feb 2002 10:41:40





> > Don't use hid and usbkdb at the same time.  Try just usb-ohci and hid.
> > From kernel config help:

> How do I prevent usbkbd from starting?  This is basically a default rh 7.2
> install.

> Thanks,

Look for it on /etc/rc.modules.  Comment out the line that loads the
module.
 
 
 

USB keyboard/mouse doesn't work with RH 7.2

Post by Tim Maver » Tue, 26 Feb 2002 12:29:07






> > > Don't use hid and usbkdb at the same time.  Try just usb-ohci and hid.
> > > From kernel config help:

> > How do I prevent usbkbd from starting?  This is basically a default rh
7.2
> > install.

> > Thanks,

> Look for it on /etc/rc.modules.  Comment out the line that loads the
> module.

Sorry for the basic questions, but I am a linux newbie.  I am runnig RedHat
7.2 and I don't seem to have an /etc/rc.modules file.

Is there a way I can add a usb-keyboard and usb-mouse manually.

Thanks,

 
 
 

USB keyboard/mouse doesn't work with RH 7.2

Post by Nico Kadel-Garci » Wed, 27 Feb 2002 00:11:49








> > > > Don't use hid and usbkdb at the same time.  Try just usb-ohci and
hid.
> > > > From kernel config help:

> > > How do I prevent usbkbd from starting?  This is basically a default rh
> 7.2
> > > install.

> > > Thanks,

> > Look for it on /etc/rc.modules.  Comment out the line that loads the
> > module.

> Sorry for the basic questions, but I am a linux newbie.  I am runnig
RedHat
> 7.2 and I don't seem to have an /etc/rc.modules file.

> Is there a way I can add a usb-keyboard and usb-mouse manually.

> Thanks,

They were handled automatically by kudzu detecting the hardware, and the
built-in USB management tools automatically loading the modules as needed. I
take it this isn't happening for you? Have you tried installing and running
kudzu (which is much better than it used to be, honest!)?
 
 
 

USB keyboard/mouse doesn't work with RH 7.2

Post by Paul Smi » Sat, 02 Mar 2002 14:46:32








> > > > Don't use hid and usbkdb at the same time.  Try just usb-ohci and hid.
> > > > From kernel config help:

> > > How do I prevent usbkbd from starting?  This is basically a default rh
>  7.2
> > > install.

> > > Thanks,

> > Look for it on /etc/rc.modules.  Comment out the line that loads the
> > module.

> Sorry for the basic questions, but I am a linux newbie.  I am runnig RedHat
> 7.2 and I don't seem to have an /etc/rc.modules file.

> Is there a way I can add a usb-keyboard and usb-mouse manually.

> Thanks,

Look at /etc/modules.conf, it should be in there. This is the standard
file for the autoloading of modules.
 
 
 

USB keyboard/mouse doesn't work with RH 7.2

Post by Tim Maver » Sat, 02 Mar 2002 22:36:04



Quote:> Look at /etc/modules.conf, it should be in there. This is the standard
> file for the autoloading of modules.

This is what that file has in it:

alias parport_lowlevel parport_pc
alias eth0 tulip
alias usb-controller usb-ohci

I have kudzu running and disconnected and reconnected my USB keyboard.
After rebooting, it came up and said there was new hardware.  It defaulted
to USB keyboard so I selected it and continued.   The keyboard however still
does not work.  Only in Linux, it works fine in Windows, DOS, and even in
the linux install for about the first minute.  AFter this, I am forced to
continue with a PS/2 keyboard.

lsmod gives me this:

Module                  Size  Used by
usbkbd                  3232   0  (unused)
autofs                 11232   0  (autoclean) (unused)
tulip                  37728   1
ipt_REJECT              3392   2  (autoclean)
iptable_nat            16528   0  (autoclean) (unused)
ip_conntrack           15824   1  (autoclean) [iptable_nat]
iptable_mangle          2160   0  (autoclean) (unused)
iptable_filter          2128   0  (autoclean) (unused)
ip_tables              10944   6  [ipt_REJECT iptable_nat iptable_mangle
iptable_filter]
mousedev                4192   0  (unused)
keybdev                 2000   0  (unused)
hid                    19408   0  (unused)
input                   3552   0  [usbkbd mousedev keybdev hid]
usb-ohci               17936   0  (unused)
usbcore                49792   1  [usbkbd hid usb-ohci]
ext3                   61936   2
jbd                    38976   2  [ext3]

Someone suggested that I not run usbkbd and usb-ohci together.   While I
have no idea how this happened (as this is just a default RH 7.2 install), I
tried killing the process and that did not work either.   I also tried to
find out where usbkbd is started, but couldn't find it.

Any help would be appreciated.

Thanks,

 
 
 

USB keyboard/mouse doesn't work with RH 7.2

Post by Paul Smi » Sun, 03 Mar 2002 08:09:32





> > Look at /etc/modules.conf, it should be in there. This is the standard
> > file for the autoloading of modules.

> This is what that file has in it:

> alias parport_lowlevel parport_pc
> alias eth0 tulip
> alias usb-controller usb-ohci

> I have kudzu running and disconnected and reconnected my USB keyboard.
> After rebooting, it came up and said there was new hardware.  It defaulted
> to USB keyboard so I selected it and continued.   The keyboard however still
> does not work.  Only in Linux, it works fine in Windows, DOS, and even in
> the linux install for about the first minute.  AFter this, I am forced to
> continue with a PS/2 keyboard.

> lsmod gives me this:

> Module                  Size  Used by
> usbkbd                  3232   0  (unused)
> autofs                 11232   0  (autoclean) (unused)
> tulip                  37728   1
> ipt_REJECT              3392   2  (autoclean)
> iptable_nat            16528   0  (autoclean) (unused)
> ip_conntrack           15824   1  (autoclean) [iptable_nat]
> iptable_mangle          2160   0  (autoclean) (unused)
> iptable_filter          2128   0  (autoclean) (unused)
> ip_tables              10944   6  [ipt_REJECT iptable_nat iptable_mangle
> iptable_filter]
> mousedev                4192   0  (unused)
> keybdev                 2000   0  (unused)
> hid                    19408   0  (unused)
> input                   3552   0  [usbkbd mousedev keybdev hid]
> usb-ohci               17936   0  (unused)
> usbcore                49792   1  [usbkbd hid usb-ohci]
> ext3                   61936   2
> jbd                    38976   2  [ext3]

> Someone suggested that I not run usbkbd and usb-ohci together.   While I
> have no idea how this happened (as this is just a default RH 7.2 install), I
> tried killing the process and that did not work either.   I also tried to
> find out where usbkbd is started, but couldn't find it.

> Any help would be appreciated.

> Thanks,

I will have to check the redhat scripts later tonight to find out
where redhat loads this module but to remove it you can su to root and
run:
rmmod usbkbd
You can read about the different modules in
/usr/share/doc/kernel-(your kernel version)/input/input.txt. I had
problems with the defaults in the redhat install, I am using the SGI
xfs install and my usb mouse worked fine during the install but upon
boot it no longer worked. I was able to put:
usbdevfs   /proc/bus/usb   usbdevfs defaults 0 0
in /etc/fstab and all worked fine. I had other problems though, like
sound, so I just compiled these into the kernel. You can use usbkbd
with usb-ohci but not with the keybdev module. In your kernel config
you will see that one supplies full hid support for usb input devices
and the other supplies seperate modules for keyboard and mouse. I
would just recompile the kernel selecting full hid support and
unselecting the seperate modules. The easy way to do this is to su to
root and from /usr/src/linux-(your kernel version) run make xconfig,
you can then select the usb section. Unselect the seperate keyboard
and mouse support and select the full hid support (which will grey out
the seperate modules). Now, save your config and run make modules, and
then run make modules_install. That should take care of it. If you
have any other problems I will be checking which modules each
selection compiles and which ones need to be loaded later tonight and
will post a follow up then. Hope this helps!
 
 
 

USB keyboard/mouse doesn't work with RH 7.2

Post by Nico Kadel-Garci » Sun, 03 Mar 2002 14:39:55






> > > Look at /etc/modules.conf, it should be in there. This is the standard
> > > file for the autoloading of modules.

> > This is what that file has in it:

> > alias parport_lowlevel parport_pc
> > alias eth0 tulip
> > alias usb-controller usb-ohci

> > I have kudzu running and disconnected and reconnected my USB keyboard.
> > After rebooting, it came up and said there was new hardware.  It
defaulted
> > to USB keyboard so I selected it and continued.   The keyboard however
still
> > does not work.  Only in Linux, it works fine in Windows, DOS, and even
in
> > the linux install for about the first minute.  AFter this, I am forced
to
> > continue with a PS/2 keyboard.

> > lsmod gives me this:

> > Module                  Size  Used by
> > usbkbd                  3232   0  (unused)
> > autofs                 11232   0  (autoclean) (unused)
> > tulip                  37728   1
> > ipt_REJECT              3392   2  (autoclean)
> > iptable_nat            16528   0  (autoclean) (unused)
> > ip_conntrack           15824   1  (autoclean) [iptable_nat]
> > iptable_mangle          2160   0  (autoclean) (unused)
> > iptable_filter          2128   0  (autoclean) (unused)
> > ip_tables              10944   6  [ipt_REJECT iptable_nat iptable_mangle
> > iptable_filter]
> > mousedev                4192   0  (unused)
> > keybdev                 2000   0  (unused)
> > hid                    19408   0  (unused)
> > input                   3552   0  [usbkbd mousedev keybdev hid]
> > usb-ohci               17936   0  (unused)
> > usbcore                49792   1  [usbkbd hid usb-ohci]
> > ext3                   61936   2
> > jbd                    38976   2  [ext3]

> > Someone suggested that I not run usbkbd and usb-ohci together.   While I
> > have no idea how this happened (as this is just a default RH 7.2
install), I
> > tried killing the process and that did not work either.   I also tried
to
> > find out where usbkbd is started, but couldn't find it.

> > Any help would be appreciated.

> > Thanks,

> I will have to check the redhat scripts later tonight to find out
> where redhat loads this module but to remove it you can su to root and
> run:
> rmmod usbkbd

Don't bother unless you're in a hurry. There is a cron job that flushes
unused modules every 10 minutes.
 
 
 

USB keyboard/mouse doesn't work with RH 7.2

Post by Tim Maver » Mon, 04 Mar 2002 00:45:14



Quote:> I will have to check the redhat scripts later tonight to find out
> where redhat loads this module but to remove it you can su to root and
> run:
> rmmod usbkbd
> You can read about the different modules in
> /usr/share/doc/kernel-(your kernel version)/input/input.txt. I had
> problems with the defaults in the redhat install, I am using the SGI
> xfs install and my usb mouse worked fine during the install but upon
> boot it no longer worked. I was able to put:
> usbdevfs   /proc/bus/usb   usbdevfs defaults 0 0

I don't know why I didn't try testing this before, but my problem seems to
be related to the USB KVM switch I am running.   I am using the IOGear
MiniView II USB KVM switch which works fine for Windows, DOS, and as I
mentioned, Linux (at least the first 2 mins of the install).

Does anyone know if there are special settings required for my KVM?  It is
supposed to emulate a normal USB keyboard/mouse (which it seems to do just
fine as it works in plain-old DOS).

Thanks,

 
 
 

1. External DNS doesn't work for Win XP client thru RH 7.2 server!

Greetings,

   I can ping the DNS server from my Windows XP home edition client
but nslookup (any name resolution) does not work! The server is a
Redhat Linux 7.2 box. If I boot the server with Windoz 2000 server
everything works fine because Windoz is running a DNS server. I tried
starting a DNS server on RH as well but I am positive its NOT working.
I have the client TCP/IP setup correctly to use the first two ip addr.
of the outside DNS server and the third is the ip of the
gateway/server (W2K or Linux). The question though is this - Why can't
I use an outside existing DNS server and what could I possibly be
doing wrong on the client?

Thank you,
Prasad

2. One answer and I'm happy !

3. Red Hat 7.2 install, conflicts with touchpad, keyboard and usb mice

4. Clustering with Linux and IPSec

5. how to make 'Pegas.usb V90 USB Modem' work in RH linux

6. Building Bash 1.13.5 questions

7. keyboard works, mouse does not in X - Red Hat 7.2

8. Checking if wordlist is null in cshell

9. USB Keyboard doesn't work under Mandrake 10.1

10. keyboard works fine, no mouse when starting X in Red Hat 7.2

11. Keyboard works, no mouse when starting X - Red Hat 7.2

12. USB drive doesn't work on RH 7.3

13. RH 7.2 - doesn't install a cc compiler by default