Page MenuHomeFreeBSD

wulf (Vladimir Kondratyev)
User

Projects

User does not belong to any projects.

User Details

User Since
Jun 3 2017, 8:47 AM (94 w, 3 d)

Recent Activity

Mon, Mar 11

wulf committed rS345022: Fix amd64/i386 LINT build after r344982.
Fix amd64/i386 LINT build after r344982
Mon, Mar 11, 7:46 PM

Sun, Mar 10

wulf committed rS344986: Fix build breakage caused by r344984.
Fix build breakage caused by r344984
Sun, Mar 10, 9:43 PM
wulf committed rS344984: MFC r344494,r344495:.
MFC r344494,r344495:
Sun, Mar 10, 8:58 PM
wulf committed rS344983: MFC r344494,r344495:.
MFC r344494,r344495:
Sun, Mar 10, 8:43 PM
wulf closed D19314: Add ACPI support for RTC/CMOS device.
Sun, Mar 10, 8:19 PM
wulf committed rS344982: atrtc(4): install ACPI RTC/CMOS operation region handler.
atrtc(4): install ACPI RTC/CMOS operation region handler
Sun, Mar 10, 8:19 PM

Mon, Feb 25

wulf added inline comments to D19314: Add ACPI support for RTC/CMOS device.
Mon, Feb 25, 10:36 AM

Sun, Feb 24

wulf committed rS344495: Fix build when EVDEV_SUPPORT is option disabled after r344494.
Fix build when EVDEV_SUPPORT is option disabled after r344494
Sun, Feb 24, 7:32 PM
wulf committed rS344494: evdev: export event device properties through sysctl interface.
evdev: export event device properties through sysctl interface
Sun, Feb 24, 6:47 PM
wulf closed D18694: evdev: add sysctls with device info.
Sun, Feb 24, 6:47 PM

Feb 24 2019

wulf created D19314: Add ACPI support for RTC/CMOS device.
Feb 24 2019, 12:40 AM

Feb 15 2019

wulf committed rP493009: New port: comms/ath3k-firmware.
New port: comms/ath3k-firmware
Feb 15 2019, 9:31 PM
wulf committed rS344176: MFC r343327:.
MFC r343327:
Feb 15 2019, 8:52 PM
wulf committed rS344165: MFC r343163:.
MFC r343163:
Feb 15 2019, 8:46 PM
wulf committed rS344164: MFC r343163:.
MFC r343163:
Feb 15 2019, 8:45 PM
wulf added a comment to D18694: evdev: add sysctls with device info.

I hope you won't mind if I change sysctl name from "input_id" to "id" and disable exposure of optional properties like "uniq" and "phys" if they are not set. Just to be consistent with ioctl interface.

Feb 15 2019, 10:57 AM

Feb 10 2019

wulf accepted D18694: evdev: add sysctls with device info.

added missing EVDEV_UNLOCK

Feb 10 2019, 7:10 PM

Jan 22 2019

wulf committed rS343327: Add quirk to enable mic and headphones redirection on HP Spectre laptops..
Add quirk to enable mic and headphones redirection on HP Spectre laptops.
Jan 22 2019, 10:40 PM

Jan 21 2019

wulf added a comment to D18694: evdev: add sysctls with device info.

One thing I dislike in this patch is a native/cuse evdev handling inconsistency.
To handle native device creation one should listen for EVDEV devd events while to handle cuse devices CDEV devd events should be processed.
You can not just listen for CDEV devd events as there is a race window between cdev and sysctl creation.
I think this can be fixed with using of single sysctl node. See kern.geom.confxml or kern.geom.conftxt for example.

Jan 21 2019, 12:34 PM

Jan 18 2019

wulf committed rS343163: psm(4): detect Lenovo top-button clickpads.
psm(4): detect Lenovo top-button clickpads
Jan 18 2019, 10:20 PM
wulf closed D18676: psm: detect Lenovo top-button clickpads, set INPUT_PROP_TOPBUTTONPAD evdev property.
Jan 18 2019, 10:20 PM
wulf committed rS343160: MFC r340926:.
MFC r340926:
Jan 18 2019, 9:26 PM
wulf committed rS343159: MFC r340926:.
MFC r340926:
Jan 18 2019, 9:25 PM
wulf committed rS343158: MFC r340912,r340913:.
MFC r340912,r340913:
Jan 18 2019, 9:12 PM
wulf committed rS343157: MFC r340912,r340913:.
MFC r340912,r340913:
Jan 18 2019, 9:11 PM
wulf committed rS343155: MFC r340338:.
MFC r340338:
Jan 18 2019, 8:59 PM

Jan 9 2019

wulf added a comment to D18791: devel/libevdev, devel/libmtdev: advertise evdev-proto as API dependency.

linux/input.h is a list of magic numbers required at build time only. It should be kept in BUILD_DEPENDS IMO.

Jan 9 2019, 3:00 PM

Jan 6 2019

wulf added a comment to D18694: evdev: add sysctls with device info.

I am AFK for now and will be for ~2 weeks

Jan 6 2019, 12:03 AM

Dec 31 2018

wulf added a comment to D18694: evdev: add sysctls with device info.

Though I wouldn't say it's only a "deprecated" option — we're not going to require userspace uinput drivers to explicitly identify themselves..

Dec 31 2018, 3:50 PM
wulf requested changes to D18694: evdev: add sysctls with device info.

I am objecting to EvdevProbe()-derived part (device type autodetection). It is better to add a KPI to set device type directly rather then via execution of libmagic. We have about 10 evdev drivers in source tree so it's possible to update them all. EvdevProbe()-derived part could be used as (deprecated) fallback option in that case.

Dec 31 2018, 4:28 AM

Dec 30 2018

wulf accepted D18676: psm: detect Lenovo top-button clickpads, set INPUT_PROP_TOPBUTTONPAD evdev property.

I hope -1700 value is tested. It does not work for my "softbuttons bar at a bottom" laptop leaving softbutton area outside reportable region so I have to use -2200 to make it working. But "softbuttons bar at a top" touchpad should behave differently here.

Dec 30 2018, 2:57 PM

Dec 29 2018

wulf added a comment to D18676: psm: detect Lenovo top-button clickpads, set INPUT_PROP_TOPBUTTONPAD evdev property.

Please assign hw.psm.synaptics.softbuttons_y sysctl some negative value so /dev/psm0 users get benefits from this change too.

Dec 29 2018, 5:46 AM

Nov 25 2018

wulf committed rS340926: evdev: Fix pause key release event in AT keyboard set 1 to evdev xlat-or..
evdev: Fix pause key release event in AT keyboard set 1 to evdev xlat-or.
Nov 25 2018, 7:38 PM

Nov 24 2018

wulf committed rS340913: psm(4): Add minimal support for active AUX port multiplexers.
psm(4): Add minimal support for active AUX port multiplexers
Nov 24 2018, 9:25 PM
wulf committed rS340912: Revert r328640: Add kludge for 0x46 identity middle byte Synaptics touchpads..
Revert r328640: Add kludge for 0x46 identity middle byte Synaptics touchpads.
Nov 24 2018, 9:18 PM

Nov 17 2018

wulf committed rS340518: MFC r339823:.
MFC r339823:
Nov 17 2018, 8:18 PM

Nov 10 2018

wulf committed rS340338: wmt(4): Add PNP record so it could be picked by devd/devmatch..
wmt(4): Add PNP record so it could be picked by devd/devmatch.
Nov 10 2018, 10:14 PM
wulf closed D17689: wmt(4): Add PNP metadata.
Nov 10 2018, 10:14 PM

Nov 9 2018

wulf committed rS340305: MFC r337287:.
MFC r337287:
Nov 9 2018, 9:26 PM
wulf accepted D17912: Enable evdev driver and support in generic.

I am unaware of any current ill effects

Nov 9 2018, 7:04 PM

Oct 31 2018

wulf abandoned D15070: evdev - special lock-less mode for keyboard drivers.

D17687 committed as r339917 made remaining parts of this revision senseless.

Oct 31 2018, 6:50 PM

Oct 27 2018

wulf updated the diff for D15070: evdev - special lock-less mode for keyboard drivers.

Most important parts has been committed as r339823 and r339824. They fix evdev/KDB interaction with disabling dangerous codepaths.
This way raised some objections in the past which is addressed in remaining part of the review (true lockless mode). But, I dislike this part as It introduces some complications like polling callouts. That is why it has not been committed yet.
The further plan is to wait untill r339823/r339824 MFC and than abandon this revision if no new objections raised.

Oct 27 2018, 11:16 PM
wulf committed rS339824: evdev: disable evdev if it is invoked from KDB or panic context.
evdev: disable evdev if it is invoked from KDB or panic context
Oct 27 2018, 9:04 PM
wulf committed rS339823: evdev: Use console lock as evdev lock for all supported keyboard drivers..
evdev: Use console lock as evdev lock for all supported keyboard drivers.
Oct 27 2018, 8:23 PM

Oct 25 2018

wulf updated the diff for D17689: wmt(4): Add PNP metadata.

Skip HID descriptor reading if WMT_IGNORE quirk is enabled.

Oct 25 2018, 5:48 PM
wulf added a comment to D15070: evdev - special lock-less mode for keyboard drivers.

What is holding this from going in to the tree?

Oct 25 2018, 12:24 PM

Oct 24 2018

wulf added a comment to D16721: Touchscreen support for Touchscreens on amd64 and i386 platforms.

Hi!
Is it possible to split this revision into two parts? I'd like to see the EVDEV support go in, especially the option, since that can't be done runtime. The wmt device can be loaded at runtime and doesn't need to be in the kernel, I believe.

Oct 24 2018, 6:32 PM
wulf created D17689: wmt(4): Add PNP metadata.
Oct 24 2018, 6:27 PM
wulf added a comment to D15070: evdev - special lock-less mode for keyboard drivers.

What is holding this from going in to the tree?

Oct 24 2018, 6:06 PM

Sep 23 2018

wulf updated the diff for D15070: evdev - special lock-less mode for keyboard drivers.

Regenerate diff after r337720

Sep 23 2018, 8:55 AM

Sep 4 2018

wulf committed rS338458: wmt(4): Fix regression introduced in r337289.
wmt(4): Fix regression introduced in r337289
Sep 4 2018, 7:22 PM
wulf closed D16772: Fixing a broken touchscreen controller.
Sep 4 2018, 7:22 PM

Aug 29 2018

wulf added a comment to D16772: Fixing a broken touchscreen controller.

Hi Roberto,

Aug 29 2018, 10:01 PM

Aug 22 2018

wulf added a comment to D16772: Fixing a broken touchscreen controller.

Please, test this patch on top of unmodified wmt.c:

Aug 22 2018, 8:55 PM

Aug 21 2018

wulf added a comment to D16772: Fixing a broken touchscreen controller.

To make things easier I attached the patch that does p.3. and p.4.

Aug 21 2018, 4:24 PM

Aug 20 2018

wulf added a comment to D16721: Touchscreen support for Touchscreens on amd64 and i386 platforms.

So basically we only need device evdev and optinos EVDEV_SUPPORT in GENERIC?

Aug 20 2018, 3:57 PM
wulf added a comment to D16772: Fixing a broken touchscreen controller.

hid_report_size() should not be used unconditionally here as it calculates total size of all input reports rather than size of one given report. I guess that something wrong with HID descriptor

Aug 20 2018, 2:18 PM

Aug 13 2018

wulf committed rS337721: evdev: Remove evdev.ko linkage dependency on kbd driver.
evdev: Remove evdev.ko linkage dependency on kbd driver
Aug 13 2018, 7:05 PM
wulf committed rS337720: evdev: remove soft context from evdev methods parameter list..
evdev: remove soft context from evdev methods parameter list.
Aug 13 2018, 7:00 PM
wulf closed D16614: [evdev]: Minor KPI changes.
Aug 13 2018, 7:00 PM

Aug 7 2018

wulf updated the diff for D16614: [evdev]: Minor KPI changes.

Useless softc casts removed

Aug 7 2018, 11:35 PM
wulf added inline comments to D16614: [evdev]: Minor KPI changes.
Aug 7 2018, 8:02 PM
wulf updated the diff for D15070: evdev - special lock-less mode for keyboard drivers.

Workaround knlist_cleardel() 'Mutex owned' assertion that happens on 'lockless' device detach.
It is caused by devfs which calls evdev_dtor() with driver's lock (Giant) already taken.

Aug 7 2018, 7:46 PM
wulf updated the diff for D16614: [evdev]: Minor KPI changes.

#if 1 replaced with #if __FreeBSD_version >= 1200000

Aug 7 2018, 10:03 AM
wulf added inline comments to D16614: [evdev]: Minor KPI changes.
Aug 7 2018, 9:52 AM
wulf created D16614: [evdev]: Minor KPI changes.
Aug 7 2018, 9:38 AM

Aug 5 2018

wulf committed rS337348: uep(4): add evdev support.
uep(4): add evdev support
Aug 5 2018, 11:14 AM
wulf closed D11156: uep(4): add evdev support.
Aug 5 2018, 11:14 AM

Aug 4 2018

wulf committed rS337291: MFC r336577:.
MFC r336577:
Aug 4 2018, 12:45 PM
wulf committed rS337290: MFC r334555:.
MFC r334555:
Aug 4 2018, 12:41 PM
wulf committed rS337289: wmt(4): Use internal function to calculate input report size.
wmt(4): Use internal function to calculate input report size
Aug 4 2018, 12:31 PM
wulf committed rS337288: wmt(4): Read Microsoft's "Touch Hardware Quality Assurance" certificate blob.
wmt(4): Read Microsoft's "Touch Hardware Quality Assurance" certificate blob
Aug 4 2018, 12:29 PM
wulf committed rS337287: wmt(4): Read 'Contact count maximum' usage value from feature report.
wmt(4): Read 'Contact count maximum' usage value from feature report
Aug 4 2018, 12:24 PM

Jul 21 2018

wulf committed rS336577: Raise "Report Count" value limit in HID descriptor parser..
Raise "Report Count" value limit in HID descriptor parser.
Jul 21 2018, 2:20 PM
wulf closed D16357: Increase "Report Count" limit in HID descriptor parser.
Jul 21 2018, 2:20 PM
wulf added a comment to D16357: Increase "Report Count" limit in HID descriptor parser.

Maybe you should bump the __FreeBSD_version due to changing a structure size.

No need. hid_data is private structure

Jul 21 2018, 1:10 PM

Jul 19 2018

wulf created D16357: Increase "Report Count" limit in HID descriptor parser.
Jul 19 2018, 11:09 PM

Jun 10 2018

wulf committed rS334923: Drop MOUSE_GETVARS and MOUSE_SETVARS ioctls support..
Drop MOUSE_GETVARS and MOUSE_SETVARS ioctls support.
Jun 10 2018, 10:23 AM
wulf closed D15726: Drop MOUSE_GETVARS and MOUSE_SETVARS ioctls support..
Jun 10 2018, 10:23 AM

Jun 9 2018

wulf created D15726: Drop MOUSE_GETVARS and MOUSE_SETVARS ioctls support..
Jun 9 2018, 9:27 PM

Jun 3 2018

wulf committed rS334555: [evdev] Sync event codes with Linux kernel 4.16.
[evdev] Sync event codes with Linux kernel 4.16
Jun 3 2018, 10:53 AM

May 5 2018

wulf added a comment to D15070: evdev - special lock-less mode for keyboard drivers.

I continued to use the initial patch for a few days and got several similar panics (5 in total). The three panic strings I encountered are:

  • panic: mutex Giant owned at /mnt/home/dumbbell/Projects/freebsd/src/GIT/sys/kern/kern_event.c:2288
  • panic: sleepq_add: td 0xfffff8001875d560 to sleep on wchan 0xffffffff836e0fc0 with sleeping prohibited
  • panic: page fault

    The backtrace is always the same and is the one I shared earlier.

Unfortunately, it looks like backtrace of a panic in the kernel dumper. Actual panic precedes it

May 5 2018, 9:21 AM

May 1 2018

wulf committed rS333136: Fix bthidd build with GCC 4.2 after r333110.
Fix bthidd build with GCC 4.2 after r333110
May 1 2018, 8:03 AM

Apr 30 2018

wulf committed rS333113: bthidd(8): Add evdev protocol support for bluetooth keyboards and mouses.
bthidd(8): Add evdev protocol support for bluetooth keyboards and mouses
Apr 30 2018, 12:17 PM
wulf committed rS333112: bthidd(8): Add internal support for user-friendly name of remote devices..
bthidd(8): Add internal support for user-friendly name of remote devices.
Apr 30 2018, 10:49 AM
wulf committed rS333111: uinput: Add FreeBSD specific ioctl to set unique identifier of input device..
uinput: Add FreeBSD specific ioctl to set unique identifier of input device.
Apr 30 2018, 10:34 AM
wulf committed rS333110: bluetooth(3): Add helper functions that performs Bluetooth Remote Name Request.
bluetooth(3): Add helper functions that performs Bluetooth Remote Name Request
Apr 30 2018, 10:25 AM
wulf committed rS333109: libsdp: Add method that returns actual source BD_ADDR of SDP session..
libsdp: Add method that returns actual source BD_ADDR of SDP session.
Apr 30 2018, 10:16 AM
wulf closed D13456: bthidd: Add evdev protocol support.
Apr 30 2018, 10:16 AM

Apr 29 2018

wulf added a comment to D15070: evdev - special lock-less mode for keyboard drivers.

Sorry for bad wording. Could you start from p.1: revert only ukbd.c, kbdmux.c and atkbd.c. This should effectively revert all changes

Apr 29 2018, 3:19 PM
wulf added a comment to D15070: evdev - special lock-less mode for keyboard drivers.

However, I got two panics:

Apr 29 2018, 1:52 PM
wulf added a comment to D15070: evdev - special lock-less mode for keyboard drivers.

Do you have any advice to reproduce the deadlock when the patch is not applied?

Apr 29 2018, 11:23 AM
wulf updated the summary of D15070: evdev - special lock-less mode for keyboard drivers.
Apr 29 2018, 11:05 AM

Apr 21 2018

wulf added a comment to D13456: bthidd: Add evdev protocol support.

ping...

Apr 21 2018, 7:44 PM

Apr 15 2018

wulf created D15070: evdev - special lock-less mode for keyboard drivers.
Apr 15 2018, 12:56 AM

Mar 11 2018

wulf updated the diff for D13456: bthidd: Add evdev protocol support.

Apply manpage fixes by Warren Block

Mar 11 2018, 9:52 PM

Feb 18 2018

wulf committed rS329533: MFC r328864 (Synaptics part only):.
MFC r328864 (Synaptics part only):
Feb 18 2018, 10:12 PM
wulf committed rS329532: MFC r328864:.
MFC r328864:
Feb 18 2018, 10:05 PM

Feb 4 2018

wulf committed rS328864: psm(4): Fix panic occuring soon after PS/2 packet has been rejected by.
psm(4): Fix panic occuring soon after PS/2 packet has been rejected by
Feb 4 2018, 11:02 PM

Jan 31 2018

wulf committed rS328640: psm: Add a kludge to support 0x46 identity middle byte Synaptics touchpads.
psm: Add a kludge to support 0x46 identity middle byte Synaptics touchpads
Jan 31 2018, 10:18 PM