[Touchscreen] Egalax, problèmes de réglages

Reconnaissance et configuration du matériel / kernel linux
Avatar de l’utilisateur
reflets de vert
yeomen
Messages : 295
Inscription : mar. 23 mars 2010, 15:17
Localisation : Strasbourg

[Touchscreen] Egalax, problèmes de réglages

Message par reflets de vert »

Bonjour,

Alors sur mon ordi (Dell E6400 XFR) il y a un écran tactile.
Voici ce que donne lsusb:

Code : Tout sélectionner

lsusb | grep eGalax
Bus 006 Device 002: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen 
Déjà sous Windows 10, quand je venais de recevoir l'ordi, il marchait pas bien!

J'ai donc installé archlinux dessus, au début j'ai essayé plein de trucs et ça marchait pas.

Récemment j'ai réessayé de le faire marcher, en installant juste le driver egalax de aur, puis en activant le service avec systemctl enable ( https://aur.archlinux.org/packages/xf86-input-egalax/ )

Au départ le pointeur était complètement inversé gauche/droite.
Je suis tombé sur cette doc de archlinux: https://wiki.archlinux.org/index.php/Mu ... h_displays
Ils disent de faire passer la direction de 0 à 2.
Je l'ai fait ça n'a pas amélioré grand-chose.
Du coup j'ai aussi passé l'orientation de 0 à 1

Donc actuellement les orientations sont correctes, mais il n'atteint pas les coins de l'écran, et plus on s'éloigne du milieu de l'écran, plus la distance entre le stylo et le pointeur de la souris est grande.

Donc voici mon fichier de configuration egalax:

Code : Tout sélectionner

[eGTouchL.ini]
DebugEnableBits			1
ShowDebugPosition		0
DeviceNums				1
BaudRate				0
ScanInterface			0
UseDriverCalib			0
SkipFirstByte			0
ShiftByteBothEnd		1
[String]
SerialPath0				default
SerialPath1				default
DevPID0					null
DevPID1					null

[Device_No.0]
Physical_Address
SupportPoints			10
SendRawPoints			0
Direction			2		
Orientation			1
EdgeCompensate			0
	EdgeLeft			100
	EdgeRight			100
	EdgeTop				100
	EdgeBottom			100
HoldFilterEnable		1
	HoldRange			10
SplitRectMode			0
	CustomRectLeft			0
	CustomRectRight			2047
	CustomRectTop			0
	CustomRectBottom		2047
DetectRotation			0
ReportMode				1
EventType				0
BtnType					0
RightClickEnable		1	
	RightClickDuration		1500
	RightClickRange			10
BeepState			0
	BeepDevice			0
	BeepFreq			1000
	BeepLen				200
VKEYEnable                      1
        VKEYReportMod           1
        VKEY_0                  0
[EndOfDevice]

[EndOfFile]





[NOTE]:
1. 	Remember to put this file at /etc/eGTouchL.ini
2.	This is a parameter list that we can enable or disable functions easily by modifying the above list.
3.	Please make sure just modify the value of the list. "DONT" change any front title of the list.
4.	Below are the parameter explanations. 
		
[Explanation of all Parameter]:
DebugEnableBits			[0] Close all Debug	, [FFFFF] Open all Debug
ShowDebugPosition		[0] Print in file under /tmp , [1] Print in Terminal , [2] Print in both
SerialPath			[default]: It represent serial port use default /dev/ttySX
				/dev/serial/ttyS0: It represent assign the specific serial port. Pls be accordance to the form.
Physical_Address	USB physical address ( use for multi-device )
SupportPoints			[0] No point , [X] Point amount want to report
SendRawPoints		[0] default point format , [1] raw point format 
Direction			[1] Invert X   , [2] Invert Y   , [4] Swap X with Y
Orientation			[0] 0 degree, [1] 90 degree, [2] 180 degree, [3] 270 degree
EdgeCompensate			[0] Disbale	, [1] Enable
	EdgeLeft			[100] Default with no change , [50-150] Compensate Value.
	EdgeRight			[100] Default with no change , [50-150] Compensate Value.
	EdgeTop				[100] Default with no change , [50-150] Compensate Value.
	EdgeBottom			[100] Default with no change , [50-150] Compensate Value.
HoldFilterEnable		[0] Disable , [1] Enable
	HoldRange			[X] Hold Filter Range area
SplitRectMode			[0] Default	, [1-8] In-built Mode , [9] Custom Mode
	CustomRectLeft			[0-2047] As Custom Mode, left edge value
	CustomRectRight			[0-2047] As Custom Mode, right edge value
	CustomRectTop			[0-2047] As Custom Mode, top edge value
	CustomRectBottom		[0-2047] As Custom Mode, bottom edge value
ReportMode			[1] Normal Mode [2] Single Click on Touch [3] Single Click on Release
DetectRotation		[0] Disable [1] Enable to detect X rotation and map coordinate.
EventType			[0]	AUTO_DETECT
BtnType				[0] BTN_LEFT	[1] ABS_PRESSURE	[2] BTN_TOUCH
RightClick			[0] Disable RightClick, [1] Enable RightClick
	RightClickDuration		[X] After constant touch for X millisec, trigger RightClick
	RightClickRange			[X] The touch range(area) which would cause constant touch
BeepState			[0] Disable beep [1] Beep on Touch [2] Beep on Release
	BeepDevice		[0] Disable [1] System Beep [2] Sound Card Beep
	BeepFreq		[X] Beep sound frequency
	BeepLen			[X] Beep sound length
Je vois à la fin que c'est documenté. C'est EdgeCompensate que je dois toucher? Je sais pas trop du coup.
J'utilise console-tdm, dwm, …
(bon moi aussi j'écris en bépo - même si ça se voit pas)
Répondre