|
Home > Archive > Linux Debian support > January 2005 > USB Hotplugging not working for Mouse
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
USB Hotplugging not working for Mouse
|
|
| salukibob 2005-01-22, 5:45 pm |
| Hi,
Working with debian unstable, with a 2.6.8 kernel.
I have a USB mouse that I would like to be able to hotplug. Everything
works fine when I boot up with it plugged in, so the module config must
be ok. I have these modules loaded: usbcore, uhci-hcd (definately the
correct one), and usbhid. However, when I plug in my usb mouse, nothing
appears in the /proc/bus/usb/devices file, and no extra output from
dmesg. I do have the hotplug scripts installed.
I haven't found any useful information on the net on how to debug this
or tailor the hotplug scripts to my needs. Any help would be appreciated.
Cheers
salukibob
| |
| salukibob 2005-01-22, 5:45 pm |
| salukibob wrote:
> Hi,
>
> Working with debian unstable, with a 2.6.8 kernel.
>
> I have a USB mouse that I would like to be able to hotplug. Everything
> works fine when I boot up with it plugged in, so the module config must
> be ok. I have these modules loaded: usbcore, uhci-hcd (definately the
> correct one), and usbhid. However, when I plug in my usb mouse, nothing
> appears in the /proc/bus/usb/devices file, and no extra output from
> dmesg. I do have the hotplug scripts installed.
>
> I haven't found any useful information on the net on how to debug this
> or tailor the hotplug scripts to my needs. Any help would be appreciated.
>
> Cheers
> salukibob
I just added the line 'echo $1 > /root/hotplug.debug' to the top of the
/sbin/hotplug script to check that it is being called. When I plug in a
usb device however, I get no hotplug.debug file. If I call /sbin/hotplug
by hand, I do get the debug file. Therefore, I can only guess that the
kernel is not calling the hotplug script.
However, in my kernel config I do have CONFIG_HOTPLUG=y, and the file
/proc/sys/kernel/hotplug does indeed contain /sbin/hotplug. I'm not sure
why its not getting called.
Cheers
salukibob
|
|
|
|
|