| 48f2b006 | 13-Aug-2018 |
Vladimir Kondratyev <[email protected]> |
evdev: Remove evdev.ko linkage dependency on kbd driver
Move evdev_ev_kbd_event() helper from evdev to kbd.c as otherwise evdev unconditionally requires all keyboard and console stuff to be compiled
evdev: Remove evdev.ko linkage dependency on kbd driver
Move evdev_ev_kbd_event() helper from evdev to kbd.c as otherwise evdev unconditionally requires all keyboard and console stuff to be compiled into the kernel. This dependency happens as evdev_ev_kbd_event() helper references kbdsw global variable defined in kbd.c through use of kbdd_ioctl() macro.
While here make all keyboard drivers respect evdev_rcpt_mask while setting typematic rate and LEDs with evdev interface.
Requested by: Milan Obuch <[email protected]> Reviewed by: hselasky, gonzo Differential Revision: https://reviews.freebsd.org/D16614
show more ...
|
| 3a3dc5b5 | 04-Aug-2018 |
Vladimir Kondratyev <[email protected]> |
wmt(4): Use internal function to calculate input report size
Usbhid's hid_report_size() calculates integral size of all reports of given kind found in the HID descriptor rather then exact size of re
wmt(4): Use internal function to calculate input report size
Usbhid's hid_report_size() calculates integral size of all reports of given kind found in the HID descriptor rather then exact size of report with given ID as its userland counterpart does. As all input data processed by the driver is located within the same report, calculate required driver's buffer size with userland version, imported in one of the previous commits. This allows us to skip zeroing of buffer on processing of each report.
While here do some minor refactoring.
MFC after: 2 weeks
show more ...
|
| 8107f311 | 04-Aug-2018 |
Vladimir Kondratyev <[email protected]> |
wmt(4): Read Microsoft's "Touch Hardware Quality Assurance" certificate blob
if present to enable some devices like WaveShare touchscreens. Unlike Windows we discard content of the blob. We try mimi
wmt(4): Read Microsoft's "Touch Hardware Quality Assurance" certificate blob
if present to enable some devices like WaveShare touchscreens. Unlike Windows we discard content of the blob. We try mimic Windows driver behaviour from the USB device point of view.
Submitted by: glebius (initial version)
show more ...
|