Page MenuHomeFreeBSD

uep(4): add evdev support
ClosedPublic

Authored by wulf on Jun 12 2017, 11:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 21, 11:11 AM
Unknown Object (File)
Dec 22 2023, 11:24 PM
Unknown Object (File)
Dec 4 2023, 3:49 AM
Unknown Object (File)
Dec 4 2023, 3:43 AM
Unknown Object (File)
Dec 4 2023, 3:43 AM
Unknown Object (File)
Dec 4 2023, 3:43 AM
Unknown Object (File)
Dec 3 2023, 3:22 PM
Unknown Object (File)
Nov 11 2023, 5:20 PM
Subscribers

Details

Summary

uep(4): add evdev support

To compile this driver with evdev support enabled, place the
following line into your kernel configuration file:

device evdev
options EVDEV_SUPPORT

Native and evdev modes are mutually exclusive.

Test Plan

Gleb will be able to take hardware tests soon

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Ack. Will test before 1st of July.

The change consist also some changes to the protocol. Some new bits are parsed. I'm pretty sure that my particular device doesn't have any pressure. All I can do is to confirm that my device is still working.

However, I think that protocol changes and evdevification should be committed separately.

  1. Drop support for touch pressure.

According to comments in egalax tslib driver, tslib uses pressure level to detect touches. So unconditional claiming pressure as supported event can break 5-bytes proto touchscreens.
If pressure is claimed as unsupported, tslib egalax driver will fake it on its own.

  1. Change touchscreen resolution to 0(unknown)
This revision is now accepted and ready to land.Jun 21 2017, 6:32 PM

Port of xinput_calibrator: D11325
It supports touchscreen calibration for xf86-input-evdev driver

wblock added inline comments.
share/man/man4/uep.4
27

Please bump .Dd on commit.

49

s/your/the/

59

s/is/is a/

60

(Not yours, I know.)
Please use the serial comma, and this needs articles ("the" and "a"):

It just probes and attaches to the USB device, creates a device entry,
61–63

Please start new sentences on new lines.

62

The backslash is not needed. Hard to tell what "next" means here, but it can probably be this:

​compile-time kernel options, it supports either native or evdev operation modes.

("either" means "mutually exclusive", so that next sentence is probably not needed.)

65–66

s/mouse/the mouse/

67

Passive -> active: s/one needs to install/install/

70

s/mouse/the mouse/

72

Passive -> active: s/one needs to install/install/

76

Backslash is not needed.

95

Avoid contractions: s/can't/cannot/

97

Avoid using "the latter", it's a text backreference.

as
.Xr sysmouse 4
does not support absolute motion events.
This revision was automatically updated to reflect the committed changes.