svn commit: r321853 - head/usr.bin/calendar/calendars

2017-08-01 Thread Vladimir Kondratyev
(r321853) @@ -352,6 +352,7 @@ 10/16 Remko Lodder <re...@freebsd.org> born in Rotterdam, the Netherlands, 1983 10/17 Maho NAKATA <m...@freebsd.org> born in Osaka, Japan, 1974 10/18 Sheldon Hearn <sheld...@freebsd.org> born in Cape Town, Western Cape, South Africa, 197

svn commit: r322439 - in head/usr.sbin/bluetooth: bthidcontrol bthidd

2017-08-12 Thread Vladimir Kondratyev
Author: wulf Date: Sat Aug 12 21:20:51 2017 New Revision: 322439 URL: https://svnweb.freebsd.org/changeset/base/322439 Log: bthidd(8): Add support for vendor_id, product_id and version. Extend bthidd.conf format to store vendor and product IDs of remote Bluetooth HID devices to make

svn commit: r322440 - head/usr.sbin/bluetooth/bthidd

2017-08-12 Thread Vladimir Kondratyev
Author: wulf Date: Sat Aug 12 21:23:33 2017 New Revision: 322440 URL: https://svnweb.freebsd.org/changeset/base/322440 Log: bthidd(8): Add support for Apple's magic mouse Note: Mouse's bthidd.conf record should contain vendor and device IDs to make proper device detection. If it does not

svn commit: r321397 - head/sys/dev/evdev

2017-07-23 Thread Vladimir Kondratyev
Author: wulf Date: Sun Jul 23 20:32:54 2017 New Revision: 321397 URL: https://svnweb.freebsd.org/changeset/base/321397 Log: evdev: style(9), sort headers alphabetically Pointed out by: bde Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:2 weeks Modified:

svn commit: r321398 - head/sys/dev/evdev

2017-07-23 Thread Vladimir Kondratyev
Author: wulf Date: Sun Jul 23 20:35:26 2017 New Revision: 321398 URL: https://svnweb.freebsd.org/changeset/base/321398 Log: evdev: Macroize common locking sequences Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:2 weeks Modified: head/sys/dev/evdev/evdev.c

svn commit: r321399 - head/sys/dev/evdev

2017-07-23 Thread Vladimir Kondratyev
;jc...@freebsd.org> - * Copyright (c) 2015-2016 Vladimir Kondratyev <w...@cicgroup.ru> + * Copyright (c) 2015-2016 Vladimir Kondratyev <w...@freebsd.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without Modified: head/sys

Re: svn commit: r322695 - in head: share/man/man4 sys/conf sys/dev/usb sys/dev/usb/input sys/dev/usb/quirk sys/modules/usb sys/modules/usb/wmt

2017-08-19 Thread Vladimir Kondratyev
On 2017-08-19 20:00, Vladimir Kondratyev wrote: Author: wulf Date: Sat Aug 19 17:00:10 2017 New Revision: 322695 URL: https://svnweb.freebsd.org/changeset/base/322695 Log: Add support for generic MS Windows 7/8/10-compatible USB HID touchscreens found in many laptops. Reviewed

svn commit: r317772 - head/share/misc

2017-05-03 Thread Vladimir Kondratyev
@@ wkoszek [label="Wojciech A. Koszek\nwkos wma [label="Wojciech Macek\n...@freebsd.org\n2016/01/18"] wollman [label="Garrett Wollman\nwoll...@freebsd.org\n/??/??"] wsalamon [label="Wayne Salamon\nwsala...@freebsd.org\n2005/06/25"] +wulf [label="Vladimir

svn commit: r319162 - head/sys/dev/atkbdc

2017-05-29 Thread Vladimir Kondratyev
Author: wulf Date: Mon May 29 20:43:00 2017 New Revision: 319162 URL: https://svnweb.freebsd.org/changeset/base/319162 Log: psm: add support for evdev protocol Both relative and absolute multitouch modes are supported. To enable psm(4) evdev support one should: 1. Add `device evdev`

svn commit: r317811 - head/sys/dev/atkbdc

2017-05-04 Thread Vladimir Kondratyev
Author: wulf Date: Thu May 4 22:47:18 2017 New Revision: 317811 URL: https://svnweb.freebsd.org/changeset/base/317811 Log: Fix triple-finger taps reported as double-finger for Elan hw v.4 touchpads Wait for all advertised head packets after status packet have been received. This fixes

svn commit: r317812 - head/sys/dev/atkbdc

2017-05-04 Thread Vladimir Kondratyev
Author: wulf Date: Thu May 4 22:51:22 2017 New Revision: 317812 URL: https://svnweb.freebsd.org/changeset/base/317812 Log: Reduce default tap_min_queue size for Elan touchpads Elan hw v.4 touchpads often sends touchpad release packet right after touchpad touch one. Most probably this

svn commit: r317813 - head/sys/dev/atkbdc

2017-05-04 Thread Vladimir Kondratyev
Author: wulf Date: Thu May 4 22:53:45 2017 New Revision: 317813 URL: https://svnweb.freebsd.org/changeset/base/317813 Log: Adjust Elantech palm width threshold to nearly match synaptics defaults Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:2 weeks Differential

svn commit: r317815 - head/sys/dev/atkbdc

2017-05-04 Thread Vladimir Kondratyev
Author: wulf Date: Thu May 4 23:04:52 2017 New Revision: 317815 URL: https://svnweb.freebsd.org/changeset/base/317815 Log: Enable palm detection on two finger touches for multitouch trackpads. Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:2 weeks Differential

svn commit: r317814 - head/sys/dev/atkbdc

2017-05-04 Thread Vladimir Kondratyev
Author: wulf Date: Thu May 4 23:02:34 2017 New Revision: 317814 URL: https://svnweb.freebsd.org/changeset/base/317814 Log: psm(4): reduce cursor jumping on palm detection This is done with discarding pointer movements rather then mouse packets Reviewed by: gonzo Approved by:

svn commit: r317817 - head/sys/dev/atkbdc

2017-05-04 Thread Vladimir Kondratyev
Author: wulf Date: Thu May 4 23:12:45 2017 New Revision: 317817 URL: https://svnweb.freebsd.org/changeset/base/317817 Log: Set predefined logical touchpad sizes for several ancient Elan hw v.2 models. This change is based on Linux driver. Determine logical trace size. It used for

svn commit: r317819 - head/sys/dev/atkbdc

2017-05-04 Thread Vladimir Kondratyev
Author: wulf Date: Thu May 4 23:19:27 2017 New Revision: 317819 URL: https://svnweb.freebsd.org/changeset/base/317819 Log: Reduce synaptics touch sensitivity Increase hw.psm.synaptics.min_pressure default value from 16 to 32 to nearly match Linux driver (30-35 hysteresis loop). This

svn commit: r317816 - head/sys/dev/atkbdc

2017-05-04 Thread Vladimir Kondratyev
Author: wulf Date: Thu May 4 23:08:55 2017 New Revision: 317816 URL: https://svnweb.freebsd.org/changeset/base/317816 Log: Report 3-rd and 4-th fingers as first finger for Elan hw v.2 and v.3 as Linux does. It should not affect gesture processing in current state as it ignores finger

svn commit: r317818 - head/sys/dev/atkbdc

2017-05-04 Thread Vladimir Kondratyev
Author: wulf Date: Thu May 4 23:17:21 2017 New Revision: 317818 URL: https://svnweb.freebsd.org/changeset/base/317818 Log: psm(4): Remove sys/libkern.h header inclusion It is already included via sys/systm.h Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:2 weeks

svn commit: r322695 - in head: share/man/man4 sys/conf sys/dev/usb sys/dev/usb/input sys/dev/usb/quirk sys/modules/usb sys/modules/usb/wmt

2017-08-19 Thread Vladimir Kondratyev
/man/man4/wmt.4 == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/share/man/man4/wmt.4 Sat Aug 19 17:00:10 2017(r322695) @@ -0,0 +1,84 @@ +.\" Copyright (c) 2014-2017 Vladimir Kondratyev <w...@freebsd.org> +.\" All rights reserved. +

svn commit: r324770 - head/usr.sbin/bluetooth/bthidd

2017-10-19 Thread Vladimir Kondratyev
Author: wulf Date: Thu Oct 19 20:42:46 2017 New Revision: 324770 URL: https://svnweb.freebsd.org/changeset/base/324770 Log: bthidd: Fix leds on multireport keyboards broken after r297217 Reviewed by: emax, gonzo Approved by: gonzo (mentor) MFC after:2

svn commit: r324774 - head/sys/dev/atkbdc

2017-10-19 Thread Vladimir Kondratyev
Author: wulf Date: Thu Oct 19 21:07:28 2017 New Revision: 324774 URL: https://svnweb.freebsd.org/changeset/base/324774 Log: psm(4): Add sanity checks to Synaptics touchpad driver resolution parser. This fixes "Kernel has only x or y resolution, not both" libinput error. Reported by:

svn commit: r324772 - head/sys/dev/usb/input

2017-10-19 Thread Vladimir Kondratyev
Author: wulf Date: Thu Oct 19 20:54:55 2017 New Revision: 324772 URL: https://svnweb.freebsd.org/changeset/base/324772 Log: ums(4): Unreverse evdev Tilt-axis reporting to match Linux. sysmouse tilt to button mapping remained unchanged. Reviewed by: hselasky Approved by:

svn commit: r326019 - head/sys/dev/evdev

2017-11-20 Thread Vladimir Kondratyev
Author: wulf Date: Mon Nov 20 19:17:43 2017 New Revision: 326019 URL: https://svnweb.freebsd.org/changeset/base/326019 Log: evdev: Export EVDEV_SUPPORT kernel option through feature facility Suggested by: netchild Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:1 week

svn commit: r326021 - head/sys/dev/evdev

2017-11-20 Thread Vladimir Kondratyev
Author: wulf Date: Mon Nov 20 19:25:22 2017 New Revision: 326021 URL: https://svnweb.freebsd.org/changeset/base/326021 Log: evdev: change USB scancode 0x54 from KEY_SLASH to KEY_KPSLASH Submitted by: dumbbell Reviewed by: gonzo, wulf Approved by: gonzo

svn commit: r326020 - head/sys/dev/evdev

2017-11-20 Thread Vladimir Kondratyev
Author: wulf Date: Mon Nov 20 19:20:05 2017 New Revision: 326020 URL: https://svnweb.freebsd.org/changeset/base/326020 Log: Fix evdev codes for slash and asterisk numpad keys of AT-keyboards Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:2 weeks Modified:

svn commit: r325294 - head/sys/dev/evdev

2017-11-01 Thread Vladimir Kondratyev
Author: wulf Date: Wed Nov 1 22:09:10 2017 New Revision: 325294 URL: https://svnweb.freebsd.org/changeset/base/325294 Log: evdev: Hide "kern.evdev.rcpt_mask" sysctl if kernel is compiled w/o EVDEV_SUPPORT as it's value has no meaning in this case. Now presence of this sysctl can be used

svn commit: r325295 - head/sys/dev/evdev

2017-11-01 Thread Vladimir Kondratyev
Author: wulf Date: Wed Nov 1 22:15:19 2017 New Revision: 325295 URL: https://svnweb.freebsd.org/changeset/base/325295 Log: evdev: Lock Giant around keyboard ioctls This fixes turning ukbd(4) LEDs on/off with evdev interface as well Reviewed by: gonzo Approved by:

svn commit: r325299 - head/sys/dev/evdev

2017-11-01 Thread Vladimir Kondratyev
Author: wulf Date: Wed Nov 1 22:37:43 2017 New Revision: 325299 URL: https://svnweb.freebsd.org/changeset/base/325299 Log: evdev: Do not start/stop softrepeat callout if no clients attached Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:2 weeks

svn commit: r325296 - head/sys/dev/evdev

2017-11-01 Thread Vladimir Kondratyev
Author: wulf Date: Wed Nov 1 22:19:19 2017 New Revision: 325296 URL: https://svnweb.freebsd.org/changeset/base/325296 Log: evdev: Take driver's lock in cdev write handler if necessary Reviewed by: gonzo Approved by: gonzo (mentor) MFC after:2 weeks

svn commit: r325297 - in head/sys/dev: syscons vt

2017-11-01 Thread Vladimir Kondratyev
Author: wulf Date: Wed Nov 1 22:30:36 2017 New Revision: 325297 URL: https://svnweb.freebsd.org/changeset/base/325297 Log: sysmouse(4): Fix ums(4)-style T-axis reporting via evdev protocol - Do not report T-axis wheel events as button presses - Reverse T-axis to match Linux - Remove

svn commit: r325298 - head/sys/dev/evdev

2017-11-01 Thread Vladimir Kondratyev
Author: wulf Date: Wed Nov 1 22:33:44 2017 New Revision: 325298 URL: https://svnweb.freebsd.org/changeset/base/325298 Log: evdev: Disable value normalization and state filtering for SND events. Some events can take sound pitch as a value so can not be represented as binary on/off

Re: svn commit: r325294 - head/sys/dev/evdev

2017-11-03 Thread Vladimir Kondratyev
On 2017-11-03 17:22, Alexander Leidinger wrote: Quoting Vladimir Kondratyev <w...@freebsd.org> (from Wed, 1 Nov 2017 22:09:10 + (UTC)): Author: wulf Date: Wed Nov 1 22:09:10 2017 New Revision: 325294 URL: https://svnweb.freebsd.org/changeset/base/325294 Log: evdev

svn commit: r325165 - head/usr.sbin/bluetooth/bthidd

2017-10-30 Thread Vladimir Kondratyev
Author: wulf Date: Mon Oct 30 20:58:57 2017 New Revision: 325165 URL: https://svnweb.freebsd.org/changeset/base/325165 Log: bthidd(8): Generate button release event after virtual T-axis button press Apply PR/213957 (r308165, Make sure the virtual T-axis buttons generate button release

svn commit: r334923 - in head: share/man/man4 share/man/man4/man4.i386 sys/dev/atkbdc sys/dev/mse sys/dev/syscons sys/sys

2018-06-10 Thread Vladimir Kondratyev
Author: wulf Date: Sun Jun 10 10:23:31 2018 New Revision: 334923 URL: https://svnweb.freebsd.org/changeset/base/334923 Log: Drop MOUSE_GETVARS and MOUSE_SETVARS ioctls support. These ioctls are not documented and only stubbed in a few drivers: mse(4), psm(4) and syscon's sysmouse(4). The

svn commit: r334555 - head/sys/dev/evdev

2018-06-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Jun 3 10:53:10 2018 New Revision: 334555 URL: https://svnweb.freebsd.org/changeset/base/334555 Log: [evdev] Sync event codes with Linux kernel 4.16 MFC after:2 weeks Modified: head/sys/dev/evdev/input-event-codes.h head/sys/dev/evdev/input.h Modified:

svn commit: r333136 - head/lib/libbluetooth

2018-05-01 Thread Vladimir Kondratyev
Author: wulf Date: Tue May 1 08:03:12 2018 New Revision: 333136 URL: https://svnweb.freebsd.org/changeset/base/333136 Log: Fix bthidd build with GCC 4.2 after r333110 Rename inlined function parameter to avoid shadowing of devname libc function declared in stdlib.h header Reported

svn commit: r333113 - in head: etc/defaults etc/rc.d usr.sbin/bluetooth/bthidd

2018-04-30 Thread Vladimir Kondratyev
d session_close(bthid_session_p s); void hid_initialise (bthid_session_p s); Added: head/usr.sbin/bluetooth/bthidd/btuinput.c ====== --- /dev/null 00:00:00 1970 (empty, because file is

svn commit: r333109 - head/lib/libsdp

2018-04-30 Thread Vladimir Kondratyev
Author: wulf Date: Mon Apr 30 10:15:58 2018 New Revision: 333109 URL: https://svnweb.freebsd.org/changeset/base/333109 Log: libsdp: Add method that returns actual source BD_ADDR of SDP session. Reviewed by: emax, wblock (docs) Differential Revision:

svn commit: r333111 - head/sys/dev/evdev

2018-04-30 Thread Vladimir Kondratyev
Author: wulf Date: Mon Apr 30 10:34:16 2018 New Revision: 333111 URL: https://svnweb.freebsd.org/changeset/base/333111 Log: uinput: Add FreeBSD specific ioctl to set unique identifier of input device. Reviewed by: gonzo Differential Revision:https://reviews.freebsd.org/D13456

svn commit: r333110 - head/lib/libbluetooth

2018-04-30 Thread Vladimir Kondratyev
Author: wulf Date: Mon Apr 30 10:24:50 2018 New Revision: 333110 URL: https://svnweb.freebsd.org/changeset/base/333110 Log: bluetooth(3): Add helper functions that performs Bluetooth Remote Name Request procedure to obtain the user-friendly name of another Bluetooth unit. Reviewed by:

svn commit: r333112 - in head/usr.sbin/bluetooth: bthidcontrol bthidd

2018-04-30 Thread Vladimir Kondratyev
Author: wulf Date: Mon Apr 30 10:49:29 2018 New Revision: 333112 URL: https://svnweb.freebsd.org/changeset/base/333112 Log: bthidd(8): Add internal support for user-friendly name of remote devices. Extend bthidd.conf format to store name of remote Bluetooth HID devices and implement

svn commit: r328640 - head/sys/dev/atkbdc

2018-01-31 Thread Vladimir Kondratyev
Author: wulf Date: Wed Jan 31 22:17:52 2018 New Revision: 328640 URL: https://svnweb.freebsd.org/changeset/base/328640 Log: psm: Add a kludge to support 0x46 identity middle byte Synaptics touchpads Most synaptics touchpads return 0x47 in middle byte in responce to identify command as

svn commit: r328638 - head/sys/dev/atkbdc

2018-01-31 Thread Vladimir Kondratyev
Author: wulf Date: Wed Jan 31 21:46:37 2018 New Revision: 328638 URL: https://svnweb.freebsd.org/changeset/base/328638 Log: psm(4): Reduce psm watchdog verbosity Modern touchpads do not issue interrupts on inactivity so "lost interrupt" message became annoying spam nowadays. This change

svn commit: r328636 - in head/sys: dev/atkbdc sys

2018-01-31 Thread Vladimir Kondratyev
Author: wulf Date: Wed Jan 31 21:14:59 2018 New Revision: 328636 URL: https://svnweb.freebsd.org/changeset/base/328636 Log: psm(4): Add support for HP EliteBook 1040 ForcePads. ForcePads do not have any physical buttons, instead they detect click based on finger pressure. Forcepads

svn commit: r328864 - head/sys/dev/atkbdc

2018-02-04 Thread Vladimir Kondratyev
Author: wulf Date: Sun Feb 4 23:01:48 2018 New Revision: 328864 URL: https://svnweb.freebsd.org/changeset/base/328864 Log: psm(4): Fix panic occuring soon after PS/2 packet has been rejected by synaptics or elantech sanity checker. After packet has been rejected contents of packet

svn commit: r337288 - head/sys/dev/usb/input

2018-08-04 Thread Vladimir Kondratyev
Author: wulf Date: Sat Aug 4 12:29:08 2018 New Revision: 337288 URL: https://svnweb.freebsd.org/changeset/base/337288 Log: wmt(4): Read Microsoft's "Touch Hardware Quality Assurance" certificate blob if present to enable some devices like WaveShare touchscreens. Unlike Windows we

svn commit: r337287 - head/sys/dev/usb/input

2018-08-04 Thread Vladimir Kondratyev
Author: wulf Date: Sat Aug 4 12:24:37 2018 New Revision: 337287 URL: https://svnweb.freebsd.org/changeset/base/337287 Log: wmt(4): Read 'Contact count maximum' usage value from feature report rather than from HID descriptor to match Microsoft documentation. Fall back to HID descriptor

svn commit: r337289 - head/sys/dev/usb/input

2018-08-04 Thread Vladimir Kondratyev
Author: wulf Date: Sat Aug 4 12:31:19 2018 New Revision: 337289 URL: https://svnweb.freebsd.org/changeset/base/337289 Log: 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

svn commit: r337348 - in head: share/man/man4 sys/dev/usb/input sys/modules/usb/uep

2018-08-05 Thread Vladimir Kondratyev
Author: wulf Date: Sun Aug 5 11:14:13 2018 New Revision: 337348 URL: https://svnweb.freebsd.org/changeset/base/337348 Log: uep(4): add evdev support To compile this driver with evdev support enabled, place following lines into the kernel configuration file: options EVDEV_SUPPORT

svn commit: r337720 - in head/sys: arm/broadcom/bcm2835 dev/atkbdc dev/evdev dev/usb/input

2018-08-13 Thread Vladimir Kondratyev
Author: wulf Date: Mon Aug 13 19:00:42 2018 New Revision: 337720 URL: https://svnweb.freebsd.org/changeset/base/337720 Log: evdev: remove soft context from evdev methods parameter list. Now softc should be retrieved from struct edvev * pointer with evdev_get_softc() helper. wmt(4)

svn commit: r337721 - in head/sys/dev: atkbdc evdev kbd kbdmux usb/input

2018-08-13 Thread Vladimir Kondratyev
Author: wulf Date: Mon Aug 13 19:05:53 2018 New Revision: 337721 URL: https://svnweb.freebsd.org/changeset/base/337721 Log: 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

svn commit: r336577 - head/sys/dev/usb

2018-07-21 Thread Vladimir Kondratyev
Author: wulf Date: Sat Jul 21 14:20:17 2018 New Revision: 336577 URL: https://svnweb.freebsd.org/changeset/base/336577 Log: Raise "Report Count" value limit in HID descriptor parser. This fixes usage/report size calculation of Microsoft`s "Touch Hardware Quality Assurance" certificate

svn commit: r338458 - head/sys/dev/usb/input

2018-09-04 Thread Vladimir Kondratyev
Author: wulf Date: Tue Sep 4 19:22:31 2018 New Revision: 338458 URL: https://svnweb.freebsd.org/changeset/base/338458 Log: wmt(4): Fix regression introduced in r337289 r337289 has a side effect of reducing usb frame 0 buffer size down to touch report size. That broke some devices e.g.

svn commit: r339824 - head/sys/dev/evdev

2018-10-27 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 27 21:04:34 2018 New Revision: 339824 URL: https://svnweb.freebsd.org/changeset/base/339824 Log: evdev: disable evdev if it is invoked from KDB or panic context This allow to prevent deadlock on entering KDB if one of evdev locks is already taken by userspace

Re: svn commit: r339823 - in head/sys/dev: atkbdc evdev kbdmux usb/input

2018-10-27 Thread Vladimir Kondratyev
On 27.10.2018 23:32, Niclas Zeising wrote: > On 10/27/18 10:22 PM, Vladimir Kondratyev wrote: >> Author: wulf >> Date: Sat Oct 27 20:22:41 2018 >> New Revision: 339823 >> URL: https://svnweb.freebsd.org/changeset/base/339823 >> >> Log: >>    evdev: Use

svn commit: r339823 - in head/sys/dev: atkbdc evdev kbdmux usb/input

2018-10-27 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 27 20:22:41 2018 New Revision: 339823 URL: https://svnweb.freebsd.org/changeset/base/339823 Log: evdev: Use console lock as evdev lock for all supported keyboard drivers. Now evdev part of keyboard drivers does not take any locks if corresponding input/eventN

svn commit: r340338 - head/sys/dev/usb/input

2018-11-10 Thread Vladimir Kondratyev
Author: wulf Date: Sat Nov 10 22:14:09 2018 New Revision: 340338 URL: https://svnweb.freebsd.org/changeset/base/340338 Log: wmt(4): Add PNP record so it could be picked by devd/devmatch. Fix uhid(4) conflict with blacklisting of multitouch HID-usages in uhid(4) probe handler.

svn commit: r343163 - in head/sys: dev/atkbdc sys

2019-01-18 Thread Vladimir Kondratyev
Author: wulf Date: Fri Jan 18 22:20:29 2019 New Revision: 343163 URL: https://svnweb.freebsd.org/changeset/base/343163 Log: psm(4): detect Lenovo top-button clickpads libinput has special handling for Lenovo ThinkPad *40 series, where it treats clicks on the top button area as if they

svn commit: r343327 - head/sys/dev/sound/pci/hda

2019-01-22 Thread Vladimir Kondratyev
Author: wulf Date: Tue Jan 22 22:39:46 2019 New Revision: 343327 URL: https://svnweb.freebsd.org/changeset/base/343327 Log: Add quirk to enable mic and headphones redirection on HP Spectre laptops. Tested on HP AF006UR. MFC after:2 weeks Modified:

svn commit: r340912 - head/sys/dev/atkbdc

2018-11-24 Thread Vladimir Kondratyev
Author: wulf Date: Sat Nov 24 21:17:51 2018 New Revision: 340912 URL: https://svnweb.freebsd.org/changeset/base/340912 Log: Revert r328640: Add kludge for 0x46 identity middle byte Synaptics touchpads. It appeared that "0x46 identity middle byte" response is caused by so called "Active

svn commit: r340913 - head/sys/dev/atkbdc

2018-11-24 Thread Vladimir Kondratyev
Author: wulf Date: Sat Nov 24 21:23:12 2018 New Revision: 340913 URL: https://svnweb.freebsd.org/changeset/base/340913 Log: psm(4): Add minimal support for active AUX port multiplexers Active PS/2 multiplexing is a method for attaching up to four PS/2 pointing devices to a computer.

svn commit: r340926 - head/sys/dev/evdev

2018-11-25 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 25 19:37:00 2018 New Revision: 340926 URL: https://svnweb.freebsd.org/changeset/base/340926 Log: evdev: Fix pause key release event in AT keyboard set 1 to evdev xlat-or. MFC after:2 weeks Modified: head/sys/dev/evdev/evdev_utils.c Modified:

svn commit: r344494 - in head: sbin/sysctl sys/dev/evdev

2019-02-24 Thread Vladimir Kondratyev
Author: wulf Date: Sun Feb 24 18:47:04 2019 New Revision: 344494 URL: https://svnweb.freebsd.org/changeset/base/344494 Log: evdev: export event device properties through sysctl interface A big security advantage of Wayland is not allowing applications to read input devices all the time.

svn commit: r344495 - head/sys/dev/evdev

2019-02-24 Thread Vladimir Kondratyev
Author: wulf Date: Sun Feb 24 19:31:42 2019 New Revision: 344495 URL: https://svnweb.freebsd.org/changeset/base/344495 Log: Fix build when EVDEV_SUPPORT is option disabled after r344494 MFC with: 344494 Modified: head/sys/dev/evdev/evdev.c Modified: head/sys/dev/evdev/evdev.c

svn commit: r344982 - head/sys/x86/isa

2019-03-10 Thread Vladimir Kondratyev
Author: wulf Date: Sun Mar 10 20:19:43 2019 New Revision: 344982 URL: https://svnweb.freebsd.org/changeset/base/344982 Log: atrtc(4): install ACPI RTC/CMOS operation region handler FreeBSD base system does not provide an ACPI handler for the PC/AT RTC/CMOS device with PnP ID PNP0B00; on

svn commit: r345022 - head/sys/x86/isa

2019-03-11 Thread Vladimir Kondratyev
Author: wulf Date: Mon Mar 11 19:46:15 2019 New Revision: 345022 URL: https://svnweb.freebsd.org/changeset/base/345022 Log: Fix amd64/i386 LINT build after r344982 Submitted by: jkim Reported by: rpokala MFC with: r344982 Modified: head/sys/x86/isa/atrtc.c Modified:

Re: svn commit: r344982 - head/sys/x86/isa

2019-03-11 Thread Vladimir Kondratyev
On 2019-03-11 21:17, Jung-uk Kim wrote: On 19. 3. 11., Ravi Pokala wrote: -Original Message- From: on behalf of Vladimir Kondratyev Date: 2019-03-10, Sunday at 13:19 To: , , Subject: svn commit: r344982 - head/sys/x86/isa Author: wulf Date: Sun Mar 10 20:19:43 2019 New Revision

svn commit: r348520 - head/sys/dev/atkbdc

2019-06-02 Thread Vladimir Kondratyev
Author: wulf Date: Sun Jun 2 22:27:26 2019 New Revision: 348520 URL: https://svnweb.freebsd.org/changeset/base/348520 Log: psm(4): Add Elantech touchpad IC type 15 found on Thinkpad L480 laptops PR: 238291 Submitted by: Andrey Kosachenko MFC after:2 weeks Modified:

svn commit: r348529 - head/sys/dev/atkbdc

2019-06-03 Thread Vladimir Kondratyev
Author: wulf Date: Mon Jun 3 10:04:34 2019 New Revision: 348529 URL: https://svnweb.freebsd.org/changeset/base/348529 Log: psm(4): Add natural scrolling support to sysmouse protocol This change enables natural scrolling with two finger scroll enabled and when user is using a trackpad

svn commit: r348817 - head/sys/dev/atkbdc

2019-06-08 Thread Vladimir Kondratyev
Author: wulf Date: Sat Jun 8 21:33:34 2019 New Revision: 348817 URL: https://svnweb.freebsd.org/changeset/base/348817 Log: psm(4): Fix Elantech trackpoint support. Sign bits for X and Y motion data were taken from wrong places. PR: 238291 Reported by: Andrey Kosachenko

svn commit: r348818 - head/sys/dev/atkbdc

2019-06-08 Thread Vladimir Kondratyev
Author: wulf Date: Sat Jun 8 21:36:22 2019 New Revision: 348818 URL: https://svnweb.freebsd.org/changeset/base/348818 Log: psm(4): Add extra sanity checks to Elantech trackpoint packet parser. Add strict checks for unused bit states in Elantech trackpoint packet parser to filter out

svn commit: r346456 - head/sys/dev/atkbdc

2019-04-20 Thread Vladimir Kondratyev
Author: wulf Date: Sat Apr 20 21:02:41 2019 New Revision: 346456 URL: https://svnweb.freebsd.org/changeset/base/346456 Log: psm(4): do not process gestures when palm is present Ignoring of gesture processing when the palm is detected helps to reduce some of the erratic pointer behavior.

svn commit: r346455 - head/sys/dev/atkbdc

2019-04-20 Thread Vladimir Kondratyev
Author: wulf Date: Sat Apr 20 21:00:44 2019 New Revision: 346455 URL: https://svnweb.freebsd.org/changeset/base/346455 Log: psm(4): Add support for 4 and 5 finger touches in synaptics driver While 4-th and 5-th finger positions are not exported through PS/2 interface, total number of

svn commit: r346458 - head/sys/dev/atkbdc

2019-04-20 Thread Vladimir Kondratyev
Author: wulf Date: Sat Apr 20 21:06:12 2019 New Revision: 346458 URL: https://svnweb.freebsd.org/changeset/base/346458 Log: psm(4): give names to synaptics commands Submitted by: Ben LeMasurier MFC after:2 weeks Modified: head/sys/dev/atkbdc/psm.c Modified:

svn commit: r346457 - in head: share/man/man4 sys/dev/atkbdc

2019-04-20 Thread Vladimir Kondratyev
Author: wulf Date: Sat Apr 20 21:04:56 2019 New Revision: 346457 URL: https://svnweb.freebsd.org/changeset/base/346457 Log: psm(4): respect tap_disabled configuration with enabled Extended support This fixes a bug where, even when hw.psm.tap_enabled=0, touchpad taps were processed.

svn commit: r351196 - in head/sys: conf modules/netgraph/bluetooth/ubt netgraph/bluetooth/drivers/ubt

2019-08-18 Thread Vladimir Kondratyev
l.c + */ + +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2019 Vladimir Kondratyev + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions

svn commit: r351197 - in head: targets/pseudo/userland tools/build/mk usr.sbin/bluetooth usr.sbin/bluetooth/iwmbtfw

2019-08-18 Thread Vladimir Kondratyev
(r351197) @@ -0,0 +1,47 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2013 Adrian Chadd + * Copyright (c) 2019 Vladimir Kondratyev + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following

svn commit: r351199 - head/usr.sbin/bluetooth/iwmbtfw

2019-08-18 Thread Vladimir Kondratyev
Author: wulf Date: Sun Aug 18 23:10:07 2019 New Revision: 351199 URL: https://svnweb.freebsd.org/changeset/base/351199 Log: iwmbtfw(8): Fix compilation on platforms using gcc. X-MFC with: r351197 Modified: head/usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c Modified:

svn commit: r346455 - head/sys/dev/atkbdc

2019-09-03 Thread Vladimir Kondratyev
Author: wulf Date: Sat Apr 20 21:00:44 2019 New Revision: 346455 URL: https://svnweb.freebsd.org/changeset/base/346455 Log: psm(4): Add support for 4 and 5 finger touches in synaptics driver While 4-th and 5-th finger positions are not exported through PS/2 interface, total number of

svn commit: r346457 - in head: share/man/man4 sys/dev/atkbdc

2019-09-03 Thread Vladimir Kondratyev
Author: wulf Date: Sat Apr 20 21:04:56 2019 New Revision: 346457 URL: https://svnweb.freebsd.org/changeset/base/346457 Log: psm(4): respect tap_disabled configuration with enabled Extended support This fixes a bug where, even when hw.psm.tap_enabled=0, touchpad taps were processed.

svn commit: r346456 - head/sys/dev/atkbdc

2019-09-03 Thread Vladimir Kondratyev
Author: wulf Date: Sat Apr 20 21:02:41 2019 New Revision: 346456 URL: https://svnweb.freebsd.org/changeset/base/346456 Log: psm(4): do not process gestures when palm is present Ignoring of gesture processing when the palm is detected helps to reduce some of the erratic pointer behavior.

svn commit: r346458 - head/sys/dev/atkbdc

2019-09-03 Thread Vladimir Kondratyev
Author: wulf Date: Sat Apr 20 21:06:12 2019 New Revision: 346458 URL: https://svnweb.freebsd.org/changeset/base/346458 Log: psm(4): give names to synaptics commands Submitted by: Ben LeMasurier MFC after:2 weeks Modified: head/sys/dev/atkbdc/psm.c Modified:

svn commit: r352243 - head/sys/dev/ichiic

2019-09-12 Thread Vladimir Kondratyev
Author: wulf Date: Thu Sep 12 12:33:09 2019 New Revision: 352243 URL: https://svnweb.freebsd.org/changeset/base/352243 Log: ig4(4): Fix SDA HOLD time set too low on Skylake controllers Execution of "Soft reset" command (IG4_REG_RESETS_SKL) at controller init stage sets SDA_HOLD register

svn commit: r354306 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:57:59 2019 New Revision: 354306 URL: https://svnweb.freebsd.org/changeset/base/354306 Log: [ig4] Set clock registers based on controller model IC clock rates are varied between different controller models so we have to adjust timing registers in each case

svn commit: r354312 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:04:51 2019 New Revision: 354312 URL: https://svnweb.freebsd.org/changeset/base/354312 Log: [ig4] Use interrupts for waiting for empty TX FIFO Modified: head/sys/dev/ichiic/ig4_iic.c Modified: head/sys/dev/ichiic/ig4_iic.c

svn commit: r354313 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:06:06 2019 New Revision: 354313 URL: https://svnweb.freebsd.org/changeset/base/354313 Log: [ig4] Convert polling loop from status-based to interrupt-based INTR_STAT register exposes more useful informaton then STA register does e.g. it exposes error and

svn commit: r354307 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:59:04 2019 New Revision: 354307 URL: https://svnweb.freebsd.org/changeset/base/354307 Log: [ig4] Implement burst mode for data reads In this mode DATA_CMD register reads and writes are performed in TX/RX FIFO-sized bursts to increase I2C bus utilization.

svn commit: r354310 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:03:07 2019 New Revision: 354310 URL: https://svnweb.freebsd.org/changeset/base/354310 Log: [ig4] Rewrite ig4iic_write routine to use TX_EMPTY status flag rather than TX_NOTFULL. It makes possible interrupt utilization while waiting for empty space in TX

svn commit: r354316 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:10:47 2019 New Revision: 354316 URL: https://svnweb.freebsd.org/changeset/base/354316 Log: [ig4] On SkyLake controllers issue reset on attach unconditionally. It is very helpful during debugging of I2C issues. It is done only for SkyLakes due to lack of

svn commit: r354314 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:07:12 2019 New Revision: 354314 URL: https://svnweb.freebsd.org/changeset/base/354314 Log: [ig4] Improve error detection Handle error bits of INTR_STAT and TX_ABORT registers. Move interrupt clearing from interrupt handler to polling loop to get

svn commit: r354305 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:56:53 2019 New Revision: 354305 URL: https://svnweb.freebsd.org/changeset/base/354305 Log: [ig4] dump IG4_REG_COMP_PARAM1 and IG4_REG_COMP_VER registers unconditionally They appeared to be supported (although undocumented) on SkyLakes+ too. Modified:

svn commit: r354311 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:03:55 2019 New Revision: 354311 URL: https://svnweb.freebsd.org/changeset/base/354311 Log: [ig4] Convert last remaining usage of TX_NOTFULL status to TX_EMPTY in ig4iic_read routine. It makes possible interrupt utilization while waiting for empty space in

svn commit: r354296 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:45:25 2019 New Revision: 354296 URL: https://svnweb.freebsd.org/changeset/base/354296 Log: [ig4] Reduce scope of io_lock Now io_lock is used as condition variable to synchronize active process with the interrupt handler. It is not used for tasks other

svn commit: r354295 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:44:16 2019 New Revision: 354295 URL: https://svnweb.freebsd.org/changeset/base/354295 Log: [ig4] Do not wait for interrupts in set_controller() routine Specs shows no dedicated interrupt firing on disable of the controller. Remove io lock acquisitions

svn commit: r354301 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:51:22 2019 New Revision: 354301 URL: https://svnweb.freebsd.org/changeset/base/354301 Log: [ig4] Add support for polled mode Currently ig4 internally depends on it's own interrupts and uses mtx_sleep() to wait for them. That means it can not be used from

svn commit: r354294 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:43:02 2019 New Revision: 354294 URL: https://svnweb.freebsd.org/changeset/base/354294 Log: [ig4] Drop driver's internal RX FIFO There is no need to read all controller's RX FIFO data to clear RX_FULL bit in interrupt handler as interrupts are masked

svn commit: r354317 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:12:59 2019 New Revision: 354317 URL: https://svnweb.freebsd.org/changeset/base/354317 Log: [ig4] wait for bus stop condition after stop command issued It gives better error detection and ig4 driver's lock coverage in a pipelined write case Modified:

svn commit: r354319 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:15:01 2019 New Revision: 354319 URL: https://svnweb.freebsd.org/changeset/base/354319 Log: [ig4] Add generic resource methods to bus interface That allows ig4 children to allocate IRQs Modified: head/sys/dev/ichiic/ig4_acpi.c

svn commit: r354322 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:17:50 2019 New Revision: 354322 URL: https://svnweb.freebsd.org/changeset/base/354322 Log: [ig4] Convert ithread interrupt handler to filter based one. Modified: head/sys/dev/ichiic/ig4_iic.c Modified: head/sys/dev/ichiic/ig4_iic.c

svn commit: r354318 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:14:08 2019 New Revision: 354318 URL: https://svnweb.freebsd.org/changeset/base/354318 Log: [ig4] Minor improvement of write pipelining With leaving some data queued in the TX FIFO at the end of write cycle. Modified: head/sys/dev/ichiic/ig4_iic.c

  1   2   >