You are not logged in.

#1 2003-03-15 01:52:38

Ziraku
Member
From: PEI, Canada
Registered: 2003-03-15
Posts: 11
Website

Configuring USB mouse in XFree

Hey, I just installed arch, and I'm having trouble getting X to see my mouse.

It gets an error on the line in XF86Config that gives the mouse location
default /dev/mouse doesn't work.

It's a USB Logitech MouseMan Dual Optical.

I've taken a look through /dev and tried anything obvious that I thought would work but still no go...

Is there a way to find out where my mouse is located? Or perhaps someone has had this problem before, and can help me with a solution.


Thanks!


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GO dpu s: a--->-- C++ UL++(++++) P+ L++>$ E--- W+++ N+ o- K? w--
O-- M-(--) V-- PS PE Y PGP- t- !5 X++ R tv- b++ DI(+) D++
G e h! r++ y+
------END GEEK CODE BLOCK------

Offline

#2 2003-03-15 10:58:42

Arielext
Member
From: Amersfoort, the Netherlands
Registered: 2002-08-12
Posts: 362
Website

Re: Configuring USB mouse in XFree

does /dev/input/mice work?
my logitech trackman optical works like a charm
and don't forget to set "ZAxisMapping"  "4 5" in XF86config (scrollwheel support, or does xfree 4.3 set this for you... I don' t know smile)


apt-get install arch

Offline

#3 2003-03-15 11:52:45

Mork
Member
From: Visby, Sweden
Registered: 2003-03-09
Posts: 32

Re: Configuring USB mouse in XFree

My logitech usb-mouse works with the following config:

Section "InputDevice"
    Identifier    "Mouse2"
    Driver        "mouse"
    Option        "Protocol"    "IMPS/2"
    Option        "Device"    "/dev/input/mice"
    Option        "ZAxisMapping"    "4 5"
# You only need the following if you have two mouse buttons
    Option        "Emulate3Buttons"

If you have another mouse you can add the following line in the ServerLayout section to get the usb-mouse mouse to work simultaniosly with it..

    InputDevice "Mouse2" "SendCoreEvents"

Of course you can rename Mouse2 to KiCkaSsusB if you like wink


"Plurality should not be assumed without necessity" or "keep it simple"
            - William of Ockham (1285-1349)

Offline

#4 2003-03-15 16:05:55

Ziraku
Member
From: PEI, Canada
Registered: 2003-03-15
Posts: 11
Website

Re: Configuring USB mouse in XFree

I had tried /dev/input/mice at first, but it didn't work.

I tried it now after setting Protocol to IMPS/2 instead of 'auto' and it works. Wonderful.

Thanks for the help!


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GO dpu s: a--->-- C++ UL++(++++) P+ L++>$ E--- W+++ N+ o- K? w--
O-- M-(--) V-- PS PE Y PGP- t- !5 X++ R tv- b++ DI(+) D++
G e h! r++ y+
------END GEEK CODE BLOCK------

Offline

#5 2003-06-11 20:42:14

nehsa
Member
Registered: 2003-01-14
Posts: 159

Re: Configuring USB mouse in XFree

Hi,

I have /dev/input/mice and I have this is XF86Config:

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"


The problem is, although I do get a mouse pointer, I can't move it.

Offline

#6 2003-06-11 20:54:19

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Configuring USB mouse in XFree

Are you loading the right kernel modules (I can't remember if that stuff is built as modules or builtin)?

Modules that I have: usbmouse, mousedev, hid, input


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#7 2003-06-11 21:02:39

nehsa
Member
Registered: 2003-01-14
Posts: 159

Re: Configuring USB mouse in XFree

Well.. I guess I figured it'd all be setup with the initial install.  Is there a quick way to check that all of that stuff is loaded without actually recompiling the kernel?

Offline

#8 2003-06-11 21:06:24

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: Configuring USB mouse in XFree

Ummm... yes... 'lsmod' gives you all the currently running modules.  To load another module type 'modprobe <module name>'.  If you want something loaded at startup, you list it in your /etc/rc.conf file.  Most likely you'd want those modules loaded by default.

In arch, virtually nothing is set up behind your back.


I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal

Offline

#9 2003-06-20 19:58:23

dariball
Member
From: Germany - Frankfurt
Registered: 2002-10-20
Posts: 118
Website

Re: Configuring USB mouse in XFree

the usb modules are all included directly in the kernel as i can see....

because i am running a microsoft intelli with usb, and it works with this configs in the XF86Config :

Identifier  "Mouse1"
    Driver      "mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"
    Option "Buttons"     "7"
    Option "ZAxisMapping" "6 7"

but i also use imwheel to use all the buttons ... if anyone cares here the configs :

in .xinitrc

xmodmap -e "pointer = 1 2 3 6 7 4 5"
imwheel -k -p -b "67"

_before_ u start the WM

and then in the .imwhellrc

".*"
None, Up, Alt_L|Left
None, Down, Alt_L|Right

i guess it should also work with most 5-button+wheel mice.....

greetz


nothing,
maybe I have a perfect signature _someday_

Offline

Board footer

Powered by FluxBB