USB Hotplugging not working for Mouse
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Debian support > Linux Debian support > USB Hotplugging not working for Mouse




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    USB Hotplugging not working for Mouse  
salukibob


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-22-05 10: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





[ Post a follow-up to this message ]



    Re: USB Hotplugging not working for Mouse  
salukibob


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-22-05 10: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





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:47 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register