Click to See Complete Forum and Search --> : USB mouse hotplug problems (Mandrake 8.1)
glorse
10-27-2001, 11:50 PM
I am having some issues with my USB mouse. I have a Logitech wireless optical USB mouse, attached to the machine via KVM switch. If I don't have the mouse attached at boot, or if I unplug it while the machine is running (by switching the KVM or just unplugging it) it will not work again until I reboot the machine. This is much less useful that it might be. Anyone know how to get hotplugging to work for USB?
I just did I search through this forum and, based on a few other posts I read, discovered that if I run "/etc/rc.d/init.d/usb restart" as root, then log out of my Gnome/KDE session, then restart the X server, my mouse comes back. That is ridiculous. Someone please tell me there is an easier way?
PS- yes, the mouse & KVM switch work perfectly. Already thought to check that!
bdg1983
10-28-2001, 05:15 AM
First you should verify if your kernel has hotplug support enabled. If not, then I guess it's kernel compiling time.
#
# General setup
#
CONFIG_NET=y
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_NAMES=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
CONFIG_HOTPLUG=y
glorse
10-28-2001, 12:43 PM
What file is that from? I am asuming that is the kernel makefile...since I have the default kernel currently, is there an easy way to see what options are enabled?
bdg1983
10-28-2001, 08:24 PM
If you are still using the default kernel, then have a look in /usr/src/linux/arch/i386 for a file named defconfig. If defconfig does not exist, then try .config.
glorse
10-28-2001, 10:58 PM
Well, those options were set to "yes" in defconfig...any other ideas I can try?
bdg1983
10-29-2001, 07:40 AM
Sorry as I really don't even use hotplug with Linux though I have it enabled.
Unless someone else here knows a bit more about hotplug, I guess some web searching might help. Google?
schuster
11-05-2001, 04:32 PM
I'm having the same problem you are. I've found a couple things out though. First is that the problem is with X11, hopefully the Xfree86 guys are working on fixing it. I've also found out that there are modules that you can load into the kernel to solve the problem, but that was the only part of the that article that I could understand. Would anybody else care to try to solve this one?