You are not logged in.

#1 2018-10-03 21:33:26

reflets de vert
Member
Registered: 2010-03-20
Posts: 71
Website

[Touchscreen] Egalax, configuration problems

Hello,

My computer (a Dell E6400 XFR) has a touchscreen. Here is the lsusb output:

lsusb | grep eGalax
Bus 006 Device 002: ID 0eef:0001 D-WAV Scientific Co., Ltd eGalax TouchScreen 

It already didn't work very well with window 10 I could test a little bit when I just received the laptop.
Then I installed archlinux, and couldn't make this touchscreen work.
Recently I tried again, just installing the aur driver for egalax and activating it with systemctl enable.
( https://aur.archlinux.org/packages/xf86-input-egalax/ )

At the beginning the mouse cursor was left/right inverted
I read this page on the wiki: https://wiki.archlinux.org/index.php/Mu … h_displays

They say we must change the direction setting, from 0 to 2.
I did it, it wasn't so efficient. Then I set it to 1, and it works now better.

For now, top/bottom and left/right orientations are good, but the cursor can't reach the screens corners, and the more I'm far from the center the more the gap between the pen and the cursor is big.

Here is my egalax configuration file:

[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

I see it's a little bit documented. I don't know if I must change EdgeCompensate, or other settings?


I'm against internet totalitarians of any kind.
And like cheese's humor.

Offline

#2 2018-10-20 19:33:13

reflets de vert
Member
Registered: 2010-03-20
Posts: 71
Website

Re: [Touchscreen] Egalax, configuration problems

I tested to play with parameters, not all, and still no result sad it is still inacurate


I'm against internet totalitarians of any kind.
And like cheese's humor.

Offline

Board footer

Powered by FluxBB