[ltp] Configuring Mouse Device

Christopher Sawtell linux-thinkpad@linux-thinkpad.org
Thu, 20 Apr 2006 10:40:07 +1200


On Thursday 20 April 2006 04:45, Reza Shahidi Nejad wrote:
> Thanks Christopher,
>
> as the result of first command, i'll get
>
> event0, event1, event2, event3, js0, js1, js2, js3,  without the other's
> read permisions and mice, mouse0, mouse1, mouse2, mouse3 which did not
> have the permision of other's read, but I gave them.
So you seem to have the mouse devices.
Please try:-

cat /dev/input/mice | od -

this should produce a stream of numbers on the screen as you move each 
mouse about. Similarly /dev/input/mouseX Try them all.
Edit xorg.conf to incorporate the correct mouse device.

> but the second command does not return anything.
This means that you do not have the udev  daemon program running.
See if you can make it run.



> ta ba'd
> REZA++
>
> On 4/18/06, Christopher Sawtell <csawtell@paradise.net.nz> wrote:
> > On Tuesday 18 April 2006 18:05, Reza Shahidi Nejad wrote:
> > > Actually when I use psaux as the device, I'll recieve the message
> > > again .
> > >
> > > but
> > >
> > >
> > > *ls -l /dev/psaux *
> > >
> > > will return
> > >
> > > crw------- root (....) psaux
> > >
> > > for me. I used my XFree86 config's too, but it didn't work either.
> >
> > I'm wondering if you have the kernel's USB modules loaded, working and
> > running? Similarly the udev daemon.
> >
> > what do these command have to say?
> > chris@imogen ~ $ ls /dev/input/*
> > Something very similar to:-
> > crw------- 1 root root 13, 64 Apr 18 16:30 event0
> > crw------- 1 root root 13, 65 Apr 18 16:30 event1
> > crw------- 1 root root 13, 66 Apr 18 16:30 event2
> > crw------- 1 root root 13, 67 Apr 18 16:31 event3
> > crw-r--r-- 1 root root 13, 63 Apr 18 16:30 mice
> > crw-r--r-- 1 root root 13, 32 Apr 18 16:30 mouse0
> > crw-r--r-- 1 root root 13, 33 Apr 18 16:30 mouse1
> >
> > Also:
> >
> > chris@imogen ~ $ ps aux | grep udev | grep -v grep
> > root      1005  0.0  0.2   1712   548 ?        S<s  16:30
> > 0:00 /sbin/udevd --daemon
> >
> > What do you get?
> >
> > --
> > CS
> > --
> > The linux-thinkpad mailing list home page is at:
> > http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad

-- 
CS