DragonFly BSD
DragonFly users List (threaded) for 2012-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: scroll wheel doesn't work


From: Chris Turner <c.turner@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Mar 2012 14:19:16 -0500

On 03/14/12 06:04, Pierre Abbat wrote:
> Here's my latest try: I ran "man psm" and found that there are three
> "operation levels" which return different formats. In level 0, the mouse driver
> does not return scroll wheel information; in level 1, it does.

This is probably overkill. Also, moused has an '-l' flag for this

For reference - alot of the mouse documentation is somewhat 'cruft'
from the MS/DOS PC-AT era and various nonstandard serial port drivers -
for the most part things just 'work' for 'modern' (e.g. Pentium+/win95+ era)
ps2/USB mice in my experience.

However, some KVM's do 'interesting' things with port data, so you'll
probably want to post a dmesg to see if anything obvious stands out,
and try running from the console with -f and -d flags will probably
be of use here as well - for example - a test session for me
shows 'Z' axix activity in the 'dz' field here:

$ grep 'dz.*1' /tmp/mouse-log
moused: activity : buttons 0x00000000  dx 0  dy 0  dz -1
moused: activity : buttons 0x00000000  dx 0  dy 0  dz 1

I misadvised earlier in this thread r.e. the '-z' flag and apologize -
at the time I was not using moused & have switched back for testing here -

my setup (moused, ps2 mouse, scroll OK) is as follows:

$ dmesg |egrep '(psm|ums)'
psm0: current command byte:0065
psm0.atkbdc0.acpi0.nexus0.root0
psm0: <PS/2 Mouse> [tentative] irq 12 on atkbdc0
psm0: model IntelliMouse Explorer, device ID 4-00, 5 buttons
psm0: config:00000000, flags:00000008, packet size:4
psm0: syncmask:08, syncbits:00
psm0: <PS/2 Mouse> [attached!] irq 12 on atkbdc0

^ note - much of the debug info is avail here in a verbose boot.

$ pgrep -fl moused
934 /usr/sbin/moused -3 -p /dev/psm0 -t auto

$ sed -ne 39,45p /etc/X11/xorg.conf
Section "InputDevice"
         Identifier  "Mouse0"
         Driver      "mouse"
         Option      "Protocol" "auto"
         Option      "Device" "/dev/sysmouse"
         Option      "ZAxisMapping" "4 5 6 7"
EndSection

Also again, switching the Xorg 'device' to the raw
device may help if you don't care about console usage.

Good luck!



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]