diff options
Diffstat (limited to 'comms')
30 files changed, 125 insertions, 158 deletions
diff --git a/comms/Makefile b/comms/Makefile index 44cd5cd60702..ca0cef090c7a 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -59,10 +59,10 @@ SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf - SUBDIR += hackrf-devel SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hidapi + SUBDIR += hydrasdr SUBDIR += ibp SUBDIR += iceoryx SUBDIR += inspectrum diff --git a/comms/gnuradio/Makefile b/comms/gnuradio/Makefile index 416803ac86b8..670bfadebcd1 100644 --- a/comms/gnuradio/Makefile +++ b/comms/gnuradio/Makefile @@ -1,7 +1,7 @@ PORTNAME= gnuradio DISTVERSIONPREFIX= v DISTVERSION= 3.10.12.0 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= comms astro hamradio MAINTAINER= hamradio@FreeBSD.org diff --git a/comms/hackrf-devel/Makefile b/comms/hackrf-devel/Makefile deleted file mode 100644 index 53a9812c4b49..000000000000 --- a/comms/hackrf-devel/Makefile +++ /dev/null @@ -1,33 +0,0 @@ -PORTNAME= hackrf -PORTVERSION= g${GIT_SRC_DATE} -PORTREVISION= 1 -CATEGORIES= comms devel hamradio science security -PKGNAMESUFFIX= -devel - -MAINTAINER= mr@freebsd.org -COMMENT= Low cost open source hardware software radio platform -WWW= https://greatscottgadgets.com/hackrf/ - -LICENSE= GPLv2 - -DEPRECATED= Legacy version, consider migrating to comms/hackrf -EXPIRATION_DATE=2025-07-31 - -LIB_DEPENDS= libfftw3.so:math/fftw3 \ - libfftw3f.so:math/fftw3-float - -CONFLICTS= hackrf - -USE_GITHUB= YES -GH_ACCOUNT= mossmann -GH_TAGNAME= ${GIT_SRC_HASH} - -USES= cmake -CMAKE_SOURCE_PATH= ${WRKSRC}/host -CMAKE_ARGS= -DLIBUSB_LIBRARIES=/usr/lib/libusb.so - -USE_LDCONFIG= yes - -.include "Makefile.git_rev" - -.include <bsd.port.mk> diff --git a/comms/hackrf-devel/Makefile.git_rev b/comms/hackrf-devel/Makefile.git_rev deleted file mode 100644 index c6d13ec86626..000000000000 --- a/comms/hackrf-devel/Makefile.git_rev +++ /dev/null @@ -1,2 +0,0 @@ -GIT_SRC_HASH= ee44d2d62e2dd24648599172f90fc8fc2e3b3cc3 -GIT_SRC_DATE= 2021.01.24 diff --git a/comms/hackrf-devel/distinfo b/comms/hackrf-devel/distinfo deleted file mode 100644 index 93420ec37dcd..000000000000 --- a/comms/hackrf-devel/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1611498095 -SHA256 (mossmann-hackrf-g2021.01.24-ee44d2d62e2dd24648599172f90fc8fc2e3b3cc3_GH0.tar.gz) = d558885810aaa6ed087239d49c8160446887fccb0b8e14a06d80851eef0f2fc0 -SIZE (mossmann-hackrf-g2021.01.24-ee44d2d62e2dd24648599172f90fc8fc2e3b3cc3_GH0.tar.gz) = 15208743 diff --git a/comms/hackrf-devel/files/newVersion.sh b/comms/hackrf-devel/files/newVersion.sh deleted file mode 100644 index f5fda28da77b..000000000000 --- a/comms/hackrf-devel/files/newVersion.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -CURDIR=`pwd` -WRKDIR=`pwd`/work -#mkdir -p "${WRKDIR}" - -if [ \! -d "${CURDIR}/kicad-repo" ]; then - git clone https://github.com/mossmann/hackrf.git -b master "${CURDIR}/hackrf-repo"; -else - cd "${CURDIR}/hackrf-repo" - git pull https://github.com/mossmann/hackrf.git; -fi - -cd "${CURDIR}/hackrf-repo" -GIT_SRC_HASH=`git log -n 1 --pretty=format:"%H"`; -GIT_SRC_DATE=`git log -n 1 --date=iso-local -n 1 --pretty=format:"%cd" | \ - cut -c '1-10' | sed -e 's,-,.,g' ` - -echo "$GIT_SRC_HASH, $GIT_SRC_DATE" -echo "GIT_SRC_HASH= ${GIT_SRC_HASH}" > ${CURDIR}/Makefile.git_rev -echo "GIT_SRC_DATE= ${GIT_SRC_DATE}" >> ${CURDIR}/Makefile.git_rev - diff --git a/comms/hackrf-devel/files/patch-host_hackrf-tools_CMakeLists.txt b/comms/hackrf-devel/files/patch-host_hackrf-tools_CMakeLists.txt deleted file mode 100644 index 74a62fe9f785..000000000000 --- a/comms/hackrf-devel/files/patch-host_hackrf-tools_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- host/hackrf-tools/CMakeLists.txt.orig 2020-10-13 21:46:30 UTC -+++ host/hackrf-tools/CMakeLists.txt -@@ -33,7 +33,7 @@ include_directories(getopt) - add_definitions(/D _CRT_SECURE_NO_WARNINGS) - else() - add_definitions(-Wall) --set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") -+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - endif() - - if(NOT libhackrf_SOURCE_DIR) diff --git a/comms/hackrf-devel/files/patch-host_libhackrf_CMakeLists.txt b/comms/hackrf-devel/files/patch-host_libhackrf_CMakeLists.txt deleted file mode 100644 index e5e5e4b3d782..000000000000 --- a/comms/hackrf-devel/files/patch-host_libhackrf_CMakeLists.txt +++ /dev/null @@ -1,11 +0,0 @@ ---- host/libhackrf/CMakeLists.txt.orig 2020-10-13 21:46:30 UTC -+++ host/libhackrf/CMakeLists.txt -@@ -37,7 +37,7 @@ if(MSVC) - set(THREADS_USE_PTHREADS_WIN32 true) - else() - add_definitions(-Wall) -- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") -+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") - - INCLUDE(TestBigEndian) - TEST_BIG_ENDIAN(BIGENDIAN) diff --git a/comms/hackrf-devel/pkg-descr b/comms/hackrf-devel/pkg-descr deleted file mode 100644 index 7e8bf1f695b5..000000000000 --- a/comms/hackrf-devel/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -HackRF One from Great Scott Gadgets is a Software Defined Radio peripheral -capable of transmission or reception of radio signals from 10 MHz to 6 GHz. -Designed to enable test and development of modern and next generation radio -technologies, HackRF One is an open source hardware platform that can -be used as a USB peripheral or programmed for stand-alone operation. diff --git a/comms/hackrf-devel/pkg-plist b/comms/hackrf-devel/pkg-plist deleted file mode 100644 index 8ac0dbe8b73b..000000000000 --- a/comms/hackrf-devel/pkg-plist +++ /dev/null @@ -1,14 +0,0 @@ -bin/hackrf_clock -bin/hackrf_cpldjtag -bin/hackrf_debug -bin/hackrf_info -bin/hackrf_operacake -bin/hackrf_spiflash -bin/hackrf_sweep -bin/hackrf_transfer -include/libhackrf/hackrf.h -lib/libhackrf.a -lib/libhackrf.so -lib/libhackrf.so.0 -lib/libhackrf.so.0.5.0 -libdata/pkgconfig/libhackrf.pc diff --git a/comms/hydrasdr/Makefile b/comms/hydrasdr/Makefile new file mode 100644 index 000000000000..56e29c080a83 --- /dev/null +++ b/comms/hydrasdr/Makefile @@ -0,0 +1,28 @@ +PORTNAME= hydrasdr +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.2 +CATEGORIES= comms hamradio + +MAINTAINER= unitrunker@gmail.com +COMMENT= HydraSDR RFONE's host library and associated tools +WWW= https://hydrasdr.com/ + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/hydrasdr-tools/LICENSE.md + +USES= cmake pkgconfig +USE_GITHUB= yes +GH_PROJECT= rfone_host +USE_LDCONFIG= yes + +CMAKE_OFF= INSTALL_UDEV_RULES +CMAKE_ARGS= -DLIBUSB_LIBRARIES="/usr/lib/libusb.so" \ + -DLIBUSB_INCLUDE_DIR="/usr/include" +OPTIONS_DEFINE_amd64= SIMD +OPTIONS_DEFINE_i386= SIMD +OPTIONS_DEFAULT_amd64= SIMD +OPTIONS_DEFAULT_i386= SIMD + +SIMD_CFLAGS= -DFREEBSD_USE_SIMD -msse -msse2 -mfpmath=sse -mmmx + +.include <bsd.port.mk> diff --git a/comms/hydrasdr/distinfo b/comms/hydrasdr/distinfo new file mode 100644 index 000000000000..80c529e2c654 --- /dev/null +++ b/comms/hydrasdr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1753631782 +SHA256 (hydrasdr-rfone_host-v1.0.2_GH0.tar.gz) = 4d5d47bd5f34479073b50229e95be606d6236714c048af97ed356ab090f158ac +SIZE (hydrasdr-rfone_host-v1.0.2_GH0.tar.gz) = 270469 diff --git a/comms/hydrasdr/files/patch-libhydrasdr_CMakeLists.txt b/comms/hydrasdr/files/patch-libhydrasdr_CMakeLists.txt new file mode 100644 index 000000000000..609c02a6a7c4 --- /dev/null +++ b/comms/hydrasdr/files/patch-libhydrasdr_CMakeLists.txt @@ -0,0 +1,22 @@ +--- libhydrasdr/CMakeLists.txt.orig 2025-07-17 22:22:04 UTC ++++ libhydrasdr/CMakeLists.txt +@@ -108,11 +108,18 @@ CONFIGURE_FILE( + ${CMAKE_CURRENT_BINARY_DIR}/libhydrasdr.pc + @ONLY) + ++STRING(COMPARE EQUAL ${BSD} "FreeBSD" FREEBSD) ++if (FREEBSD) + INSTALL( + FILES ${CMAKE_CURRENT_BINARY_DIR}/libhydrasdr.pc ++ DESTINATION libdata${LIB_SUFFIX}/pkgconfig ++) ++else() ++INSTALL( ++ FILES ${CMAKE_CURRENT_BINARY_DIR}/libhydrasdr.pc + DESTINATION lib${LIB_SUFFIX}/pkgconfig + ) +- ++endif() + ######################################################################## + # Create uninstall target + ######################################################################## diff --git a/comms/hydrasdr/pkg-descr b/comms/hydrasdr/pkg-descr new file mode 100644 index 000000000000..e965ee7c72ad --- /dev/null +++ b/comms/hydrasdr/pkg-descr @@ -0,0 +1,2 @@ +Host software for HydraSDR RFONE, a tiny, efficient and ultra evolutive +software defined radio. diff --git a/comms/hydrasdr/pkg-plist b/comms/hydrasdr/pkg-plist new file mode 100644 index 000000000000..684527fd20c7 --- /dev/null +++ b/comms/hydrasdr/pkg-plist @@ -0,0 +1,21 @@ +bin/hydrasdr_calibrate +bin/hydrasdr_gpio +bin/hydrasdr_gpiodir +bin/hydrasdr_info +bin/hydrasdr_lib_version +bin/hydrasdr_r82x +bin/hydrasdr_reset +bin/hydrasdr_rx +bin/hydrasdr_set_rf_port +bin/hydrasdr_si5351c +bin/hydrasdr_spiflash +include/libhydrasdr/filters.h +include/libhydrasdr/hydrasdr.h +include/libhydrasdr/hydrasdr_commands.h +include/libhydrasdr/iqconverter_float.h +include/libhydrasdr/iqconverter_int16.h +lib/libhydrasdr.a +lib/libhydrasdr.so +lib/libhydrasdr.so.0 +lib/libhydrasdr.so.1.0.2 +libdata/pkgconfig/libhydrasdr.pc diff --git a/comms/libimobiledevice-glue/Makefile b/comms/libimobiledevice-glue/Makefile index 8801e524f466..826a4fdba3a3 100644 --- a/comms/libimobiledevice-glue/Makefile +++ b/comms/libimobiledevice-glue/Makefile @@ -1,5 +1,5 @@ PORTNAME= libimobiledevice-glue -PORTVERSION= 1.3.1 +PORTVERSION= 1.3.2 CATEGORIES= comms MASTER_SITES= https://github.com/libimobiledevice/${PORTNAME}/releases/download/${PORTVERSION}/ diff --git a/comms/libimobiledevice-glue/distinfo b/comms/libimobiledevice-glue/distinfo index 916b80fc062d..38c2cf8b3067 100644 --- a/comms/libimobiledevice-glue/distinfo +++ b/comms/libimobiledevice-glue/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1735634662 -SHA256 (libimobiledevice-glue-1.3.1.tar.bz2) = 6e2849f221e6ab970566a115d42f3c20f8848e4d40c2ed61ac20dc85f40fa54f -SIZE (libimobiledevice-glue-1.3.1.tar.bz2) = 339881 +TIMESTAMP = 1751592250 +SHA256 (libimobiledevice-glue-1.3.2.tar.bz2) = 6489a3411b874ecd81c87815d863603f518b264a976319725e0ed59935546774 +SIZE (libimobiledevice-glue-1.3.2.tar.bz2) = 338101 diff --git a/comms/libimobiledevice-glue/pkg-plist b/comms/libimobiledevice-glue/pkg-plist index 698cfd32ab04..d32dcc2caa00 100644 --- a/comms/libimobiledevice-glue/pkg-plist +++ b/comms/libimobiledevice-glue/pkg-plist @@ -12,5 +12,5 @@ include/libimobiledevice-glue/utils.h lib/libimobiledevice-glue-1.0.a lib/libimobiledevice-glue-1.0.so lib/libimobiledevice-glue-1.0.so.0 -lib/libimobiledevice-glue-1.0.so.0.3.1 +lib/libimobiledevice-glue-1.0.so.0.3.2 libdata/pkgconfig/libimobiledevice-glue-1.0.pc diff --git a/comms/libimobiledevice/Makefile b/comms/libimobiledevice/Makefile index 7f1179f7d085..acfa4759a88c 100644 --- a/comms/libimobiledevice/Makefile +++ b/comms/libimobiledevice/Makefile @@ -1,7 +1,7 @@ PORTNAME= libimobiledevice -DISTVERSION= 1.3.0-241 +DISTVERSION= 1.3.0-300 PORTREVISION?= 0 -DISTVERSIONSUFFIX= -g2a0a6d5 +DISTVERSIONSUFFIX= -gcb34a17 CATEGORIES?= comms #MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/${DISTVERSION}/ @@ -12,7 +12,8 @@ WWW= https://www.libimobiledevice.org LICENSE= LGPL21+ LICENSE_FILE= ${WRKSRC}/COPYING.LESSER -USES+= autoreconf cpe libtool localbase:ldflags pkgconfig ssl +USES+= autoreconf cpe libtool localbase:ldflags pkgconfig \ + readline ssl USE_GITHUB= yes GNU_CONFIGURE= yes diff --git a/comms/libimobiledevice/distinfo b/comms/libimobiledevice/distinfo index 6c8b853e7d26..8ec9aee3f8a7 100644 --- a/comms/libimobiledevice/distinfo +++ b/comms/libimobiledevice/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720418798 -SHA256 (libimobiledevice-libimobiledevice-1.3.0-241-g2a0a6d5_GH0.tar.gz) = 75e7c7b778b0b377f961b2bc642f6b30fc2e7f73221153c6a94de7e2bffc4dcf -SIZE (libimobiledevice-libimobiledevice-1.3.0-241-g2a0a6d5_GH0.tar.gz) = 411083 +TIMESTAMP = 1751600582 +SHA256 (libimobiledevice-libimobiledevice-1.3.0-300-gcb34a17_GH0.tar.gz) = a3bd75332a403855e46458606fb8bccc166e54c4755c7481bb5ddae275394069 +SIZE (libimobiledevice-libimobiledevice-1.3.0-300-gcb34a17_GH0.tar.gz) = 420171 diff --git a/comms/libimobiledevice/files/patch-cython b/comms/libimobiledevice/files/patch-cython deleted file mode 100644 index e4a19f7e4d8f..000000000000 --- a/comms/libimobiledevice/files/patch-cython +++ /dev/null @@ -1,19 +0,0 @@ -Obtained from: https://github.com/libimobiledevice/libimobiledevice/commit/0bf0f9e941c85d06ce4b5909d7a61b3a4f2a6a05 - ---- cython/debugserver.pxi.orig 2024-07-01 16:27:27 UTC -+++ cython/debugserver.pxi -@@ -43,13 +43,7 @@ cdef class DebugServerError(BaseError): - BaseError.__init__(self, *args, **kwargs) - - --# from http://stackoverflow.com/a/17511714 --# https://github.com/libimobiledevice/libimobiledevice/pull/198 --from cpython cimport PY_MAJOR_VERSION --if PY_MAJOR_VERSION <= 2: -- from cpython.string cimport PyString_AsString --else: -- from cpython.bytes cimport PyBytes_AsString as PyString_AsString -+from cpython.bytes cimport PyBytes_AsString as PyString_AsString - cdef char ** to_cstring_array(list_str): - if not list_str: - return NULL diff --git a/comms/libimobiledevice/pkg-plist b/comms/libimobiledevice/pkg-plist index 361b606c2223..5d80ce566f8f 100644 --- a/comms/libimobiledevice/pkg-plist +++ b/comms/libimobiledevice/pkg-plist @@ -36,6 +36,7 @@ include/libimobiledevice/mobilebackup.h include/libimobiledevice/mobilebackup2.h include/libimobiledevice/mobilesync.h include/libimobiledevice/notification_proxy.h +include/libimobiledevice/ostrace.h include/libimobiledevice/preboard.h include/libimobiledevice/property_list_service.h include/libimobiledevice/restore.h diff --git a/comms/libusbmuxd/Makefile b/comms/libusbmuxd/Makefile index 59a0c6e5ee74..9d589f2621d2 100644 --- a/comms/libusbmuxd/Makefile +++ b/comms/libusbmuxd/Makefile @@ -1,5 +1,5 @@ PORTNAME= libusbmuxd -PORTVERSION= 2.1.0 +PORTVERSION= 2.1.1 CATEGORIES= comms MASTER_SITES= https://github.com/libimobiledevice/${PORTNAME}/releases/download/${PORTVERSION}/ diff --git a/comms/libusbmuxd/distinfo b/comms/libusbmuxd/distinfo index f93e5af5579a..0168b55c85f0 100644 --- a/comms/libusbmuxd/distinfo +++ b/comms/libusbmuxd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1713935966 -SHA256 (libusbmuxd-2.1.0.tar.bz2) = c35bf68f8e248434957bd5b234c389b02206a06ecd9303a7fb931ed7a5636b16 -SIZE (libusbmuxd-2.1.0.tar.bz2) = 325055 +TIMESTAMP = 1751592169 +SHA256 (libusbmuxd-2.1.1.tar.bz2) = 5546f1aba1c3d1812c2b47d976312d00547d1044b84b6a461323c621f396efce +SIZE (libusbmuxd-2.1.1.tar.bz2) = 325055 diff --git a/comms/libusbmuxd/pkg-plist b/comms/libusbmuxd/pkg-plist index 4e7eb6e63478..fa75a90beae2 100644 --- a/comms/libusbmuxd/pkg-plist +++ b/comms/libusbmuxd/pkg-plist @@ -5,7 +5,7 @@ include/usbmuxd.h lib/libusbmuxd-2.0.a lib/libusbmuxd-2.0.so lib/libusbmuxd-2.0.so.7 -lib/libusbmuxd-2.0.so.7.0.0 +lib/libusbmuxd-2.0.so.7.0.1 libdata/pkgconfig/libusbmuxd-2.0.pc share/man/man1/inetcat.1.gz share/man/man1/iproxy.1.gz diff --git a/comms/usbmuxd/Makefile b/comms/usbmuxd/Makefile index 2abcb6960e76..320987cae542 100644 --- a/comms/usbmuxd/Makefile +++ b/comms/usbmuxd/Makefile @@ -1,7 +1,6 @@ PORTNAME= usbmuxd -DISTVERSION= 1.1.1-58 -PORTREVISION= 1 -DISTVERSIONSUFFIX= -gbc0b91c +DISTVERSION= 1.1.1-69 +DISTVERSIONSUFFIX= -g523f700 CATEGORIES= comms #MASTER_SITES= https://github.com/libimobiledevice/${PORTNAME}/releases/download/${DISTVERSION}/ diff --git a/comms/usbmuxd/distinfo b/comms/usbmuxd/distinfo index 532706a3035e..b9c10b331399 100644 --- a/comms/usbmuxd/distinfo +++ b/comms/usbmuxd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720421685 -SHA256 (libimobiledevice-usbmuxd-1.1.1-58-gbc0b91c_GH0.tar.gz) = 2a88c8a27ba43cf00e9aed5b09791a5ce651758a87dc802954c73b0690ddacab -SIZE (libimobiledevice-usbmuxd-1.1.1-58-gbc0b91c_GH0.tar.gz) = 65593 +TIMESTAMP = 1751596899 +SHA256 (libimobiledevice-usbmuxd-1.1.1-69-g523f700_GH0.tar.gz) = 1f04ae56c26c34f3ee7c36617dedc3d444c078c3d0f87b600b97e8526ff224ec +SIZE (libimobiledevice-usbmuxd-1.1.1-69-g523f700_GH0.tar.gz) = 65623 diff --git a/comms/usbmuxd/files/patch-configure.ac b/comms/usbmuxd/files/patch-configure.ac index 40c76ce88439..6a870ed7697e 100644 --- a/comms/usbmuxd/files/patch-configure.ac +++ b/comms/usbmuxd/files/patch-configure.ac @@ -1,19 +1,9 @@ -Remove bash-ism from configure script. Disable udev/systemd detection for *BSD as the catch-all assumes a Linux system. A configuration file for devd(8) is provided by this port instead. ---- configure.ac.orig 2020-06-09 02:57:16 UTC +--- configure.ac.orig 2025-02-01 20:07:39 UTC +++ configure.ac -@@ -36,7 +36,7 @@ if test "x$have_limd" = "xyes"; then - AC_SUBST(libimobiledevice_CFLAGS) - AC_SUBST(libimobiledevice_LIBS) - CACHED_CFLAGS="$CFLAGS" -- CFLAGS+=" $libimobiledevice_CFLAGS" -+ CFLAGS="$CFLAGS $libimobiledevice_CFLAGS" - AC_CACHE_CHECK(for enum idevice_connection_type, ac_cv_enum_idevice_connection_type, - AC_TRY_COMPILE([ - #include <libimobiledevice/libimobiledevice.h> -@@ -125,7 +125,7 @@ case ${host_os} in +@@ -126,7 +126,7 @@ case ${host_os} in AC_SUBST(WINDRES) activation_method="manual" ;; diff --git a/comms/usbmuxd/files/patch-src_usb.c b/comms/usbmuxd/files/patch-src_usb.c new file mode 100644 index 000000000000..3f27871966e8 --- /dev/null +++ b/comms/usbmuxd/files/patch-src_usb.c @@ -0,0 +1,20 @@ +The LIBUSB_SPEED_SUPER_PLUS emum was added in libusb 1.0.24 (December +10, 2020). Support for the LIBUSB_SPEED_SUPER_PLUS enum was much more +recently added to our implementation in [1]. + +[1] https://cgit.freebsd.org/src/commit/?id=f938c0a90313125a9518307e80ca92d4c71f7745 + +--- src/usb.c.orig 2025-02-01 20:07:39 UTC ++++ src/usb.c +@@ -625,9 +625,11 @@ static void device_complete_initialization(struct mode + case LIBUSB_SPEED_SUPER: + usbdev->speed = 5000000000; + break; ++#if defined(__FreeBSD__) && __FreeBSD_version >= 1500044 + case LIBUSB_SPEED_SUPER_PLUS: + usbdev->speed = 10000000000; + break; ++#endif + case LIBUSB_SPEED_HIGH: + case LIBUSB_SPEED_UNKNOWN: + default: diff --git a/comms/usbmuxd/files/usbmuxd.conf.in b/comms/usbmuxd/files/usbmuxd.conf.in index 62b79de65440..18a7a8a11b54 100644 --- a/comms/usbmuxd/files/usbmuxd.conf.in +++ b/comms/usbmuxd/files/usbmuxd.conf.in @@ -10,7 +10,7 @@ notify 100 { match "subsystem" "DEVICE"; match "type" "ATTACH"; match "vendor" "0x05ac"; - match "product" "(0x12[9a][0-9a-f]|0x8600)"; + match "product" "(0x12[9a][0-9a-f]|0x190[1-5]|0x8600)"; action "chgrp %%GROUPS%% /dev/$cdev; chmod g+rw /dev/$cdev"; action "%%PREFIX%%/sbin/usbmuxd -U %%USERS%% -z"; }; @@ -20,7 +20,7 @@ notify 100 { match "subsystem" "DEVICE"; match "type" "DETACH"; match "vendor" "0x05ac"; - match "product" "(0x12[9a][0-9a-f]|0x8600)"; + match "product" "(0x12[9a][0-9a-f]|0x190[1-5]|0x8600)"; action "%%PREFIX%%/sbin/usbmuxd -x"; action "sleep 5"; }; |