Bonjour Xubu et ravi de te revoir 🙂
Merci pour le lien.
Le retour est pas terrible mas c'est reconnu par xinput...
nico@leto:~$ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 047: ID 28bd:0928
Bus 001 Device 004: ID 13d3:3491 IMC Networks
Bus 001 Device 003: ID 0bda:57de Realtek Semiconductor Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
nico@leto:~$
xinput :
nico@leto:~$ xinput
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Elan Touchpad id=14 [slave pointer (2)]
⎜ ↳ UGTABLET 6 inch PenTablet id=12 [slave pointer (2)]
⎜ ↳ UGTABLET 6 inch PenTablet id=17 [slave pointer (2)]
⎜ ↳ XPPEN Tablet id=18 [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)]
↳ Asus Wireless Radio Control id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Video Bus id=9 [slave keyboard (3)]
↳ Power Button id=10 [slave keyboard (3)]
↳ Sleep Button id=11 [slave keyboard (3)]
↳ USB2.0 VGA UVC WebCam: USB2.0 V id=13 [slave keyboard (3)]
↳ Asus WMI hotkeys id=15 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=16 [slave keyboard (3)]
nico@leto:~$ xinput list 12
UGTABLET 6 inch PenTablet id=12 [slave pointer (2)]
Reporting 9 classes:
Class originated from: 12. Type: XIButtonClass
Buttons supported: 16
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 Forward" "Button Back" "Button Task" "Button Unknown" "Button Unknown" "Button Unknown" "Button Unknown"
Button state:
Class originated from: 12. Type: XIKeyClass
Keycodes supported: 248
Class originated from: 12. Type: XIValuatorClass
Detail for Valuator 0:
Label: Abs X
Range: 0.000000 - 32767.000000
Resolution: 0 units/m
Mode: absolute
Current value: 960.000000
Class originated from: 12. Type: XIValuatorClass
Detail for Valuator 1:
Label: Abs Y
Range: 0.000000 - 32767.000000
Resolution: 0 units/m
Mode: absolute
Current value: 540.000000
Class originated from: 12. Type: XIValuatorClass
Detail for Valuator 2:
Label: Abs Pressure
Range: 0.000000 - 2047.000000
Resolution: 0 units/m
Mode: absolute
Current value: 0.000000
Class originated from: 12. Type: XIValuatorClass
Detail for Valuator 3:
Label: Rel Horiz Wheel
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 12. Type: XIValuatorClass
Detail for Valuator 4:
Label: Rel Vert Wheel
Range: -1.000000 - -1.000000
Resolution: 0 units/m
Mode: relative
Class originated from: 12. Type: XIScrollClass
Scroll info for Valuator 3
type: 2 (horizontal)
increment: 1.000000
flags: 0x0
Class originated from: 12. Type: XIScrollClass
Scroll info for Valuator 4
type: 1 (vertical)
increment: -1.000000
flags: 0x2 ( preferred )
nico@leto:~$ xinput list 17
UGTABLET 6 inch PenTablet id=17 [slave pointer (2)]
Reporting 6 classes:
Class originated from: 17. Type: XIButtonClass
Buttons supported: 7
Button labels: "Button Unknown" "Button Unknown" "Button Unknown" "Button Wheel Up" "Button Wheel Down" "Button Horiz Wheel Left" "Button Horiz Wheel Right"
Button state:
Class originated from: 17. Type: XIValuatorClass
Detail for Valuator 0:
Label: Abs X
Range: 0.000000 - 32767.000000
Resolution: 184000 units/m
Mode: absolute
Current value: 18572.000000
Class originated from: 17. Type: XIValuatorClass
Detail for Valuator 1:
Label: Abs Y
Range: 0.000000 - 32767.000000
Resolution: 295000 units/m
Mode: absolute
Current value: 24421.000000
Class originated from: 17. Type: XIValuatorClass
Detail for Valuator 2:
Label: Abs Pressure
Range: 0.000000 - 8191.000000
Resolution: 0 units/m
Mode: absolute
Current value: 0.000000
Class originated from: 17. Type: XIValuatorClass
Detail for Valuator 3:
Label: Abs Tilt X
Range: -127.000000 - 127.000000
Resolution: 0 units/m
Mode: absolute
Current value: 0.000000
Class originated from: 17. Type: XIValuatorClass
Detail for Valuator 4:
Label: Abs Tilt Y
Range: -127.000000 - 127.000000
Resolution: 0 units/m
Mode: absolute
Current value: -1.000000
A près quelques test, c'est l'ID 17 qui gère la souris.
nico@leto:~$ xinput list-props 17
Device 'UGTABLET 6 inch PenTablet':
Device Enabled (173): 1
Coordinate Transformation Matrix (175): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (298): 0
Device Accel Constant Deceleration (299): 1.000000
Device Accel Adaptive Deceleration (300): 1.000000
Device Accel Velocity Scaling (301): 10.000000
Device Product ID (293): 10429, 2344
Device Node (294): "/dev/input/event19"
Evdev Axis Inversion (302): 0, 0
Evdev Axis Calibration (303): <no items>
Evdev Axes Swap (304): 0
Axis Labels (305): "Abs X" (418), "Abs Y" (419), "Abs Pressure" (420), "Abs Tilt X" (421), "Abs Tilt Y" (422)
Button Labels (306): "Button Unknown" (296), "Button Unknown" (296), "Button Unknown" (296), "Button Wheel Up" (179), "Button Wheel Down" (180), "Button Horiz Wheel Left" (181), "Button Horiz Wheel Right" (182)
Evdev Scrolling Distance (307): 0, 0, 0
Evdev Middle Button Emulation (308): 1
Evdev Middle Button Timeout (309): 50
Evdev Middle Button Button (310): 2
Evdev Third Button Emulation (311): 0
Evdev Third Button Emulation Timeout (312): 1000
Evdev Third Button Emulation Button (313): 3
Evdev Third Button Emulation Threshold (314): 20
Evdev Wheel Emulation (315): 0
Evdev Wheel Emulation Axes (316): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (317): 10
Evdev Wheel Emulation Timeout (318): 200
Evdev Wheel Emulation Button (319): 4
Evdev Drag Lock Buttons (320): 0
Elle marche plutôt bien sur Ubuntu ainsi que les raccourcis claviers lorsque le driver est ouvert (j'essaierai de m'inspirer des tutos quand j'aurais le temps mais je ne suis pas doué). Sur Android, c'est super lent mais ça marche (orientation verticale de l'écran obligatoire - tablette format portrait).
Pour mon problème, sur Windaube (j'ai testé mais je ne l'utilise plus... J'ai eu une grosse MAJ... la punition 🙂, le mode souris ne fonctionne pas bien. Mieux que sur Ubuntu, mais le curseur est moins précis, comme si la résolution de la tablette était moins bonne. Je trouve dingue que le système n'arrive pas à faire des additions et soustraction avec toute la précision de la tablette (pour moi le problème est côté système, pas matériel car ça marche super en mode absolu). Est-ce qu'il est possible d'uitiliser un programme pour paramétrer le mode souris sur linux ?
Merci pour l'aide