Package: xserver-xorg-input-synaptics
Version: 1.2.2-2.1
Severity: wishlist
Tags: upstream patch


Today I've once again mentioned that after rotation of the screen it gets
really hard to use touchpad ;)  quick googling lead me to ubuntu forums and a
ppa with a tentative patch against 1.1.2.  I've adopted the patch for 1.2.2,
tuned it up to match upstrem formatting style, tested -- works like charm ;)
Hope you would adopt it for Debian package (let me know if you want me to NMU
it).

Patch itself is attached, my changelog entry for it was:

xserver-xorg-input-synaptics (1.2.2-2.1) unstable; urgency=low

  * Non-maintainer upload.
  * Adopt the patch for orientation change 
    125_enable_orientation.patch.  Taken from ppa-aaporantalainen.
    See http://ubuntuforums.org/showthread.php?t=943297&page=2
    for more information.  Changes to the patch:
    + Adopted to 1.2.2 upstream
    + Adjusted formatting/naming to be coherent with upstream
      conventions

 -- Yaroslav Halchenko <deb...@onerussian.com>  Thu, 13 May 2010 19:32:46 -0400


-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 May 22  2009 /etc/X11/X -> /usr/bin/Xorg
-rwxr-xr-x 1 root root 1877984 Apr 19 13:20 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset 
Integrated Graphics Controller (rev 07)

/var/lib/x11/xorg.conf.md5sum does not exist.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 2129 Oct  1  2009 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (X.Org X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "kbd"
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc104"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse1"
        Driver          "mouse"
    Option "CorePointer"
        Option "EmulateWheel" "on"
        Option "EmulateWheelTimeout" "200"
        Option "EmulateWheelButton" "2"
        Option "YAxisMapping" "4 5"
        Option "XAxisMapping" "6 7"
        Option "SHMConfig" "on"
EndSection

Section "InputDevice"
    Identifier  "Configured Mouse"
    Driver      "synaptics"
        Option "AlwaysCore" 
    Option "Protocol"  "auto-dev"
    #Option         "ZAxisMapping" "4 5 6 7"
    #Option "Device" "/dev/psaux"
    #Option "EmulateWheel" "on"
    #Option "EmulateWheelTimeout" "200"
    #Option "EmulateWheelButton" "2"
    #Option "YAxisMapping" "4 5"
    #Option "XAxisMapping" "6 7"
        #Option "SHMConfig" "on"
EndSection


Section "Device"
        Identifier      "Configured Video Device"
        Driver "intel"
        #Option "AccelMethod" "EXA"
        #Option "MigrationHeuristic" "greedy"
EndSection

Section "Monitor"
        Identifier      "Configured Monitor"
        #DisplaySize 285 185 # approx computed
        DisplaySize 380 238  # from online to match 96 dpi
        # lets try to enforce provided sizes:
        # borrowed from http://wiki.archlinux.org/index.php/Xorg
        #Option   "NoDDC" "true"
        #Option   "UseEdidDpi" "false"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
    SubSection "Display"
                Depth       24
                Virtual     2464 900 
        EndSubSection
EndSection


Kernel version (/proc/version):
Linux version 2.6.32-3-amd64 (Debian 2.6.32-9) (m...@debian.org) (gcc version 
4.3.4 (Debian 4.3.4-8) ) #1 SMP Wed Feb 24 18:07:42 UTC 2010

Xorg X server log files on system:
-rw-r--r-- 1 root root 28672 Jan 18 14:36 /var/log/Xorg.1.log
-rw-r--r-- 1 root root 32937 May 13 22:19 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.7.6.901 (1.7.7 RC 1)
Release Date: 2010-04-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-4-amd64 x86_64 Debian
Current Operating System: Linux novo 2.6.32-3-amd64 #1 SMP Wed Feb 24 18:07:42 
UTC 2010 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-2.6.32-3-amd64 
root=UUID=0fe48170-e67d-48ad-9270-7106586aafeb ro quiet
Build Date: 19 April 2010  04:58:05PM
xorg-server 2:1.7.6.901-3 (Cyril Brulebois <k...@debian.org>) 
Current version of pixman: 0.16.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu May 13 22:11:46 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(**) |-->Screen "Default Screen" (0)
(**) |   |-->Monitor "Configured Monitor"
(==) No device specified for screen "Default Screen".
        Using the first device section listed.
(**) |   |-->Device "Configured Video Device"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/cyrillic,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
        built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(==) |-->Input Device "Configured Mouse1"
(==) No Layout section. Using the first core pointer device.
(II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable 
AutoAddDevices.
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' 
will be disabled.
(WW) Disabling Configured Mouse1
(II) Loader magic: 0x7c5dc0
(II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 6.0
        X.Org XInput driver : 7.0
        X.Org Server Extension : 2.0
(++) using VT number 8

(--) PCI:*(0:0:2:0) 8086:2a42:17aa:20e4 Intel Corporation Mobile 4 Series 
Chipset Integrated Graphics Controller rev 7, Mem @ 0xf0000000/4194304, 
0xd0000000/268435456, I/O @ 0x00001800/8
(--) PCI: (0:0:2:1) 8086:2a43:17aa:20e4 Intel Corporation Mobile 4 Series 
Chipset Integrated Graphics Controller rev 7, Mem @ 0xf0400000/1048576
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
        compiled for 1.7.6.901, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
        compiled for 1.7.6.901, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
        compiled for 1.7.6.901, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
        compiled for 1.7.6.901, module version = 1.13.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
        compiled for 1.7.6.901, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
        compiled for 1.7.6.901, module version = 1.1.0
        ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
        compiled for 1.7.6, module version = 2.11.0
        Module class: X.Org Video Driver
        ABI class: X.Org Video Driver, version 6.0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
        E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
        965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
        4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
(II) Primary Device is: PCI 0...@00:02:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: Searching for BusID pci:0000:00:02.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
(==) intel(0): Depth 24, (--) framebuffer bpp 32
(==) intel(0): RGB weight 888
(==) intel(0): Default visual is TrueColor
(II) intel(0): Integrated Graphics Chipset: Intel(R) GM45
(--) intel(0): Chipset: "GM45"
(==) intel(0): video overlay key set to 0x101fe
(II) intel(0): Output VGA1 using monitor section Configured Monitor
(II) intel(0): Output LVDS1 has no monitor section
(II) intel(0): found backlight control interface 
/sys/class/backlight/acpi_video1
(II) intel(0): Output HDMI1 has no monitor section
(II) intel(0): Output DP1 has no monitor section
(II) intel(0): Output DP2 has no monitor section
(II) intel(0): EDID for output VGA1
(II) intel(0): EDID for output LVDS1
(II) intel(0): Manufacturer: LEN  Model: 4074  Serial#: 0
(II) intel(0): Year: 2009  Week: 13
(II) intel(0): EDID Version: 1.3
(II) intel(0): Digital Display Input
(II) intel(0): Max Image Size [cm]: horiz.: 29  vert.: 18
(II) intel(0): Gamma: 2.20
(II) intel(0): DPMS capabilities: StandBy Suspend Off
(II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4 
(II) intel(0): First detailed timing is preferred mode
(II) intel(0): redX: 0.589 redY: 0.356   greenX: 0.340 greenY: 0.578
(II) intel(0): blueX: 0.150 blueY: 0.139   whiteX: 0.320 whiteY: 0.351
(II) intel(0): Manufacturer's mask: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 102.0 MHz   Image Size:  287 x 180 mm
(II) intel(0): h_active: 1440  h_sync: 1488  h_sync_end 1520 h_blank_end 1836 
h_border: 0
(II) intel(0): v_active: 900  v_sync: 903  v_sync_end 909 v_blanking: 926 
v_border: 0
(II) intel(0): Supported detailed timing:
(II) intel(0): clock: 85.0 MHz   Image Size:  287 x 180 mm
(II) intel(0): h_active: 1440  h_sync: 1488  h_sync_end 1520 h_blank_end 1836 
h_border: 0
(II) intel(0): v_active: 900  v_sync: 903  v_sync_end 909 v_blanking: 926 
v_border: 0
(II) intel(0): Unknown vendor-specific block f
(II) intel(0):  LTD133EQ1B
(II) intel(0): EDID (in hex):
(II) intel(0):  00ffffffffffff0030ae744000000000
(II) intel(0):  0d130103801d1278ead0a3965b579426
(II) intel(0):  23525900000001010101010101010101
(II) intel(0):  010101010101d827a08c51841a303020
(II) intel(0):  36001fb4100000183421a08c51841a30
(II) intel(0):  302036001fb4100000180000000f0095
(II) intel(0):  0a32950a281e010030640055000000fe
(II) intel(0):  004c5444313333455131420a20200085
(II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
(II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
(II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
(II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
(II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
(II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
(II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
(II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
(II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
(II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
(II) intel(0): Not using default mode "576x432" (doublescan mode not supported)
(II) intel(0): Not using default mode "680x384" (doublescan mode not supported)
(II) intel(0): Not using default mode "680x384" (doublescan mode not supported)
(II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "720x450" (doublescan mode not supported)
(II) intel(0): Not using default mode "800x512" (doublescan mode not supported)
(II) intel(0): Not using default mode "840x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "840x525" (doublescan mode not supported)
(II) intel(0): Not using default mode "960x540" (doublescan mode not supported)
(II) intel(0): Not using default mode "960x600" (doublescan mode not supported)
(II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
(II) intel(0): Printing probed modes for output LVDS1
(II) intel(0): Modeline "1440x900"x60.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x59.9  106.50  1440 1520 1672 1904  900 903 
909 934 -hsync +vsync (55.9 kHz)
(II) intel(0): Modeline "1440x900"x50.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): Modeline "1360x768"x59.8   84.75  1360 1432 1568 1776  768 771 
781 798 -hsync +vsync (47.7 kHz)
(II) intel(0): Modeline "1360x768"x60.0   72.00  1360 1408 1440 1520  768 771 
781 790 +hsync -vsync (47.4 kHz)
(II) intel(0): Modeline "1152x864"x60.0   81.62  1152 1216 1336 1520  864 865 
868 895 -hsync +vsync (53.7 kHz)
(II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 
777 806 -hsync -vsync (48.4 kHz)
(II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 
628 +hsync +vsync (37.9 kHz)
(II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 
625 +hsync +vsync (35.2 kHz)
(II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 
525 -hsync -vsync (31.5 kHz)
(II) intel(0): EDID for output HDMI1
(II) intel(0): EDID for output DP1
(II) intel(0): EDID for output DP2
(II) intel(0): Output VGA1 disconnected
(II) intel(0): Output LVDS1 connected
(II) intel(0): Output HDMI1 disconnected
(II) intel(0): Output DP1 disconnected
(II) intel(0): Output DP2 disconnected
(II) intel(0): Using exact sizes for initial modes
(II) intel(0): Output LVDS1 using initial mode 1440x900
(II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
(**) intel(0): Display dimensions: (380, 238) mm
(**) intel(0): DPI set to (164, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
        compiled for 1.7.6.901, module version = 1.0.0
        ABI class: X.Org ANSI C Emulation, version 0.4
(==) Depth 24 pixmap format is 32 bpp
(II) intel(0): [DRI2] Setup complete
(**) intel(0): Tiling enabled
(**) intel(0): SwapBuffers wait enabled
(==) intel(0): VideoRam: 262144 KB
(II) intel(0): Attempting memory allocation with tiled buffers.
(II) intel(0): Tiled allocation successful.
(II) UXA(0): Driver registered support for the following operations:
(II)         solid
(II)         copy
(II)         composite (RENDER acceleration)
(II)         put_image
(==) intel(0): Backing store disabled
(==) intel(0): Silken mouse enabled
(II) intel(0): Initializing HW Cursor
(II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
(==) intel(0): DPMS enabled
(==) intel(0): Intel XvMC decoder enabled
(II) intel(0): Set up textured video
(II) intel(0): [XvMC] xvmc_vld driver initialized.
(II) intel(0): direct rendering: DRI2 Enabled
(--) RandR disabled
(II) Initializing built-in extension Generic Event Extension
(II) Initializing built-in extension SHAPE
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension BIG-REQUESTS
(II) Initializing built-in extension SYNC
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension XC-MISC
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
SELinux: Disabled on system, not enabling in X server
(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_make_current_read
(II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
(II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
(II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so
(II) GLX: Initialized DRI2 GL provider for screen 0
(II) intel(0): Setting screen physical size to 381 x 238
(II) intel(0): Allocate new frame buffer 1440x900 stride 1536
(II) config/udev: Adding input device Power Button (/dev/input/event4)
(**) Power Button: Applying InputClass "evdev keyboard catchall"
(II) LoadModule: "evdev"
(II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
        compiled for 1.7.6.901, module version = 2.3.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 7.0
(**) Power Button: always reports core events
(**) Power Button: Device: "/dev/input/event4"
(II) Power Button: Found keys
(II) Power Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc104"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device Video Bus (/dev/input/event5)
(**) Video Bus: Applying InputClass "evdev keyboard catchall"
(**) Video Bus: always reports core events
(**) Video Bus: Device: "/dev/input/event5"
(II) Video Bus: Found keys
(II) Video Bus: Configuring as keyboard
(II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc104"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device Lid Switch (/dev/input/event2)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device Sleep Button (/dev/input/event3)
(**) Sleep Button: Applying InputClass "evdev keyboard catchall"
(**) Sleep Button: always reports core events
(**) Sleep Button: Device: "/dev/input/event3"
(II) Sleep Button: Found keys
(II) Sleep Button: Configuring as keyboard
(II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc104"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device UVC Camera (17ef:4807) (/dev/input/event9)
(**) UVC Camera (17ef:4807): Applying InputClass "evdev keyboard catchall"
(**) UVC Camera (17ef:4807): always reports core events
(**) UVC Camera (17ef:4807): Device: "/dev/input/event9"
(II) UVC Camera (17ef:4807): Found keys
(II) UVC Camera (17ef:4807): Configuring as keyboard
(II) XINPUT: Adding extended input device "UVC Camera (17ef:4807)" (type: 
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc104"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event10)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device HDA Intel Mic (/dev/input/event11)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device HDA Intel Mic (/dev/input/event12)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event13)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device AT Translated Set 2 keyboard 
(/dev/input/event15)
(**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
(**) AT Translated Set 2 keyboard: always reports core events
(**) AT Translated Set 2 keyboard: Device: "/dev/input/event15"
(II) AT Translated Set 2 keyboard: Found 2 mouse buttons
(II) AT Translated Set 2 keyboard: Found scroll wheel(s)
(II) AT Translated Set 2 keyboard: Found relative axes
(II) AT Translated Set 2 keyboard: Found keys
(II) AT Translated Set 2 keyboard: Configuring as mouse
(II) AT Translated Set 2 keyboard: Configuring as keyboard
(**) AT Translated Set 2 keyboard: YAxisMapping: buttons 4 and 5
(**) AT Translated Set 2 keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 
10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: 
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc104"
(**) Option "xkb_layout" "us"
(EE) AT Translated Set 2 keyboard: failed to initialize for relative axes.
(II) config/udev: Adding input device AT Translated Set 2 keyboard 
(/dev/input/mouse3)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device SynPS/2 Synaptics TouchPad 
(/dev/input/event8)
(**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
(**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
        compiled for 1.7.6.901, module version = 1.2.2
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 7.0
(II) Synaptics touchpad driver version 1.2.2
(**) Option "Device" "/dev/input/event8"
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
(II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
(II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle
(--) SynPS/2 Synaptics TouchPad: touchpad found
(**) SynPS/2 Synaptics TouchPad: always reports core events
(II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: 
TOUCHPAD)
(**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
(**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
(**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
(**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
(--) SynPS/2 Synaptics TouchPad: touchpad found
(II) config/udev: Adding input device SynPS/2 Synaptics TouchPad 
(/dev/input/mouse1)
(**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
(II) Synaptics touchpad driver version 1.2.2
SynPS/2 Synaptics TouchPad no synaptics event device found
(**) Option "Device" "/dev/input/mouse1"
Query no Synaptics: 6003C8
(--) SynPS/2 Synaptics TouchPad: no supported touchpad found
(EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "SynPS/2 Synaptics TouchPad"
(II) UnloadModule: "synaptics"
(II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/event14)
(**) TPPS/2 IBM TrackPoint: Applying InputClass "evdev pointer catchall"
(**) TPPS/2 IBM TrackPoint: always reports core events
(**) TPPS/2 IBM TrackPoint: Device: "/dev/input/event14"
(II) TPPS/2 IBM TrackPoint: Found 3 mouse buttons
(II) TPPS/2 IBM TrackPoint: Found relative axes
(II) TPPS/2 IBM TrackPoint: Found x and y relative axes
(II) TPPS/2 IBM TrackPoint: Configuring as mouse
(**) TPPS/2 IBM TrackPoint: YAxisMapping: buttons 4 and 5
(**) TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, 
EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE)
(II) TPPS/2 IBM TrackPoint: initialized for relative axes.
(II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse2)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device PC Speaker (/dev/input/event6)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device Macintosh mouse button emulation 
(/dev/input/event0)
(**) Macintosh mouse button emulation: Applying InputClass "evdev pointer 
catchall"
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found 3 mouse buttons
(II) Macintosh mouse button emulation: Found relative axes
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Configuring as mouse
(**) Macintosh mouse button emulation: YAxisMapping: buttons 4 and 5
(**) Macintosh mouse button emulation: EmulateWheelButton: 4, 
EmulateWheelInertia: 10, EmulateWheelTimeout: 200
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" 
(type: MOUSE)
(II) Macintosh mouse button emulation: initialized for relative axes.
(II) config/udev: Adding input device Macintosh mouse button emulation 
(/dev/input/mouse0)
(II) No input driver/identifier specified (ignoring)
(II) config/udev: Adding input device ACPI Virtual Keyboard Device 
(/dev/input/event1)
(**) ACPI Virtual Keyboard Device: Applying InputClass "evdev keyboard catchall"
(**) ACPI Virtual Keyboard Device: always reports core events
(**) ACPI Virtual Keyboard Device: Device: "/dev/input/event1"
(II) ACPI Virtual Keyboard Device: Found keys
(II) ACPI Virtual Keyboard Device: Configuring as keyboard
(II) XINPUT: Adding extended input device "ACPI Virtual Keyboard Device" (type: 
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc104"
(**) Option "xkb_layout" "us"
(II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event7)
(**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
(**) ThinkPad Extra Buttons: always reports core events
(**) ThinkPad Extra Buttons: Device: "/dev/input/event7"
(II) ThinkPad Extra Buttons: Found keys
(II) ThinkPad Extra Buttons: Configuring as keyboard
(II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: 
KEYBOARD)
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc104"
(**) Option "xkb_layout" "us"
(II) AIGLX: Suspending AIGLX clients for VT switch
(II) Open ACPI successful (/var/run/acpid.socket)
(II) AIGLX: Resuming AIGLX clients after VT switch
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(--) SynPS/2 Synaptics TouchPad: touchpad found
(II) Power Button: Device reopened after 1 attempts.
(II) Video Bus: Device reopened after 1 attempts.
(II) Sleep Button: Device reopened after 1 attempts.
(II) UVC Camera (17ef:4807): Device reopened after 1 attempts.
(II) AT Translated Set 2 keyboard: Device reopened after 1 attempts.
(II) TPPS/2 IBM TrackPoint: Device reopened after 1 attempts.
(II) Macintosh mouse button emulation: Device reopened after 1 attempts.
(II) ACPI Virtual Keyboard Device: Device reopened after 1 attempts.
(II) ThinkPad Extra Buttons: Device reopened after 1 attempts.
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): Allocate new frame buffer 900x1440 stride 1024
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): Allocate new frame buffer 1440x900 stride 1536
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): Allocate new frame buffer 900x1440 stride 1024
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): Allocate new frame buffer 1440x900 stride 1536
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)
(II) intel(0): EDID vendor "LEN", prod id 16500
(II) intel(0): Printing DDC gathered Modelines:
(II) intel(0): Modeline "1440x900"x0.0  102.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (55.6 kHz)
(II) intel(0): Modeline "1440x900"x0.0   85.00  1440 1488 1520 1836  900 903 
909 926 -hsync -vsync (46.3 kHz)

udev information:
P: /devices/virtual/input/input0/event0
N: input/event0
S: char/13:64
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input0/event0
E: MAJOR=13
E: MINOR=64
E: DEVNAME=/dev/input/event0
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:64

P: /devices/virtual/input/input16/event1
N: input/event1
S: char/13:65
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input16/event1
E: MAJOR=13
E: MINOR=65
E: DEVNAME=/dev/input/event1
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_SERIAL=noserial
E: XKBMODEL=pc104
E: XKBLAYOUT=us
E: DEVLINKS=/dev/char/13:65
E: DMI_VENDOR=LENOVO

P: /devices/pci0000:00/0000:00:1b.0/sound/card0/input10/event10
N: input/event10
S: char/13:74
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/sound/card0/input10/event10
E: MAJOR=13
E: MINOR=74
E: DEVNAME=/dev/input/event10
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_PATH=pci-0000:00:1b.0
E: ACL_MANAGE=1
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:74

P: /devices/pci0000:00/0000:00:1b.0/sound/card0/input11/event11
N: input/event11
S: char/13:75
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/sound/card0/input11/event11
E: MAJOR=13
E: MINOR=75
E: DEVNAME=/dev/input/event11
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_PATH=pci-0000:00:1b.0
E: ACL_MANAGE=1
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:75

P: /devices/pci0000:00/0000:00:1b.0/sound/card0/input12/event12
N: input/event12
S: char/13:76
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/sound/card0/input12/event12
E: MAJOR=13
E: MINOR=76
E: DEVNAME=/dev/input/event12
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_PATH=pci-0000:00:1b.0
E: ACL_MANAGE=1
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:76

P: /devices/pci0000:00/0000:00:1b.0/sound/card0/input13/event13
N: input/event13
S: char/13:77
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1b.0/sound/card0/input13/event13
E: MAJOR=13
E: MINOR=77
E: DEVNAME=/dev/input/event13
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_PATH=pci-0000:00:1b.0
E: ACL_MANAGE=1
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:77

P: /devices/platform/i8042/serio1/serio2/input/input29/event14
N: input/event14
S: char/13:78
S: input/by-path/platform-i8042-serio-2-event-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio1/serio2/input/input29/event14
E: MAJOR=13
E: MINOR=78
E: DEVNAME=/dev/input/event14
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_MOUSE=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-2
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:78 
/dev/input/by-path/platform-i8042-serio-2-event-mouse

P: /devices/platform/i8042/serio0/input/input15/event15
N: input/event15
S: char/13:79
S: input/by-path/platform-i8042-serio-0-event-kbd
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio0/input/input15/event15
E: MAJOR=13
E: MINOR=79
E: DEVNAME=/dev/input/event15
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_INPUT_KEYBOARD=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-0
E: XKBMODEL=pc104
E: XKBLAYOUT=us
E: DEVLINKS=/dev/char/13:79 /dev/input/by-path/platform-i8042-serio-0-event-kbd
E: DMI_VENDOR=LENOVO

P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2/event2
N: input/event2
S: char/13:66
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input2/event2
E: MAJOR=13
E: MINOR=66
E: DEVNAME=/dev/input/event2
E: SUBSYSTEM=input
E: ID_INPUT=1
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:66

P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3/event3
N: input/event3
S: char/13:67
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3/event3
E: MAJOR=13
E: MINOR=67
E: DEVNAME=/dev/input/event3
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc104
E: XKBLAYOUT=us
E: DEVLINKS=/dev/char/13:67
E: DMI_VENDOR=LENOVO

P: /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4
N: input/event4
S: char/13:68
E: UDEV_LOG=3
E: DEVPATH=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4
E: MAJOR=13
E: MINOR=68
E: DEVNAME=/dev/input/event4
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc104
E: XKBLAYOUT=us
E: DEVLINKS=/dev/char/13:68
E: DMI_VENDOR=LENOVO

P: /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input19/event5
N: input/event5
S: char/13:69
E: UDEV_LOG=3
E: 
DEVPATH=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input19/event5
E: MAJOR=13
E: MINOR=69
E: DEVNAME=/dev/input/event5
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc104
E: XKBLAYOUT=us
E: DEVLINKS=/dev/char/13:69
E: DMI_VENDOR=LENOVO

P: /devices/platform/pcspkr/input/input6/event6
N: input/event6
S: char/13:70
S: input/by-path/platform-pcspkr-event-spkr
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/pcspkr/input/input6/event6
E: MAJOR=13
E: MINOR=70
E: DEVNAME=/dev/input/event6
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-pcspkr
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:70 /dev/input/by-path/platform-pcspkr-event-spkr

P: /devices/virtual/input/input7/event7
N: input/event7
S: char/13:71
E: UDEV_LOG=3
E: DEVPATH=/devices/virtual/input/input7/event7
E: MAJOR=13
E: MINOR=71
E: DEVNAME=/dev/input/event7
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: XKBMODEL=pc104
E: XKBLAYOUT=us
E: DEVLINKS=/dev/char/13:71
E: DMI_VENDOR=LENOVO

P: /devices/platform/i8042/serio1/input/input8/event8
N: input/event8
S: char/13:72
S: input/by-path/platform-i8042-serio-1-event-mouse
E: UDEV_LOG=3
E: DEVPATH=/devices/platform/i8042/serio1/input/input8/event8
E: MAJOR=13
E: MINOR=72
E: DEVNAME=/dev/input/event8
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_TOUCHPAD=1
E: ID_SERIAL=noserial
E: ID_PATH=platform-i8042-serio-1
E: DMI_VENDOR=LENOVO
E: DEVLINKS=/dev/char/13:72 
/dev/input/by-path/platform-i8042-serio-1-event-mouse

P: /devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6:1.0/input/input9/event9
N: input/event9
S: char/13:73
S: input/by-id/usb-Chicony_Electronics_Co.__Ltd._4807-event-if00
S: input/by-path/pci-0000:00:1a.7-usb-0:6:1.0-event
E: UDEV_LOG=3
E: DEVPATH=/devices/pci0000:00/0000:00:1a.7/usb1/1-6/1-6:1.0/input/input9/event9
E: MAJOR=13
E: MINOR=73
E: DEVNAME=/dev/input/event9
E: SUBSYSTEM=input
E: ID_INPUT=1
E: ID_INPUT_KEY=1
E: ID_VENDOR=Chicony_Electronics_Co.__Ltd.
E: ID_VENDOR_ENC=Chicony\x20Electronics\x20Co.\x2c\x20Ltd.
E: ID_VENDOR_ID=17ef
E: ID_MODEL=4807
E: ID_MODEL_ENC=4807
E: ID_MODEL_ID=4807
E: ID_REVISION=3134
E: ID_SERIAL=Chicony_Electronics_Co.__Ltd._4807
E: ID_TYPE=video
E: ID_BUS=usb
E: ID_USB_INTERFACES=:0e0100:0e0200:
E: ID_USB_INTERFACE_NUM=00
E: ID_USB_DRIVER=uvcvideo
E: ID_PATH=pci-0000:00:1a.7-usb-0:6:1.0
E: XKBMODEL=pc104
E: XKBLAYOUT=us
E: DEVLINKS=/dev/char/13:73 
/dev/input/by-id/usb-Chicony_Electronics_Co.__Ltd._4807-event-if00 
/dev/input/by-path/pci-0000:00:1a.7-usb-0:6:1.0-event

DRM Information from dmesg:
[608822.985223] [drm] TMDS-17: set mode 1920x1200 27
[608823.437010] [drm] LVDS-8: set mode 1440x900 28
[608828.504381] [drm] LVDS-8: set mode  87
[608850.172708] [drm] TMDS-17: set mode  9f
[635134.408837] [drm] TMDS-17: set mode 1920x1200 27
[635134.801313] [drm] LVDS-8: set mode 1440x900 28
[635138.001050] [drm] TMDS-17: set mode 1920x1200 27
[635139.708607] [drm] LVDS-8: set mode  a4
[635143.492648] [drm:intel_dp_aux_ch] *ERROR* dp_aux_ch not done status 
0x01450064
[635143.574325] [drm:intel_dp_aux_ch] *ERROR* dp_aux_ch not done status 
0x01450064
[635143.612644] [drm:intel_dp_aux_ch] *ERROR* dp_aux_ch not done status 
0x01450064
[635143.670913] [drm:intel_dp_aux_ch] *ERROR* dp_aux_ch not done status 
0x01450064
[635143.691407] [drm:intel_dp_aux_ch] *ERROR* dp_aux_ch not done status 
0x01450064
[635143.733444] [drm:intel_dp_aux_ch] *ERROR* dp_aux_ch not done status 
0x01450064
[635143.921065] [drm:intel_dp_aux_ch] *ERROR* dp_aux_ch not done status 
0x01450064
[646912.399545] [drm] TMDS-17: set mode 1920x1200 27
[646912.521306] [drm] LVDS-8: set mode  a4
[648213.200411] [drm] TMDS-17: set mode 1920x1200 27
[648213.649567] [drm] LVDS-8: set mode 1440x900 28
[648218.408379] [drm] LVDS-8: set mode  8d
[648931.661394] [drm] TMDS-17: set mode  a8
[672204.824015] [drm] LVDS-8: set mode  b0
[673116.664987] [drm] TMDS-17: set mode  b1
[674399.732524] [drm] LVDS-8: set mode  b2
[677089.048228] [drm] TMDS-17: set mode  b3
[683264.983582] [drm] LVDS-8: set mode  b4
[683276.125544] [drm] TMDS-17: set mode 1920x1200 27
[683279.201098] [drm] TMDS-17: set mode 1920x1200 27
[683279.322841] [drm] LVDS-8: set mode  b4
[684761.222791] [drm] LVDS-8: set mode  90
[684785.295161] [drm] LVDS-8: set mode  92
[684808.823003] [drm] LVDS-8: set mode  a1
[695769.384350] [drm] TMDS-17: set mode 1920x1200 27
[695769.577508] [drm] TMDS-17: set mode 1920x1200 27
[695775.180021] [drm] TMDS-17: set mode 1920x1200 27
[695800.119073] [drm] TMDS-17: set mode 1920x1200 27
[695800.312185] [drm] TMDS-17: set mode 1920x1200 27
[695800.490118] [drm] TMDS-17: set mode 1920x1200 27
[695800.749185] [drm] TMDS-17: set mode 1920x1200 27
[695802.290273] [drm] TMDS-17: set mode 1920x1200 27
[695802.498790] [drm] TMDS-17: set mode 1920x1200 27
[695810.064206] [drm] TMDS-17: set mode 1920x1200 27
[695810.257301] [drm] TMDS-17: set mode 1920x1200 27
[695815.933444] [drm] TMDS-17: set mode 1920x1200 27
[695816.183654] [drm] TMDS-17: set mode 1920x1200 27
[695816.379113] [drm] TMDS-17: set mode 1920x1200 27
[695823.524239] [drm] TMDS-17: set mode 1920x1200 27
[695823.717347] [drm] TMDS-17: set mode 1920x1200 27
[695944.797202] [drm] TMDS-17: set mode 1920x1200 27
[696099.972332] [drm] LVDS-8: set mode  b9
[696162.066251] [drm] LVDS-8: set mode  b8
[696241.851824] [drm] LVDS-8: set mode  bb
[696305.142537] [drm] LVDS-8: set mode  ba


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (901, 'unstable'), (900, 'testing'), (300, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xserver-xorg-input-synaptics depends on:
ii  libc6                      2.10.2-7      Embedded GNU C Library: Shared lib
ii  libpciaccess0              0.11.0-2      Generic PCI access library for X
ii  libpixman-1-0              0.16.4-1      pixel-manipulation library for X a
ii  libx11-6                   2:1.3.3-3     X11 client-side library
ii  libxi6                     2:1.3-4       X11 Input extension library
ii  libxtst6                   2:1.1.0-2     X11 Testing -- Resource extension 
ii  xserver-xorg-core [xorg-in 2:1.7.6.901-3 Xorg X server - core server

xserver-xorg-input-synaptics recommends no packages.

Versions of packages xserver-xorg-input-synaptics suggests:
ii  gpointing-device-settings     1.5.1-2    configuration tool for pointing de
ii  touchfreeze                   0.2.4-1    a facility for disabling touchpad 

-- no debconf information
--- a/include/synaptics-properties.h
+++ b/include/synaptics-properties.h
@@ -155,4 +155,7 @@
 /* 32 bit, 4 values, left, right, top, bottom */
 #define SYNAPTICS_PROP_AREA "Synaptics Area"
 
+/* 32 bit */
+#define SYNAPTICS_PROP_ORIENTATION "Synaptics Orientation"
+
 #endif /* _SYNAPTICS_PROPERTIES_H_ */
--- a/src/eventcomm.c
+++ b/src/eventcomm.c
@@ -379,10 +379,28 @@ EventReadHwState(LocalDevicePtr local,
 	case EV_ABS:
 	    switch (ev.code) {
 	    case ABS_X:
-		hw->x = ev.value;
+		if (para->orientation==0)
+			hw->x = ev.value;
+		else if (para->orientation==2)
+			hw->x = priv->maxx + priv->minx - ev.value;
+		else if (para->orientation==3)
+			hw->y = (priv->maxx - ev.value) * (priv->maxy - priv->miny) / (priv->maxx - priv->minx) + priv->miny;
+		else if (para->orientation==1)
+			hw->y = (ev.value - priv->minx) * (priv->maxy - priv->miny) / (priv->maxx - priv->minx) + priv->miny;
+		else
+			hw->x = ev.value;
 		break;
 	    case ABS_Y:
-		hw->y = ev.value;
+		if (para->orientation==0)
+			hw->y = ev.value;
+		else if (para->orientation==2)
+			hw->y = priv->maxy + priv->miny - ev.value;
+		else if (para->orientation==3)
+			hw->x = (ev.value - priv->miny) * (priv->maxx - priv->minx) / (priv->maxy - priv->miny) + priv->minx;
+		else if (para->orientation==1)
+			hw->x = (priv->maxy - ev.value) * (priv->maxx - priv->minx) / (priv->maxy - priv->miny) + priv->minx;
+		else
+			hw->y = ev.value;
 		break;
 	    case ABS_PRESSURE:
 		hw->z = ev.value;
--- a/src/properties.c
+++ b/src/properties.c
@@ -47,6 +47,7 @@ static Atom float_type;
 
 Atom prop_edges                 = 0;
 Atom prop_finger                = 0;
+Atom prop_orientation           = 0;
 Atom prop_tap_time              = 0;
 Atom prop_tap_move              = 0;
 Atom prop_tap_durations         = 0;
@@ -251,6 +252,8 @@ InitDeviceProperties(LocalDevicePtr loca
     fvalues[0] = para->press_motion_min_factor;
     fvalues[1] = para->press_motion_max_factor;
 
+    prop_orientation = InitAtom(local->dev, SYNAPTICS_PROP_ORIENTATION, 32, 1, &para->orientation);
+
     prop_pressuremotion_factor = InitFloatAtom(local->dev, SYNAPTICS_PROP_PRESSURE_MOTION_FACTOR, 2, fvalues);
 
     prop_grab = InitAtom(local->dev, SYNAPTICS_PROP_GRAB, 8, 1, &para->grab_event_device);
@@ -293,7 +296,14 @@ SetProperty(DeviceIntPtr dev, Atom prope
         para = &tmp;
     }
 
-    if (property == prop_edges)
+    if (property == prop_orientation)
+    {
+        if (prop->size != 1 || prop->format != 32 || prop->type != XA_INTEGER)
+            return BadMatch;
+
+        para->orientation = *(INT32*)prop->data;
+
+    } else if (property == prop_edges)
     {
         INT32 *edges;
         if (prop->size != 4 || prop->format != 32 || prop->type != XA_INTEGER)
--- a/src/synaptics.c
+++ b/src/synaptics.c
@@ -462,6 +462,7 @@ static void set_default_parameters(Local
     }
 
     /* set the parameters */
+    pars->orientation = xf86SetIntOption(opts, "Orientation", 0);
     pars->left_edge = xf86SetIntOption(opts, "LeftEdge", l);
     pars->right_edge = xf86SetIntOption(opts, "RightEdge", r);
     pars->top_edge = xf86SetIntOption(opts, "TopEdge", t);
--- a/tools/synclient.c
+++ b/tools/synclient.c
@@ -143,6 +143,7 @@ static struct Parameter params[] = {
     {"AreaRightEdge",         PT_INT,    0, 10000, SYNAPTICS_PROP_AREA,	32,	1},
     {"AreaTopEdge",           PT_INT,    0, 10000, SYNAPTICS_PROP_AREA,	32,	2},
     {"AreaBottomEdge",        PT_INT,    0, 10000, SYNAPTICS_PROP_AREA,	32,	3},
+    {"Orientation",           PT_INT,    0, 3,     SYNAPTICS_PROP_ORIENTATION,	32,	0},
     { NULL, 0, 0, 0, 0 }
 };
 
--- a/src/synapticsstr.h
+++ b/src/synapticsstr.h
@@ -149,6 +149,8 @@ typedef struct _SynapticsParameters
     unsigned int resolution_horiz;          /* horizontal resolution of touchpad in units/mm */
     unsigned int resolution_vert;           /* vertical resolution of touchpad in units/mm */
     int area_left_edge, area_right_edge, area_top_edge, area_bottom_edge; /* area coordinates absolute */
+    int orientation;               /* Orientation, matches xrandr order
+                                    * 0-3 = normal, inverter, left, or right  */
 } SynapticsParameters;
 
 

Reply via email to