Home > OS >  Excuse me under Linux system, how to achieve the function of electromagnetic screen touch?
Excuse me under Linux system, how to achieve the function of electromagnetic screen touch?

Time:09-16

Electromagnetic screen embedded USB enumeration HID report descriptor is as follows:
X05 0, 0 x0d,//USAGE_PAGE (Digitizers)
0 x09, 0 x02,//the USAGE (Pen)
0 xa1, 0 x01,//a Collection (Application)
0 x85, 0 x01,//REPORT_ID (1)
0 x09, 0 x20,//the USAGE (Stylus)
0 xa1, 0 x00,//a Collection (Physical)
X09 0, 0 x42,//the USAGE (Tip Switch)
X09 0, 0 x44,//the USAGE (Barrel Switch)
X09 0, 0 x45,//the USAGE (Eraser)
X09 0, 0 x3c,//the USAGE (Invert)
X09 0, 0 x32,//the USAGE (In the Range)
0 x15, 0 x00,//LOGICAL_MINIMUM (0)
0 x25, 0 x01,//LOGICAL_MAXIMUM (1)
0 x75, 0 x01,//REPORT_SIZE (1)
X95 0, 0 x05,//REPORT_COUNT (5)
0 x81, 0 x02,//INPUT (Data, Var, Abs)
0 x95, 0 x03,//REPORT_COUNT (3)
0 x81, 0 x03,//INPUT (Cnst, Var, Abs)
0 x05, 0 x01,//USAGE_PAGE (Generic Desktop)
X09 0, 0 x30,//the USAGE (X)
0 x15, 0 x00,//LOGICAL_MINIMUM (0)
0 x26, 0 xde, 0 x27,//LOGICAL_MAXIMUM (27 DE)
0 x35, 0 x00,//PHYSICAL_MININUM (0)
0 x46, 0 xde, 0 x27,//PHYSICAL_MAXINUM (27 DE)
0 x75, 0 x10,//REPORT_SIZE (10)
0 x95, 0 x01,//REPORT_COUNT (1)
0 x81, 0 x02,//INPUT (Data, Var, Abs)
0 x09, 0 x31,//the USAGE (Y)
0 x15, 0 x00,//LOGICAL_MINIMUM (0)
0 x26, 0 xfe, 0 x1c,//LOGICAL_MAXINUM (cfe) 1
0 x35, 0 x00,//PHYSICAL_MININUM (0)
0 x46, 0 xfe, 0 x1c,//PHYSICAL_MAXINUM (cfe) 1
0 x75, 0 x10,//REPORT_SIZE (10)
0 x95, 0 x01,//REPORT_COUNT (1)
0 x81, 0 x02,//INPUT (Data, Var, Abs)
X05 0, 0 x0d,//USAGE_PAGE (Digitizers)
X09 0, 0 x30,//the USAGE (Tip Pressure)
0 x15, 0 x00,//LOGICAL_MINIMUM (0)
0 x26, 0 XFF, 0 x07,//LOGICAL_MAXINUM (07 ff)
0 x75, 0 x10,//REPORT_SIZE (10)
0 x95, 0 x01,//REPORT_COUNT (1)
0 x81, 0 x02,//INPUT (Data, Var, Abs)
0 xc0,
0 xc0,//END_COLLECTION

With its touch screen
Under the Windows system, the equipment identified as "HID standard handwritten pen," electromagnetic pen can use touch function, under the Linux system, can catch packet, but cannot use touch function,
Specific performance is device on Linux system does not show the cursor, just like the mouse
Excuse me under Linux system, how to achieve the function of electromagnetic screen touch?

Where is suspected to be under Linux driver doesn't support, but don't know where is,

  • Related