You are not logged in.
This is the contents of the pointer section of my XF86Config-4's pointer section:
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "MouseManPlusPS/2"
Option "Device" "/dev/input/mice"
#Option "Device" "/dev/psaux"
Option "Buttons" "6"
Option "ZAxisMapping" "5 6"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "4"
EndSection
(I've tried both Device options above, same results)
I have a Logitech Cordless Trackman, four button, one ball. Under kernel 2.4, I get scrolling (EmulateWheel) behavior if I hold down the fourth button and roll the ball back and forth. This is the behavior I want, of course.
However, under kernel 2.6 (currently 2.6.5, but I tried it with 2.6.1 and 2.6.0-test9 as well), the behavior is not the same. Instead, my fourth button is acting the same as my center button (which I generally use for copy/paste, and open new link in firefox).
xev confirms this:
ButtonPress event, serial 27, synthetic NO, window 0x2400001,
root 0x95, subw 0x0, time 39216488, (151,172), root:(470,507),
state 0x0, button 2, same_screen YES
ButtonRelease event, serial 27, synthetic NO, window 0x2400001,
root 0x95, subw 0x0, time 39216591, (151,172), root:(470,507),
state 0x200, button 2, same_screen YES
ButtonPress event, serial 27, synthetic NO, window 0x2400001,
root 0x95, subw 0x0, time 39217191, (151,172), root:(470,507),
state 0x0, button 2, same_screen YES
ButtonRelease event, serial 27, synthetic NO, window 0x2400001,
root 0x95, subw 0x0, time 39217338, (151,172), root:(470,507),
state 0x200, button 2, same_screen YES
The thing is, I can't tell if its a kernel configuration issue, a bug in the kernel, or a misconfiguration in XF86Config-4. It seems very very odd to me that it worked in 2.4 and not in 2.6. Perhaps I need to support some sort of legacy mouse driver? :?
Any other ideas? I don't know what else to test to solve this. I don't like using pg-up/pg-down for scrolling all that much. And I don't really want to go back to 2.4 kernel now either, its time to embrace the future. I've been running 2.4 since 2.6 came out so I could ignore this issue, but that's not a very interesting solution.
Dusty
Offline
I had problems with mouse under 2.6. kernel ....this works for me:
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "imps/2"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/misc/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
HTH
Mr Green
Mr Green ArchBang Developer...
Offline
I tried adding the SendCoreEvents line and using /dev/misc/psaux, but it didn't help. I think that either the kernel or the X mouse driver (probably the kernel, since the driver worked with 2.4) isn't recognizing the button 4 press; it thinks its a button 2 press.
I changed it so that my EmulateWheelButton is button 2; now its recognizing wheel movements on both buttons. This cheats me out of one button!!!!
This PS/2 mouse is actually a USB mouse with a PS/2 adapter... does anybody think it would work better with USB? What would be the XF86Config device for a USB mouse?
Dusty
Offline
All I could find was :
http://www.redhat.com/archives/fedora-l … 05304.html
HTH
My cordless mouse is USB connected via PS/2 and it works but if you want to try USB direct then you'll have some fun with Hotplug..maybe it will just work
Mr Green
Mr Green ArchBang Developer...
Offline
I think k 2.6 has some strange relation with pointer device. I dunno if is due to k2.6 arch linux configuration or not.
On my klaptop I have archlinux, since I upgraded the kernel to 2.6 the toucpad works even if not configured under X (I use an usb mouse), in fact if I start x under 2.4 the touchpad does not work.
Offline
I've had this problem under knoppix as well, so I don't tihnk its arch specific.
My mouse, connected via USB is working fine now, using protocol MouseManPlusPS/2, PS/2, or auto. That's strange, right?
But the scrolling still doesn't work. All configurations are recognizing a button 4 click as a button 2 under xev. I think its kernel related.
Maybe I should report a bug, but I can't seem to get enough information to file a useful bug report...
Dusty
Offline
I checked the bug reports at bugzilla.kernel.org and found some similar issues, but no decent solutions. I sent an e-mail to the kernel mailing list. I feel cheap, those guys are way above me to be questioning them.
A lot of bugs re logitech pointers...
Dusty
Offline
Well, this morning the issue was resolved after I rebooted. I have no idea what happened. This is the working XF86Config-4 Mouse section:
Section "InputDevice"
Identifier "Mouse"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
#Option "Protocol" "MouseManPlusPS/2"
Option "Device" "/dev/input/mouse0"
Option "Buttons" "6"
Option "ZAxisMapping" "5 6"
Option "Emulate3Buttons" "off"
Option "EmulateWheel" "on"
Option "EmulateWheelButton" "4"
EndSection
I don't know if that was all I did that solved the prob or if there was something else that I just can't find the difference. I'm surprised if it was just an X issue, but...
So anyway, if anybody needs that info, there your are. I'm satisfied with 2.6 kernel now.
Dusty
Offline