1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/comms
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
..
acfax
airspy
airspyhf
aldo comms/aldo: Moved man to share/man 2024-02-22 15:02:10 +01:00
amtterm
anyremote comms/anyremote: Move man pages to share/man 2024-03-03 10:04:08 +00:00
apitran
aprsd
atslog databases/p5-DBD-mysql: Fix for MariaDB users 2024-04-07 11:36:13 +02:00
bfhist
bforce-kst
birda comms/birda: Move man pages to share/man 2024-03-18 11:25:38 +01:00
bladerf
bluegps
bluez-firmware
bpl+
chirp comms/chirp: update to 20240311 2024-03-15 16:41:08 -04:00
chu comms/chu: Moved man to share/man 2024-02-22 15:02:11 +01:00
concordance comms/concordance: Moved man to share/man 2024-02-22 15:02:12 +01:00
conserver-com comms/conserver-com: Drop USES=autoreconf 2024-04-14 13:03:19 +01:00
cqrlog comms/cqrlog: Fix build with new version of freepascal (3.2.3) 2024-06-17 21:46:51 -05:00
cubicsdr
cutecom
cwdaemon comms/cwdaemon: Moved man to share/man 2024-02-24 20:25:24 +01:00
cwstudio comms/cwstudio: Moved man to share/man 2024-02-22 15:02:13 +01:00
cyclonedds
dcf77pi comms/dcf77pi: fix build 2024-02-26 21:37:47 +01:00
deforaos-phone
dfu-programmer
dfu-util
digiham
direwolf comms/direwolf: Update version 1.6=>1.7 2024-02-24 20:25:24 +01:00
dsd
dump1090
ebook2cw comms/ebook2cw: Moved man to share/man 2024-02-22 15:02:14 +01:00
ebusd
echolinux
ems-flasher
fl_moxgen
flamp comms/flamp: update 2.2.12 → 2.2.13 2024-07-10 09:00:57 -07:00
flcluster
fldigi comms/fldigi: Update to 4.2.05 2024-04-23 13:54:53 -04:00
fllog
flmsg
flrig
flwrap
freedv
gammu comms/gammu: moved manpages to share/man 2024-02-26 18:54:37 +01:00
gkermit comms/gkermit: Moved man to share/man 2024-02-22 15:02:16 +01:00
gnocky
gnokii comms/gnokii: Move man pages to share/man. 2024-03-02 00:38:38 +01:00
gnuradio devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml 2024-07-07 16:05:33 +08:00
gpredict comms/gpredict: Moved man to share/man 2024-02-22 15:02:17 +01:00
gqrx security/libsodium: update to 1.0.19, bump dependent ports 2024-05-20 10:33:03 +00:00
gr-osmosdr security/libsodium: update to 1.0.19, bump dependent ports 2024-05-20 10:33:03 +00:00
grig comms/grig: Moved man to share/man 2024-02-22 15:02:18 +01:00
gstreamer1-plugins-spandsp
gtkmmorse comms/gtkmmorse: Moved man to share/man 2024-02-22 15:02:19 +01:00
hackrf comms/hackrf: update 2021.03.1 -> 2024.02.1 2024-02-24 19:22:01 +01:00
hackrf-devel
hamlib
hcidump comms/hcidump: Move man pages to share/man 2024-03-16 14:35:47 +00:00
hidapi
ibp
iceoryx
inspectrum
iwmbt-firmware comms/iwmbt-firmware: Update to 20230625 2024-06-08 13:43:05 +03:00
java-simple-serial-connector
kermit
klog comms/klog: Update to 2.3.4 2024-03-04 12:27:45 +01:00
libconcord
libdc comms/libdc: Move man pages to share/man 2024-03-03 10:04:09 +00:00
libfap
libfec
libimobiledevice comms/*libimobiledevice: Update to latest git commit 2024-07-10 21:45:32 -04:00
libimobiledevice-glue comms/libimobiledevice-glue: New port 2024-07-10 21:45:31 -04:00
libirman
libmodbus
librs232
libsdr
libsdr-gui
libticables2
libticalcs2
libusbmuxd comms/libusbmuxd: Update to 2.1.0 2024-07-10 21:45:31 -04:00
limesuite cleanup: remove occurrences of WITH_DEBUG 2024-04-12 08:04:05 +02:00
linrad
liquid-dsp comms/liquid-dsp: fix build on powerpc* 2024-06-20 07:18:31 +02:00
lirc comms/lirc: Moved man to share/man 2024-02-22 15:02:20 +01:00
locator
lrzsz
lysdr
mbelib
mgetty+sendfax comms/mgetty+sendfax: Move man pages to share/man 2024-03-03 10:04:09 +00:00
minicom comms/minicom: Moved man to share/man 2024-02-22 15:02:21 +01:00
morse
multimon-ng
nanovna-saver
nasawash
nec2c
nmealib
obexapp comms/obexapp: Move man page to share/man 2024-03-30 18:59:44 +09:00
opencbm comms/opencbm*: Move manpages to share/man 2024-03-18 16:19:34 +03:00
opencbm-kmod comms/opencbm*: Move manpages to share/man 2024-03-18 16:19:34 +03:00
opencbm-plugin-xa1541
openobex
openzwave
owfs comms/owfs: Moved man to share/man 2024-02-22 15:02:22 +01:00
p5-Cisco-UCS
p5-Device-Gsm
p5-Device-Modem
p5-Device-SerialPort
p5-Fax-Hylafax-Client
p5-Nexmo-SMS
p5-SMS-Send
p5-SMS-Send-DeviceGsm
p5-SMS-Send-NexmoUnicode
p5-SMS-Send-TW-chtsns
p5-SMS-Send-TW-emome
p5-SMS-Send-TW-HiAir
p5-SMS-Send-TW-PChome
p5-SMS-Send-TW-Socket2Air
p5-SMS-SMS77
pear-Horde_ActiveSync
pear-Horde_SyncMl
picocom
pr
predict comms/predict: update to 2.3.1 2024-04-04 16:30:18 -04:00
py-adafruit-ampy
py-elelabs-zigbee-ezsp-utility
py-esptool devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml 2024-07-07 16:05:33 +08:00
py-fritzconnection
py-hid comms/py-hid: Add libhidapi.so to library_paths 2024-04-11 17:55:47 +02:00
py-hidapi comms/py-hidapi: Convert to USE_PYTHON=pytest 2024-03-09 23:21:12 +08:00
py-libimobiledevice comms/*libimobiledevice: Update to latest git commit 2024-07-10 21:45:32 -04:00
py-libscrc
py-pymodbus
py-pyserial
py-pyserial-asyncio
py-streamdeck comms/py-streamdeck: New port: Python library to control the Elgato Stream Deck 2024-04-20 23:07:19 +01:00
py-xmodem
pyla
qico comms/qico: Moved man to share/man 2024-02-22 19:19:20 +01:00
qpage
qrq comms/qrq: Moved man to share/man 2024-02-22 19:19:21 +01:00
qsstv
qt5-connectivity Qt5: Update to 5.15.14 2024-05-30 10:20:40 -04:00
qt5-sensors Qt5: Update to 5.15.14 2024-05-30 10:20:40 -04:00
qt5-serialbus Qt5: Update to 5.15.14 2024-05-30 10:20:40 -04:00
qt5-serialport Qt5: Update to 5.15.14 2024-05-30 10:20:40 -04:00
qt6-connectivity Qt6: Update to 6.7.2 2024-06-20 18:44:32 -04:00
qt6-sensors Qt6: Update to 6.7.2 2024-06-20 18:44:32 -04:00
qt6-serialbus Qt6: Update to 6.7.2 2024-06-20 18:44:32 -04:00
qt6-serialport Qt6: Update to 6.7.2 2024-06-20 18:44:32 -04:00
qtel
quisk
redsea comms/redsea: Update version 0.20=>0.21 2024-03-02 14:53:25 +01:00
remserial
rtl-433
rtl-sdr comms/rtl-sdr: Update to 2.0.2 2024-05-06 16:34:54 +02:00
rubygem-callsign
rubygem-ruby-termios
rubygem-serialport
rxtx
scmxx comms/scmxx: Moved man to share/man 2024-02-22 19:19:22 +01:00
scrcpy comms/scrcpy: update to 2.5 2024-07-11 15:47:02 +09:00
sdr++
ser2net
serialoverip
sigdigger
sigutils
smstools3
snap7
soapyairspy
soapybladerf
soapyplutosdr comms/soapyplutosdr: update 0.2.1 → 0.2.2 2024-02-18 20:59:25 -08:00
soapyredpitaya
soapyremote comms/soapyremote: Move man pages to share/man 2024-03-03 10:04:09 +00:00
soapysdr-rtlsdr
soapysdrhackrf
soapyuhd
spandsp graphics/tiff: Update to 4.6.0 2024-04-27 14:44:59 +02:00
splat
sredird
sunxi-tools
suscan
suwidgets
svxlink comms/{svxlink,qtel}: fix package conflicts 2024-02-15 02:39:58 -05:00
syncterm comms/syncterm: Move man pages to share/man 2024-03-16 14:47:31 +00:00
tcpser
thebridge
tilp2
tio comms/tio: Update to 3.4 2024-07-04 21:09:21 +02:00
tits comms/tits: Move man pages to share/man 2024-03-14 10:34:32 +01:00
tkscanfax
tlf comms/tlf: Moved man to share/man 2024-02-24 20:25:25 +01:00
trustedqsl comms/trustedqsl: Fix plist and port 2024-03-17 22:19:04 +01:00
twpsk comms/twpsk: Moved man to share/man 2024-02-22 19:19:22 +01:00
uarduno
uhd
uird
ujprog
unixcw comms/unixcw: Moved man to share/man 2024-02-22 19:19:23 +01:00
usbmuxd comms/usbmuxd: Workaround devd(8) race condition 2024-07-12 02:24:35 -04:00
viewfax
vrflash
wsjtx
wsjtz comms/wsjtz: Fix build under FreeBSD-current 2024-04-29 12:48:55 -04:00
wwl
wy60 */*: Remove GNU_CONFIGURE_MANPREFIX 2024-04-17 22:30:27 +02:00
xastir comms/xastir: Remove BDB5 support 2024-05-27 06:47:45 +02:00
xcwcp
xdemorse comms/xdemorse: Move man pages to share/man 2024-03-03 10:04:09 +00:00
xdx comms/xdx: Moved man to share/man 2024-02-22 19:19:24 +01:00
xlog comms/xlog: undeprecate and unexpire 2024-03-18 07:47:19 -04:00
xmorse
xnec2c comms/xnec2c: Chasing fast moving xnec2c updates upgrade to 4.4.16 2024-04-26 09:14:46 -04:00
xnecview
yagiuda comms/yagiuda: Moved man to share/man 2024-02-22 19:19:26 +01:00
yfklog
Makefile comms/libimobiledevice-glue: New port 2024-07-10 21:45:31 -04:00