svn commit: r349540 - in stable/12: share/man/man4 sys/dev/atkbdc

2019-06-29 Thread Vladimir Kondratyev
Author: wulf Date: Sat Jun 29 12:49:52 2019 New Revision: 349540 URL: https://svnweb.freebsd.org/changeset/base/349540 Log: MFC r346455-r346458, r348520, r348529, r348817, r348818 r346455: psm(4): Add support for 4 and 5 finger touches in synaptics driver While 4-th and 5-th finger p

svn commit: r349541 - in stable/11: share/man/man4 sys/dev/atkbdc

2019-06-29 Thread Vladimir Kondratyev
Author: wulf Date: Sat Jun 29 12:54:27 2019 New Revision: 349541 URL: https://svnweb.freebsd.org/changeset/base/349541 Log: MFC r346455-r346458, r348520, r348529, r348817, r348818 r346455: psm(4): Add support for 4 and 5 finger touches in synaptics driver While 4-th and 5-th finger p

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: he

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 (mo

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 spur

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 PS

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. Enabl

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: head/sys/dev/e

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: head/

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: 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 touc

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: 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. tap_

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: head/sys/dev/atkbdc/ps

svn commit: r344164 - in stable/12/sys: dev/atkbdc sys

2019-02-15 Thread Vladimir Kondratyev
Author: wulf Date: Fri Feb 15 20:45:12 2019 New Revision: 344164 URL: https://svnweb.freebsd.org/changeset/base/344164 Log: MFC r343163: psm(4): detect Lenovo top-button clickpads libinput has special handling for Lenovo ThinkPad *40 series, where it treats clicks on the top button a

svn commit: r344165 - in stable/11/sys: dev/atkbdc sys

2019-02-15 Thread Vladimir Kondratyev
Author: wulf Date: Fri Feb 15 20:46:03 2019 New Revision: 344165 URL: https://svnweb.freebsd.org/changeset/base/344165 Log: MFC r343163: psm(4): detect Lenovo top-button clickpads libinput has special handling for Lenovo ThinkPad *40 series, where it treats clicks on the top button a

svn commit: r344176 - stable/12/sys/dev/sound/pci/hda

2019-02-15 Thread Vladimir Kondratyev
Author: wulf Date: Fri Feb 15 20:52:32 2019 New Revision: 344176 URL: https://svnweb.freebsd.org/changeset/base/344176 Log: MFC r343327: Add quirk to enable mic and headphones redirection on HP Spectre laptops. Tested on HP Spectre 13 AF006UR. Modified: stable/12/sys/dev/sound/pci/h

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: 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. H

svn commit: r344984 - in stable/11: sbin/sysctl sys/dev/evdev

2019-03-10 Thread Vladimir Kondratyev
Author: wulf Date: Sun Mar 10 20:58:24 2019 New Revision: 344984 URL: https://svnweb.freebsd.org/changeset/base/344984 Log: MFC r344494,r344495: evdev: export event device properties through sysctl interface A big security advantage of Wayland is not allowing applications to read inp

svn commit: r344983 - in stable/12: sbin/sysctl sys/dev/evdev

2019-03-10 Thread Vladimir Kondratyev
Author: wulf Date: Sun Mar 10 20:43:08 2019 New Revision: 344983 URL: https://svnweb.freebsd.org/changeset/base/344983 Log: MFC r344494,r344495: evdev: export event device properties through sysctl interface A big security advantage of Wayland is not allowing applications to read inp

Re: svn commit: r344984 - in stable/11: sbin/sysctl sys/dev/evdev

2019-03-10 Thread Vladimir Kondratyev
On 2019-03-11 00:22, Konstantin Belousov wrote: On Sun, Mar 10, 2019 at 08:58:24PM +, Vladimir Kondratyev wrote: Author: wulf Date: Sun Mar 10 20:58:24 2019 New Revision: 344984 URL: https://svnweb.freebsd.org/changeset/base/344984 Log: MFC r344494,r344495: + ev_sysctl_tree

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 s

svn commit: r344986 - stable/11/sys/dev/evdev

2019-03-10 Thread Vladimir Kondratyev
Author: wulf Date: Sun Mar 10 21:43:13 2019 New Revision: 344986 URL: https://svnweb.freebsd.org/changeset/base/344986 Log: Fix build breakage caused by r344984 This is a direct commit to stable/11 Modified: stable/11/sys/dev/evdev/evdev.c Modified: stable/11/sys/dev/evdev/evdev.c =

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: head/sys/x8

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: r345589 - stable/12/sys/x86/isa

2019-03-27 Thread Vladimir Kondratyev
Author: wulf Date: Wed Mar 27 19:16:03 2019 New Revision: 345589 URL: https://svnweb.freebsd.org/changeset/base/345589 Log: MFC: r344982, r345022 atrtc(4): install ACPI RTC/CMOS operation region handler FreeBSD base system does not provide an ACPI handler for the PC/AT RTC/CMOS devic

svn commit: r345590 - stable/11/sys/x86/isa

2019-03-27 Thread Vladimir Kondratyev
Author: wulf Date: Wed Mar 27 19:17:42 2019 New Revision: 345590 URL: https://svnweb.freebsd.org/changeset/base/345590 Log: MFC: r344982, r345022 atrtc(4): install ACPI RTC/CMOS operation region handler FreeBSD base system does not provide an ACPI handler for the PC/AT RTC/CMOS devic

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 touc

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. tap_

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: head/sys/dev/atkbdc/ps

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: r352101 - in stable/12/sys: conf modules/netgraph/bluetooth/ubt netgraph/bluetooth/drivers/ubt

2019-09-09 Thread Vladimir Kondratyev
netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c Mon Sep 9 18:50:38 2019(r352101, copy of r351196, head/sys/netgraph/bluetooth/drivers/ubt/ng_ubt_intel.c) @@ -0,0 +1,161 @@ +/* + * ng_ubt_intel.c + */ + +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2019 Vladimi

svn commit: r352102 - in stable/12: targets/pseudo/userland tools/build/mk usr.sbin/bluetooth usr.sbin/bluetooth/iwmbtfw

2019-09-09 Thread Vladimir Kondratyev
Author: wulf Date: Mon Sep 9 18:57:17 2019 New Revision: 352102 URL: https://svnweb.freebsd.org/changeset/base/352102 Log: MFC r351197, r351199: iwmbtfw: Firmware loader for Intel Wireless 8260 based Bluetooth USB devices Currently supported models are: 8260, 8265, 9560, 9260 and 2216

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 v

svn commit: r352362 - stable/12/sys/dev/ichiic

2019-09-15 Thread Vladimir Kondratyev
Author: wulf Date: Sun Sep 15 19:16:42 2019 New Revision: 352362 URL: https://svnweb.freebsd.org/changeset/base/352362 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 v

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

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 19:30:23 2020 New Revision: 367230 URL: https://svnweb.freebsd.org/changeset/base/367230 Log: ig4(4): Add PCI IDs for Intel Comit Lake I2C controllers. MFC after:2 weeks Modified: head/sys/dev/ichiic/ig4_pci.c Modified: head/sys/dev/ichiic/ig4_pci.c ===

svn commit: r367231 - head/sys/dev/acpica

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 19:47:34 2020 New Revision: 367231 URL: https://svnweb.freebsd.org/changeset/base/367231 Log: acpi: Tweak _DSM method evaluation helpers. - Use ACPI style for _DSM evaluation helper parameter types. - Constify UUID parameter. - Increase size of returned DSM

svn commit: r367232 - head/sys/dev/acpica

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 20:14:28 2020 New Revision: 367232 URL: https://svnweb.freebsd.org/changeset/base/367232 Log: acpi(9): Add EVENTHANDLERs for video and AC adapter events. They are required for coming ACPI support in LinuxKPI. Reviewed by: hselasky, manu (as part of D26603

svn commit: r367233 - head/sys/dev/acpica

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 20:25:55 2020 New Revision: 367233 URL: https://svnweb.freebsd.org/changeset/base/367233 Log: acpi_video(4): Add evdev support for reporting of video events. Modified: head/sys/dev/acpica/acpi_video.c Modified: head/sys/dev/acpica/acpi_video.c ==

svn commit: r367234 - head/sys/dev/acpica

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 20:28:13 2020 New Revision: 367234 URL: https://svnweb.freebsd.org/changeset/base/367234 Log: acpi_video(4): Put display device in to D3 state on "Display off" event. As required by ACPI specs 6.3, appendix A.6, table B-8. Modified: head/sys/dev/acpica/acpi

svn commit: r367237 - head/sbin/devmatch

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 22:04:13 2020 New Revision: 367237 URL: https://svnweb.freebsd.org/changeset/base/367237 Log: devmatch(8): Respect mask field when matching strings of Z type. While here, add debug output for this action. Reviewed by: imp MFC after:2 weeks Differe

svn commit: r367239 - in head/sys/dev: acpica iicbus

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 22:15:59 2020 New Revision: 367239 URL: https://svnweb.freebsd.org/changeset/base/367239 Log: Add plug and play information macroses for ACPI and I2C buses. Matching table format is compatible with ACPI_ID_PROBE bus method. Note that while ACPI_ID_PROBE ma

svn commit: r367240 - head/sys/dev/acpi_support

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 22:19:39 2020 New Revision: 367240 URL: https://svnweb.freebsd.org/changeset/base/367240 Log: acpi_wmi(4): Add ACPI_PNP_INFO MFC after:2 weeks Modified: head/sys/dev/acpi_support/acpi_wmi.c Modified: head/sys/dev/acpi_support/acpi_wmi.c

svn commit: r367241 - head/sys/dev/acpica

2020-10-31 Thread Vladimir Kondratyev
Author: wulf Date: Sat Oct 31 22:20:42 2020 New Revision: 367241 URL: https://svnweb.freebsd.org/changeset/base/367241 Log: acpi_dock(4): Add ACPI_PNP_INFO MFC after:2 weeks Modified: head/sys/dev/acpica/acpi_dock.c Modified: head/sys/dev/acpica/acpi_dock.c =

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

2020-11-04 Thread Vladimir Kondratyev
Author: wulf Date: Wed Nov 4 21:52:10 2020 New Revision: 367349 URL: https://svnweb.freebsd.org/changeset/base/367349 Log: atkbdc(4): Add quirk for "System76 lemur Pro" laptops. Currently atkbdc(4) assumes all coreboot BIOSes belonging to Chromebooks and unconditionally sets a number of

svn commit: r367673 - head/sys/compat/linuxkpi/common/include/linux

2020-11-14 Thread Vladimir Kondratyev
Author: wulf Date: Sat Nov 14 10:34:18 2020 New Revision: 367673 URL: https://svnweb.freebsd.org/changeset/base/367673 Log: LinuxKPI: Exclude linux/acpi.h content on non-ACPI archs. LinuxKPI ACPI support is based on FreeBSD import of ACPICA which can be compiled only on aarch64, amd64 and

svn commit: r367675 - stable/12/sys/dev/ichiic

2020-11-14 Thread Vladimir Kondratyev
Author: wulf Date: Sat Nov 14 11:48:28 2020 New Revision: 367675 URL: https://svnweb.freebsd.org/changeset/base/367675 Log: MFC r367230: ig4(4): Add PCI IDs for Intel Comet Lake I2C controllers. Modified: stable/12/sys/dev/ichiic/ig4_pci.c Directory Properties: stable/12/ (props chan

svn commit: r367676 - stable/12/sbin/devmatch

2020-11-14 Thread Vladimir Kondratyev
Author: wulf Date: Sat Nov 14 11:51:37 2020 New Revision: 367676 URL: https://svnweb.freebsd.org/changeset/base/367676 Log: MFC r367237: devmatch(8): Respect mask field when matching strings of Z type. While here, add debug output for this action. Reviewed by: imp Differential

svn commit: r367677 - in stable/12/sys/dev: acpi_support acpica iicbus

2020-11-14 Thread Vladimir Kondratyev
Author: wulf Date: Sat Nov 14 12:02:50 2020 New Revision: 367677 URL: https://svnweb.freebsd.org/changeset/base/367677 Log: MFC r367239-367241: r367239: Add plug and play information macroses for ACPI and I2C buses. Matching table format is compatible with ACPI_ID_PROBE bus method.

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

2020-11-19 Thread Vladimir Kondratyev
Author: wulf Date: Fri Nov 20 00:13:30 2020 New Revision: 367854 URL: https://svnweb.freebsd.org/changeset/base/367854 Log: psm(4): Disable AUX multiplexer probing on all Lenovo laptops. Rudimentary AUX multiplexing support was added to kernel to make possible touchpad initialization on s

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

2020-12-05 Thread Vladimir Kondratyev
Author: wulf Date: Sat Dec 5 10:55:14 2020 New Revision: 368365 URL: https://svnweb.freebsd.org/changeset/base/368365 Log: atkbd(4): Change quirk table end-of-list marker to NULL vendor/maker/product This fixes regression introduced in r367349 which effectively resulted in truncation of

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

2020-12-05 Thread Vladimir Kondratyev
Author: wulf Date: Sat Dec 5 10:57:15 2020 New Revision: 368366 URL: https://svnweb.freebsd.org/changeset/base/368366 Log: ig4(4): Add PCI IDs for Intel Tiger Lake Submitted by: Neel Chauhan Differential Revision:https://reviews.freebsd.org/D27483 Modified: head/sys/dev/ichii

svn commit: r355994 - in stable/12/sys/dev: chromebook_platform cyapa ichiic iicbus

2019-12-21 Thread Vladimir Kondratyev
Author: wulf Date: Sun Dec 22 00:46:07 2019 New Revision: 355994 URL: https://svnweb.freebsd.org/changeset/base/355994 Log: MFC r354291 - r354322, r354327, r355596 r354291: [ig4] Give common name to PCI and ACPI device drivers r354292: [ig4] Handle controller startup errors Ob

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

2020-06-01 Thread Vladimir Kondratyev
Author: wulf Date: Tue Jun 2 00:53:39 2020 New Revision: 361715 URL: https://svnweb.freebsd.org/changeset/base/361715 Log: [psm] Do not disable trackpoint when hw.psm.elantech.touchpad_off is enabled PR: 246117 Reported by: Alexander Sieg MFC after:1 week Modified: h

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

2020-06-01 Thread Vladimir Kondratyev
Author: wulf Date: Tue Jun 2 01:04:49 2020 New Revision: 361718 URL: https://svnweb.freebsd.org/changeset/base/361718 Log: [psm] Workaround active PS/2 multiplexor hang which happens on some laptops after returning to legacy multiplexing mode at initialization stage. PR: 2

svn commit: r362206 - stable/12/sys/dev/evdev

2020-06-15 Thread Vladimir Kondratyev
Author: wulf Date: Mon Jun 15 22:32:59 2020 New Revision: 362206 URL: https://svnweb.freebsd.org/changeset/base/362206 Log: MFC r360624: [evdev] Add AT translated set1 scancodes for F-unlocked F1-12 keys. "F lock" is a switch between two sets of scancodes for function keys F1-F12 fou

svn commit: r362207 - stable/11/sys/dev/evdev

2020-06-15 Thread Vladimir Kondratyev
Author: wulf Date: Mon Jun 15 22:35:39 2020 New Revision: 362207 URL: https://svnweb.freebsd.org/changeset/base/362207 Log: MFC r360624: [evdev] Add AT translated set1 scancodes for F-unlocked F1-12 keys. "F lock" is a switch between two sets of scancodes for function keys F1-F12 fou

svn commit: r362208 - in stable/12: share/man/man4 sys/dev/atkbdc

2020-06-15 Thread Vladimir Kondratyev
Author: wulf Date: Mon Jun 15 22:41:28 2020 New Revision: 362208 URL: https://svnweb.freebsd.org/changeset/base/362208 Log: MFC r361715: [psm] Do not disable trackpoint when hw.psm.elantech.touchpad_off is enabled PR: 246117 Reported by: Alexander Sieg MFC r361718:

svn commit: r362209 - in stable/11: share/man/man4 sys/dev/atkbdc

2020-06-15 Thread Vladimir Kondratyev
Author: wulf Date: Mon Jun 15 22:43:46 2020 New Revision: 362209 URL: https://svnweb.freebsd.org/changeset/base/362209 Log: MFC r361715: [psm] Do not disable trackpoint when hw.psm.elantech.touchpad_off is enabled PR: 246117 Reported by: Alexander Sieg MFC r361718:

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

2020-06-17 Thread Vladimir Kondratyev
Author: wulf Date: Wed Jun 17 08:35:35 2020 New Revision: 362260 URL: https://svnweb.freebsd.org/changeset/base/362260 Log: evdev: Add AT translated set1 scancodes for 'Eisu' & 'Kana' keys. PR: 247292 Submitted by: Yuichiro NAITO MFC after:1 week Modified: head/sys/dev

svn commit: r365383 - in stable/12: share/man/man9 sys/compat/linuxkpi/common/include/linux sys/kern sys/sys sys/vm

2020-09-06 Thread Vladimir Kondratyev
Author: wulf Date: Sun Sep 6 17:40:35 2020 New Revision: 365383 URL: https://svnweb.freebsd.org/changeset/base/365383 Log: MFC r364964: LinuxKPI: Implement ksize() function. In Linux, ksize() gets the actual amount of memory allocated for a given object. This commit adds malloc_usable_si

svn commit: r362597 - stable/12/sys/dev/evdev

2020-06-24 Thread Vladimir Kondratyev
Author: wulf Date: Thu Jun 25 00:00:04 2020 New Revision: 362597 URL: https://svnweb.freebsd.org/changeset/base/362597 Log: MFC r362260: evdev: Add AT translated set1 scancodes for 'Eisu' & 'Kana' keys. PR: 247292 Submitted by: Yuichiro NAITO Modified: stable/12/sys/dev

svn commit: r362598 - stable/11/sys/dev/evdev

2020-06-24 Thread Vladimir Kondratyev
Author: wulf Date: Thu Jun 25 00:01:24 2020 New Revision: 362598 URL: https://svnweb.freebsd.org/changeset/base/362598 Log: MFC r362260: evdev: Add AT translated set1 scancodes for 'Eisu' & 'Kana' keys. PR: 247292 Submitted by: Yuichiro NAITO Modified: stable/11/sys/dev

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

2020-06-24 Thread Vladimir Kondratyev
Author: wulf Date: Thu Jun 25 00:09:43 2020 New Revision: 362599 URL: https://svnweb.freebsd.org/changeset/base/362599 Log: atkbd/evdev: recognize the Chromebook menu key as F13 like Linux does. This is the key on the right side of the function keys, with the "hamburger menu" icon on it.

svn commit: r363205 - head/sys/compat/linuxkpi/common/include/linux

2020-07-14 Thread Vladimir Kondratyev
Author: wulf Date: Tue Jul 14 21:56:59 2020 New Revision: 363205 URL: https://svnweb.freebsd.org/changeset/base/363205 Log: linuxkpi: Ignore NULL pointers passed to string parameter of kstr(n)dup That follows Linux and fixes related drm-kmod-5.3 panic. Reviewed by: imp, hselasky MFC

svn commit: r363406 - stable/12/sys/compat/linuxkpi/common/include/linux

2020-07-21 Thread Vladimir Kondratyev
Author: wulf Date: Tue Jul 21 23:36:18 2020 New Revision: 363406 URL: https://svnweb.freebsd.org/changeset/base/363406 Log: MFC r363205: linuxkpi: Ignore NULL pointers passed to string parameter of kstr(n)dup That follows Linux and fixes related drm-kmod-5.3 panic. Reviewed by: i

svn commit: r363407 - stable/11/sys/compat/linuxkpi/common/include/linux

2020-07-21 Thread Vladimir Kondratyev
Author: wulf Date: Tue Jul 21 23:38:05 2020 New Revision: 363407 URL: https://svnweb.freebsd.org/changeset/base/363407 Log: MFC 363205: linuxkpi: Ignore NULL pointers passed to string parameter of kstr(n)dup That follows Linux and fixes related drm-kmod-5.3 panic. Reviewed by: im

svn commit: r343155 - stable/12/sys/dev/usb/input

2019-01-18 Thread Vladimir Kondratyev
Author: wulf Date: Fri Jan 18 20:59:06 2019 New Revision: 343155 URL: https://svnweb.freebsd.org/changeset/base/343155 Log: MFC r340338: 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: r343157 - stable/12/sys/dev/atkbdc

2019-01-18 Thread Vladimir Kondratyev
Author: wulf Date: Fri Jan 18 21:11:02 2019 New Revision: 343157 URL: https://svnweb.freebsd.org/changeset/base/343157 Log: MFC r340912,r340913: psm(4): Revert r328640 and add minimal support for active AUX port multiplexers Active PS/2 multiplexing is a method for attaching

svn commit: r343158 - stable/11/sys/dev/atkbdc

2019-01-18 Thread Vladimir Kondratyev
Author: wulf Date: Fri Jan 18 21:12:00 2019 New Revision: 343158 URL: https://svnweb.freebsd.org/changeset/base/343158 Log: MFC r340912,r340913: psm(4): Revert r328640 and add minimal support for active AUX port multiplexers Active PS/2 multiplexing is a method for attaching

svn commit: r343159 - stable/12/sys/dev/evdev

2019-01-18 Thread Vladimir Kondratyev
Author: wulf Date: Fri Jan 18 21:25:10 2019 New Revision: 343159 URL: https://svnweb.freebsd.org/changeset/base/343159 Log: MFC r340926: evdev: Fix pause key release event in AT keyboard set 1 to evdev xlat-or. Modified: stable/12/sys/dev/evdev/evdev_utils.c Directory Properties: stabl

svn commit: r343160 - stable/11/sys/dev/evdev

2019-01-18 Thread Vladimir Kondratyev
Author: wulf Date: Fri Jan 18 21:25:46 2019 New Revision: 343160 URL: https://svnweb.freebsd.org/changeset/base/343160 Log: MFC r340926: evdev: Fix pause key release event in AT keyboard set 1 to evdev xlat-or. Modified: stable/11/sys/dev/evdev/evdev_utils.c Directory Properties: stabl

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 cam

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: head/sys/dev/sound/pci/hda/hdaa

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

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:47:49 2019 New Revision: 354298 URL: https://svnweb.freebsd.org/changeset/base/354298 Log: [ig4] We actually need to set the Rx threshold register one smaller. Setting the IG4_REG_RX_TL register to 1 was actually generating an interrupt after 2 bytes were

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 perman

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

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:54:17 2019 New Revision: 354303 URL: https://svnweb.freebsd.org/changeset/base/354303 Log: [ig4] Do not wait until interrupts are enabled at attach stage as the driver is fully functional on a cold boot through utilization of polled mode. As a side ef

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 commo

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 FI

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

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:49:04 2019 New Revision: 354299 URL: https://svnweb.freebsd.org/changeset/base/354299 Log: [ig4] Stop I2C controller after checking that it's kind of functional. Obtained from:DragonfliBSD (0b3eedb) Modified: head/sys/dev/ichiic/ig4_iic.c Modifie

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

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:42:04 2019 New Revision: 354293 URL: https://svnweb.freebsd.org/changeset/base/354293 Log: [ig4] Only enable interrupts when we want them. Otherwise keep mask at 0. This avoids possible interrupt storms, depending on the state of the I2C controller before

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 a

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 I2

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

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:50:06 2019 New Revision: 354300 URL: https://svnweb.freebsd.org/changeset/base/354300 Log: [ig4] disable controller before initialization of clock counters It is required by controller specifications. Modified: head/sys/dev/ichiic/ig4_iic.c Modified: hea

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 Modifie

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

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:08:26 2019 New Revision: 354315 URL: https://svnweb.freebsd.org/changeset/base/354315 Log: [ig4] Set STOP condition and flush TX/RX FIFOs on error if controller has not it done for us yet. Reset controller when transfer abort is failed. Modified: hea

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 a

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 head/sys/dev/ichiic/ig4_pci

svn commit: r354308 - in head/sys/dev: ichiic iicbus

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:00:55 2019 New Revision: 354308 URL: https://svnweb.freebsd.org/changeset/base/354308 Log: [ig4] Add suspend/resume support That is done with re-execution of controller initialization procedure from resume handler. PR: 238037 Modified: he

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: r354297 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:46:20 2019 New Revision: 354297 URL: https://svnweb.freebsd.org/changeset/base/354297 Log: [ig4] Ignore stray interrupts Modified: head/sys/dev/ichiic/ig4_iic.c Modified: head/sys/dev/ichiic/ig4_iic.c ==

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: hea

svn commit: r354304 - head/sys/dev/cyapa

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:55:28 2019 New Revision: 354304 URL: https://svnweb.freebsd.org/changeset/base/354304 Log: [cyapa] Postpone start of the polling thread until sleep is available After recent ig4 changes cyapa driver can be attached before timers initialization is completed

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 than

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: 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: r354309 - head/sys/dev/ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 21:01:53 2019 New Revision: 354309 URL: https://svnweb.freebsd.org/changeset/base/354309 Log: [ig4] Remove dead code inherited from DragonflyBSD Modified: head/sys/dev/ichiic/ig4_iic.c head/sys/dev/ichiic/ig4_var.h Modified: head/sys/dev/ichiic/ig4_iic.c =

svn commit: r354291 - in head/sys/dev: chromebook_platform ichiic

2019-11-03 Thread Vladimir Kondratyev
Author: wulf Date: Sun Nov 3 20:39:46 2019 New Revision: 354291 URL: https://svnweb.freebsd.org/changeset/base/354291 Log: [ig4] Give common name to PCI and ACPI device drivers They share common device driver code with different bus attachments This commit starts a bunch of changes wh

  1   2   3   >