Mouse buttons don't register in Sabayon.

Issues Related to Hardware (Sound, Video, Printers, Scanners, Webcams, Touchpads, Keyboards, Sensors, Drives, GRUB, etc.)

Moderator: Moderators

Mouse buttons don't register in Sabayon.

Postby Exospaciac » Thu Nov 29, 2012 9:33

I just got a new mouse, a Tt Esports Saphira. Sabayon doesn't see when any mouse buttons are pressed, but the pointer still works. I know this is not a hardware issue because I've tried the mouse on other machines, as well as the same machine with different OSes (crunchbang, win7) and it has worked fine. The only time the mouse gives me issues is when I am in Sabayon. I've also tried both my current install and the liveDVD environment. Neither gave me any success.

I've tried reinstalling evdev but it didn't work. Xinput sees 13 buttons, but xev doesn't register any of them except the scroll wheel.

I have no issues with other mice. My previous mouse, a Steelseries Xai, worked without any problems, and still does.

Is there any way I could troubleshoot this issue? I have no idea why Sabayon wouldn't be seeing my mouse buttons. :(
Exospaciac
Simple Hen
 
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Mouse buttons don't register in Sabayon.

Postby micia » Thu Nov 29, 2012 15:32

Hi, could you post here the file: /etc/X11/xorg.conf
micia
Sagely Hen
 
Posts: 2718
Joined: Wed Nov 26, 2008 16:41

Re: Mouse buttons don't register in Sabayon.

Postby Exospaciac » Thu Nov 29, 2012 16:37

Sure. There's no evdev entry for a mouse in my xorg.conf, but other mice work fine without it.

Code: Select all
Section "Module"
    SubSection  "extmod"
       Option    "omit xfree86-dga"
    EndSubSection
    Load    "i2c"
    Load    "ddc"
    Load    "vbe"
    Load    "dri"
    Load    "glx"
    Load    "synaptics"
EndSection

Section "ServerFlags"
     Option    "AllowMouseOpenFail"    "true"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    VertRefresh    43 - 60
    HorizSync      28 - 80
EndSection


Section "Device"

    Identifier  "SabayonVga0"
    Driver      "nvidia"
    #BusID    "PCI:01:00"
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
    # UseEvents is causing segmentation faults with
    # NVIDIA 6xxx, 7xxx and >=275.xx.xx drivers
###    #Option "UseEvents" "True"
    Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"

EndSection
   


Section "Screen"

    Identifier    "Screen 0"
    Device        "SabayonVga0"
    Monitor       "Generic Monitor"
    Option       "AddARGBGLXVisuals" "true"

    DefaultDepth 24

    SubSection "Display"
        Depth      8
        ViewPort   0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           16
        ViewPort        0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           24
        ViewPort        0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

EndSection


Section "DRI"
    Mode 0666
EndSection

Section "ServerLayout"
    Identifier   "Main Layout"
    Screen 0    "Screen 0"
EndSection

Section "Extensions"
   #Option "Composite" "Enable"
EndSection
Exospaciac
Simple Hen
 
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Mouse buttons don't register in Sabayon.

Postby Fitzcarraldo » Thu Nov 29, 2012 17:43

See http://en.gentoo-wiki.com/wiki/X.Org/Mo ... _Remapping

It may be that all you need to do is remap the buttons using the xinput command, so try the procedure given in that Gentoo Wiki article. (BTW, as you're using SL rather than Gentoo, if xinput is not already installed you would use the Entropy command equo install xinput, not the Portage emerge command.)
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7998
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Mouse buttons don't register in Sabayon.

Postby Exospaciac » Thu Nov 29, 2012 17:53

I've tried remapping the buttons with xinput, but nothing changed. It's weird, as xinput sees all my mouse buttons but xev doesn't detect any button presses besides scroll wheel.

I ran lsmod | sort on both my Sabayon install and a PeppermintOS liveUSB (where the mouse works fine) and found the model "psmouse" is missing from Sabayon. Could this be what is causing the issue?
Exospaciac
Simple Hen
 
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Mouse buttons don't register in Sabayon.

Postby Fitzcarraldo » Thu Nov 29, 2012 18:57

Exospaciac wrote:I ran lsmod | sort on both my Sabayon install and a PeppermintOS liveUSB (where the mouse works fine) and found the model "psmouse" is missing from Sabayon. Could this be what is causing the issue?

My guess would be that it isn't the cause of your problem. I say this because both SL and PeppermintOS provide that driver; it's just that SL has it built into the kernel (CONFIG_MOUSE_PS2=y) whereas PeppermintOS has it built as an external module (CONFIG_MOUSE_PS2=m). Linux can be funny (read 'buggy'), and sometimes a driver that works as a module doesn't work in-kernel, or vice versa, but my hunch is that the cause of the problem lies elsewhere. For example, your mouse may be unsuccessfully using another of the supplied mouse drivers (search for "CONFIG_MOUSE" in the SL 3.6-r3 kernel config file and you'll see that a lot have been built). Unfortunately many of them have been built in-kernel, so you cannot unload and load modules to try different drivers (well, not unless you rebuild the kernel, that is). It might be that there is a kernel parameter per config item to disable an individul in-kernel mouse driver via grub.cfg, but I'm not sure what that would be for each of the mouse config entries listed. Alternatively, it might be that, as alluded to by micia, some parameters in xorg.conf would do the trick. Have you had a look at /etc/X11/xorg.conf and /etc/X11/xorg.conf.d/* in PeppermintOS to see if anything stands out?

Also, have you tried contacting the manufacturer? They may well have tried it with Ubuntu and know what driver is needed or what xorg.conf parameters are needed to get the buttons working.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7998
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Mouse buttons don't register in Sabayon.

Postby Exospaciac » Thu Nov 29, 2012 21:10

I haven't tried contacting Tt about the mouse issue yet.

Right now I'm in Peppermint and I don't see any xorg.conf or xorg.conf.d directory at all. This is all I see in /etc/X11:

Code: Select all
app-defaults             openbox  xinit   Xreset.d    Xsession.d
default-display-manager  rgb.txt  xkb     Xresources  Xsession.options
fonts                    X        Xreset  Xsession    Xwrapper.config


I tried searching all the directories for any evdev or mouse related config files but couldn't find anything.
Exospaciac
Simple Hen
 
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Re: Mouse buttons don't register in Sabayon.

Postby Fitzcarraldo » Fri Nov 30, 2012 2:24

Are there any error messages regarding the mouse in /var/log/Xorg.0.log in SL? Also, have a look in /var/log/Xorg.0.log in PeppermintOS to see if there is any mention of the mouse.

Exospaciac wrote:I haven't tried contacting Tt about the mouse issue yet.

You can contact the manufacturer via the following page on their Web site: http://my.ttesports.com/index.aspx
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7998
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Mouse buttons don't register in Sabayon.

Postby Fitzcarraldo » Fri Nov 30, 2012 4:39

Here's something else that also looks potentially useful: All Mouse Buttons Working.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7998
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Mouse buttons don't register in Sabayon.

Postby Exospaciac » Fri Nov 30, 2012 23:43

This is the output I get from /var/log/Xorg.0.log in sabayon. I haven't tried rebooting into peppermint yet; I'll do that now.
Adding those entries into my xorg.conf changes nothing. :( I get exactly the same logs.

Code: Select all
[   442.394] (II) config/udev: Adding input device Thermaltake Tt eSPORTS SAPHIRA (/dev/input/event2)
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: Applying InputClass "evdev pointer catchall"
[   442.394] (II) Using input driver 'evdev' for 'Thermaltake Tt eSPORTS SAPHIRA'
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: always reports core events
[   442.394] (**) evdev: Thermaltake Tt eSPORTS SAPHIRA: Device: "/dev/input/event2"
[   442.394] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Vendor 0x4f2 Product 0x1106
[   442.394] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found 9 mouse buttons
[   442.394] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found scroll wheel(s)
[   442.394] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found relative axes
[   442.394] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found x and y relative axes
[   442.394] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: Configuring as mouse
[   442.394] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: Adding scrollwheel support
[   442.394] (**) evdev: Thermaltake Tt eSPORTS SAPHIRA: YAxisMapping: buttons 4 and 5
[   442.394] (**) evdev: Thermaltake Tt eSPORTS SAPHIRA: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[   442.394] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/input/input2/event2"
[   442.394] (II) XINPUT: Adding extended input device "Thermaltake Tt eSPORTS SAPHIRA" (type: MOUSE, id 13)
[   442.394] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: initialized for relative axes.
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) keeping acceleration scheme 1
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration profile 0
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration factor: 2.000
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration threshold: 4
[   442.394] (II) config/udev: Adding input device Thermaltake Tt eSPORTS SAPHIRA (/dev/input/mouse0)
[   442.394] (II) No input driver specified, ignoring this device.
[   442.394] (II) This device may have been added with another device file.
[   442.394] (II) config/udev: Adding input device Thermaltake Tt eSPORTS SAPHIRA (/dev/input/event3)
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: Applying InputClass "evdev keyboard catchall"
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: Applying InputClass "keyboard"
[   442.394] (II) Using input driver 'evdev' for 'Thermaltake Tt eSPORTS SAPHIRA'
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: always reports core events
[   442.394] (**) evdev: Thermaltake Tt eSPORTS SAPHIRA: Device: "/dev/input/event3"
[   442.394] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Vendor 0x4f2 Product 0x1106
[   442.394] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found absolute axes
[   442.394] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found absolute multitouch axes
[   442.394] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found keys
[   442.394] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: Forcing relative x/y axes to exist.
[   442.394] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: Configuring as mouse
[   442.394] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: Configuring as keyboard
[   442.394] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/input/input3/event3"
[   442.394] (II) XINPUT: Adding extended input device "Thermaltake Tt eSPORTS SAPHIRA" (type: KEYBOARD, id 14)
[   442.394] (**) Option "xkb_rules" "evdev"
[   442.394] (**) Option "xkb_model" "evdev"
[   442.394] (**) Option "xkb_layout" "us"
[   442.394] (WW) Option "xkb_variant" requires an string value
[   442.394] (WW) Option "XkbVariant" requires an string value
[   442.394] (WW) Option "xkb_options" requires an string value
[   442.394] (WW) Option "XkbOptions" requires an string value
[   442.394] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: initialized for absolute axes.
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) keeping acceleration scheme 1
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration profile 0
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration factor: 2.000
[   442.394] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration threshold: 4


EDIT: Here's the /var/log/Xorg.0.log snippet relevant to the mouse in Peppermint.

Code: Select all
[    75.945] (II) config/udev: Adding input device Thermaltake Tt eSPORTS SAPHIRA (/dev/input/event2)
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: Applying InputClass "evdev pointer catchall"
[    75.945] (II) Using input driver 'evdev' for 'Thermaltake Tt eSPORTS SAPHIRA'
[    75.945] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: always reports core events
[    75.945] (**) evdev: Thermaltake Tt eSPORTS SAPHIRA: Device: "/dev/input/event2"
[    75.945] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Vendor 0x4f2 Product 0x1106
[    75.945] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found 9 mouse buttons
[    75.945] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found scroll wheel(s)
[    75.945] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found relative axes
[    75.945] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found x and y relative axes
[    75.945] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: Configuring as mouse
[    75.945] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: Adding scrollwheel support
[    75.945] (**) evdev: Thermaltake Tt eSPORTS SAPHIRA: YAxisMapping: buttons 4 and 5
[    75.945] (**) evdev: Thermaltake Tt eSPORTS SAPHIRA: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    75.945] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/input/input2/event2"
[    75.945] (II) XINPUT: Adding extended input device "Thermaltake Tt eSPORTS SAPHIRA" (type: MOUSE, id 11)
[    75.945] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: initialized for relative axes.
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) keeping acceleration scheme 1
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration profile 0
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration factor: 2.000
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration threshold: 4
[    75.945] (II) config/udev: Adding input device Thermaltake Tt eSPORTS SAPHIRA (/dev/input/mouse0)
[    75.945] (II) No input driver specified, ignoring this device.
[    75.945] (II) This device may have been added with another device file.
[    75.945] (II) config/udev: Adding input device Thermaltake Tt eSPORTS SAPHIRA (/dev/input/event3)
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: Applying InputClass "evdev keyboard catchall"
[    75.945] (II) Using input driver 'evdev' for 'Thermaltake Tt eSPORTS SAPHIRA'
[    75.945] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: always reports core events
[    75.945] (**) evdev: Thermaltake Tt eSPORTS SAPHIRA: Device: "/dev/input/event3"
[    75.945] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Vendor 0x4f2 Product 0x1106
[    75.945] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found absolute axes
[    75.945] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found absolute multitouch axes
[    75.945] (--) evdev: Thermaltake Tt eSPORTS SAPHIRA: Found keys
[    75.945] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: Configuring as mouse
[    75.945] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: Configuring as keyboard
[    75.945] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/input/input3/event3"
[    75.945] (II) XINPUT: Adding extended input device "Thermaltake Tt eSPORTS SAPHIRA" (type: KEYBOARD, id 12)
[    75.945] (**) Option "xkb_rules" "evdev"
[    75.945] (**) Option "xkb_model" "pc105"
[    75.945] (**) Option "xkb_layout" "us"
[    75.945] (II) evdev: Thermaltake Tt eSPORTS SAPHIRA: initialized for absolute axes.
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) keeping acceleration scheme 1
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration profile 0
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration factor: 2.000
[    75.945] (**) Thermaltake Tt eSPORTS SAPHIRA: (accel) acceleration threshold: 4
Exospaciac
Simple Hen
 
Posts: 48
Joined: Sun Jan 20, 2008 15:09

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 1 guest

cron