You are not logged in.
Pages: 1
Im having this problem on my laptop running arch. I have the USB module loaded. My XF86Config file looks as follows.
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "dev/usbmouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
I get output from this usbmouse via (cat)
cat /dev/usbmouse
or
cat /dev/input/mouse2
With both cats, I get output by scrolling the wheel and by depressing the wheel(5th button).
I really don't know what else to try. I have tried putting protocol on auto, and switching device path to /dev/input/mouse2 with no luck.
Offline
which kernel do you use?
try to make your own 2.6 kernel with compiled in usb and usb-hid.....
Offline
2.6.6
Offline
if you know how try to compile your own kernel....
and compile in the device/usb ans device/usb-human-interface-device.....
this solved the problem for me
mattux
Offline
With Kernel 2.6, always use the "ExplorerPS/2" protocol. The kernel automatically parses the input events from any mouse (even USB) and sends it to the X Server (and other) as ExplererPS/2.
Dusty
Offline
Changed my protocol.
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "dev/usbmouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
still no luck on the wheel working.
I was wondering about my XF86.configure file path. Upon first configuring XF86, I did:
XFree86 -configure
Doing this placed a XF86Config.new file in my root directory. As I look around on boards/FAQS/Wiki I see that most people have their XF86config file in /etc/X11/ or some other folder then root. Just wondering if I need to move this file around at all.
Offline
Your device should have a / in it, as in
Option "Device" "/dev/usbmouse"
Yes, it should be in /etc/X11/. If there's one there, it's probably being used instead of the one you have created, I think, so your changes won't be visible.
Dusty
Offline
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Mouse1" "SendCoreEvents"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/usbmouse"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
It still isn't working :'(
I'm just confused that I would get output from cat and no scrolling, makes me think its a ZAxisMapping type problem, do I need to use other things to enable this feature maybe?
Offline
I would suggest you type the following:
Option "Emulate3Buttons" "no"
instead of:
Option "Buttons" "5"
This works for the "oldtimer"!
Offline
You might try different numbers of buttons too. You can use xev to see what kind of mapping you're getting, but it doesn't make a lot of sense...
my mouse section:
Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mouse0"
Option "Buttons" "6"
Option "ZAxisMapping" "5 6"
Option "Emulate3Buttons" "off"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "4"
EndSection
I have a four button mouse with no wheel, so I have the emulatewheel options; you won't want that... maybe try the the /dev/input/mouse0, might work...
Dusty
Offline
Hi,
I have a MS Wheel Mouse Optical 1.1A, its not the explorer (it has 3 butttons instead of 5) but its USB and its almost the same...
Im not using it as /dev/usbmouse but as this:
/etc/X11/xorg.conf (its the same as XF86Config)
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
Section "InputDevice"
# Identifier and driver
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "imps/2"
Option "Device" "/dev/misc/psaux"
Option "ZAxisMapping" "4 5"
As you see, im using it as a ps/2 mouse and works great... maybe this will help... as with protocol "Auto" and /dev/usbmouse my wheel didnt work either.
Regards
Leonardo Andrés Gallego
www.archlinux-es.org || Comunidad Hispana de Arch Linux
Offline
Ok I think I may know the source of the problem, I think it has to do with my XF86Config file location. After everything didn't help I went and read my XF86config.log.
Firts let me explain how I configured X.
XFree86 -configure
This made a new configuration file in my root directory entitled XF86Config.new
I have just been editing this and it was not picking up on the changes sence it was not in the correct cirectory( basically what Dusty had said).
When i inspected the XF86 log I had "could not find config file". So I think this is the source of the problem is the location fo the file not the file itself.
I then after moved the config file to the /etc/X11 directory. Restarted X, and still had the same error in the log, and no scrolling.
When I put it into this directory I named it XF86Config, without the .new extension, and I even tried add two files into this folder (XF86Config.new and XF86Config) with no luck.
Is this the right directory ro put the file in? Is there a file that directs X where to look for said file(so that I can tell it to look into /etc/X11)? Im sure from what I provided there is a glaring error in something that Ive done. Thanks for the help.
Offline
mine is
/etc/X11/XF86Config-4
Capitalization counts.
Offline
Im having this problem on my laptop running arch. I have the USB module loaded. My XF86Config file looks as follows.
Section "ServerLayout" Identifier "XFree86 Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Mouse1" "SendCoreEvents" ...
I'm not too familiar with a laptop mouse and a USB at the same time, but have you tried changing the:
InputDevice "Mouse1" "SendCoreEvents"
to
InputDevice "Mouse1" "CorePointer"
I don't think I've seen the "SendCoreEvents" option before.
Offline
I have a Twinhead lappie. In /etc/X11/XF86Config-4 ( Arch 0.6 )
( which is looked for before XF86Config ) I have :
Section "ServerLayout"
# ps/2 mouse not detected
Inputdevice "PS/2 Mouse "AlwaysCore"
# Serial mouse not detected
InputDevice "USB Mouse" "CorePointer"
EndSection
Section "Inputdevice"
Identifier "Serial Mouse"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device " "/dev/ttyS0"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "SendCoreEvents" "true"
EndSection
Section "inputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option Buttons" "5"
EndSection
.......................................................................
That gets the touchpad and USB working for me, allowing for the fact that I copied it by hand, and may have made a mistake.
This works for me, but I must try 'ExploderPS/2'.
I think it was just a straight copy from whatever Vector-soho decided I needed.
Remember that X 4 looks for XFConfig-4 before it tries XFConfig. that can be a trap, if you edit config and leave config-4 alone, you make no changes to X runtime.
--(*(cs25x--));
Offline
Pages: 1