No description
Find a file
Jason E. Hale f4bd2eeb66 comms/usbmuxd: Workaround devd(8) race condition
When connecting an Apple device via USB, the device connects, usbmuxd is
started, then for reasons yet unknown, the device instantly disconnects,
and reconnects.

From dmesg when plugging in, for example:
ugen0.5: <Apple Inc. iPhone> at usbus0
<usbmuxd starts here>
ugen0.5: <Apple Inc. iPhone> at usbus0 (disconnected)
ugen0.5: <Apple Inc. iPhone> at usbus0

Due to the disconnect, the instance of usbmuxd that is spawned when the
device is first attached is subsequently killed by the unexplained
detach because the cdce(4) devices have not yet been created, but not
before the second instance of usbmuxd is started by the reattach. The
second instance automatically exits because two instances cannot run
simultaneously. The first instance then exits leaving no running
instances.

Adding a short sleep after the first instance is called to shutdown
gives it enough time to completely exit before the second instance is
spawned. Unfortunately, only one device is supported at a time until
I can figure out why the hotplugging isn't working.

While here, cleanup whitespace.

PR:		280014
Reported by:	<fabio.comolli@gmail.com>
2024-07-12 02:24:35 -04:00
.hooks
accessibility all: Bump after lang/go121 update 2024-07-03 08:29:54 +00:00
arabic editors/libreoffice: update to 24.2.4 release (+) 2024-06-14 20:20:29 +03:00
archivers archivers/amigadepacker: Update WWW 2024-07-10 09:28:44 +02:00
astro astro/google-earth-pro: New port, version 7.3.6 2024-07-08 12:35:59 +02:00
audio audio/surge-synthesizer-xt-lv2: update 1.0.1 → 1.3.2 2024-07-10 19:20:40 -07:00
benchmarks benchmarks/p5-Dumbbench: Update to 0.504 2024-07-11 03:33:07 +08:00
biology biology/gatk: update 4.5.0.0 → 4.6.0.0 2024-07-11 20:51:21 -07:00
cad cad/symbiyosys: update 0.42 → 0.43 2024-07-10 09:00:57 -07:00
chinese chinese/libime-jyutping: Update to 1.0.12 2024-07-04 04:31:16 +08:00
comms comms/usbmuxd: Workaround devd(8) race condition 2024-07-12 02:24:35 -04:00
converters */*: Bump PORTREVISION on *-sbcl ports after lang/sbcl upgrade. 2024-07-11 08:02:02 +02:00
databases databases/p5-DBIx-Class-ResultSet-RecursiveUpdate: Update to 0.44 2024-07-11 19:41:31 +08:00
deskutils deskutils/nanonote: update to 1.4.1 2024-07-11 22:19:13 +02:00
devel devel/py-grpcio-tools: udpate to 1.65.0. 2024-07-12 12:46:12 +08:00
dns net/nmsg: Bump PORTREVSION of dependent ports 2024-07-11 20:18:15 -07:00
editors editors/novelwriter: update 2.4.4 → 2.5 2024-07-11 20:51:23 -07:00
emulators emulators/snes9x-gtk: Update to 1.63 2024-07-11 10:33:47 -04:00
finance finance/ord: update 0.18.5 → 0.19.0 2024-07-10 09:00:55 -07:00
french editors/libreoffice: update to 24.2.4 release (+) 2024-06-14 20:20:29 +03:00
ftp ftp/weex: Update to 2.8.4.3 2024-07-12 08:01:42 +02:00
games textproc/py-docutils: Update to 0.21.2 2024-07-11 09:04:42 +00:00
german german/mythes: Update to 2024.06.30 2024-07-07 00:11:26 +08:00
graphics */*: bump PORTREVISION after mupdf update 2024-07-12 07:40:00 +02:00
hebrew editors/libreoffice: update to 24.2.4 release (+) 2024-06-14 20:20:29 +03:00
hungarian editors/libreoffice: update to 24.2.4 release (+) 2024-06-14 20:20:29 +03:00
irc irc/ergo: update 2.13.1 → 2.14.0 2024-07-09 03:08:39 -07:00
japanese Chase major version update of editors/emacs-devel 2024-07-04 18:31:24 -03:00
java all: drop support for FreeBSD 13.2 which reached EOL today 2024-07-01 22:27:23 +02:00
Keywords
korean korean/fcitx5-hangul: Update to 5.1.4 2024-07-04 04:31:36 +08:00
lang lang/neocmakelsp: update 0.7.6 → 0.7.8 2024-07-11 20:51:23 -07:00
mail mail/py-dkimpy: Update to 1.1.8 2024-07-11 13:25:18 +00:00
math math/fend: update 1.4.9 → 1.5.0 2024-07-11 20:51:22 -07:00
misc misc/llama-cpp: update 3358 → 3369 2024-07-11 20:51:21 -07:00
Mk Mk/Uses: go.mk can not load a go.mod from other locations 2024-07-11 16:36:42 +03:00
multimedia multimedia/ab-av1: update to 0.7.16 2024-07-11 13:08:28 +02:00
net net/shadowsocks-rust: update 1.20.1 → 1.20.2 2024-07-11 20:51:21 -07:00
net-im net-im/signal-desktop: Update to 7.15.0 2024-07-09 15:27:55 +02:00
net-mgmt net-mgmt/promxy: Add new port 2024-07-11 15:29:12 +02:00
net-p2p net-p2p/prowlarr: Upgrade from 1.19.0.4568 to 1.20.1.4603 2024-07-10 11:43:10 +02:00
news news/nzbget: Update to 24.1 2024-07-11 13:48:33 +00:00
polish polish/hunspell: Update to 20240701 2024-07-07 00:11:27 +08:00
ports-mgmt ports-mgmt/poudriere-devel: Update to 3.3.0-1762-g4702d1e498 2024-07-09 10:39:24 -07:00
portuguese editors/libreoffice: update to 24.2.4 release (+) 2024-06-14 20:20:29 +03:00
print */*: bump PORTREVISION after mupdf update 2024-07-12 07:40:00 +02:00
russian */*: Bump PORTREVISION. editors/lazarus was updated to 3.4.0 2024-06-16 03:26:35 -05:00
science science/{,py-}dimod: update 0.12.15 → 0.12.16 2024-07-10 19:20:43 -07:00
security security/dirmngr: Mark BROKEN 2024-07-11 12:48:40 -04:00
shells shells/carapace: update to 1.0.4 2024-07-11 16:06:58 +09:00
sysutils sysutils/walk: update to 1.10.0 2024-07-12 07:58:32 +02:00
Templates Framework: Finalize switch to share/man for manpages 2024-04-11 21:51:09 +03:00
textproc textproc/jql: update 7.1.12 → 7.1.13 2024-07-11 20:51:22 -07:00
Tools
ukrainian editors/libreoffice: update to 24.2.4 release (+) 2024-06-14 20:20:29 +03:00
vietnamese editors/libreoffice: update to 24.2.4 release (+) 2024-06-14 20:20:29 +03:00
www www/py-wagtail: Update to 6.1.3 2024-07-12 04:22:47 +08:00
x11 x11/xterm: Update to 393 2024-07-12 08:01:42 +02:00
x11-clocks */*: Remove GNU_CONFIGURE_MANPREFIX after move man pages to share/man 2024-04-14 10:41:16 +01:00
x11-drivers x11-drivers/xorgxrdp: Update to 0.10.1 (latest stable version) 2024-07-04 16:02:32 +09:00
x11-fm x11-fm/deforaos-browser: update to 0.6.0 2024-07-09 13:13:43 -03:00
x11-fonts x11-fonts/py-cu2qu: Add NO_ARCH 2024-07-10 12:59:41 +08:00
x11-servers x11-servers/xwayland-devel: update to 21.0.99.1.1134 2024-07-11 02:50:47 +02:00
x11-themes KDE: KDE Plasma 6.1.2, Bugfix Release for July 2024-07-06 07:15:39 +02:00
x11-toolkits x11-toolkits/imgui: update 1.90.8 → 1.90.9 2024-07-11 20:51:23 -07:00
x11-wm x11-wm/sway-devel: update to 1.9.165 2024-07-11 02:50:37 +02:00
.arcconfig
.gitignore
.mailmap
CHANGES CHANGES: Fix typos 2024-04-08 22:43:33 +02:00
CONTRIBUTING.md
COPYRIGHT
GIDs net-mgmt/promxy: Add new port 2024-07-11 15:29:12 +02:00
Makefile
MOVED devel/py-pyyaml5: Remove obsoleted port 2024-07-07 16:11:26 +08:00
README
UIDs net-mgmt/promxy: Add new port 2024-07-11 15:29:12 +02:00
UPDATING sysutils/bacula*-{client,server}: fix rc script names 2024-07-05 14:36:51 +00:00

This is the FreeBSD Ports Collection.  For an easy to use
WEB-based interface to it, please see:

	https://www.FreeBSD.org/ports

For general information on the Ports Collection, please see the
FreeBSD Handbook ports section which is available from:

	https://docs.freebsd.org/en/books/handbook/ports/
		for the latest official version
	or:
	The ports(7) manual page (man ports).

These will explain how to use ports and packages.

If you would like to search for a port, you can do so easily by
saying (in /usr/ports):

	make search name="<name>"
	or:
	make search key="<keyword>"

which will generate a list of all ports matching <name> or <keyword>.
make search also supports wildcards, such as:

	make search name="gtk*"

For information about contributing to FreeBSD ports, please see the Porter's
Handbook, available at:

	https://docs.freebsd.org/en/books/porters-handbook/

NOTE:  This tree will GROW significantly in size during normal usage!
The distribution tar files can and do accumulate in /usr/ports/distfiles,
and the individual ports will also use up lots of space in their work
subdirectories unless you remember to "make clean" after you're done
building a given port.  /usr/ports/distfiles can also be periodically
cleaned without ill-effect.