Solved [Solved] [PC-BSD] Odd mouse behavior

Hi all,

Apologies if this should be in a different subforum. Please move as appropriate!

I'm using PC-BSD 9.2
# uname -a
Code:
FreeBSD viaduct 9.2-RELEASE-p1 FreeBSD 9.2-RELEASE-p1 #0: Sat Nov 16 04:38:22 UTC 2013     root@amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
and I'm experiencing some mouse oddness.

Regardless of mouse*, mouse button 1 (left click) isn't recognized at all, and some of the left click behavior seems to be incorporated into button 2 (the middle wheel, which also seems to be button 4/5). xev confirms that button 1 isn't recognized. Most of the functionality of the other buttons (scrollwheel switches desktops, right click brings up contextual menu, etc) is present, but I can't seem to get button 1 recognized.

This is on a ThinkPad T430s and the TrackPointer/TrackButtons work as expected. I've attached a copy of my Xorg.conf, but I'm not really sure what else to look for. Any advice how to get button 1 recognized?

Thanks in advance for your time.

*Mice: two different Microsoft 3-Button Mouse with IntelliEye and a Dell something-or-other optical mouse with 3 buttons.

Code:
> cat /etc/X11/xorg.conf 
# Xorg.conf

Section "ServerLayout"
    Identifier     "XFree86 Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option	   "Clone" "off"
    Option	   "AIGLX" "true"
EndSection

Section "Files"
    ModulePath      "/usr/local/lib/xorg/modules"
    FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
    FontPath     "/usr/local/lib/X11/fonts/TrueType/"
    FontPath     "/usr/local/lib/X11/fonts/illinoy/"
    FontPath     "/usr/local/lib/X11/fonts/webfonts/"
    FontPath     "/usr/local/lib/X11/fonts/misc/"
    FontPath     "/usr/local/lib/X11/fonts/OTF/"
    FontPath     "/usr/local/lib/X11/fonts/TTF/"
    FontPath     "/usr/local/lib/X11/fonts/Speedo/"
    FontPath     "/usr/local/lib/X11/fonts/Type1/"
    FontPath     "/usr/local/lib/X11/fonts/CID/"
    FontPath     "/usr/local/lib/X11/fonts/75dpi/"
    FontPath     "/usr/local/lib/X11/fonts/100dpi/"
    FontPath     "/usr/local/lib/X11/fonts/dejavu/"
    FontPath     "/usr/local/lib/X11/fonts/bitstream-vera/"
    FontPath     "/usr/local/lib/X11/fonts/cyrillic/"
    FontPath     "/usr/local/lib/X11/fonts/hebrew/"
    FontPath     "/usr/local/lib/X11/fonts/vietnamese/"
    FontPath     "/usr/local/lib/X11/fonts/indic/"
    FontPath     "/usr/local/lib/X11/fonts/fonts-indic/"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/AAHS"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/AGA"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/FS"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/Kasr"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/MCS"
    FontPath     "/usr/local/lib/X11/fonts/ae_fonts1/Shmookh"
    FontPath     "/usr/local/lib/X11/fonts/local/"
    FontPath     "/usr/local/lib/X11/fonts/util/"
    FontPath     "/usr/local/lib/X11/fonts/Droid/"
    FontPath     "/usr/local/lib/X11/fonts/terminus-font/"
    FontPath     "/usr/local/lib/X11/fonts/ParaType/"
EndSection

Section "Module"
    Load           "ddc"
    Load           "dbe"
    Load	   "dri"
    Load	   "dri2"
    Load           "extmod"
    Load	   "glx"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "keyboard"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
    Option         "XkbVariant" ""
EndSection

Section "InputDevice"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/sysmouse"
    Option         "Buttons" "6"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons"
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions" 
    Option	"Composite" "Enable"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Generic Monitor"
    ModelName      "Generic Monitor"
EndSection


Section "Device"
    Identifier      "Card0"
    Screen           0
    Option         "AllowGLXWithComposite" "True"
    Option         "RenderAccel" "True"
    Option         "AddARGBGLXVisuals" "True"
    Option         "XAANoOffscreenPixmaps" "True"
    Option	   "DRI" "True"
    Driver         "intel"
    VendorName     "Intel Video Driver"
EndSection


Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth   24
    SubSection     "Display"
        Depth      24 
        Modes      "1600x900"
    EndSubSection
EndSection
 
Re: Odd mouse behavior [PCBSD]

CanOfBees said:
Apologies if this should be in a different subforum. Please move as appropriate!
Well actually you should be on the PC-BSD forums, this is FreeBSD, but what mouse support did you install when you installed X? If you set up support using the hald/dbus daemons, are they running?
 
Re: Odd mouse behavior [PCBSD]

Comment out the mouse section in ServerLayout and the whole InputDevice section for the mouse and see if the problem remains. If it does, change Option "Buttons". Try 5 or 7.
 
Re: Odd mouse behavior [PCBSD]

Hi @trh411
trh411 said:
Well actually you should be on the PC-BSD forums, this is FreeBSD, but what mouse support did you install when you installed X? If you set up support using the hald/dbus daemons, are they running?

The PC-BSD installer autoconfigures X. Interestingly, it looks like hald/dbus are enabled, but not enabled in /etc/rc.conf. I'm trying to figure out where they're enabled but I haven't figured that part out yet.

Hi @wblock@
wblock@ said:
Comment out the mouse section in ServerLayout and the whole InputDevice section for the mouse and see if the problem remains. If it does, change Option "Buttons". Try 5 or 7.

Thanks for the suggestions. I've tried all three but none of them have been successful. I'm beginning to wonder if it's a problem with the mouse, but I don't have another here to test. I'll test your suggestions again once I'm back in the office on Monday.

Cheers,
CoB
 
Last edited by a moderator:
Re: [PC-BSD] Odd mouse behavior [SOLVED]

Thanks all for your replies. It seems I have a number of worn out mice at home - I've just tested with several different USB mice from the office and they all work correctly.

Cheers,
CoB
 
Re: Odd mouse behavior [PCBSD]

CanOfBees said:
Hi @trh411

The PC-BSD installer autoconfigures X. Interestingly, it looks like hald/dbus are enabled, but not enabled in /etc/rc.conf. I'm trying to figure out where they're enabled but I haven't figured that part out yet.

Cheers,
CoB

PC-BSD stores configuration information in /usr/local/etc as well /etc; and there's also a config file /etc/rc.d/rc.conf.pcbsd.

-JJ
 
Last edited by a moderator:
Back
Top