Page MenuHomeFreeBSD

wulf (Vladimir Kondratyev)
User

Projects

User Details

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

Recent Activity

Fri, Jul 11

wulf accepted D51236: acpi_gpiobus: don't print error message if _AEI object doesn't exist.
Fri, Jul 11, 8:56 AM

Sun, Jul 6

wulf accepted D51107: ichiic: Add PCI id for Arrow Lake..
Sun, Jul 6, 10:30 AM

Wed, Jul 2

wulf added a comment to D51107: ichiic: Add PCI id for Arrow Lake..

There are more ArrowLake I2C device ids: 7750 and 7751. At least in share/misc/pci_vendors

According to the Datasheet, I2C#4(7750),I2C#5(7751) only supports PIO mode, and I'm not sure the PIO mode only device will work or not.

https://edc.intel.com/content/www/us/en/design/products-and-solutions/processors-and-chipsets/core-ultra-200h-and-200u-series-processors-datasheet-volume-1-of-2/intel-serial-i-o-inter-integrated-circuit-i2c-controllers/

Wed, Jul 2, 8:33 AM

Tue, Jul 1

wulf added a comment to D51107: ichiic: Add PCI id for Arrow Lake..

There are more ArrowLake I2C device ids: 7750 and 7751. At least in share/misc/pci_vendors

Tue, Jul 1, 6:44 PM

Thu, Jun 26

wulf committed rGb93063c84e4e: psm(4): Add kqueue support (authored by wulf).
psm(4): Add kqueue support
Thu, Jun 26, 9:28 PM

Wed, Jun 25

wulf accepted D50871: gpiopps: don't use internal gpiobus function.

LGTM

Wed, Jun 25, 8:32 AM
wulf accepted D50872: gpio: hide internal gpiobus symbols.

LGTM

Wed, Jun 25, 8:23 AM

Sun, Jun 15

wulf accepted D50863: LinuxKPI: acpi: provide union [linuxkpi]_acpi_(object|buffer).

As number of object types we handle in LKPI does not exceed 10 it may counts as not a rewrite of ACPICA

Sun, Jun 15, 6:13 PM
wulf added a comment to D50863: LinuxKPI: acpi: provide union [linuxkpi]_acpi_(object|buffer).
In D50863#1161018, @imp wrote:
In D50863#1161016, @imp wrote:

Proper compat symbols will also make future ports easier

It is not about of proper symbols. It is about of adding of LKPI objects which differs only in character case in the name

Which is just as trivial to paper over with #defines so you don't have to change it next time which makes future ports faster since you don't have to detour around already solved trivial problems. When I've done it for other things in the tree, it's helped prevent death of a thousand cuts...

Sun, Jun 15, 6:01 PM
wulf added a comment to D50863: LinuxKPI: acpi: provide union [linuxkpi]_acpi_(object|buffer).
In D50863#1161016, @imp wrote:

Proper compat symbols will also make future ports easier

Sun, Jun 15, 5:50 PM
wulf added a comment to D50863: LinuxKPI: acpi: provide union [linuxkpi]_acpi_(object|buffer).
In D50863#1161012, @bz wrote:

General convention in at least drm-kmod is to not redefine ACPICA objects if it is possible. Porting of this code is mostly just a changing of symbol case and adding/removing of underscores. drm-kmod does not even guards these changes with #ifdefs

I picked a random file ( in v6.6 drivers/gpu/drm/radeon/radeon_acpi.c ) and it seems everything there got CamelCased without any #ifdefs. It's just an unnecessary diff to vendor and maintenance.

No idea how much of this was done in drm-kmod but I am not going to rewrite case in entire files because of this. I had not compiled files or #ifdef'ed out the entire logic. Not gong to fly anymore. Remove the #ifdefs from drm-kmod and reduce the diff to upstream and make maintenance easier by having one place to edit and not 117. That's what LinuxKPI is for.

Sun, Jun 15, 5:46 PM
wulf requested changes to D50863: LinuxKPI: acpi: provide union [linuxkpi]_acpi_(object|buffer).

General convention in at least drm-kmod is to not redefine ACPICA objects if it is possible. Porting of this code is mostly just a changing of symbol case and adding/removing of underscores. drm-kmod does even guards these changes with #ifdefs

Sun, Jun 15, 5:17 PM
wulf added a comment to D50853: linuxkpi: Add eventfd_*().

@dumbbell FYI. Take a look at https://github.com/lutzbichler/drm-kmod/tree/pr/6.15. It seems that lutzbichler has advanced to drm-kmod v6.15

Sun, Jun 15, 4:25 PM
wulf added inline comments to D50853: linuxkpi: Add eventfd_*().
Sun, Jun 15, 4:18 PM

Jun 14 2025

wulf added inline comments to D50853: linuxkpi: Add eventfd_*().
Jun 14 2025, 8:13 PM

Jun 9 2025

wulf added a comment to D50315: inotify: Initial revision.

Yep, I messed up and it was still using libinotify's libinotify.h. I've redone the test properly and found that the program starts behaving differently if linked to libinotify.

The test I'm running is

./inotify-test .
touch a
rm a

When not linked with libinotify, I get

a created in watched directory
a was opened
a opened for writing was closed
a delete from watched directory

When linked to libinotify, I only get

a created in watched directory
a deleted from watched directory

I don't think it is worth fixing, because this mess can only arise for 15-CURRENT users that do not recompile their ports after this change hits the tree.

Jun 9 2025, 1:00 PM

Jun 2 2025

wulf added a comment to D50315: inotify: Initial revision.

As I see, libinotify event values were just copied from Linux, so it may have sense to change system ones to make linuxolator support simpler

This is fine for most of the flags, I will change it. libinotify has this weird thing:

37 /* Flags for the parameter of inotify_init1. */                                                                                                                                                                                                                                                                           
38 #define IN_CLOEXEC      02000000        /* Linux x86 O_CLOEXEC */                                                                                                                                                                                                                                                         
39 #define IN_NONBLOCK     00004000        /* Linux x86 O_NONBLOCK */

Some applications will call inotify_init1(O_CLOEXEC) instead of specifying IN_CLOEXEC. In my inotify.h I just defined those flags to be equal, but to preserve compatibility with libinotify we have to support both values. I guess this is best handled in libc.

Jun 2 2025, 2:56 PM

May 31 2025

wulf added a comment to D50315: inotify: Initial revision.

As I see, libinotify event values were just copied from Linux, so it may have sense to change system ones to make linuxolator support simpler

May 31 2025, 9:41 AM
wulf added a comment to D50315: inotify: Initial revision.

Current ABI is not compatible. libinotify events have different values compared with system provided ones.
You must use libinotify header to link with libinotify or change system one to be ABI-compatible.

May 31 2025, 9:28 AM

May 30 2025

wulf accepted D50550: usb: Make ugen_fill_deviceinfo public.

LGTM

May 30 2025, 6:07 AM
wulf accepted D50549: hid.h: Add U2F usage tables constants.

LGTM

May 30 2025, 6:05 AM

May 28 2025

wulf added a comment to D50498: atkbd: fix first keystroke force reset.

@wulf Are you still have concern on the read_kbd_data? If not, I plan to create the patch for merging.

May 28 2025, 12:36 PM

May 23 2025

wulf added a comment to D50498: atkbd: fix first keystroke force reset.

Should we cache read_kbd_data() rather than reread it?

May 23 2025, 8:46 PM
wulf accepted D50498: atkbd: fix first keystroke force reset.
May 23 2025, 8:43 PM

May 19 2025

wulf added a comment to D50315: inotify: Initial revision.
May 19 2025, 2:17 PM

May 17 2025

wulf added a comment to D50315: inotify: Initial revision.

In test "Bugfix tests":

failed: receive IN_ATTRIB for bugst-workdir/1 on hardlink delete
failed: Not receive IN_DELETE_SELF for bugst-workdir/1 on hardlink delete

This one is tricky to fix, I need to think about it.

IIRC IN_DELETE_SELF is generated when the file link number goes from 1 to 0

May 17 2025, 7:25 PM

May 15 2025

wulf committed rG718273db61a5: rtlbtfw(8): Add Mercusys MA530 VID/PID for Realtek 8761BUV (authored by wulf).
rtlbtfw(8): Add Mercusys MA530 VID/PID for Realtek 8761BUV
May 15 2025, 6:19 PM
wulf committed rGd7837cac6f64: rtlbtfw(8): Fix incorrect chunk index overwrap in rtlbt_load_fwfile() (authored by wulf).
rtlbtfw(8): Fix incorrect chunk index overwrap in rtlbt_load_fwfile()
May 15 2025, 6:19 PM
wulf committed rG072e0b158004: iichid(4): Wait for RESET command response while attaching (authored by wulf).
iichid(4): Wait for RESET command response while attaching
May 15 2025, 6:18 PM
wulf committed rG7798b72a9000: iichid(4): Do not send packets read in interrupt handler to hidbus (authored by wulf).
iichid(4): Do not send packets read in interrupt handler to hidbus
May 15 2025, 6:18 PM
wulf committed rG3bd684f0aafe: iichid(4): Read wMaxInputLength bytes over I2C even if we discards data (authored by wulf).
iichid(4): Read wMaxInputLength bytes over I2C even if we discards data
May 15 2025, 6:18 PM
wulf committed rGc58c931e2004: ig4_iic: Allow sleeping if called from iichid interrupt handler. (authored by wulf).
ig4_iic: Allow sleeping if called from iichid interrupt handler.
May 15 2025, 6:18 PM

May 14 2025

wulf committed rG3e72d0b40040: rtlbtfw(8): Sync device VID/PID list with Linux 6.15-rc4 (authored by wulf).
rtlbtfw(8): Sync device VID/PID list with Linux 6.15-rc4
May 14 2025, 2:39 PM
wulf committed rGd4147ad1a2b9: Added identifiers for additional PS4 DualShock controller variants (authored by Kevin Reinholz <kreinholz@gmail.com>).
Added identifiers for additional PS4 DualShock controller variants
May 14 2025, 1:12 AM
wulf committed rGb87a926098b2: rtlbtfw(8): Add support for firmware file format V2 (authored by wulf).
rtlbtfw(8): Add support for firmware file format V2
May 14 2025, 1:12 AM
wulf closed D50082: rtlbtfw(8): Add support for firmware file format V2.
May 14 2025, 1:12 AM

Apr 30 2025

wulf updated the test plan for D50082: rtlbtfw(8): Add support for firmware file format V2.
Apr 30 2025, 10:30 AM
wulf updated the test plan for D50082: rtlbtfw(8): Add support for firmware file format V2.
Apr 30 2025, 8:57 AM
wulf updated the test plan for D50082: rtlbtfw(8): Add support for firmware file format V2.
Apr 30 2025, 8:56 AM
wulf added a reviewer for D50082: rtlbtfw(8): Add support for firmware file format V2: bz.
Apr 30 2025, 8:39 AM
wulf requested review of D50082: rtlbtfw(8): Add support for firmware file format V2.
Apr 30 2025, 8:38 AM
wulf committed rG2c23fc90e566: hidraw(4): Force switch to hidraw mode on HIDIOCGRDESC ioctl (authored by wulf).
hidraw(4): Force switch to hidraw mode on HIDIOCGRDESC ioctl
Apr 30 2025, 7:50 AM
wulf committed rG3f1d9d334350: ng_ubt: add UPDATING note about firmware downloading on Realtek adaptors (authored by wulf).
ng_ubt: add UPDATING note about firmware downloading on Realtek adaptors
Apr 30 2025, 7:50 AM
wulf committed rG2880e12cc902: hidraw(4): Return length of written data from HIDIOCS* ioctls (authored by wulf).
hidraw(4): Return length of written data from HIDIOCS* ioctls
Apr 30 2025, 7:50 AM
wulf committed rGd04cc28f9759: hidraw(4): Return actual length of read data from HIDIOCG* ioctls (authored by wulf).
hidraw(4): Return actual length of read data from HIDIOCG* ioctls
Apr 30 2025, 7:50 AM
wulf committed rG6d2885d50e80: ig4(4): Add Intel ACPI HID (authored by dmitryluhtionov_gmail.com).
ig4(4): Add Intel ACPI HID
Apr 30 2025, 7:50 AM
wulf committed rG7545c8c116b1: hidraw(4): Add additional hidraw input/output report ioctls (authored by wulf).
hidraw(4): Add additional hidraw input/output report ioctls
Apr 30 2025, 7:50 AM
wulf committed rGa55479cbfb62: acpi_asus_wmi(4): Handle TUF-specific hotkeys internally (authored by wulf).
acpi_asus_wmi(4): Handle TUF-specific hotkeys internally
Apr 30 2025, 7:50 AM
wulf committed rGf530b1236274: acpi_asus_wmi(4): Add support for WMI event queue (authored by wulf).
acpi_asus_wmi(4): Add support for WMI event queue
Apr 30 2025, 7:50 AM
wulf committed rG9b5f1a6cd682: acpi_asus_wmi(4): Improve keyboard backlight support. (authored by wulf).
acpi_asus_wmi(4): Improve keyboard backlight support.
Apr 30 2025, 7:49 AM
wulf committed rG6616f35456d1: acpi_asus_wmi(4): Add EVDEV support (authored by wulf).
acpi_asus_wmi(4): Add EVDEV support
Apr 30 2025, 7:49 AM

Apr 29 2025

wulf added a comment to D50066: rtlbtfw: add v2 header support.

Some laptops powers radio module even they are switched off. You may try to reinsert wireless card or discharge battery.

Apr 29 2025, 8:35 PM
wulf committed rGa4fcbac5d891: rtlbtfw(8): Fix incorrect chunk index overwrap in rtlbt_load_fwfile() (authored by wulf).
rtlbtfw(8): Fix incorrect chunk index overwrap in rtlbt_load_fwfile()
Apr 29 2025, 8:30 PM
wulf committed rG7a7ab347fc65: rtlbtfw(8): Add Mercusys MA530 VID/PID for Realtek 8761BUV (authored by wulf).
rtlbtfw(8): Add Mercusys MA530 VID/PID for Realtek 8761BUV
Apr 29 2025, 8:30 PM
wulf added a comment to D50066: rtlbtfw: add v2 header support.
  1. You have 1 patch for v2 header so I can abandon this patch?
Apr 29 2025, 2:13 PM
wulf added a comment to D50066: rtlbtfw: add v2 header support.

It broke bt adaptor for me at first early version run too due to bug in rtlbt_load_fwfile() which is fixed in my version now

Apr 29 2025, 11:00 AM
wulf added a comment to D50066: rtlbtfw: add v2 header support.

I am about to commit V2 firmware support. It worked for me with at least one 8852CE adaptor. just test it.

Apr 29 2025, 10:55 AM

Apr 28 2025

wulf committed rG2abdb305bd0c: iichid(4): Do not send packets read in interrupt handler to hidbus (authored by wulf).
iichid(4): Do not send packets read in interrupt handler to hidbus
Apr 28 2025, 9:40 PM
wulf committed rG2580205db0e3: ng_ubt: add UPDATING note about firmware downloading on Realtek adaptors (authored by wulf).
ng_ubt: add UPDATING note about firmware downloading on Realtek adaptors
Apr 28 2025, 9:40 PM
wulf accepted D49879: ig4(4): Add several PCI IDs for Intel Jasper Lake controllers.

LGTM
Please add 2 more I2C device:

4dc5  Jasper Lake Serial IO I2C Host Controller #4
4dc6  Jasper Lake Serial IO I2C Host Controller #5
Apr 28 2025, 11:23 AM

Apr 27 2025

wulf committed rGfe4bdd889b5d: hidraw(4): Force switch to hidraw mode on HIDIOCGRDESC ioctl (authored by wulf).
hidraw(4): Force switch to hidraw mode on HIDIOCGRDESC ioctl
Apr 27 2025, 9:09 AM
wulf committed rG8d4d08d571c6: hidraw(4): Return actual length of read data from HIDIOCG* ioctls (authored by wulf).
hidraw(4): Return actual length of read data from HIDIOCG* ioctls
Apr 27 2025, 9:09 AM
wulf committed rGfd6690e2d5cd: hidraw(4): Add additional hidraw input/output report ioctls (authored by wulf).
hidraw(4): Add additional hidraw input/output report ioctls
Apr 27 2025, 9:09 AM
wulf committed rG5ea0f1e63dbd: hidraw(4): Return length of written data from HIDIOCS* ioctls (authored by wulf).
hidraw(4): Return length of written data from HIDIOCS* ioctls
Apr 27 2025, 9:09 AM

Apr 13 2025

wulf added inline comments to D49810: linuxkpi: Move `release_pages()` to linux_page.c .
Apr 13 2025, 2:48 PM

Mar 17 2025

wulf committed rG027b93c2f5e1: acpi_asus_wmi(4): Handle TUF-specific hotkeys internally (authored by wulf).
acpi_asus_wmi(4): Handle TUF-specific hotkeys internally
Mar 17 2025, 3:47 PM
wulf committed rGd5bf6a7245cc: acpi_asus_wmi(4): Add support for WMI event queue (authored by wulf).
acpi_asus_wmi(4): Add support for WMI event queue
Mar 17 2025, 3:47 PM
wulf committed rGf134662a1a57: acpi_asus_wmi(4): Improve keyboard backlight support. (authored by wulf).
acpi_asus_wmi(4): Improve keyboard backlight support.
Mar 17 2025, 3:47 PM
wulf closed D48985: acpi_asus_wmi(4): Handle TUF-specific hotkeys internally.
Mar 17 2025, 3:47 PM
wulf closed D48984: acpi_asus_wmi(4): Add support for WMI event queue.
Mar 17 2025, 3:47 PM
wulf closed D48983: acpi_asus_wmi(4): Improve keyboard backlight support..
Mar 17 2025, 3:47 PM
wulf committed rG5e41194bfcc5: acpi_asus_wmi(4): Add EVDEV support (authored by wulf).
acpi_asus_wmi(4): Add EVDEV support
Mar 17 2025, 3:47 PM
wulf closed D48982: acpi_asus_wmi(4): Add EVDEV support.
Mar 17 2025, 3:47 PM

Mar 9 2025

wulf committed rGf05f6d93732e: acpi_gpiobus: assume GPIO_PIN_INPUT for interrupt pins (authored by vexeduxr).
acpi_gpiobus: assume GPIO_PIN_INPUT for interrupt pins
Mar 9 2025, 8:45 PM
wulf committed rGe7d1f208fde8: gpioaei: Add support for ACPI _EVT method (authored by wulf).
gpioaei: Add support for ACPI _EVT method
Mar 9 2025, 8:45 PM

Mar 7 2025

wulf committed rG8b04f07eda12: sysmouse(4): Add wsp(4)-style T-Axis reporting. (authored by Joshua Rogers <Joshua@Joshua.Hu>).
sysmouse(4): Add wsp(4)-style T-Axis reporting.
Mar 7 2025, 5:56 PM
wulf committed rG25cefe826504: wsp: Change Nm to Va in manpage. (authored by Joshua Rogers <Joshua@Joshua.Hu>).
wsp: Change Nm to Va in manpage.
Mar 7 2025, 5:56 PM
wulf committed rGe381dabcc580: wsp: Rename max_finger_area sysctl to max_finger_diameter (authored by Joshua Rogers <Joshua@Joshua.Hu>).
wsp: Rename max_finger_area sysctl to max_finger_diameter
Mar 7 2025, 5:56 PM
wulf committed rGa79397d13228: wsp: Handle horizontal scrolling and create tunable for swipe/scroll. (authored by Joshua Rogers <Joshua@Joshua.Hu>).
wsp: Handle horizontal scrolling and create tunable for swipe/scroll.
Mar 7 2025, 5:56 PM
wulf committed rGb7269d89e5c3: wsp: Fix whitespaces (authored by Joshua Rogers <Joshua@Joshua.Hu>).
wsp: Fix whitespaces
Mar 7 2025, 5:56 PM
wulf committed rG02fb6b1162d9: wsp: Fix typo in function name. (authored by Joshua Rogers <Joshua@Joshua.Hu>).
wsp: Fix typo in function name.
Mar 7 2025, 5:56 PM
wulf committed rGd452a029953e: wsp: Add hw.usb.wsp.max_scroll_finger_distance for two-finger scrolling (authored by Joshua Rogers <Joshua@Joshua.Hu>).
wsp: Add hw.usb.wsp.max_scroll_finger_distance for two-finger scrolling
Mar 7 2025, 5:56 PM
wulf committed rG8ceca72751bf: wsp: Raise the default scr_hor_threshold sysctl. (authored by Joshua Rogers <Joshua@Joshua.Hu>).
wsp: Raise the default scr_hor_threshold sysctl.
Mar 7 2025, 5:56 PM
wulf committed rG6aab381a498f: acpi_gpiobus: assume GPIO_PIN_INPUT for interrupt pins (authored by vexeduxr).
acpi_gpiobus: assume GPIO_PIN_INPUT for interrupt pins
Mar 7 2025, 4:01 PM
wulf committed rGadc2c156acb5: gpioaei: Add support for ACPI _EVT method (authored by wulf).
gpioaei: Add support for ACPI _EVT method
Mar 7 2025, 4:01 PM
wulf committed rGdaa098cc37b9: iichid(4): Wait for RESET command response while attaching (authored by wulf).
iichid(4): Wait for RESET command response while attaching
Mar 7 2025, 6:28 AM
wulf committed rG548d3aa856a9: iichid(4): Read wMaxInputLength bytes over I2C even if we discards data (authored by wulf).
iichid(4): Read wMaxInputLength bytes over I2C even if we discards data
Mar 7 2025, 6:28 AM
wulf committed rGc7225a3ede3c: ig4_iic: Allow sleeping if called from iichid interrupt handler. (authored by wulf).
ig4_iic: Allow sleeping if called from iichid interrupt handler.
Mar 7 2025, 6:28 AM
wulf closed D48958: iichid(4): Wait for RESET command response while attaching.
Mar 7 2025, 6:28 AM
wulf closed D48957: iichid(4): Read wMaxInputLength bytes over I2C even if we discards data.
Mar 7 2025, 6:28 AM
wulf closed D48956: ig4_iic: Allow sleeping if called from iichid interrupt handler..
Mar 7 2025, 6:28 AM

Mar 1 2025

wulf committed rG666f8246c392: iwmbtfw(8): fix getopt flags, unify usage()/manual page contents (authored by rea).
iwmbtfw(8): fix getopt flags, unify usage()/manual page contents
Mar 1 2025, 9:40 AM
wulf committed rGf2591781f354: iwmbtfw(8): don't program hardware without existing firmware image (authored by rea).
iwmbtfw(8): don't program hardware without existing firmware image
Mar 1 2025, 9:40 AM
wulf committed rG3d5e49294142: Refactor iwmbtfw: modularize and de-constify (authored by rea).
Refactor iwmbtfw: modularize and de-constify
Mar 1 2025, 9:40 AM
wulf committed rGd3f637b744e2: Refactor iwmbtfw: set default firmware_dir after argument parsing (authored by rea).
Refactor iwmbtfw: set default firmware_dir after argument parsing
Mar 1 2025, 9:40 AM

Feb 17 2025

wulf added a comment to D48985: acpi_asus_wmi(4): Handle TUF-specific hotkeys internally.

I was not able to read nor RGB mode nor Thermal policy from BIOS

Feb 17 2025, 9:55 AM
wulf added inline comments to D48983: acpi_asus_wmi(4): Improve keyboard backlight support..
Feb 17 2025, 8:30 AM
wulf added a comment to D48983: acpi_asus_wmi(4): Improve keyboard backlight support..
In D48983#1117257, @mav wrote:

I have no objections, but I wonder whether maximum of 3 vs 7 might be model-specific?

Feb 17 2025, 8:29 AM
wulf updated the diff for D48983: acpi_asus_wmi(4): Improve keyboard backlight support..

Fix manpage and braces

Feb 17 2025, 8:24 AM
wulf added inline comments to D49002: snd_hda(4): Add quirks for Lenovo ThinkBooks and ASUS TUFs.
Feb 17 2025, 8:04 AM