Re: F18: Can I get paint and paste back?

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

 



On 02/06/2013 08:01 PM, sean darcy wrote:
On 02/03/2013 05:02 PM, Edward M wrote:
On 2/3/2013 1:16 PM, sean darcy wrote:
Rebooted. Again Xorg.0.log finds the Emulate3Buttons option. But still
doesn't work.

Using xfce-4.10. Wonder if that's the problem?


           Option         "ZAxisMapping" "4 5"
            may need to be add to 10-evdev.conf below "Emulate3button"
option if is not there.

Interesting idea.

cat /etc/X11/xorg.conf.d/01-emulate-middle-button.conf
Section "InputClass"
       Identifier "middle button emulation class"
       MatchIsPointer "on"
       Option "Emulate3Buttons" "on"
       Option "ZAxisMapping"    "4 5"
EndSection

Section "InputClass"
                Identifier        "system-setup-keyboard"
                MatchIsKeyboard     "on"
                Option        "XkbOptions"    "terminate:ctrl_alt_bksp"

But look at Xorg.0.log:

[    25.903] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    25.904] (II) config/udev: Adding input device PS/2 Mouse
(/dev/input/event5)
[    25.904] (**) PS/2 Mouse: Applying InputClass "evdev pointer catchall"
[    25.904] (**) PS/2 Mouse: Applying InputClass "middle button
emulation class"
[    25.904] (II) Using input driver 'evdev' for 'PS/2 Mouse'
[    25.904] (**) PS/2 Mouse: always reports core events
[    25.904] (**) evdev: PS/2 Mouse: Device: "/dev/input/event5"
[    25.904] (--) evdev: PS/2 Mouse: Vendor 0x2 Product 0x8
[    25.904] (--) evdev: PS/2 Mouse: Found 3 mouse buttons
[    25.904] (--) evdev: PS/2 Mouse: Found relative axes
[    25.904] (--) evdev: PS/2 Mouse: Found x and y relative axes
[    25.904] (II) evdev: PS/2 Mouse: Configuring as mouse
[    25.904] (**) Option "Emulate3Buttons" "on"
[    25.904] (**) evdev: PS/2 Mouse: YAxisMapping: buttons 4 and 5
[    25.904] (**) evdev: PS/2 Mouse: EmulateWheelButton: 4,
EmulateWheelInertia: 10, EmulateWheelTimeout: 200

ZAxisMapping becomes YAxisMapping, and paint and paste still doesn't work.

sean


Looking some more at X log. Isn't the touchpad button behavior managed by synaptics not evdev?

[ 25.904] (II) config/udev: Adding input device PS/2 Mouse (/dev/input/event5)
[    25.904] (**) PS/2 Mouse: Applying InputClass "evdev pointer catchall"
[ 25.904] (**) PS/2 Mouse: Applying InputClass "middle button emulation class"
[    25.904] (II) Using input driver 'evdev' for 'PS/2 Mouse'
[    25.904] (**) PS/2 Mouse: always reports core events
[    25.904] (**) evdev: PS/2 Mouse: Device: "/dev/input/event5"
[    25.904] (--) evdev: PS/2 Mouse: Vendor 0x2 Product 0x8
[    25.904] (--) evdev: PS/2 Mouse: Found 3 mouse buttons
[    25.904] (--) evdev: PS/2 Mouse: Found relative axes
[    25.904] (--) evdev: PS/2 Mouse: Found x and y relative axes
[    25.904] (II) evdev: PS/2 Mouse: Configuring as mouse
[    25.904] (**) Option "Emulate3Buttons" "on"
[    25.904] (**) evdev: PS/2 Mouse: YAxisMapping: buttons 4 and 5
[ 25.904] (**) evdev: PS/2 Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 25.904] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input5/event5" [ 25.904] (II) XINPUT: Adding extended input device "PS/2 Mouse" (type: MOUSE, id 11)
[    25.904] (II) evdev: PS/2 Mouse: initialized for relative axes.
[    25.905] (**) PS/2 Mouse: (accel) keeping acceleration scheme 1
[    25.905] (**) PS/2 Mouse: (accel) acceleration profile 0
[    25.905] (**) PS/2 Mouse: (accel) acceleration factor: 2.000
[    25.905] (**) PS/2 Mouse: (accel) acceleration threshold: 4
[ 25.905] (II) config/udev: Adding input device PS/2 Mouse (/dev/input/mouse0) [ 25.905] (**) PS/2 Mouse: Applying InputClass "middle button emulation class"
[    25.905] (II) No input driver specified, ignoring this device.
[    25.905] (II) This device may have been added with another device file.
[ 25.906] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/event6) [ 25.906] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "evdev touchpad catchall" [ 25.906] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "touchpad catchall" [ 25.906] (**) AlpsPS/2 ALPS GlidePoint: Applying InputClass "Default clickpad buttons"
[    25.906] (II) LoadModule: "synaptics"
[    25.906] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[    25.906] (II) Module synaptics: vendor="X.Org Foundation"
[    25.906] 	compiled for 1.13.0, module version = 1.6.2
[    25.906] 	Module class: X.Org XInput Driver
[    25.906] 	ABI class: X.Org XInput driver, version 18.0
[ 25.906] (II) Using input driver 'synaptics' for 'AlpsPS/2 ALPS GlidePoint'
[    25.906] (**) AlpsPS/2 ALPS GlidePoint: always reports core events
[    25.906] (**) Option "Device" "/dev/input/event6"
[    25.930] (--) synaptics: AlpsPS/2 ALPS GlidePoint: x-axis range 0 - 1023
[    25.930] (--) synaptics: AlpsPS/2 ALPS GlidePoint: y-axis range 0 - 767
[ 25.930] (--) synaptics: AlpsPS/2 ALPS GlidePoint: pressure range 0 - 127 [ 25.930] (II) synaptics: AlpsPS/2 ALPS GlidePoint: device does not report finger width. [ 25.930] (--) synaptics: AlpsPS/2 ALPS GlidePoint: buttons: left right middle [ 25.930] (--) synaptics: AlpsPS/2 ALPS GlidePoint: Vendor 0x2 Product 0x8 [ 25.930] (--) synaptics: AlpsPS/2 ALPS GlidePoint: invalid finger width range. defaulting to 0 - 15
[    25.930] (--) synaptics: AlpsPS/2 ALPS GlidePoint: touchpad found
[    25.930] (**) AlpsPS/2 ALPS GlidePoint: always reports core events
[ 25.947] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event6" [ 25.947] (II) XINPUT: Adding extended input device "AlpsPS/2 ALPS GlidePoint" (type: TOUCHPAD, id 12) [ 25.947] (**) synaptics: AlpsPS/2 ALPS GlidePoint: (accel) MinSpeed is now constant deceleration 2.5
[    25.947] (**) synaptics: AlpsPS/2 ALPS GlidePoint: MaxSpeed is now 1.75
[ 25.947] (**) synaptics: AlpsPS/2 ALPS GlidePoint: AccelFactor is now 0.156 [ 25.947] (**) AlpsPS/2 ALPS GlidePoint: (accel) keeping acceleration scheme 1
[    25.947] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration profile 1
[ 25.947] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration factor: 2.000 [ 25.947] (**) AlpsPS/2 ALPS GlidePoint: (accel) acceleration threshold: 4
[    25.947] (--) synaptics: AlpsPS/2 ALPS GlidePoint: touchpad found
[ 25.948] (II) config/udev: Adding input device AlpsPS/2 ALPS GlidePoint (/dev/input/mouse1)
[    25.948] (II) No input driver specified, ignoring this device.
[    25.948] (II) This device may have been added with another device file.

man synaptics says 3 button is always on:


Middle button emulation
Since most synaptics touchpad models don't have a button that corresponds to the middle button on a mouse, the driver can emulate middle mouse button events. If you press both the left and right mouse buttons at almost the same time (no more than EmulateMidButtonTime milliseconds apart) the driver generates a middle mouse button event.

And that seems to be so. I ran xev. Clicked once with the left button, once with the right button, once with both:

ButtonPress event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91740290, (94,61), root:(645,373),
    state 0x0, button 1, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91740387, (94,61), root:(645,373),
    state 0x100, button 1, same_screen YES

ButtonPress event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91748022, (94,61), root:(645,373),
    state 0x0, button 3, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91748068, (94,61), root:(645,373),
    state 0x400, button 3, same_screen YES

ButtonPress event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91754379, (94,61), root:(645,373),
    state 0x0, button 2, same_screen YES

ButtonRelease event, serial 32, synthetic NO, window 0x4400001,
    root 0xad, subw 0x0, time 91754555, (94,61), root:(645,373),
    state 0x200, button 2, same_screen YES

you can see the synaptics driver is sending "button 2" events for a double click!

But double-clicking is the same as left-clicking.

So maybe a midbutton click is mapped to leftbutton?

Is this X, xfce , something else? What handles the button events?

sean

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux