Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mouse button problems
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 140

PostPosted: Thu Feb 20, 2014 8:01 pm    Post subject: Mouse button problems Reply with quote

Hi,

I've problems with a "Genius Ergo 8800" mouse. So far, it works great, but in Linux it seems to be in "Windows 8" mode. That is, the forward/backward buttons are registered as a separate keyboard device:

Code:

⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ Genius Ergo 8800                          id=11   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Genius Ergo 8800                          id=10   [slave  keyboard (3)]


This way, the backward button triggers <Super><C> (I suppose to activate "charm" in Win8) and the forward button triggers <Ctrl><Alt><Tab> (or something like that to trigger some other functionality in Win8).

How can I get this working so the backward button is a real backward button and the forward button a real forward button? In Windows 7 and older Windows versions it is supposed to work like that.

Code:
xinput list-props 11
Device 'Genius Ergo 8800':
        Device Enabled (132):   1
        Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Accel Profile (263):     0
        Device Accel Constant Deceleration (264):       1.000000
        Device Accel Adaptive Deceleration (265):       1.000000
        Device Accel Velocity Scaling (266):    10.000000
        Device Product ID (253):        1112, 344
        Device Node (254):      "/dev/input/event5"
        Evdev Axis Inversion (267):     0, 0
        Evdev Axes Swap (269):  0
        Axis Labels (270):      "Rel X" (142), "Rel Y" (143), "Rel Horiz Wheel" (260), "Rel Vert Wheel" (262)
        Button Labels (271):    "Button Left" (135), "Button Middle" (136), "Button Right" (137), "Button Wheel Up" (138), "Button Wheel Down" (139), "Button Horiz Wheel Left" (140), "Button Horiz Wheel Right" (141), "Button Side" (258), "Button Extra" (259), "Button Forward" (877), "Button Back" (878), "Button Task" (879), "Button Unknown" (256), "Button Unknown" (256), "Button Unknown" (256), "Button Unknown" (256)
        Evdev Middle Button Emulation (272):    0
        Evdev Middle Button Timeout (273):      50
        Evdev Third Button Emulation (274):     0
        Evdev Third Button Emulation Timeout (275):     1000
        Evdev Third Button Emulation Button (276):      3
        Evdev Third Button Emulation Threshold (277):   20
        Evdev Wheel Emulation (278):    0
        Evdev Wheel Emulation Axes (279):       0, 0, 4, 5
        Evdev Wheel Emulation Inertia (280):    10
        Evdev Wheel Emulation Timeout (281):    200
        Evdev Wheel Emulation Button (282):     4
        Evdev Drag Lock Buttons (283):  0


Code:
xinput list-props 10
Device 'Genius Ergo 8800':
        Device Enabled (132):   1
        Coordinate Transformation Matrix (134): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
        Device Product ID (253):        1112, 344
        Device Node (254):      "/dev/input/event4"


Disabling the "keyboard" device does not help, the buttons are then no longer recognized; xev reports no button events.

Edit: Here is some additional info:
Code:
cat /proc/bus/input/devices
I: Bus=0003 Vendor=0458 Product=0158 Version=0110
N: Name="Genius Ergo 8800"
P: Phys=usb-0000:00:1d.0-1.6/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.0/input/input38
U: Uniq=
H: Handlers=sysrq kbd event4
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=1f

I: Bus=0003 Vendor=0458 Product=0158 Version=0110
N: Name="Genius Ergo 8800"
P: Phys=usb-0000:00:1d.0-1.6/input1
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.1/input/input39
U: Uniq=
H: Handlers=kbd mouse0 event5
B: PROP=0
B: EV=20017
B: KEY=ff0000 2000000 3878d801d001 1e000000000000 0
B: REL=143
B: MSC=10
B: LED=2a0

I: Bus=0003 Vendor=0458 Product=0158 Version=0110
N: Name="Genius Ergo 8800"
P: Phys=usb-0000:00:1d.0-1.6/input2
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.6/2-1.6:1.2/input/input40
U: Uniq=
H: Handlers=event6
B: PROP=0
B: EV=9
B: ABS=ffffff0000000000
Back to top
View user's profile Send private message
Pearlseattle
Apprentice
Apprentice


Joined: 04 Oct 2007
Posts: 162
Location: Switzerland

PostPosted: Sun Jun 01, 2014 5:26 pm    Post subject: Reply with quote

Maybe using xbindkeys and xte as described here?
Back to top
View user's profile Send private message
Small_Penguin
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2005
Posts: 140

PostPosted: Sun Jun 01, 2014 8:46 pm    Post subject: [SOLVED] Mouse button problems Reply with quote

Thanks, I have already solved this. If you press all three buttons 1-3 on the mouse, then it will switch into legacy mode with forward/backward buttons. Anyway, thanks for your suggestions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum