[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse
Subject: Re: grup screen wrong rotation SOLVED
From: Daniel Bauer <linux () daniel-bauer ! com>
Date: 2021-07-02 9:13:56
Message-ID: 1384da93-0424-e8bb-11b9-1f9efab3394e () daniel-bauer ! com
[Download RAW message or body]
I somehow reached half of the goal, I'll post a new thread "How to make
xinput set-prop permanent, + 1 more"
Am 01.07.21 um 21:12 schrieb Andrei Borzenkov:
> On 01.07.2021 21:29, Daniel Bauer wrote:
> >
> >
> > Am 01.07.21 um 19:12 schrieb Andrei Borzenkov:
> > > On 01.07.2021 18:17, Daniel Bauer wrote:
> >
> > > >
> > > > There remains my last (hopefully) problem with the touchscreen [rotate].
> > >
> > > Yes, this is rather common problem. There are several workarounds.
> > >
> > > 1. If you always use you convertible in the same orientation, search for
> > > "xinput coordinate transformation matrix". You will need to figure out
> > > correct device to apply to (remember, I did ask for xinput output :) )
> > > and probably experiment with correct values but there are plenty of
> > > examples. You will need to add proper call to your DE startup sequence.
> >
> > I'll search... Meanwhile the output of xinput:
> >
> > > ⎡ Virtual core pointer id=2 \
> > > [master pointer (3)]
> > > ⎜ ↳ Virtual core XTEST pointer id=4 \
> > > [slave pointer (2)]
> > > ⎜ ↳ SIPODEV Duet 3 USB Composite Device Mouse id [slave
> > > pointer (2)]
> > > ⎜ ↳ SIPODEV Duet 3 USB Composite Device Touchpad id [slave
> > > pointer (2)]
> > > ⎜ ↳ SIPODEV Duet 3 USB Composite Device Consumer Control id
> > > [slave pointer (2)]
> > > ⎜ ↳ ELAN901C:00 04F3:2BD6 \
> > > id [slave pointer (2)]
> > > ⎣ Virtual core keyboard id=3 \
> > > [master keyboard (2)]
> > > ↳ Virtual core XTEST keyboard id=5 \
> > > [slave keyboard (3)]
> > > ↳ Power Button \
> > > id=6 [slave keyboard (3)]
> > > ↳ Video Bus \
> > > id=7 [slave keyboard (3)]
> > > ↳ Power Button \
> > > id=8 [slave keyboard (3)]
> > > ↳ Intergrated Camera 2M: Intergra id=9 [slave
> > > keyboard (3)]
> > > ↳ SIPODEV Duet 3 USB Composite Device id [slave
> > > keyboard (3)]
> > > ↳ SIPODEV Duet 3 USB Composite Device Wireless Radio Control
> > > id [slave keyboard (3)]
> > > ↳ Intergrated Camera 5M: Intergra id [slave
> > > keyboard (3)]
> > > ↳ ELAN901C:00 04F3:2BD6 id \
> > > [slave keyboard (3)]
> > > ↳ Ideapad extra buttons id \
> > > [slave keyboard (3)]
> > > ↳ Intel HID events id \
> > > [slave keyboard (3)]
> > > ↳ Intel HID 5 button array id \
> > > [slave keyboard (3)]
> > > ↳ AT Translated Set 2 keyboard id! [slave
> > > keyboard (3)]
> > > ↳ SIPODEV Duet 3 USB Composite Device Consumer Control id"
> > > [slave keyboard (3)]
> >
> > I guess "ELAN901C:00 04F3:2BD6" is the name of the touchscreen.
> >
> > > 2. If your convertible provides orientation sensors, it may be possible
> > > to adjust this settings automatically. I believe GNOME supports it
> > > out-of-the-box. Again do not know about KDE. Again, remember, I asked
> > > you for udevadm info --export-db output :) I think I have seen Qt applet
> > > to do it.
> > >
> >
> > I don't find a Qt applet. I had a "qtconfig" on 15.1, but I can't find
> > that in 15.3.
> >
>
> I am not sure what you mean. What I had in mind
>
> https://github.com/GuLinux/ScreenRotator
>
> there is also background service example
>
> https://github.com/donbowman/kde-auto-rotate/blob/master/auto-rotate
>
> Again, it is possible that KDE already supports it natively.
>
> > I guess, this is the interesting part of udevadm info --export-db:
> >
>
> No it is not. I was looking for sensors (accelerator or similar) that
> allow automatic rotation. How to rotate manually is more or less clear.
>
> > P:
> > /devices/pci0000:00/0000:00:16.3/i2c_designware.1/i2c-7/i2c-ELAN901C:00/0018:04F3:2BD6.0003/input/input22
> >
> > L: 0
> > E:
> > DEVPATH=/devices/pci0000:00/0000:00:16.3/i2c_designware.1/i2c-7/i2c-ELAN901C:00/0018:04F3:2BD6.0003/input/input22
> >
> > E: SUBSYSTEM=input
> > E: PRODUCT/4f3/2bd6/100
> > E: NAME="ELAN901C:00 04F3:2BD6"
> > E: PHYS="i2c-ELAN901C:00"
> > E: UNIQ=""
> > E: PROP=2
> > E: EV
> > E: KEY@0 0 0 0 0 0
> > E: ABS273800000000003
> > E: MSC
> > E:
> > MODALIAS=input:b0018v04F3p2BD6e0100-e0,1,3,4,k14A,ra0,1,2F,30,31,34,35,36,39,3C,3D,m5,lsfw
> >
> > E: USEC_INITIALIZED"071904
> > E: ID_INPUT=1
> > E: ID_INPUT_TOUCHSCREEN=1
> > E: ID_PATH=pci-0000:00:16.3-platform-i2c_designware.1
> > E: ID_PATH_TAG=pci-0000_00_16_3-platform-i2c_designware_1
> > E: ID_FOR_SEAT=input-pci-0000_00_16_3-platform-i2c_designware_1
> > E: TAGS=:seat:
> >
> > P:
> > /devices/pci0000:00/0000:00:16.3/i2c_designware.1/i2c-7/i2c-ELAN901C:00/0018:04F3:2BD6.0003/input/input22/event15
> >
> > N: input/event15
> > L: 0
> > S: input/by-path/pci-0000:00:16.3-platform-i2c_designware.1-event
> > E:
> > DEVPATH=/devices/pci0000:00/0000:00:16.3/i2c_designware.1/i2c-7/i2c-ELAN901C:00/0018:04F3:2BD6.0003/input/input22/event15
> >
> > E: SUBSYSTEM=input
> > E: DEVNAME=/dev/input/event15
> > E: MAJOR
> > E: MINORy
> > E: USEC_INITIALIZED"163190
> > E: ID_INPUT=1
> > E: ID_INPUT_TOUCHSCREEN=1
> > E: ID_INPUT_WIDTH_MM1
> > E: ID_INPUT_HEIGHT_MM"6
> > E: ID_PATH=pci-0000:00:16.3-platform-i2c_designware.1
> > E: ID_PATH_TAG=pci-0000_00_16_3-platform-i2c_designware_1
> > E: LIBINPUT_DEVICE_GROUP/4f3/2bd6:i2c-ELAN901C:00
> > E:
> > DEVLINKS=/dev/input/by-path/pci-0000:00:16.3-platform-i2c_designware.1-event
> >
> >
> > P:
> > /devices/pci0000:00/0000:00:16.3/i2c_designware.1/i2c-7/i2c-ELAN901C:00/0018:04F3:2BD6.0003/input/input22/mouse2
> >
> > N: input/mouse2
> > L: 0
> > E:
> > DEVPATH=/devices/pci0000:00/0000:00:16.3/i2c_designware.1/i2c-7/i2c-ELAN901C:00/0018:04F3:2BD6.0003/input/input22/mouse2
> >
> > E: SUBSYSTEM=input
> > E: DEVNAME=/dev/input/mouse2
> > E: MAJOR
> > E: MINOR4
> > E: USEC_INITIALIZED"086823
> > E: ID_INPUT=1
> > E: ID_INPUT_TOUCHSCREEN=1
> > E: ID_PATH=pci-0000:00:16.3-platform-i2c_designware.1
> > E: ID_PATH_TAG=pci-0000_00_16_3-platform-i2c_designware_1
> >
> >
> > If you want to see the whole file I can upload it and post a link.
--
Daniel Bauer photographer Basel Málaga
https://www.patreon.com/danielbauer
https://www.daniel-bauer.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic