View previous topic :: View next topic |
Author |
Message |
ruszeal n00b
Joined: 19 Apr 2006 Posts: 2
|
Posted: Thu Apr 20, 2006 12:27 am Post subject: more than one mouse |
|
|
I have a laptop ( DELL Inspiron 4100 ) with multiple onboard input devices, without no way of shutdown them individually off.
One of these input devices does not work properly, and cause the curse to move around randomly.
using cat I have discoverd the faulty device /dev/input/mouse1. Is there someway to instruct the kernel to not load a certain device? Or have this device excluded from the combined device /dev/input/mice?
Thanks in advance.
Russell |
|
Back to top |
|
|
_loki_ l33t
Joined: 18 Dec 2003 Posts: 680 Location: in the shell
|
Posted: Thu Apr 20, 2006 11:23 am Post subject: |
|
|
for X you can just skip the device in xorg.conf.. Is it your touchpad that's causing trouble, try to use psmouse as a moule and load it with "proto=imps", maybe that helps.. |
|
Back to top |
|
|
maju n00b
Joined: 16 Apr 2006 Posts: 22 Location: Wroclaw, Poland
|
Posted: Fri Apr 21, 2006 6:07 pm Post subject: |
|
|
If you have only a touchpad and a mouse and you want just the mouse then
run xorgconf and set the mouse "file" to your mouse file (I have is a link /dev/mouse pointing to /dev/usb/whatever_usb_port_you're_using).
It's a primivite solution but will eliminate the annoying touchpad til you solve the problem.
Peace! |
|
Back to top |
|
|
ruszeal n00b
Joined: 19 Apr 2006 Posts: 2
|
Posted: Fri Apr 21, 2006 6:16 pm Post subject: my solution |
|
|
Sometimes I use the touchpad and sometimes I have an external mouse connected, either USB or ps2, I am using the mouse in the console, so editing the xorg file doesn't help
what I have ended up doing was writing a little script that looks for the device name in /proc/bus/input/devices and figures out which device it is in /dev/input/mouseX and then deletes that file.
I wrote the script because I am not sure if I am guaranteed that it will always be mouse1, say between different kernels, though it's likely that it would be.
In my mind this is a lame solution...but whatever, it's all that I can think of to get it working.
Thanks for your inputs fellas, and fellettes.
Russell
Edit: 4-23-2006: Nevermind, I was hoping that would work, but it didn't... Back to square one. |
|
Back to top |
|
|
|