burzumishi / linux-baytrail-flexx10

Install GNU/Linux on NextBook Flexx 10.1
GNU General Public License v2.0
82 stars 18 forks source link

Rotation #37

Open kousu opened 6 years ago

kousu commented 6 years ago

Hiya, thanks again for all your hardwork on these baytrail devices. It helps a lot!

I'm trying to get rotation working and while the screen can rotate the image just find with xrandr, making the touchscreen then follow it doesn't seem to be working.

xinput set-int-prop $TOUCHSCREEN "Evdev Axis Inversion" 8 $INV_TO
xinput set-int-prop $TOUCHSCREEN "Evdev Axes Swap" 8 $SWAP_TO 

cause (in xinput watch-props $TOUCHSCREEN run in a second window):

Property 'Evdev Axis Inversion' changed.
    Evdev Axis Inversion (489): 1, 0
Property 'Evdev Axes Swap' changed.
    Evdev Axes Swap (490):  1
Property 'Evdev Axis Inversion' changed.
    Evdev Axis Inversion (489): 0, 0
Property 'Evdev Axes Swap' changed.
    Evdev Axes Swap (490):  0

but the touchscreen pointer doesn't follow. It still thinks that down on the screen means move the mouse down, which means the pointer doesn't follow my finger.

I don't know where to start debugging this. dmesg doesn't say anything useful.

kousu commented 6 years ago

https://gist.github.com/rubo77/daa262e0229f6e398766 suggests using a coordinate transformation matrix. I'll try that next.

kousu commented 6 years ago

Hmm so the matrix method works for me. I now have these two scripts:

[kousu@phi ~]$ cat `which landscape`
#!/bin/sh
xrandr --screen 0 -o normal
TOUCHSCREEN=$(xinput | grep FTSC1000 | cut  -f2 | cut -d= -f2)
normal='1 0 0 0 1 0 0 0 1'
xinput set-prop $TOUCHSCREEN 'Coordinate Transformation Matrix' $normal

[kousu@phi ~]$ cat `which portrait`
#!/bin/sh

set -e
xrandr --screen 0 -o left
TOUCHSCREEN=$(xinput | grep FTSC1000 | cut  -f2 | cut -d= -f2)
left='0 -1 1 1 0 0 0 0 1'
xinput set-prop $TOUCHSCREEN 'Coordinate Transformation Matrix' $left

Your method makes sense to me, but it's not working. any idea what's wrong? I have a MDG Flex, model MF2IN132G.

dmidecode:

# dmidecode 3.1
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
34 structures occupying 1952 bytes.
Table at 0x7BC18000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
    Vendor: INSYDE Corp.
    Version: MDG1106.1.08.020
    Release Date: 04/25/2016
    Address: 0xF0000
    Runtime Size: 64 kB
    ROM Size: 640 kB
    Characteristics:
        PCI is supported
        BIOS is upgradeable
        BIOS shadowing is allowed
        Boot from CD is supported
        Selectable boot is supported
        EDD is supported
        8042 keyboard services are supported (int 9h)
        Serial services are supported (int 14h)
        Printer services are supported (int 17h)
        CGA/mono video services are supported (int 10h)
        ACPI is supported
        USB legacy is supported
        ATAPI Zip drive boot is supported
        BIOS boot specification is supported
        Function key-initiated network boot is supported
        Targeted content distribution is supported
        UEFI is supported
    BIOS Revision: 8.78
    Firmware Revision: 0.0

Handle 0x0001, DMI type 1, 27 bytes
System Information
    Manufacturer: MDG
    Product Name: MF2IN132G
    Version: Type1 - TBD by OEM
    Serial Number: XXXXXXXXXXXXXXXXXXXXXX
    UUID: XXXXXXXXXXXXXXXXXXXXXX
    Wake-up Type: Power Switch
    SKU Number: MDGM1106BFP
    Family: M1106BFP T10220310

Handle 0x0002, DMI type 2, 17 bytes
Base Board Information
    Manufacturer: MDG
    Product Name: M1106BFP
    Version: 1.2
    Serial Number: Type2 - Board Serial Number
    Asset Tag: Type2 - Board Asset Tag
    Features:
        Board is a hosting board
        Board is replaceable
    Location In Chassis: Type2 - Board Chassis Location
    Chassis Handle: 0x0003
    Type: Motherboard
    Contained Object Handles: 0

Handle 0x0003, DMI type 3, 24 bytes
Chassis Information
    Manufacturer: Chassis Manufacturer
    Type: Notebook
    Lock: Not Present
    Version: Chassis Version
    Serial Number: Chassis Serial Number
    Asset Tag: Chassis Asset Tag
    Boot-up State: Safe
    Power Supply State: Safe
    Thermal State: Safe
    Security Status: None
    OEM Information: 0x00000000
    Height: Unspecified
    Number Of Power Cords: 1
    Contained Elements: 0
    SKU Number: Not Specified

Handle 0x0004, DMI type 4, 42 bytes
Processor Information
    Socket Designation: CPU 1
    Type: Central Processor
    Family: Atom
    Manufacturer: Intel(R) Corporation
    ID: 78 06 03 00 FF FB EB BF
    Signature: Type 0, Family 6, Model 55, Stepping 8
    Flags:
        FPU (Floating-point unit on-chip)
        VME (Virtual mode extension)
        DE (Debugging extension)
        PSE (Page size extension)
        TSC (Time stamp counter)
        MSR (Model specific registers)
        PAE (Physical address extension)
        MCE (Machine check exception)
        CX8 (CMPXCHG8 instruction supported)
        APIC (On-chip APIC hardware supported)
        SEP (Fast system call)
        MTRR (Memory type range registers)
        PGE (Page global enable)
        MCA (Machine check architecture)
        CMOV (Conditional move instruction supported)
        PAT (Page attribute table)
        PSE-36 (36-bit page size extension)
        CLFSH (CLFLUSH instruction supported)
        DS (Debug store)
        ACPI (ACPI supported)
        MMX (MMX technology supported)
        FXSR (FXSAVE and FXSTOR instructions supported)
        SSE (Streaming SIMD extensions)
        SSE2 (Streaming SIMD extensions 2)
        SS (Self-snoop)
        HTT (Multi-threading)
        TM (Thermal monitor supported)
        PBE (Pending break enabled)
    Version: Intel(R) Atom(TM) CPU  Z3735F @ 1.33GHz
    Voltage: 0.7 V
    External Clock: 83 MHz
    Max Speed: 1826 MHz
    Current Speed: 1338 MHz
    Status: Populated, Enabled
    Upgrade: None
    L1 Cache Handle: 0x0008
    L2 Cache Handle: 0x0009
    L3 Cache Handle: Not Provided
    Serial Number: Not Specified
    Asset Tag: Not Specified
    Part Number: Not Specified
    Core Count: 4
    Core Enabled: 4
    Thread Count: 1
    Characteristics:
        64-bit capable
        Multi-Core
        Execute Protection
        Enhanced Virtualization
        Power/Performance Control

Handle 0x0005, DMI type 6, 12 bytes
Memory Module Information
    Socket Designation: DIMM0
    Bank Connections: 0 0
    Current Speed: Unknown
    Type: None
    Installed Size: 2048 MB (Single-bank Connection)
    Enabled Size: 2048 MB (Single-bank Connection)
    Error Status: OK

Handle 0x0006, DMI type 6, 12 bytes
Memory Module Information
    Socket Designation: DIMM1
    Bank Connections: 0 0
    Current Speed: Unknown
    Type: None
    Installed Size: Not Installed
    Enabled Size: Not Installed
    Error Status: OK

Handle 0x0007, DMI type 7, 19 bytes
Cache Information
    Socket Designation: L1 Cache
    Configuration: Enabled, Not Socketed, Level 1
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 24 kB
    Maximum Size: 24 kB
    Supported SRAM Types:
        Synchronous
    Installed SRAM Type: Synchronous
    Speed: Unknown
    Error Correction Type: Single-bit ECC
    System Type: Data
    Associativity: Fully Associative

Handle 0x0008, DMI type 7, 19 bytes
Cache Information
    Socket Designation: L1 Cache
    Configuration: Enabled, Not Socketed, Level 1
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 32 kB
    Maximum Size: 32 kB
    Supported SRAM Types:
        Synchronous
    Installed SRAM Type: Synchronous
    Speed: Unknown
    Error Correction Type: Single-bit ECC
    System Type: Instruction
    Associativity: 8-way Set-associative

Handle 0x0009, DMI type 7, 19 bytes
Cache Information
    Socket Designation: L2 Cache
    Configuration: Enabled, Not Socketed, Level 2
    Operational Mode: Write Back
    Location: Internal
    Installed Size: 1024 kB
    Maximum Size: 1024 kB
    Supported SRAM Types:
        Synchronous
    Installed SRAM Type: Synchronous
    Speed: Unknown
    Error Correction Type: Single-bit ECC
    System Type: Unified
    Associativity: 16-way Set-associative

Handle 0x000A, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J7A1
    Internal Connector Type: None
    External Reference Designator: Micro HDMI
    External Connector Type: Other
    Port Type: Video Port

Handle 0x000B, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J8A1
    Internal Connector Type: None
    External Reference Designator: Displat Port
    External Connector Type: Other
    Port Type: Video Port

Handle 0x000C, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J5A1
    Internal Connector Type: None
    External Reference Designator: USB3.0 AB
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x000D, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J6A1
    Internal Connector Type: None
    External Reference Designator: USB3.0 Dock/USB2.0
    External Connector Type: Access Bus (USB)
    Port Type: USB

Handle 0x000E, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: CON9E1
    Internal Connector Type: None
    External Reference Designator: Micro SDCard
    External Connector Type: Other
    Port Type: Other

Handle 0x000F, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J9A1
    Internal Connector Type: None
    External Reference Designator: SIM Card
    External Connector Type: Other
    Port Type: Other

Handle 0x0010, DMI type 8, 9 bytes
Port Connector Information
    Internal Reference Designator: J9E1
    Internal Connector Type: None
    External Reference Designator: Audio Jack
    External Connector Type: Mini Jack (headphones)
    Port Type: Audio Port

Handle 0x0011, DMI type 11, 5 bytes
OEM Strings
    String 1: Insyde Chipset

Handle 0x0012, DMI type 12, 5 bytes
System Configuration Options
    Option 1: String1 for Type12 Equipment Manufacturer
    Option 2: String2 for Type12 Equipment Manufacturer
    Option 3: String3 for Type12 Equipment Manufacturer
    Option 4: String4 for Type12 Equipment Manufacturer

Handle 0x0013, DMI type 13, 22 bytes
BIOS Language Information
    Language Description Format: Long
    Installable Languages: 4
        en|US|iso8859-1
        fr|CA|iso8859-1
        zh|TW|unicode
        ja|JP|unicode
    Currently Installed Language: en|US|iso8859-1

Handle 0x0014, DMI type 16, 15 bytes
Physical Memory Array
    Location: System Board Or Motherboard
    Use: System Memory
    Error Correction Type: None
    Maximum Capacity: 4 GB
    Error Information Handle: No Error
    Number Of Devices: 2

Handle 0x0015, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x0014
    Error Information Handle: No Error
    Total Width: 32 bits
    Data Width: 32 bits
    Size: 2048 MB
    Form Factor: SODIMM
    Set: None
    Locator: DIMM0
    Bank Locator: BANK 0
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1333 MT/s
    Manufacturer: To be filled by O.E.M
    Serial Number: To be filled by O.E.M
    Asset Tag: To be filled by O.E.M
    Part Number: To be filled by O.E.M
    Rank: Unknown
    Configured Clock Speed: 1333 MT/s

Handle 0x0016, DMI type 17, 34 bytes
Memory Device
    Array Handle: 0x0014
    Error Information Handle: No Error
    Total Width: 32 bits
    Data Width: 32 bits
    Size: No Module Installed
    Form Factor: SODIMM
    Set: None
    Locator: DIMM1
    Bank Locator: BANK 1
    Type: DDR3
    Type Detail: Synchronous
    Speed: 1333 MT/s
    Manufacturer: To be filled by O.E.M
    Serial Number: To be filled by O.E.M
    Asset Tag: To be filled by O.E.M
    Part Number: To be filled by O.E.M
    Rank: Unknown
    Configured Clock Speed: 1333 MT/s

Handle 0x0017, DMI type 19, 15 bytes
Memory Array Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x0007FFFFFFF
    Range Size: 2 GB
    Physical Array Handle: 0x0014
    Partition Width: 2

Handle 0x0018, DMI type 20, 19 bytes
Memory Device Mapped Address
    Starting Address: 0x00000000000
    Ending Address: 0x0007FFFFFFF
    Range Size: 2 GB
    Physical Device Handle: 0x0015
    Memory Array Mapped Address Handle: 0x0017
    Partition Row Position: Unknown

Handle 0x0019, DMI type 20, 19 bytes
Memory Device Mapped Address
    Starting Address: 0x00080000000
    Ending Address: 0x0007FFFFFFF
    Range Size: Invalid
    Physical Device Handle: 0x0016
    Memory Array Mapped Address Handle: 0x0017
    Partition Row Position: Unknown

Handle 0x001A, DMI type 22, 26 bytes
Portable Battery
    Location: I2C2
    Manufacturer: Intel SR 1
    Manufacture Date: Date
    Serial Number: 123456789
    Name: SR Real Battery
    Chemistry: Lithium Ion
    Design Capacity: 0 mWh
    Design Voltage: 3750 mV
    SBDS Version: CRB Battery 0
    Maximum Error: Unknown
    OEM-specific Information: 0x00000000

Handle 0x001B, DMI type 26, 22 bytes
Voltage Probe
    Description: Voltage Probe Description.
    Location: Unknown
    Status: Unknown
    Maximum Value: Unknown
    Minimum Value: Unknown
    Resolution: Unknown
    Tolerance: Unknown
    Accuracy: Unknown
    OEM-specific Information: 0x00000000
    Nominal Value: Unknown

Handle 0x001C, DMI type 28, 22 bytes
Temperature Probe
    Description: Temperature Probe Description.
    Location: Unknown
    Status: Unknown
    Maximum Value: Unknown
    Minimum Value: Unknown
    Resolution: Unknown
    Tolerance: Unknown
    Accuracy: Unknown
    OEM-specific Information: 0x00000000
    Nominal Value: Unknown

Handle 0x001D, DMI type 32, 11 bytes
System Boot Information
    Status: No errors detected

Handle 0x001E, DMI type 39, 22 bytes
System Power Supply
    Location: OEM_Define0
    Name: OEM_Define1
    Manufacturer: OEM_Define2
    Serial Number: OEM_Define3
    Asset Tag: OEM_Define4
    Model Part Number: OEM_Define5
    Revision: OEM_Define6
    Max Power Capacity: 42 W
    Status: Present, OK
    Type: Regulator
    Input Voltage Range Switching: Auto-switch
    Plugged: No
    Hot Replaceable: No
    Input Voltage Probe Handle: 0x001B

Handle 0x001F, DMI type 41, 11 bytes
Onboard Device
    Reference Designation: IGD
    Type: Video
    Status: Disabled
    Type Instance: 1
    Bus Address: 0000:00:02.0

Handle 0x0020, DMI type 148, 26 bytes
OEM-specific Type
    Header and Data:
        94 1A 20 00 01 02 03 04 05 06 07 08 09 0A 0B 0C
        0D 0E 0F 10 11 12 13 14 15 16
    Strings:
        7.2.1008
        832
        1.02
        1.1.2.1133
        Non ULPMC!!
        0x4_45
        0x27
        0F (C0 Stepping)
        BAY LAKE CR (6)
        0
        VLV-QC Tablet (1)
        MDG1106.1.08.020
        41.01
        NA
        0
        0
        1
        1
        3
        1
        1
        1

Handle 0xFEFF, DMI type 127, 4 bytes
End Of Table
[kousu@phi ~]$ lspci
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0f)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0f)
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0f)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0f)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0f)
[kousu@phi ~]$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 258a:6a88  
Bus 001 Device 006: ID 05e3:0608 Genesys Logic, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[kousu@phi ~]$ 

Xorg.0.log:

[   177.324] 
X.Org X Server 1.19.3
Release Date: 2017-03-15
[   177.325] X Protocol Version 11, Revision 0
[   177.325] Build Operating System: Linux 4.12.5-1-ARCH x86_64 
[   177.325] Current Operating System: Linux phi 4.12.8-2-ARCH #1 SMP PREEMPT Fri Aug 18 14:08:02 UTC 2017 x86_64
[   177.325] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=171770ed-4733-4867-831f-bce89adbb552 rw quiet
[   177.325] Build Date: 13 August 2017  09:37:50PM
[   177.325]  
[   177.326] Current version of pixman: 0.34.0
[   177.326]    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[   177.326] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   177.327] (==) Log file: "/home/kousu/.local/share/xorg/Xorg.0.log", Time: Thu Aug 24 15:03:34 2017
[   177.331] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   177.333] (==) No Layout section.  Using the first Screen section.
[   177.334] (==) No screen section available. Using defaults.
[   177.334] (**) |-->Screen "Default Screen Section" (0)
[   177.334] (**) |   |-->Monitor "<default monitor>"
[   177.335] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
[   177.335] (==) Automatically adding devices
[   177.335] (==) Automatically enabling devices
[   177.335] (==) Automatically adding GPU devices
[   177.335] (==) Automatically binding GPU devices
[   177.335] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   177.345] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[   177.345]    Entry deleted from font path.
[   177.346] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/OTF/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[   177.346] (==) ModulePath set to "/usr/lib/xorg/modules"
[   177.347] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
[   177.347] (II) Loader magic: 0x55719de08d40
[   177.347] (II) Module ABI versions:
[   177.347]    X.Org ANSI C Emulation: 0.4
[   177.347]    X.Org Video Driver: 23.0
[   177.347]    X.Org XInput driver : 24.1
[   177.347]    X.Org Server Extension : 10.0
[   177.350] (++) using VT number 1

[   177.351] (--) controlling tty is VT number 1, auto-enabling KeepTty
[   177.361] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[   177.364] (II) xfree86: Adding drm device (/dev/dri/card0)
[   177.367] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   177.371] (--) PCI:*(0:0:2:0) 8086:0f31:1027:2014 rev 15, Mem @ 0x90000000/4194304, 0x80000000/268435456, I/O @ 0x00001000/8, BIOS @ 0x????????/131072
[   177.371] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   177.371] (II) LoadModule: "glx"
[   177.375] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   177.396] (II) Module glx: vendor="X.Org Foundation"
[   177.396]    compiled for 1.19.3, module version = 1.0.0
[   177.397]    ABI class: X.Org Server Extension, version 10.0
[   177.397] (==) Matched intel as autoconfigured driver 0
[   177.397] (==) Matched intel as autoconfigured driver 1
[   177.397] (==) Matched modesetting as autoconfigured driver 2
[   177.397] (==) Matched fbdev as autoconfigured driver 3
[   177.397] (==) Matched vesa as autoconfigured driver 4
[   177.397] (==) Assigned the driver to the xf86ConfigLayout
[   177.397] (II) LoadModule: "intel"
[   177.399] (WW) Warning, couldn't open module intel
[   177.399] (II) UnloadModule: "intel"
[   177.399] (II) Unloading intel
[   177.399] (EE) Failed to load module "intel" (module does not exist, 0)
[   177.399] (II) LoadModule: "modesetting"
[   177.400] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   177.403] (II) Module modesetting: vendor="X.Org Foundation"
[   177.403]    compiled for 1.19.3, module version = 1.19.3
[   177.403]    Module class: X.Org Video Driver
[   177.403]    ABI class: X.Org Video Driver, version 23.0
[   177.403] (II) LoadModule: "fbdev"
[   177.403] (WW) Warning, couldn't open module fbdev
[   177.403] (II) UnloadModule: "fbdev"
[   177.403] (II) Unloading fbdev
[   177.403] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   177.403] (II) LoadModule: "vesa"
[   177.404] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[   177.405] (II) Module vesa: vendor="X.Org Foundation"
[   177.405]    compiled for 1.19.3, module version = 2.3.4
[   177.405]    Module class: X.Org Video Driver
[   177.406]    ABI class: X.Org Video Driver, version 23.0
[   177.406] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   177.406] (II) VESA: driver for VESA chipsets: vesa
[   177.406] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   177.406] (II) modeset(0): using drv /dev/dri/card0
[   177.406] (WW) Falling back to old probe method for vesa
[   177.406] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   177.406] (II) modeset(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
[   177.406] (==) modeset(0): Depth 24, (==) framebuffer bpp 32
[   177.406] (==) modeset(0): RGB weight 888
[   177.406] (==) modeset(0): Default visual is TrueColor
[   177.406] (II) Loading sub module "glamoregl"
[   177.406] (II) LoadModule: "glamoregl"
[   177.406] (II) Loading /usr/lib/xorg/modules/libglamoregl.so
[   177.422] (II) Module glamoregl: vendor="X.Org Foundation"
[   177.422]    compiled for 1.19.3, module version = 1.0.0
[   177.422]    ABI class: X.Org ANSI C Emulation, version 0.4
[   177.422] (II) glamor: OpenGL accelerated X.org driver based.
[   177.550] (II) glamor: EGL version 1.4 (DRI2):
[   177.577] (II) modeset(0): glamor initialized
[   177.577] (II) modeset(0): Output DSI-1 has no monitor section
[   177.599] (II) modeset(0): Output DP-1 has no monitor section
[   177.608] (II) modeset(0): Output HDMI-1 has no monitor section
[   177.633] (II) modeset(0): Output DP-2 has no monitor section
[   177.749] (II) modeset(0): Output HDMI-2 has no monitor section
[   177.750] (II) modeset(0): EDID for output DSI-1
[   177.751] (II) modeset(0): Printing probed modes for output DSI-1
[   177.751] (II) modeset(0): Modeline "1366x768"x60.0   76.95  1366 1446 1454 1534  768 800 804 836 -hsync -vsync (50.2 kHz P)
[   177.751] (II) modeset(0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   177.751] (II) modeset(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   177.751] (II) modeset(0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   177.751] (II) modeset(0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   177.751] (II) modeset(0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   177.751] (II) modeset(0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   177.752] (II) modeset(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   177.752] (II) modeset(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   177.752] (II) modeset(0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   177.752] (II) modeset(0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   177.752] (II) modeset(0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   177.752] (II) modeset(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   177.752] (II) modeset(0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   177.752] (II) modeset(0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   177.752] (II) modeset(0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   177.752] (II) modeset(0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   177.777] (II) modeset(0): EDID for output DP-1
[   177.787] (II) modeset(0): EDID for output HDMI-1
[   177.811] (II) modeset(0): EDID for output DP-2
[   177.925] (II) modeset(0): EDID for output HDMI-2
[   177.925] (II) modeset(0): Output DSI-1 connected
[   177.925] (II) modeset(0): Output DP-1 disconnected
[   177.925] (II) modeset(0): Output HDMI-1 disconnected
[   177.925] (II) modeset(0): Output DP-2 disconnected
[   177.925] (II) modeset(0): Output HDMI-2 disconnected
[   177.925] (II) modeset(0): Using exact sizes for initial modes
[   177.925] (II) modeset(0): Output DSI-1 using initial mode 1366x768 +0+0
[   177.926] (==) modeset(0): Using gamma correction (1.0, 1.0, 1.0)
[   177.926] (==) modeset(0): DPI set to (96, 96)
[   177.926] (II) Loading sub module "fb"
[   177.926] (II) LoadModule: "fb"
[   177.927] (II) Loading /usr/lib/xorg/modules/libfb.so
[   177.951] (II) Module fb: vendor="X.Org Foundation"
[   177.951]    compiled for 1.19.3, module version = 1.0.0
[   177.951]    ABI class: X.Org ANSI C Emulation, version 0.4
[   177.952] (II) UnloadModule: "vesa"
[   177.952] (II) Unloading vesa
[   177.952] (==) Depth 24 pixmap format is 32 bpp
[   178.188] (==) modeset(0): Backing store enabled
[   178.188] (==) modeset(0): Silken mouse enabled
[   178.208] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   179.510] (==) modeset(0): DPMS enabled
[   179.510] (II) modeset(0): [DRI2] Setup complete
[   179.511] (II) modeset(0): [DRI2]   DRI driver: i965
[   179.511] (II) modeset(0): [DRI2]   VDPAU driver: i965
[   179.511] (--) RandR disabled
[   179.557] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[   179.557] (II) AIGLX: enabled GLX_ARB_create_context
[   179.557] (II) AIGLX: enabled GLX_ARB_create_context_profile
[   179.557] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[   179.558] (II) AIGLX: enabled GLX_INTEL_swap_event
[   179.558] (II) AIGLX: enabled GLX_SGI_swap_control
[   179.558] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[   179.558] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[   179.558] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[   179.558] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[   179.558] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[   179.558] (II) AIGLX: Loaded and initialized i965
[   179.558] (II) GLX: Initialized DRI2 GL provider for screen 0
[   179.565] (II) modeset(0): Damage tracking initialized
[   179.565] (II) modeset(0): Setting screen physical size to 361 x 203
[   179.872] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[   179.872] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   179.872] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[   179.872] (II) LoadModule: "libinput"
[   179.872] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   179.889] (II) Module libinput: vendor="X.Org Foundation"
[   179.889]    compiled for 1.19.3, module version = 0.25.1
[   179.889]    Module class: X.Org XInput Driver
[   179.889]    ABI class: X.Org XInput driver, version 24.1
[   179.889] (II) Using input driver 'libinput' for 'Video Bus'
[   179.894] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 20 paused 0
[   179.894] (**) Video Bus: always reports core events
[   179.895] (**) Option "Device" "/dev/input/event6"
[   179.895] (**) Option "_source" "server/udev"
[   179.897] (II) event6  - (II) Video Bus: (II) is tagged by udev as: Keyboard
[   179.897] (II) event6  - (II) Video Bus: (II) device is a keyboard
[   179.897] (II) event6  - (II) Video Bus: (II) device removed
[   179.897] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7/event6"
[   179.897] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 6)
[   179.899] (II) event6  - (II) Video Bus: (II) is tagged by udev as: Keyboard
[   179.899] (II) event6  - (II) Video Bus: (II) device is a keyboard
[   179.900] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   179.900] (II) No input driver specified, ignoring this device.
[   179.900] (II) This device may have been added with another device file.
[   179.903] (II) config/udev: Adding input device SINO WEALTH USB KEYBOARD (/dev/input/event2)
[   179.903] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev keyboard catchall"
[   179.903] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput keyboard catchall"
[   179.903] (II) Using input driver 'libinput' for 'SINO WEALTH USB KEYBOARD'
[   179.909] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 23 paused 0
[   179.909] (**) SINO WEALTH USB KEYBOARD: always reports core events
[   179.909] (**) Option "Device" "/dev/input/event2"
[   179.909] (**) Option "_source" "server/udev"
[   179.911] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard
[   179.911] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[   179.911] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[   179.911] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/0003:258A:6A88.0001/input/input2/event2"
[   179.911] (II) XINPUT: Adding extended input device "SINO WEALTH USB KEYBOARD" (type: KEYBOARD, id 7)
[   179.913] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard
[   179.913] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[   179.915] (II) config/udev: Adding input device SINO WEALTH USB KEYBOARD (/dev/input/event3)
[   179.915] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev pointer catchall"
[   179.915] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev keyboard catchall"
[   179.915] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput pointer catchall"
[   179.915] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput keyboard catchall"
[   179.915] (II) Using input driver 'libinput' for 'SINO WEALTH USB KEYBOARD'
[   179.920] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 24 paused 0
[   179.921] (**) SINO WEALTH USB KEYBOARD: always reports core events
[   179.921] (**) Option "Device" "/dev/input/event3"
[   179.921] (**) Option "_source" "server/udev"
[   179.923] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard Mouse
[   179.924] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a pointer
[   179.924] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[   179.924] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[   179.924] (II) libinput: SINO WEALTH USB KEYBOARD: needs a virtual subdevice
[   179.924] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:258A:6A88.0002/input/input3/event3"
[   179.924] (II) XINPUT: Adding extended input device "SINO WEALTH USB KEYBOARD" (type: MOUSE, id 8)
[   179.925] (**) Option "AccelerationScheme" "none"
[   179.925] (**) SINO WEALTH USB KEYBOARD: (accel) selected scheme none/0
[   179.925] (**) SINO WEALTH USB KEYBOARD: (accel) acceleration factor: 2.000
[   179.925] (**) SINO WEALTH USB KEYBOARD: (accel) acceleration threshold: 4
[   179.927] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard Mouse
[   179.927] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a pointer
[   179.927] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[   179.929] (II) config/udev: Adding input device SINO WEALTH USB KEYBOARD (/dev/input/mouse0)
[   179.929] (II) No input driver specified, ignoring this device.
[   179.929] (II) This device may have been added with another device file.
[   179.931] (II) config/udev: Adding input device FTSC1000:00 2808:509C (/dev/input/event8)
[   179.931] (**) FTSC1000:00 2808:509C: Applying InputClass "evdev touchscreen catchall"
[   179.931] (**) FTSC1000:00 2808:509C: Applying InputClass "libinput touchscreen catchall"
[   179.931] (II) Using input driver 'libinput' for 'FTSC1000:00 2808:509C'
[   180.133] (II) systemd-logind: got fd for /dev/input/event8 13:72 fd 25 paused 0
[   180.133] (**) FTSC1000:00 2808:509C: always reports core events
[   180.133] (**) Option "Device" "/dev/input/event8"
[   180.134] (**) Option "_source" "server/udev"
[   180.137] (II) event8  - (II) FTSC1000:00 2808:509C: (II) is tagged by udev as: Touchscreen
[   180.137] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device is a touch device
[   180.137] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device removed
[   180.137] (**) Option "config_info" "udev:/sys/devices/platform/80860F41:03/i2c-3/i2c-FTSC1000:00/0018:2808:509C.0003/input/input8/event8"
[   180.138] (II) XINPUT: Adding extended input device "FTSC1000:00 2808:509C" (type: TOUCHSCREEN, id 9)
[   180.139] (**) Option "AccelerationScheme" "none"
[   180.139] (**) FTSC1000:00 2808:509C: (accel) selected scheme none/0
[   180.139] (**) FTSC1000:00 2808:509C: (accel) acceleration factor: 2.000
[   180.139] (**) FTSC1000:00 2808:509C: (accel) acceleration threshold: 4
[   180.142] (II) event8  - (II) FTSC1000:00 2808:509C: (II) is tagged by udev as: Touchscreen
[   180.142] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device is a touch device
[   180.144] (II) config/udev: Adding input device FTSC1000:00 2808:509C (/dev/input/mouse1)
[   180.144] (II) No input driver specified, ignoring this device.
[   180.144] (II) This device may have been added with another device file.
[   180.145] (II) config/udev: Adding input device axp20x-pek (/dev/input/event7)
[   180.145] (**) axp20x-pek: Applying InputClass "evdev keyboard catchall"
[   180.145] (**) axp20x-pek: Applying InputClass "libinput keyboard catchall"
[   180.145] (II) Using input driver 'libinput' for 'axp20x-pek'
[   180.150] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 26 paused 0
[   180.150] (**) axp20x-pek: always reports core events
[   180.151] (**) Option "Device" "/dev/input/event7"
[   180.151] (**) Option "_source" "server/udev"
[   180.153] (II) event7  - (II) axp20x-pek: (II) is tagged by udev as: Keyboard
[   180.153] (II) event7  - (II) axp20x-pek: (II) device is a keyboard
[   180.153] (II) event7  - (II) axp20x-pek: (II) device removed
[   180.154] (**) Option "config_info" "udev:/sys/devices/platform/80860F41:04/i2c-4/i2c-INT33F4:00/axp20x-pek/input/input6/event7"
[   180.154] (II) XINPUT: Adding extended input device "axp20x-pek" (type: KEYBOARD, id 10)
[   180.155] (II) event7  - (II) axp20x-pek: (II) is tagged by udev as: Keyboard
[   180.155] (II) event7  - (II) axp20x-pek: (II) device is a keyboard
[   180.157] (II) config/udev: Adding input device gpio-keys (/dev/input/event4)
[   180.157] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[   180.157] (**) gpio-keys: Applying InputClass "libinput keyboard catchall"
[   180.157] (II) Using input driver 'libinput' for 'gpio-keys'
[   180.161] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 27 paused 0
[   180.161] (**) gpio-keys: always reports core events
[   180.161] (**) Option "Device" "/dev/input/event4"
[   180.162] (**) Option "_source" "server/udev"
[   180.164] (II) event4  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[   180.164] (II) event4  - (II) gpio-keys: (II) device is a keyboard
[   180.164] (II) event4  - (II) gpio-keys: (II) device removed
[   180.165] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys.0.auto/input/input4/event4"
[   180.165] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 11)
[   180.166] (II) event4  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[   180.166] (II) event4  - (II) gpio-keys: (II) device is a keyboard
[   180.167] (II) config/udev: Adding input device gpio-keys (/dev/input/event5)
[   180.167] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[   180.167] (**) gpio-keys: Applying InputClass "libinput keyboard catchall"
[   180.167] (II) Using input driver 'libinput' for 'gpio-keys'
[   180.172] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 28 paused 0
[   180.172] (**) gpio-keys: always reports core events
[   180.172] (**) Option "Device" "/dev/input/event5"
[   180.172] (**) Option "_source" "server/udev"
[   180.174] (II) event5  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[   180.174] (II) event5  - (II) gpio-keys: (II) device is a keyboard
[   180.174] (II) event5  - (II) gpio-keys: (II) device removed
[   180.174] (**) Option "config_info" "udev:/sys/devices/platform/gpio-keys.1.auto/input/input5/event5"
[   180.174] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 12)
[   180.176] (II) event5  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[   180.176] (II) event5  - (II) gpio-keys: (II) device is a keyboard
[   180.177] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
[   180.177] (II) No input driver specified, ignoring this device.
[   180.177] (II) This device may have been added with another device file.
[   180.192] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev pointer catchall"
[   180.192] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev keyboard catchall"
[   180.192] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput pointer catchall"
[   180.192] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput keyboard catchall"
[   180.192] (II) Using input driver 'libinput' for 'SINO WEALTH USB KEYBOARD'
[   180.192] (II) systemd-logind: returning pre-existing fd for /dev/input/event3 13:67
[   180.193] (**) SINO WEALTH USB KEYBOARD: always reports core events
[   180.193] (**) Option "Device" "/dev/input/event3"
[   180.193] (**) Option "_source" "_driver/libinput"
[   180.193] (II) libinput: SINO WEALTH USB KEYBOARD: is a virtual subdevice
[   180.193] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:258A:6A88.0002/input/input3/event3"
[   180.193] (II) XINPUT: Adding extended input device "SINO WEALTH USB KEYBOARD" (type: KEYBOARD, id 13)
[ 10902.352] (II) Axis 0x35 value 37376 is outside expected range [-68, 1434]
See https://wayland.freedesktop.org/libinput/doc/1.8.1//absolute_coordinate_ranges.html for details
[ 12031.504] (**) Option "fd" "20"
[ 12031.504] (II) event6  - (II) Video Bus: (II) device removed
[ 12031.507] (**) Option "fd" "23"
[ 12031.508] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 12031.509] (**) Option "fd" "24"
[ 12031.509] (**) Option "fd" "25"
[ 12031.509] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device removed
[ 12031.509] (**) Option "fd" "26"
[ 12031.509] (II) event7  - (II) axp20x-pek: (II) device removed
[ 12031.510] (**) Option "fd" "27"
[ 12031.510] (II) event4  - (II) gpio-keys: (II) device removed
[ 12031.510] (**) Option "fd" "28"
[ 12031.510] (II) event5  - (II) gpio-keys: (II) device removed
[ 12031.511] (**) Option "fd" "24"
[ 12031.511] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 12031.511] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 12031.606] (II) systemd-logind: got pause for 13:71
[ 12031.606] (II) systemd-logind: got pause for 13:72
[ 12031.606] (II) systemd-logind: got pause for 13:67
[ 12031.606] (II) systemd-logind: got pause for 13:66
[ 12031.607] (II) systemd-logind: got pause for 13:69
[ 12031.607] (II) systemd-logind: got pause for 13:68
[ 12031.607] (II) systemd-logind: got pause for 226:0
[ 12031.607] (II) systemd-logind: got pause for 13:70
[ 12032.380] (II) systemd-logind: got resume for 13:71
[ 12032.410] (II) systemd-logind: got resume for 13:72
[ 12032.437] (II) systemd-logind: got resume for 13:67
[ 12032.464] (II) systemd-logind: got resume for 13:66
[ 12032.487] (II) systemd-logind: got resume for 13:69
[ 12032.514] (II) systemd-logind: got resume for 13:68
[ 12032.515] (II) systemd-logind: got resume for 226:0
[ 12032.515] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 12032.782] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard
[ 12032.782] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 12032.785] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard Mouse
[ 12032.785] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a pointer
[ 12032.786] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 12032.788] (II) event8  - (II) FTSC1000:00 2808:509C: (II) is tagged by udev as: Touchscreen
[ 12032.788] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device is a touch device
[ 12032.790] (II) event7  - (II) axp20x-pek: (II) is tagged by udev as: Keyboard
[ 12032.790] (II) event7  - (II) axp20x-pek: (II) device is a keyboard
[ 12032.791] (II) event4  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[ 12032.791] (II) event4  - (II) gpio-keys: (II) device is a keyboard
[ 12032.792] (II) event5  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[ 12032.792] (II) event5  - (II) gpio-keys: (II) device is a keyboard
[ 12032.793] (II) systemd-logind: got resume for 13:70
[ 12032.794] (II) event6  - (II) Video Bus: (II) is tagged by udev as: Keyboard
[ 12032.794] (II) event6  - (II) Video Bus: (II) device is a keyboard
[ 15023.099] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 15024.455] (II) config/udev: removing device SINO WEALTH USB KEYBOARD
[ 15024.455] (**) Option "fd" "26"
[ 15024.455] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 15024.461] (II) UnloadModule: "libinput"
[ 15024.461] (II) systemd-logind: releasing fd for 13:66
[ 15024.549] (II) config/udev: removing device SINO WEALTH USB KEYBOARD
[ 15024.549] (**) Option "fd" "25"
[ 15024.550] (II) UnloadModule: "libinput"
[ 15024.550] (II) systemd-logind: not releasing fd for 13:67, still in use
[ 15024.550] (II) config/udev: removing device SINO WEALTH USB KEYBOARD
[ 15024.551] (**) Option "fd" "25"
[ 15024.551] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 15024.553] (II) UnloadModule: "libinput"
[ 15024.553] (II) systemd-logind: releasing fd for 13:67
[ 15033.784] (II) config/udev: Adding input device SINO WEALTH USB KEYBOARD (/dev/input/mouse0)
[ 15033.784] (II) No input driver specified, ignoring this device.
[ 15033.784] (II) This device may have been added with another device file.
[ 15033.819] (II) config/udev: Adding input device SINO WEALTH USB KEYBOARD (/dev/input/event2)
[ 15033.819] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev keyboard catchall"
[ 15033.819] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput keyboard catchall"
[ 15033.819] (II) Using input driver 'libinput' for 'SINO WEALTH USB KEYBOARD'
[ 15033.822] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 45 paused 0
[ 15033.822] (**) SINO WEALTH USB KEYBOARD: always reports core events
[ 15033.822] (**) Option "Device" "/dev/input/event2"
[ 15033.822] (**) Option "_source" "server/udev"
[ 15033.824] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard
[ 15033.824] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 15033.824] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 15033.824] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/0003:258A:6A88.0004/input/input11/event2"
[ 15033.824] (II) XINPUT: Adding extended input device "SINO WEALTH USB KEYBOARD" (type: KEYBOARD, id 7)
[ 15033.828] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard
[ 15033.828] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 15033.830] (II) config/udev: Adding input device SINO WEALTH USB KEYBOARD (/dev/input/event3)
[ 15033.830] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev pointer catchall"
[ 15033.830] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev keyboard catchall"
[ 15033.830] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput pointer catchall"
[ 15033.830] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput keyboard catchall"
[ 15033.831] (II) Using input driver 'libinput' for 'SINO WEALTH USB KEYBOARD'
[ 15033.833] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 46 paused 0
[ 15033.833] (**) SINO WEALTH USB KEYBOARD: always reports core events
[ 15033.833] (**) Option "Device" "/dev/input/event3"
[ 15033.833] (**) Option "_source" "server/udev"
[ 15033.834] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard Mouse
[ 15033.834] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a pointer
[ 15033.834] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 15033.834] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 15033.834] (II) libinput: SINO WEALTH USB KEYBOARD: needs a virtual subdevice
[ 15033.834] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:258A:6A88.0005/input/input12/event3"
[ 15033.835] (II) XINPUT: Adding extended input device "SINO WEALTH USB KEYBOARD" (type: MOUSE, id 8)
[ 15033.836] (**) Option "AccelerationScheme" "none"
[ 15033.836] (**) SINO WEALTH USB KEYBOARD: (accel) selected scheme none/0
[ 15033.836] (**) SINO WEALTH USB KEYBOARD: (accel) acceleration factor: 2.000
[ 15033.836] (**) SINO WEALTH USB KEYBOARD: (accel) acceleration threshold: 4
[ 15033.837] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard Mouse
[ 15033.837] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a pointer
[ 15033.837] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 15033.838] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev pointer catchall"
[ 15033.838] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev keyboard catchall"
[ 15033.838] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput pointer catchall"
[ 15033.838] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput keyboard catchall"
[ 15033.838] (II) Using input driver 'libinput' for 'SINO WEALTH USB KEYBOARD'
[ 15033.838] (II) systemd-logind: returning pre-existing fd for /dev/input/event3 13:67
[ 15033.838] (**) SINO WEALTH USB KEYBOARD: always reports core events
[ 15033.838] (**) Option "Device" "/dev/input/event3"
[ 15033.838] (**) Option "_source" "_driver/libinput"
[ 15033.838] (II) libinput: SINO WEALTH USB KEYBOARD: is a virtual subdevice
[ 15033.838] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:258A:6A88.0005/input/input12/event3"
[ 15033.838] (II) XINPUT: Adding extended input device "SINO WEALTH USB KEYBOARD" (type: KEYBOARD, id 13)
[ 15038.566] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 15195.740] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 15199.713] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 15282.221] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 15306.728] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 15323.646] (**) Option "fd" "53"
[ 15323.646] (II) event6  - (II) Video Bus: (II) device removed
[ 15323.648] (**) Option "fd" "24"
[ 15323.648] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device removed
[ 15323.650] (**) Option "fd" "23"
[ 15323.650] (II) event7  - (II) axp20x-pek: (II) device removed
[ 15323.652] (**) Option "fd" "28"
[ 15323.652] (II) event4  - (II) gpio-keys: (II) device removed
[ 15323.653] (**) Option "fd" "27"
[ 15323.653] (II) event5  - (II) gpio-keys: (II) device removed
[ 15323.659] (**) Option "fd" "45"
[ 15323.660] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 15323.660] (**) Option "fd" "46"
[ 15323.661] (**) Option "fd" "46"
[ 15323.662] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 15323.662] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 15323.725] (II) systemd-logind: got pause for 13:71
[ 15323.725] (II) systemd-logind: got pause for 13:72
[ 15323.725] (II) systemd-logind: got pause for 13:67
[ 15323.725] (II) systemd-logind: got pause for 13:66
[ 15323.725] (II) systemd-logind: got pause for 13:69
[ 15323.725] (II) systemd-logind: got pause for 13:68
[ 15323.725] (II) systemd-logind: got pause for 226:0
[ 15323.725] (II) systemd-logind: got pause for 13:70
[ 15331.600] (II) systemd-logind: got resume for 13:71
[ 15331.620] (II) systemd-logind: got resume for 13:72
[ 15331.640] (II) systemd-logind: got resume for 13:67
[ 15331.660] (II) systemd-logind: got resume for 13:66
[ 15331.680] (II) systemd-logind: got resume for 13:69
[ 15331.700] (II) systemd-logind: got resume for 13:68
[ 15331.701] (II) systemd-logind: got resume for 226:0
[ 15331.701] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 15331.965] (II) event8  - (II) FTSC1000:00 2808:509C: (II) is tagged by udev as: Touchscreen
[ 15331.965] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device is a touch device
[ 15331.966] (II) event7  - (II) axp20x-pek: (II) is tagged by udev as: Keyboard
[ 15331.966] (II) event7  - (II) axp20x-pek: (II) device is a keyboard
[ 15331.968] (II) event4  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[ 15331.968] (II) event4  - (II) gpio-keys: (II) device is a keyboard
[ 15331.969] (II) event5  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[ 15331.969] (II) event5  - (II) gpio-keys: (II) device is a keyboard
[ 15331.970] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard
[ 15331.970] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 15331.972] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard Mouse
[ 15331.972] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a pointer
[ 15331.972] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 15331.973] (II) systemd-logind: got resume for 13:70
[ 15331.974] (II) event6  - (II) Video Bus: (II) is tagged by udev as: Keyboard
[ 15331.974] (II) event6  - (II) Video Bus: (II) device is a keyboard
[ 15361.607] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 15373.794] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 15524.686] (**) Option "fd" "45"
[ 15524.686] (II) event6  - (II) Video Bus: (II) device removed
[ 15524.687] (**) Option "fd" "25"
[ 15524.687] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device removed
[ 15524.687] (**) Option "fd" "24"
[ 15524.688] (II) event7  - (II) axp20x-pek: (II) device removed
[ 15524.688] (**) Option "fd" "35"
[ 15524.688] (II) event4  - (II) gpio-keys: (II) device removed
[ 15524.689] (**) Option "fd" "30"
[ 15524.689] (II) event5  - (II) gpio-keys: (II) device removed
[ 15524.691] (**) Option "fd" "28"
[ 15524.691] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 15524.691] (**) Option "fd" "27"
[ 15524.692] (**) Option "fd" "27"
[ 15524.692] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 15524.693] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 15524.763] (II) systemd-logind: got pause for 13:71
[ 15524.764] (II) systemd-logind: got pause for 13:72
[ 15524.764] (II) systemd-logind: got pause for 13:67
[ 15524.764] (II) systemd-logind: got pause for 13:66
[ 15524.764] (II) systemd-logind: got pause for 13:69
[ 15524.764] (II) systemd-logind: got pause for 13:68
[ 15524.764] (II) systemd-logind: got pause for 226:0
[ 15524.764] (II) systemd-logind: got pause for 13:70
[ 15525.277] (II) systemd-logind: got resume for 13:71
[ 15525.293] (II) systemd-logind: got resume for 13:72
[ 15525.317] (II) systemd-logind: got resume for 13:67
[ 15525.337] (II) systemd-logind: got resume for 13:66
[ 15525.360] (II) systemd-logind: got resume for 13:69
[ 15525.384] (II) systemd-logind: got resume for 13:68
[ 15525.384] (II) systemd-logind: got resume for 226:0
[ 15525.384] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 15525.647] (II) event8  - (II) FTSC1000:00 2808:509C: (II) is tagged by udev as: Touchscreen
[ 15525.648] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device is a touch device
[ 15525.649] (II) event7  - (II) axp20x-pek: (II) is tagged by udev as: Keyboard
[ 15525.650] (II) event7  - (II) axp20x-pek: (II) device is a keyboard
[ 15525.651] (II) event4  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[ 15525.651] (II) event4  - (II) gpio-keys: (II) device is a keyboard
[ 15525.653] (II) event5  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[ 15525.653] (II) event5  - (II) gpio-keys: (II) device is a keyboard
[ 15525.655] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard
[ 15525.655] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 15525.656] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard Mouse
[ 15525.656] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a pointer
[ 15525.657] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 15525.658] (II) systemd-logind: got resume for 13:70
[ 15525.659] (II) event6  - (II) Video Bus: (II) is tagged by udev as: Keyboard
[ 15525.659] (II) event6  - (II) Video Bus: (II) device is a keyboard
[ 15553.798] (**) Option "fd" "27"
[ 15553.799] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device removed
[ 15556.833] (II) event8  - (II) FTSC1000:00 2808:509C: (II) is tagged by udev as: Touchscreen
[ 15556.833] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device is a touch device
[ 15637.457] (II) Axis 0x35 value 16129 is outside expected range [-68, 1434]
See https://wayland.freedesktop.org/libinput/doc/1.8.1//absolute_coordinate_ranges.html for details
[ 15718.671] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device removed
[ 15721.519] (II) event8  - (II) FTSC1000:00 2808:509C: (II) is tagged by udev as: Touchscreen
[ 15721.519] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device is a touch device
[ 15767.057] (II) Axis 0x35 value 12289 is outside expected range [-68, 1434]
See https://wayland.freedesktop.org/libinput/doc/1.8.1//absolute_coordinate_ranges.html for details
[ 15798.913] (**) Option "fd" "47"
[ 15798.914] (II) event6  - (II) Video Bus: (II) device removed
[ 15798.915] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device removed
[ 15798.916] (**) Option "fd" "25"
[ 15798.916] (II) event7  - (II) axp20x-pek: (II) device removed
[ 15798.917] (**) Option "fd" "45"
[ 15798.917] (II) event4  - (II) gpio-keys: (II) device removed
[ 15798.918] (**) Option "fd" "35"
[ 15798.918] (II) event5  - (II) gpio-keys: (II) device removed
[ 15798.921] (**) Option "fd" "30"
[ 15798.921] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 15798.922] (**) Option "fd" "28"
[ 15798.922] (**) Option "fd" "28"
[ 15798.923] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 15798.923] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 15798.978] (II) systemd-logind: got pause for 13:71
[ 15798.978] (II) systemd-logind: got pause for 13:72
[ 15798.978] (II) systemd-logind: got pause for 13:67
[ 15798.978] (II) systemd-logind: got pause for 13:66
[ 15798.978] (II) systemd-logind: got pause for 13:69
[ 15798.978] (II) systemd-logind: got pause for 13:68
[ 15798.978] (II) systemd-logind: got pause for 226:0
[ 15798.978] (II) systemd-logind: got pause for 13:70
[ 15799.870] (II) systemd-logind: got resume for 13:71
[ 15799.896] (II) systemd-logind: got resume for 13:72
[ 15799.923] (II) systemd-logind: got resume for 13:67
[ 15799.950] (II) systemd-logind: got resume for 13:66
[ 15799.977] (II) systemd-logind: got resume for 13:69
[ 15800.000] (II) systemd-logind: got resume for 13:68
[ 15800.001] (II) systemd-logind: got resume for 226:0
[ 15800.001] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 15800.260] (II) event8  - (II) FTSC1000:00 2808:509C: (II) is tagged by udev as: Touchscreen
[ 15800.260] (II) event8  - (II) FTSC1000:00 2808:509C: (II) device is a touch device
[ 15800.265] (II) event7  - (II) axp20x-pek: (II) is tagged by udev as: Keyboard
[ 15800.265] (II) event7  - (II) axp20x-pek: (II) device is a keyboard
[ 15800.268] (II) event4  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[ 15800.268] (II) event4  - (II) gpio-keys: (II) device is a keyboard
[ 15800.270] (II) event5  - (II) gpio-keys: (II) is tagged by udev as: Keyboard
[ 15800.270] (II) event5  - (II) gpio-keys: (II) device is a keyboard
[ 15800.271] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard
[ 15800.271] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 15800.272] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard Mouse
[ 15800.273] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a pointer
[ 15800.273] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 15800.274] (II) systemd-logind: got resume for 13:70
[ 15800.275] (II) event6  - (II) Video Bus: (II) is tagged by udev as: Keyboard
[ 15800.275] (II) event6  - (II) Video Bus: (II) device is a keyboard
[ 15880.621] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 15890.460] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 15899.897] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 15902.568] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 15990.035] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 15996.515] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 15999.235] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 16003.661] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 16154.489] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 16164.462] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 16167.129] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 16169.794] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 16949.554] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 16959.928] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 17012.754] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 17042.595] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[ 17221.181] (II) modeset(0): Allocate new frame buffer 768x1366 stride
[ 17227.383] (II) config/udev: removing device SINO WEALTH USB KEYBOARD
[ 17227.384] (**) Option "fd" "30"
[ 17227.384] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 17227.387] (II) UnloadModule: "libinput"
[ 17227.387] (II) systemd-logind: releasing fd for 13:66
[ 17227.423] (II) config/udev: removing device SINO WEALTH USB KEYBOARD
[ 17227.423] (**) Option "fd" "28"
[ 17227.426] (II) UnloadModule: "libinput"
[ 17227.427] (II) systemd-logind: not releasing fd for 13:67, still in use
[ 17227.427] (II) config/udev: removing device SINO WEALTH USB KEYBOARD
[ 17227.427] (**) Option "fd" "28"
[ 17227.427] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 17227.431] (II) UnloadModule: "libinput"
[ 17227.431] (II) systemd-logind: releasing fd for 13:67
[ 17272.638] (II) config/udev: Adding input device SINO WEALTH USB KEYBOARD (/dev/input/mouse0)
[ 17272.638] (II) No input driver specified, ignoring this device.
[ 17272.638] (II) This device may have been added with another device file.
[ 17272.708] (II) config/udev: Adding input device SINO WEALTH USB KEYBOARD (/dev/input/event3)
[ 17272.708] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev pointer catchall"
[ 17272.708] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev keyboard catchall"
[ 17272.708] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput pointer catchall"
[ 17272.708] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput keyboard catchall"
[ 17272.708] (II) Using input driver 'libinput' for 'SINO WEALTH USB KEYBOARD'
[ 17272.712] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 30 paused 0
[ 17272.712] (**) SINO WEALTH USB KEYBOARD: always reports core events
[ 17272.712] (**) Option "Device" "/dev/input/event3"
[ 17272.712] (**) Option "_source" "server/udev"
[ 17272.714] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard Mouse
[ 17272.714] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a pointer
[ 17272.714] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 17272.714] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 17272.714] (II) libinput: SINO WEALTH USB KEYBOARD: needs a virtual subdevice
[ 17272.714] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:258A:6A88.0007/input/input14/event3"
[ 17272.714] (II) XINPUT: Adding extended input device "SINO WEALTH USB KEYBOARD" (type: MOUSE, id 7)
[ 17272.716] (**) Option "AccelerationScheme" "none"
[ 17272.716] (**) SINO WEALTH USB KEYBOARD: (accel) selected scheme none/0
[ 17272.716] (**) SINO WEALTH USB KEYBOARD: (accel) acceleration factor: 2.000
[ 17272.716] (**) SINO WEALTH USB KEYBOARD: (accel) acceleration threshold: 4
[ 17272.718] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard Mouse
[ 17272.718] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a pointer
[ 17272.718] (II) event3  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 17272.718] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev pointer catchall"
[ 17272.718] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev keyboard catchall"
[ 17272.718] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput pointer catchall"
[ 17272.718] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput keyboard catchall"
[ 17272.718] (II) Using input driver 'libinput' for 'SINO WEALTH USB KEYBOARD'
[ 17272.718] (II) systemd-logind: returning pre-existing fd for /dev/input/event3 13:67
[ 17272.718] (**) SINO WEALTH USB KEYBOARD: always reports core events
[ 17272.718] (**) Option "Device" "/dev/input/event3"
[ 17272.718] (**) Option "_source" "_driver/libinput"
[ 17272.718] (II) libinput: SINO WEALTH USB KEYBOARD: is a virtual subdevice
[ 17272.718] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:258A:6A88.0007/input/input14/event3"
[ 17272.719] (II) XINPUT: Adding extended input device "SINO WEALTH USB KEYBOARD" (type: KEYBOARD, id 8)
[ 17272.721] (II) config/udev: Adding input device SINO WEALTH USB KEYBOARD (/dev/input/event2)
[ 17272.721] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "evdev keyboard catchall"
[ 17272.721] (**) SINO WEALTH USB KEYBOARD: Applying InputClass "libinput keyboard catchall"
[ 17272.721] (II) Using input driver 'libinput' for 'SINO WEALTH USB KEYBOARD'
[ 17272.725] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 43 paused 0
[ 17272.725] (**) SINO WEALTH USB KEYBOARD: always reports core events
[ 17272.725] (**) Option "Device" "/dev/input/event2"
[ 17272.725] (**) Option "_source" "server/udev"
[ 17272.728] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard
[ 17272.728] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 17272.728] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device removed
[ 17272.728] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2.1/1-2.1:1.0/0003:258A:6A88.0006/input/input13/event2"
[ 17272.728] (II) XINPUT: Adding extended input device "SINO WEALTH USB KEYBOARD" (type: KEYBOARD, id 13)
[ 17272.729] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) is tagged by udev as: Keyboard
[ 17272.730] (II) event2  - (II) SINO WEALTH USB KEYBOARD: (II) device is a keyboard
[ 17277.316] (II) modeset(0): Allocate new frame buffer 1366x768 stride
[kousu@phi ~]$ xinput list --long | xclip -i
⎡ Virtual core pointer                      id=2    [master pointer  (3)]
    Reporting 8 classes:
        Class originated from: 7. Type: XIButtonClass
        Buttons supported: 10
        Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra" None
        Button state:
        Class originated from: 7. Type: XIValuatorClass
        Detail for Valuator 0:
          Label: Rel X
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 7. Type: XIValuatorClass
        Detail for Valuator 1:
          Label: Rel Y
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 7. Type: XIValuatorClass
        Detail for Valuator 2:
          Label: Rel Horiz Scroll
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 7. Type: XIValuatorClass
        Detail for Valuator 3:
          Label: Rel Vert Scroll
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 7. Type: XIScrollClass
        Scroll info for Valuator 2
          type: 2 (horizontal)
          increment: 15.000000
          flags: 0x0
        Class originated from: 7. Type: XIScrollClass
        Scroll info for Valuator 3
          type: 1 (vertical)
          increment: 15.000000
          flags: 0x0
        Class originated from: 9. Type: XITouchClass
        Touch mode: direct
        Max number of touches: 15

⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    Reporting 3 classes:
        Class originated from: 4. Type: XIButtonClass
        Buttons supported: 10
        Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" None None None
        Button state:
        Class originated from: 4. Type: XIValuatorClass
        Detail for Valuator 0:
          Label: Rel X
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 4. Type: XIValuatorClass
        Detail for Valuator 1:
          Label: Rel Y
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative

⎜   ↳ FTSC1000:00 2808:509C                     id=9    [slave  pointer  (2)]
    Reporting 6 classes:
        Class originated from: 9. Type: XIButtonClass
        Buttons supported: 7
        Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right"
        Button state:
        Class originated from: 9. Type: XIValuatorClass
        Detail for Valuator 0:
          Label: Abs MT Position X
          Range: 0.000000 - 65535.000000
          Resolution: 0 units/m
          Mode: absolute
          Current value: 43146.000000
        Class originated from: 9. Type: XIValuatorClass
        Detail for Valuator 1:
          Label: Abs MT Position Y
          Range: 0.000000 - 65535.000000
          Resolution: 0 units/m
          Mode: absolute
          Current value: 32554.000000
        Class originated from: 9. Type: XIValuatorClass
        Detail for Valuator 2:
          Label: Rel Horiz Scroll
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 9. Type: XIValuatorClass
        Detail for Valuator 3:
          Label: Rel Vert Scroll
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 9. Type: XITouchClass
        Touch mode: direct
        Max number of touches: 15

⎜   ↳ SINO WEALTH USB KEYBOARD                  id=7    [slave  pointer  (2)]
    Reporting 7 classes:
        Class originated from: 7. Type: XIButtonClass
        Buttons supported: 9
        Button labels: "Button Left" "Button Middle" "Button Right" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right" "Button Side" "Button Extra"
        Button state:
        Class originated from: 7. Type: XIValuatorClass
        Detail for Valuator 0:
          Label: Rel X
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 7. Type: XIValuatorClass
        Detail for Valuator 1:
          Label: Rel Y
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 7. Type: XIValuatorClass
        Detail for Valuator 2:
          Label: Rel Horiz Scroll
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 7. Type: XIValuatorClass
        Detail for Valuator 3:
          Label: Rel Vert Scroll
          Range: -1.000000 - -1.000000
          Resolution: 0 units/m
          Mode: relative
        Class originated from: 7. Type: XIScrollClass
        Scroll info for Valuator 2
          type: 2 (horizontal)
          increment: 15.000000
          flags: 0x0
        Class originated from: 7. Type: XIScrollClass
        Scroll info for Valuator 3
          type: 1 (vertical)
          increment: 15.000000
          flags: 0x0

⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    Reporting 1 classes:
        Class originated from: 13. Type: XIKeyClass
        Keycodes supported: 248

    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    Reporting 1 classes:
        Class originated from: 5. Type: XIKeyClass
        Keycodes supported: 248

    ↳ axp20x-pek                                id=10   [slave  keyboard (3)]
    Reporting 1 classes:
        Class originated from: 10. Type: XIKeyClass
        Keycodes supported: 248

    ↳ gpio-keys                                 id=11   [slave  keyboard (3)]
    Reporting 1 classes:
        Class originated from: 11. Type: XIKeyClass
        Keycodes supported: 248

    ↳ gpio-keys                                 id=12   [slave  keyboard (3)]
    Reporting 1 classes:
        Class originated from: 12. Type: XIKeyClass
        Keycodes supported: 248

    ↳ Video Bus                                 id=6    [slave  keyboard (3)]
    Reporting 1 classes:
        Class originated from: 6. Type: XIKeyClass
        Keycodes supported: 248

    ↳ SINO WEALTH USB KEYBOARD                  id=8    [slave  keyboard (3)]
    Reporting 1 classes:
        Class originated from: 8. Type: XIKeyClass
        Keycodes supported: 248

    ↳ SINO WEALTH USB KEYBOARD                  id=13   [slave  keyboard (3)]
    Reporting 1 classes:
        Class originated from: 13. Type: XIKeyClass
        Keycodes supported: 248
Tuxman2 commented 6 years ago

Hi,

have a look on my message: https://github.com/burzumishi/linux-baytrail-flexx10/issues/12#issuecomment-303996242

nicman23 commented 6 years ago

@Tuxman2 bit of an improvement, without need of inotify or yad (because i do not care about a ui for locking the rotation):

caser() {
  while true
    do case $1 in
    '') break ;;
    normal) xrandr --output $screen --rotate normal
      xinput set-prop "$TOUCHSCREEN" "$TRANSFORM" 1 0 0 0 1 0 0 0 1; shift 1;;
    left-up) xrandr --output $screen --rotate left
      xinput set-prop "$TOUCHSCREEN" "$TRANSFORM" 0 -1 1 1 0 0 0 0 1; shift 1;;
    bottom-up) xrandr --output $screen --rotate inverted
      xinput set-prop "$TOUCHSCREEN" "$TRANSFORM" -1 0 1 0 -1 1 0 0 1; shift 1;;
    right-up) xrandr --output $screen --rotate right
      xinput set-prop "$TOUCHSCREEN" "$TRANSFORM" 0 1 0 -1 0 1 0 0 1; shift 1;;
    *) shift 1 ;;
    esac
  done
}

main() {
  monitor-sensor|\
  while read -r line
    do [ -e $lockfile ] || caser $line
  done
}

toggle-lock() {
  if [ -e $lockfile ]
    then rm $lockfile
    else touch $lockfile
  fi
  exit
}

[ "$@" ] && [ "$@" == 'toggle' ] && toggle-lock
main
Tuxman2 commented 6 years ago

@nicman23: Can you make a new script with your modifications so I could test it ?

Thanks.

nicman23 commented 6 years ago

that is the script, the only thing you need to add is your TOUCHSCREEN and TRANSFORM variables from the scripted you previously posted in #12 (because i have a slightly different touchscreen from you)

to toggle rotation lock on and off just run the script with the toggle argument after its name

Tuxman2 commented 6 years ago

@nicman23: Thanks. I found another script that don't use inotify and yad. See it: https://github.com/scresante/linux-tablet-mode

Tuxman2 commented 6 years ago

@nicman23: I changed my script to looks like yours. Here is my new script: rotation.sh.zip

I run the script on start up (after login screen) like this: sh /pathtomyhome/scripts/rotation.sh toogle (but nothing happens when I move the screen). When I try it on the terminal screen I've got an error message : ./rotation.sh:30: .rotation.sh: Syntax error : Bad function name. When I try with ./rotation.sh toogle command only, it works but my screen rotation don't change.

Have you got an idea ?

Thanks.

nicman23 commented 6 years ago

change all toggle-lock with togglelock, you should be fine.

Tuxman2 commented 6 years ago

@nicman23: Togglelock is solved but my script still doesn't work. In the terminal, I've got that error:

rotation.sh: 38: [: toggle: unexpected operator

The 38 line looks like it: [ "$@" ] && [ "$@" == 'toggle' ] && togglelock

nicman23 commented 6 years ago

so, did you figure it out?

Tuxman2 commented 6 years ago

@nicman23: I didn't retry your tip. I tried the linux-tablet-mode script from scresante but I have an issue (https://github.com/scresante/linux-tablet-mode/issues/5).

RussianNeuroMancer commented 5 years ago

For auto-rotation try Gnome Shell Wayland session on Ubuntu 19.04 with updates installed from proposed (there was changes in libmutter 3.32.2 that should make touchscreen autorotation works on more devices).