Bug 274153 - usbmuxd not included in base install
Summary: usbmuxd not included in base install
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-29 07:27 UTC by xawoh13792
Modified: 2023-10-01 20:09 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xawoh13792 2023-09-29 07:27:04 UTC
usbmuxd is a requirement for USB tethering via iOS devices. The ipheth driver is included but is useless on its own, even the wiki for setting up such a connection
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2023-09-29 10:31:42 UTC
usbmuxd is licensed GPLv2 & GPLv3 so unfortunately it might not be able to be  included in base.
Comment 2 Ed Maste freebsd_committer freebsd_triage 2023-10-01 20:09:59 UTC
usbmuxd is in ports as comms/usbmuxd. As GPL-licensed software it won't be brought into base.

It seems there are a few things we ought to do related to this, though. IMO we have at least:

(a) ipheth man page

ipheth(4) says:

       At this point it might be necessary to run usbmuxd(1) (available in
       ports(7) at comms/usbmuxd):

         # usbmuxd --enable-exit --foreground --user root --verbose

This seems overly noncommittal -- under what conditions might it be necessary to run usbmuxd?

(b) document ipheth & usbmuxd in handbook or other documentation

(c) better collaboration with usbmuxd upstream

We have some patches in the port that might be able to go upstream, and we ought to submit pull requests to update upstream's readme -- there's no mention of BSDs at all:
> Cross-Platform: Tested on Linux, macOS, Windows and Android platforms

It would also be nice to add CI testing for FreeBSD, using either Cirrus-CI or one of the GitHub Actions workarounds.


[port patches] https://cgit.freebsd.org/ports/tree/comms/usbmuxd/files
[usbmuxd] https://github.com/libimobiledevice/usbmuxd