Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb: increase USB_PORT_RESET_RECOVERY #1327

Merged
merged 26 commits into from
Sep 6, 2024
Merged

Commits on Sep 6, 2024

  1. kvprintf(): Fix '+' conversion handling

    For example, printf("%+i", 1) prints "+1".  However, kvprintf() did
    print just "1" for this example.  According to PRINTF(3):
    
      A sign must always be placed before a number produced by a signed
      conversion.
    
    For "%+r" radix conversions, keep the "+" handling as it is, since this
    is a non-standard conversion.  For "%+p" pointer conversions, continue
    to ignore the sign modifier to be in line with libc.
    
    This change allows to support the ' conversion modifier in the future.
    
    Reviewed by: imp
    Pull Request: freebsd#1310
    sebhub authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    07d90ee View commit details
    Browse the repository at this point in the history
  2. usb: increase USB_PORT_RESET_RECOVERY

    10ms seems to be too strict for some configurations, so increase to
    20ms.
    
    Reviewed by: imp
    Pull Request: freebsd#1327
    VexedUXR authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    e152944 View commit details
    Browse the repository at this point in the history
  3. du: Add version information to libxo output

    Add version information to libxo output so that
    libxo content consumers can track changes.
    
    Reviewed by: imp, markj
    Pull Request: freebsd#1350
    bramton authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    71978fa View commit details
    Browse the repository at this point in the history
  4. lastlogin: Add version information to libxo output

    Add version information to libxo output so that
    libxo content consumers can track changes.
    
    Reviewed by: imp, markj
    Pull Request: freebsd#1350
    bramton authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    a0d6f89 View commit details
    Browse the repository at this point in the history
  5. iscsictl: Add version information to libxo output

    Add version information to libxo output so that
    libxo content consumers can track changes.
    
    Reviewed by: imp, markj
    Pull Request: freebsd#1350
    bramton authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    31ac880 View commit details
    Browse the repository at this point in the history
  6. w: Add version information to libxo output

    Add version information to libxo output so that
    libxo content consumers can track changes.
    
    Reviewed by: imp, markj
    Pull Request: freebsd#1350
    bramton authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    5321a35 View commit details
    Browse the repository at this point in the history
  7. wc: Add version information to libxo output

    Add version information to libxo output so that
    libxo content consumers can track changes.
    
    Reviewed by: imp, markj
    Pull Request: freebsd#1350
    bramton authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    6e6da53 View commit details
    Browse the repository at this point in the history
  8. netstat: Add version information to libxo output

    Add version information to libxo output so that
    libxo content consumers can track changes.
    
    Reviewed by: imp, markj
    Pull Request: freebsd#1350
    bramton authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    5c4f64b View commit details
    Browse the repository at this point in the history
  9. adduser.8: update log location + spdx

    Closes:		280538
    Fixes:		cf8a18 (back out logging to /var/log/adduser)
    MFC after:	3 days
    Reported by:	Herbert Baerschneider <[email protected]>
    
    Reviewed by: imp
    Pull Request: freebsd#1354
    concussious authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    1f882a5 View commit details
    Browse the repository at this point in the history
  10. amd64: move the right parenthesis to the right place

    Reviewed by: imp, emaste
    Pull Request: freebsd#1356
    wy-chung authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    5d889e6 View commit details
    Browse the repository at this point in the history
  11. wsp: Allow the trackpad to be used after a partially unreleased click.

    This provides functionality for a click which is partially unreleased
    and then allows the user to continue moving the mousepad as if were not
    invoked as a full click
    
    Signed-off-by: Joshua Rogers <[email protected]>
    Reviewed by: imp, wulf
    Pull Request: freebsd#1365
    MegaManSec authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    7b984d5 View commit details
    Browse the repository at this point in the history
  12. wsp: Improve multi-finger touchpad usage and allow more configurations

    This patch allows scrolling with multiple fingers simultaneously, in
    line with how wsp trackpads function on MacOS.
    
    Two new tunables are added: hw.usb.wsp.max_finger_area and
    hw.usb.wsp.max_double_tap_distance.
    
    max_finger_area defines the maximum size which the driver registered an
    object on trackpad as a finger.
    Previously, this value was hardcoded as 1200, which was too low to
    register thumb-clicks.
    
    max_double_tap_distance defines the maximum distance between two
    fingers which will register as a double-click.
    
    Signed-off-by: Joshua Rogers <[email protected]>
    Reviewed by: imp, wulf
    Pull Request: freebsd#1365
    MegaManSec authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    62cf43d View commit details
    Browse the repository at this point in the history
  13. wsp: Use already-calculated distance of fingers for comparison.

    Also correctly use tun.max_double_tap_distance for maximum distance
    of fingers for vertical scrolling.
    
    Signed-off-by: Joshua Rogers <[email protected]>
    Reviewed by: imp, wulf
    Pull Request: freebsd#1365
    MegaManSec authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    8aef1cd View commit details
    Browse the repository at this point in the history
  14. ntptime: Use time_t for tv_sec related variables

    The struct timespec tv_sec member is of type time_t.  Make sure that all
    variables related to this member are of the type time_t.  This is important for
    targets where long is a 32-bit type and time_t a 64-bit type.
    
    Reviewed by: imp
    Pull Request: freebsd#1373
    sebhub authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    66145c3 View commit details
    Browse the repository at this point in the history
  15. ip6addrctl.8: Reference RFC 6724 instead

    Commit e695500 updated the policy table
    to match RFC 6724, which obsoletes RFC 3484.
    
    Add a reference to RFC 6724, and mark it up as a technical report (%R).
    
    MFC after:	3 days
    Signed-off-by:	Jose Luis Duran <[email protected]>
    
    Reviewed by: imp, glebius
    Pull Request: freebsd#1375
    jlduran authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    3272054 View commit details
    Browse the repository at this point in the history
  16. ip6addrctl: Update the sample configuration file

    Update the sample ip6addrctl.conf.sample file to match the default
    policy, currently based on RFC 6724.
    
    MFC after:	3 days
    Signed-off-by:	Jose Luis Duran <[email protected]>
    
    Reviewed by: imp, glebius
    Pull Request: freebsd#1375
    jlduran authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    6bfbfc8 View commit details
    Browse the repository at this point in the history
  17. getaddrinfo.{1,3}: Cross-reference ip6addrctl(8)

    Reviewed by: imp, glebius
    Pull Request: freebsd#1375
    jlduran authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    9cb98ab View commit details
    Browse the repository at this point in the history
  18. cross-build: fix fake_sysctl/tzsetup

    The error was always returned, even after handling the sysctl, breaking
    installworld under Linux.
    
    Sponsored by:		https://www.patreon.com/valpackett
    
    Reviewed by: imp
    Pull Request: freebsd#1376
    valpackett authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    7b9c9f8 View commit details
    Browse the repository at this point in the history
  19. diskless.8: show in apropos pxe + tag SPDX

    MFC after:	3 days
    
    Reviewed by: imp
    Pull Request: freebsd#1378
    concussious authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    7e3b6b2 View commit details
    Browse the repository at this point in the history
  20. growfs.8: align and alphabetize options

    MFC after:	3 days
    
    Reviewed by: imp
    Pull Request: freebsd#1379
    concussious authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    0d8effb View commit details
    Browse the repository at this point in the history
  21. geom.8: minor cleanup (markup, spdx, gsched)

    Fixes:		86c06f (Remove GEOM_SCHED class and gsched)
    MFC after:	3 days
    
    Reviewed by: imp
    Pull Request: freebsd#1380
    concussious authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    a5770eb View commit details
    Browse the repository at this point in the history
  22. UPDATING: increase visibility of footnotes

    MFC after:	3 days
    
    Reviewed by: imp
    Pull Request: freebsd#1382
    concussious authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    fe830c3 View commit details
    Browse the repository at this point in the history
  23. ure.4: description consistencies + tag spdx

    + consistent document description languague with other USB-BaseT drivers
    + mention newly added adapters from 6ea4d9
    + attempt to mention rgephy(4) phys feed into ure interfaces
    
    Fixes:		6ea4d9 (Move RTL8156 from cdce(4) to ure(4))
    MFC after:	3 days
    
    Reviewed by: imp
    Pull Request: freebsd#1384
    concussious authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    4c72525 View commit details
    Browse the repository at this point in the history
  24. Fix "version introduced" in two manual pages

    Signed-off-by: Tom Hukins <[email protected]>
    Reviewed by: imp
    Pull Request: freebsd#1385
    tomhukins authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    5e6bef4 View commit details
    Browse the repository at this point in the history
  25. libefivar: Fix AcpiEx print logic

    Add logic that checks if the code doesn't overflow
    ACPI_EXTENDED_HID_DEVICE_PATH node when searching for optional
    strings. If the string is not provided in the device path node
    default value of "\0" is used.
    
    Upstream PR:	https://bugzilla.tianocore.org/show_bug.cgi?id=4555
    Obtained from:	tianocore/edk2@96ed60d
    
    Reviewed by: imp
    Pull Request: freebsd#1388
    jlduran authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    3f0efe0 View commit details
    Browse the repository at this point in the history
  26. dummynet: fix pie

    Since 26b9e1f codel was fixed but traffic was not flowing for
    pie too. Apply the same fix.
    
    MFC after:	1 week
    Sponsored by:	OPNsense
    Differential Revision:	https://reviews.freebsd.org/D46182
    Also see:	https://redmine.pfsense.org/issues/13996
    Also see:	https://forum.opnsense.org/index.php?topic=41827.0
    Reviewed by: imp, markj
    Pull Request: freebsd#1390
    fichtner authored and bsdimp committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    2b7f289 View commit details
    Browse the repository at this point in the history