View previous topic :: View next topic |
Author |
Message |
y351 Apprentice
Joined: 21 May 2017 Posts: 200
|
Posted: Mon Nov 06, 2023 11:43 am Post subject: [Touchpad] - libinput et copier/coller [résolu] |
|
|
Bonjour,
Sur un portable, j'ai enfin pu faire marcher le touchpad.
Pour la petite histoire, le touchpad est détecté en tant que souris , il y a plein de fils concernant ce problème. Après ajout de drivers, le touchpad est listé finalement.
Mais la souris "asscoiée" aussi.
Code: | ⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ LXT2021:00 29BD:3303 id=8 [slave pointer (2)]
⎜ ↳ VEN_04F3:00 04F3:31D1 Mouse id=9 [slave pointer (2)]
⎜ ↳ VEN_04F3:00 04F3:31D1 Touchpad id=10 [slave pointer (2)]
⎜ ↳ PS/2 Generic Mouse id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)] |
Il est reconnu en tant que : Quote: |
VEN_04F3:00 04F3:31D1 Mouse id=9 [slave pointer (2)]
VEN_04F3:00 04F3:31D1 Touchpad id=10 [slave pointer (2)]
PS/2 Generic Mouse |
Ceci dit, le touchpad marche.
Voici la conf pour xorg :
Code: | Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
Option "Tapping" "on"
Option "TappingDrag" "on"
Option "TappingButtonMap" "lmr" # 1 finger means left mouse button, 2 fingers means middle and 3 fingers mean right-click
Option "NaturalScrolling" "true"
EndSection |
Quote: | Option "TappingButtonMap" "lmr" | est censé me permet de faire du coller avec deux doigts en simulant le milieu de la souris.
Mais cela ne marche pas.
Pour coller, j'utilise 3 doigts.
Il y a un problème quelque part...
J'ai essayé de switcher "lmr" à "lrm" pour tester. C'est le même comportement : il faut 3 doigts.
Code: |
cat .local/share/xorg/Xorg.0.log|egrep EE
|
Code: |
[ 5439.720] Current Operating System: Linux igloo 6.6.0-gentoo #14 SMP PREEMPT_DYNAMIC Fri Nov 3 19:27:44 CET 2023 x86_64
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5440.255] (II) Initializing extension MIT-SCREEN-SAVER
[ 5440.274] (EE) AIGLX error: Calling driver entry point failed
[ 5440.376] (EE) intel(0): Failed to submit rendering commands (Invalid argument), disabling acceleration.
[ 5440.907] (II) XINPUT: Adding extended input device "LXT2021:00 29BD:3303" (type: TOUCHSCREEN, id 8)
|
Code: | cat .local/share/xorg/Xorg.0.log|egrep WW |
Code: | (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5440.159] (WW) Falling back to old probe method for modesetting
[ 5440.159] (WW) Falling back to old probe method for fbdev
[ 5440.163] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 5440.164] (WW) intel(0): Unknown chipset |
Code: |
cat .local/share/xorg/Xorg.0.log|egrep -i libinput |
Code: |
[ 5440.799] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[ 5440.800] (II) LoadModule: "libinput"
[ 5440.801] (II) Loading /usr/lib64/xorg/modules/input/libinput_drv.so
[ 5440.803] (II) Module libinput: vendor="X.Org Foundation"
[ 5440.804] (II) Using input driver 'libinput' for 'Video Bus'
[ 5440.838] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[ 5440.838] (II) Using input driver 'libinput' for 'Power Button'
[ 5440.880] (**) LXT2021:00 29BD:3303: Applying InputClass "libinput touchscreen catchall"
[ 5440.881] (II) Using input driver 'libinput' for 'LXT2021:00 29BD:3303'
[ 5440.948] (**) VEN_04F3:00 04F3:31D1 Mouse: Applying InputClass "libinput pointer catchall"
[ 5440.948] (II) Using input driver 'libinput' for 'VEN_04F3:00 04F3:31D1 Mouse'
[ 5440.978] (II) libinput: VEN_04F3:00 04F3:31D1 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 5440.978] (II) libinput: VEN_04F3:00 04F3:31D1 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 5440.978] (II) libinput: VEN_04F3:00 04F3:31D1 Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 5441.027] (**) VEN_04F3:00 04F3:31D1 Touchpad: Applying InputClass "libinput touchpad catchall"
[ 5441.027] (II) Using input driver 'libinput' for 'VEN_04F3:00 04F3:31D1 Touchpad'
[ 5441.083] (II) libinput: VEN_04F3:00 04F3:31D1 Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 5441.084] (II) libinput: VEN_04F3:00 04F3:31D1 Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 5441.084] (II) libinput: VEN_04F3:00 04F3:31D1 Touchpad: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 5441.227] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[ 5441.227] (II) Using input driver 'libinput' for 'AT Translated Set 2 keyboard'
[ 5441.269] (**) PS/2 Generic Mouse: Applying InputClass "libinput pointer catchall"
[ 5441.270] (II) Using input driver 'libinput' for 'PS/2 Generic Mouse'
[ 5441.287] (II) libinput: PS/2 Generic Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 5441.287] (II) libinput: PS/2 Generic Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 5441.287] (II) libinput: PS/2 Generic Mouse: Step value 0 was provided, libinput Fallback acceleration function is used.
[ 5485.854] (II) UnloadModule: "libinput"
[ 5485.890] (II) UnloadModule: "libinput"
[ 5485.918] (II) UnloadModule: "libinput"
[ 5485.954] (II) UnloadModule: "libinput"
[ 5486.000] (II) UnloadModule: "libinput"
[ 5486.037] (II) UnloadModule: "libinput"
[ 5486.061] (II) UnloadModule: "libinput"
|
Code: | dmesg |egrep -i input |
Code: |
[ 65.608481] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input0
[ 65.608833] input: Power Button as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1
[ 67.546989] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input2
[ 67.678266] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input3
[ 67.764546] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input6
[ 67.764807] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input7
[ 67.765059] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input8
[ 67.765341] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:1f.3/sound/card0/input9
[ 68.439533] input: PS/2 Generic Mouse as /devices/platform/i8042/serio1/input/input5
[ 68.865520] hid-generic 0003:413C:B06E.0001: hiddev96,hidraw0: USB HID v1.11 Device [Dell dock] on usb-0000:00:14.0-1.5/input0
[ 69.521615] hid-generic 0003:413C:B06F.0002: hiddev97,hidraw1: USB HID v1.11 Device [Dell dock] on usb-0000:00:14.0-1.3.5/input0
[ 135.511442] input: LXT2021:00 29BD:3303 Touchscreen as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-16/i2c-LXT2021:00/0018:29BD:3303.0003/input/input10
[ 135.512184] hid-generic 0018:29BD:3303.0003: input,hidraw2: I2C HID v1.00 Device [LXT2021:00 29BD:3303] on i2c-LXT2021:00
[ 135.641870] input: VEN_04F3:00 04F3:31D1 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-17/i2c-VEN_04F3:00/0018:04F3:31D1.0004/input/input12
[ 135.642722] input: VEN_04F3:00 04F3:31D1 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-17/i2c-VEN_04F3:00/0018:04F3:31D1.0004/input/input13
[ 135.643493] input: VEN_04F3:00 04F3:31D1 as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-17/i2c-VEN_04F3:00/0018:04F3:31D1.0004/input/input15
[ 135.644080] hid-generic 0018:04F3:31D1.0004: input,hidraw3: I2C HID v1.00 Mouse [VEN_04F3:00 04F3:31D1] on i2c-VEN_04F3:00
[ 135.700976] input: LXT2021:00 29BD:3303 as /devices/pci0000:00/0000:00:15.0/i2c_designware.0/i2c-16/i2c-LXT2021:00/0018:29BD:3303.0003/input/input16
[ 135.701857] hid-multitouch 0018:29BD:3303.0003: input,hidraw2: I2C HID v1.00 Device [LXT2021:00 29BD:3303] on i2c-LXT2021:00
[ 135.766955] input: VEN_04F3:00 04F3:31D1 Mouse as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-17/i2c-VEN_04F3:00/0018:04F3:31D1.0004/input/input18
[ 135.767785] input: VEN_04F3:00 04F3:31D1 Touchpad as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-17/i2c-VEN_04F3:00/0018:04F3:31D1.0004/input/input19
[ 135.768672] input: VEN_04F3:00 04F3:31D1 UNKNOWN as /devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-17/i2c-VEN_04F3:00/0018:04F3:31D1.0004/input/input21
[ 135.769257] hid-multitouch 0018:04F3:31D1.0004: input,hidraw3: I2C HID v1.00 Mouse [VEN_04F3:00 04F3:31D1] on i2c-VEN_04F3:00
[ 6169.845711] input: Cherry USB keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3.1/3-1.3.1.2/3-1.3.1.2:1.0/0003:046A:B090.0005/input/input22
[ 6169.902922] hid-generic 0003:046A:B090.0005: input,hidraw4: USB HID v1.11 Keyboard [Cherry USB keyboard] on usb-0000:00:14.0-1.3.1.2/input0
[ 6169.914717] input: Cherry USB keyboard System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3.1/3-1.3.1.2/3-1.3.1.2:1.1/0003:046A:B090.0006/input/input23
[ 6169.968659] input: Cherry USB keyboard Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3.1/3-1.3.1.2/3-1.3.1.2:1.1/0003:046A:B090.0006/input/input24
[ 6169.973445] hid-generic 0003:046A:B090.0006: input,hiddev98,hidraw5: USB HID v1.11 Device [Cherry USB keyboard] on usb-0000:00:14.0-1.3.1.2/input1
[ 6170.477598] input: PixArt USB Optical Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1.3/3-1.3.1/3-1.3.1.1/3-1.3.1.1:1.0/0003:093A:2510.0007/input/input25
[ 6170.481110] hid-generic 0003:093A:2510.0007: input,hidraw6: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:14.0-1.3.1.1/input0
|
Utiliser "synaptic" n'est pas une option pour l'instant ; restons avec libinput.
Voyez-vous une piste à chercher pour simuler le milieu de la souris avec deux doigts au lieu de trois ?
Last edited by y351 on Mon Nov 06, 2023 2:13 pm; edited 1 time in total |
|
Back to top |
|
|
y351 Apprentice
Joined: 21 May 2017 Posts: 200
|
Posted: Mon Nov 06, 2023 1:54 pm Post subject: |
|
|
A noter que malgré ma conf xorg et le fait que le touchpad marche +/-, la sortie de la commande :
Code: |
libinput list-devices
|
Code: |
Device: VEN_04F3:00 04F3:31D1 Touchpad
Kernel: /dev/input/event11
Group: 5
Seat: seat0, default
Size: 112x68mm
Capabilities: pointer gesture
Tap-to-click: disabled
Tap-and-drag: enabled
Tap drag lock: disabled
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
Calibration: n/a
Scroll methods: *two-finger edge
Click methods: *button-areas clickfinger
Disable-w-typing: enabled
Disable-w-trackpointing: enabled
Accel profiles: flat *adaptive custom
Rotation: n/a |
Remarquez :
Quote: |
Tap-to-click: disabled
Tap-and-drag: enabled
Tap drag lock: disabled
Left-handed: disabled
Nat.scrolling: disabled
Middle emulation: disabled
|
|
|
Back to top |
|
|
y351 Apprentice
Joined: 21 May 2017 Posts: 200
|
Posted: Mon Nov 06, 2023 2:12 pm Post subject: |
|
|
changer
Code: | -rwx------. 1 root root 2028 6 nov. 10:44 10-libinput.conf |
à
Code: | -rw-r--r--. 1 root root 2028 6 nov. 10:44 10-libinput.conf |
fait que deux doigts marche... |
|
Back to top |
|
|
El_Goretto Moderator
Joined: 29 May 2004 Posts: 3174 Location: Paris
|
Posted: Wed Nov 08, 2023 10:07 am Post subject: |
|
|
Il n'y aurait pas une blague du genre où tu lances Xorg en "rootless" et il y a un ou des flags en rapport avec ça qui manquent pour harmoniser la configuration globale sur ton système?
Parce que c'est bien vu de ta part, le contournement, mais ça semble tellement "gros" _________________ -TrueNAS & jails: µ-serv Gen8 E3-1260L, 16Go ECC + µ-serv N40L, 10Go ECC
-Réseau: APU2C4 (OpenWRT) + GS726Tv3 + 2x GS108Tv2 + Archer C5v1 (OpenWRT) |
|
Back to top |
|
|
y351 Apprentice
Joined: 21 May 2017 Posts: 200
|
Posted: Wed Nov 08, 2023 7:30 pm Post subject: |
|
|
ne donne rien.
Code: |
x11-base/xorg-server
-systemd udev xorg -debug elogind -minimal selinux suid -test -unwind -xcsecurity -xephyr -xnest -xvfb |
NB : SELinux est désactivé pour l'instant.
"suid" était nécessaire - je ne me rappelle plus pourquoi, je crois que c'était à cause de ma session démarrée avec "startx". |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|