Hi, I installed FreeBSD 14.2-RELEASE on a HP Envy x360 16-ad0xxx, it has an ELAN touchscreen with pen support, both are recognized by wmt module(as hpen and hmt) but if I run a evtest on the /dev/input/event corrisponding to touchscreen or pen, the system cannot receive any touch event. Any idea? Thanks.
kernel log(only ELAN touchscreen part):
evtest on touchscreen:
kernel log(only ELAN touchscreen part):
Code:
iichid0: <ELAN2514:03 04F3:42CE I2C HID device> at addr 0x10 on iicbus16
iichid0: Using sampling mode
hidbus0: <HID bus> on iichid0
hid_get_item: Number of items(4094) truncated to 2048
hid_get_item: Number of items(7487) truncated to 2048
hid_get_item: Number of items(4094) truncated to 2048
hid_get_item: Number of items(7487) truncated to 2048
hid_get_item: Number of items(4094) truncated to 2048
hid_get_item: Number of items(7487) truncated to 2048
hid_get_item: Number of items(4094) truncated to 2048
hid_get_item: Number of items(7487) truncated to 2048
hkbd0: <ELAN2514:03 04F3:42CE Keyboard> on hidbus0
hid_get_item: Number of items(4094) truncated to 2048
hid_get_item: Number of items(7487) truncated to 2048
kbd2 at hkbd0
iichid1: <ELAN07EC:08 04F3:32EF I2C HID device> at addr 0x15 on iicbus17
iichid1: Using sampling mode
hidbus1: <HID bus> on iichid1
hid_get_item: Number of items(4094) truncated to 2048
hid_get_item: Number of items(7487) truncated to 2048
hid_get_item: Number of items(4094) truncated to 2048
hid_get_item: Number of items(7487) truncated to 2048
hmt0: <ELAN2514:03 04F3:42CE TouchScreen> on hidbus0
hid_get_item: Number of items(4094) truncated to 2048
hid_get_item: Number of items(7487) truncated to 2048
hmt0: Multitouch touchscreen with 0 external buttons
hmt0: 10 contacts with [WH] properties. Report range [0:0] - [3984:2256]
hmt1: <ELAN07EC:08 04F3:32EF TouchPad> on hidbus1
hconf0: <ELAN07EC:08 04F3:32EF Configuration> on hidbus1
hmt1: Multitouch touchpad with 0 external buttons, click-pad
hmt1: 5 contacts with [C] properties. Report range [0:0] - [4151:2606]
hpen0: <ELAN2514:03 04F3:42CE Pen> on hidbus0
hcons0: <ELAN2514:03 04F3:42CE Consumer Control> on hidbus0
hms0: <ELAN2514:03 04F3:42CE Mouse> on hidbus0
hid_get_item: Number of items(4094) truncated to 2048
hid_get_item: Number of items(7487) truncated to 2048
hms0: 2 buttons and [XYW] coordinates ID=19
hms1: <ELAN07EC:08 04F3:32EF Mouse> on hidbus1
hms1: 2 buttons and [XY] coordinates ID=1
Code:
Available devices:
/dev/input/event0: System keyboard multiplexer
/dev/input/event1: System mouse
/dev/input/event10: ELAN2514:03 04F3:42CE Mouse
/dev/input/event11: ELAN07EC:08 04F3:32EF Mouse
/dev/input/event2: Power Button
/dev/input/event3: Control Method Lid Switch
/dev/input/event4: AT keyboard
/dev/input/event5: ELAN2514:03 04F3:42CE Keyboard
/dev/input/event6: ELAN2514:03 04F3:42CE TouchScreen
/dev/input/event7: ELAN07EC:08 04F3:32EF TouchPad
/dev/input/event8: ELAN2514:03 04F3:42CE Pen
/dev/input/event9: ELAN2514:03 04F3:42CE Consumer Control
Select the device event number [0-11]: 6
Input driver version is 1.0.1
Input device ID: bus 0x18 vendor 0x4f3 product 0x42ce version 0x6701
Input device name: "ELAN2514:03 04F3:42CE TouchScreen"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 330 (BTN_TOUCH)
Event type 3 (EV_ABS)
Event code 0 (ABS_X)
Value 0
Min 0
Max 3984
Resolution 11
Event code 1 (ABS_Y)
Value 0
Min 0
Max 2256
Resolution 10
Event code 28 (ABS_TOOL_WIDTH)
Value 0
Min 0
Max 15
Event code 47 (ABS_MT_SLOT)
Value 0
Min 0
Max 9
Event code 48 (ABS_MT_TOUCH_MAJOR)
Value 0
Min 0
Max 255
Event code 49 (ABS_MT_TOUCH_MINOR)
Value 0
Min 0
Max 255
Event code 52 (ABS_MT_ORIENTATION)
Value 0
Min 0
Max 1
Event code 53 (ABS_MT_POSITION_X)
Value 0
Min 0
Max 3984
Resolution 11
Event code 54 (ABS_MT_POSITION_Y)
Value 0
Min 0
Max 2256
Resolution 10
Event code 57 (ABS_MT_TRACKING_ID)
Value 0
Min -1
Max 65535
Event code 60 (ABS_MT_TOOL_X)
Value 0
Min 0
Max 3984
Resolution 11
Event code 61 (ABS_MT_TOOL_Y)
Value 0
Min 0
Max 2256
Resolution 10
Properties:
Property type 1 (INPUT_PROP_DIRECT)
Testing ... (interrupt to exit)