[oclug] USB Mice, laptops and X

Mike Bush mbush at rogers.com
Sun Jan 25 15:27:25 EST 2004


Stephen Gregory wrote:

>On Sunday 25 January 2004 14:22, Mike Bush wrote:
>  
>
>>Does anyone know how to enable a usb mouse in X, after X has been loaded?
>>    
>>
>
>Make sure the USB mouse drivers are loaded before you start X. This will 
>create the /dev/input/mice device. To determine what modules/drivers you 
>need:
>
>run lsmod before connecting mouse
>plug in mouse
>run lsmod
>
>You should see a difference in the loaded modules. You want these new modules 
>to load at boot before X starts. This will depend on your distribution I 
>think.
>
>
>In my case the difference is:
>
>mousedev
>hid
>input
>
>On Debian (with custom kernel) I added the following to /etc/modules
>
>input
>hid
>mousedev
>
>The input module is loaded by both hid and mousedev. It could be left out of 
>/etc/modules, but it doesn't hurt manually load it.
>
>  
>
Thanks, that worked.

Mike



More information about the OCLUG mailing list