From: austinrojers <austinrojers@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: USB tethering not working, might be due to a bug in 'usbmux' package.
Date: Mon, 13 Dec 2021 04:20:01 +0100 [thread overview]
Message-ID: <20211213032001.L493Pme_mMIiErsB5EoB_2t4LRQgWse8c8cbxQAjsyI@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34458@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 11390 bytes --]
New comment by austinrojers on void-packages repository
https://github.com/void-linux/void-packages/issues/34458#issuecomment-992071490
Comment:
**I think I found the culprit:**
```
GNU nano 5.9 /usr/lib/udev/rules.d/39-usbmuxd.rules
# usbmuxd (Apple Mobile Device Muxer listening on /var/run/usbmuxd)
# systemd should receive all events relating to device
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/8600/*", TAG+="systemd"
# Initialize iOS devices into "deactivated" USB configuration state and activate usbmuxd
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/8600/*", ACTION=="add", ENV{USBMUX_SUPPORTED}="1", ATTR{bConfigurationValue}="0", OWNER="usbmux", RUN+="/usr/bin/usbmuxd --user usbmux --udev"
# Make sure properties don't get lost when bind action is called
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/8600/*", ACTION=="bind", ENV{USBMUX_SUPPORTED}="1", OWNER="usbmux", RUN+="/usr/bin/usbmuxd --user usbmux --udev"
# Exit usbmuxd when the last device is removed
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", ENV{PRODUCT}=="5ac/12[9a][0-9a-f]/*|5ac/8600/*", ACTION=="remove", RUN+="/usr/bin/usbmuxd -x"
```
```
❯ sudo grep -r -i "usbmux" /etc
/etc/sv/usbmuxd/run:exec usbmuxd -f -u
/etc/passwd-:usbmux:x:986:983:usbmux unprivileged user:/var/lib/lockdown:/sbin/nologin
/etc/shadow-:usbmux:!:18964::::::
/etc/group:usbmux:x:983:
/etc/gshadow:usbmux:!::
/etc/passwd:usbmux:x:986:983:usbmux unprivileged user:/var/lib/lockdown:/sbin/nologin
/etc/shadow:usbmux:!:18964::::::
grep: /etc/ld.so.cache: binary file matches
❯ sudo grep -r -i "usbmux" /usr/share
grep: /usr/share/locale/as/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ast/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/be/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/bg/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/bn/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/bn_IN/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/bs/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ca/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ca@valencia/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/cs/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/da/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/de/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/el/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/en_GB/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/es/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/et/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/eu/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/fi/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/fr/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/fur/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/gl/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/gu/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/he/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/hi/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/hr/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/hu/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/id/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/it/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ja/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/kk/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/kn/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ko/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/lt/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/lv/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/mk/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ml/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/mr/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ms/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/nb/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/nl/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/nn/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/oc/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/or/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/pa/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/pl/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/pt/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/pt_BR/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ro/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ru/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/sk/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/sl/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/sr/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/sr@latin/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/sv/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ta/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/te/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/th/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/tr/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/ug/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/uk/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/vi/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/zh_CN/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/zh_HK/LC_MESSAGES/gvfs.mo: binary file matches
grep: /usr/share/locale/zh_TW/LC_MESSAGES/gvfs.mo: binary file matches
/usr/share/man/man1/idevicepair.1:idevicepair \- Manage host pairings with devices and usbmuxd.
/usr/share/man/man1/idevicepair.1:Manage host pairings with devices and usbmuxd.
/usr/share/man/man1/idevicepair.1:print the system buid of the usbmuxd host.
/usr/share/man/man1/inetcat.1:inetcat \- Opens a read/write interface via STDIN/STDOUT to a TCP port on a usbmux device
/usr/share/man/man1/inetcat.1:interface to a TCP port on a usbmux device and exposing it via STDIN/STDOUT.
/usr/share/man/man1/inetcat.1:https://github.com/libimobiledevice/libusbmuxd
/usr/share/man/man1/iproxy.1:iproxy \- A proxy that binds local TCP ports to be forwarded to the specified ports on a usbmux device
/usr/share/man/man1/iproxy.1:the local ports will be forwarded to the specified port (or ports) on a usbmux
/usr/share/man/man1/iproxy.1:https://github.com/libimobiledevice/libusbmuxd
/usr/share/man/man8/usbmuxd.8:.TH "usbmuxd" 8
/usr/share/man/man8/usbmuxd.8:usbmuxd \- Expose a socket to multiplex connections from and to iOS devices.
/usr/share/man/man8/usbmuxd.8:.B usbmuxd
/usr/share/man/man8/usbmuxd.8:usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of
/usr/share/man/man8/usbmuxd.8:means you can connect to any listening localhost socket on the device. usbmuxd
/usr/share/man/man8/usbmuxd.8:When usbmuxd is running (normally started, or stopped as a result of "udev"
/usr/share/man/man8/usbmuxd.8:"/var/run/usbmuxd" that is designed to be compatible with the socket interface
/usr/share/man/man8/usbmuxd.8:You should also create a "usbmux" user that has access to USB devices on your
/usr/share/man/man8/usbmuxd.8:The first usbmuxd daemon implementation was authored by Hector Martin.
/usr/share/man/man8/usbmuxd.8:https://github.com/libimobiledevice/usbmuxd
grep: /usr/share/man/mandoc.db: binary file matches
❯ sudo grep -r -i "usbmux" /var
/var/db/xbps/.libusbmuxd-files.plist: <string>/usr/lib/libusbmuxd-2.0.so.6.0.0</string>
/var/db/xbps/.libusbmuxd-files.plist: <string>/usr/lib/libusbmuxd-2.0.so.6</string>
/var/db/xbps/.libusbmuxd-files.plist: <string>/usr/lib/libusbmuxd-2.0.so.6.0.0</string>
/var/db/xbps/.usbmuxd-files.plist: <string>/etc/sv/usbmuxd</string>
/var/db/xbps/.usbmuxd-files.plist: <string>/etc/sv/usbmuxd/run</string>
/var/db/xbps/.usbmuxd-files.plist: <string>/usr/bin/usbmuxd</string>
/var/db/xbps/.usbmuxd-files.plist: <string>/usr/lib/udev/rules.d/39-usbmuxd.rules</string>
/var/db/xbps/.usbmuxd-files.plist: <string>/usr/share/man/man8/usbmuxd.8</string>
/var/db/xbps/.usbmuxd-files.plist: <string>/etc/sv/usbmuxd/supervise</string>
/var/db/xbps/.usbmuxd-files.plist: <string>/run/runit/supervise.usbmuxd</string>
/var/db/xbps/.libusbmuxd-devel-files.plist: <string>/usr/include/usbmuxd-proto.h</string>
/var/db/xbps/.libusbmuxd-devel-files.plist: <string>/usr/include/usbmuxd.h</string>
/var/db/xbps/.libusbmuxd-devel-files.plist: <string>/usr/lib/libusbmuxd-2.0.a</string>
/var/db/xbps/.libusbmuxd-devel-files.plist: <string>/usr/lib/pkgconfig/libusbmuxd-2.0.pc</string>
/var/db/xbps/.libusbmuxd-devel-files.plist: <string>/usr/lib/libusbmuxd-2.0.so</string>
/var/db/xbps/.libusbmuxd-devel-files.plist: <string>/usr/lib/libusbmuxd-2.0.so.6.0.0</string>
/var/db/xbps/pkgdb-0.38.plist: <string>usbmuxd>=0</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd>=2.0.2_1</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd-2.0.so.6</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd-devel>=0</string>
/var/db/xbps/pkgdb-0.38.plist: <key>libusbmuxd</key>
/var/db/xbps/pkgdb-0.38.plist: <string>https://raw.githubusercontent.com/libimobiledevice/libusbmuxd/master/NEWS</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd-2.0.2_1</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd-2.0.so.6</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd:a9b46a6be5</string>
/var/db/xbps/pkgdb-0.38.plist: <key>libusbmuxd-devel</key>
/var/db/xbps/pkgdb-0.38.plist: <string>https://raw.githubusercontent.com/libimobiledevice/libusbmuxd/master/NEWS</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd-devel</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd-devel-2.0.2_1</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd>=2.0.2_1</string>
/var/db/xbps/pkgdb-0.38.plist: <string>libusbmuxd:a9b46a6be5</string>
/var/db/xbps/pkgdb-0.38.plist: <key>usbmuxd</key>
/var/db/xbps/pkgdb-0.38.plist: <string>https://raw.githubusercontent.com/libimobiledevice/usbmuxd/master/NEWS</string>
/var/db/xbps/pkgdb-0.38.plist: <string>usbmuxd</string>
/var/db/xbps/pkgdb-0.38.plist: <string>usbmuxd-1.1.1_1</string>
/var/db/xbps/pkgdb-0.38.plist: <string>usbmuxd:a9b46a6be5</string>
grep: /var/lib/flatpak/repo/objects/15/cbe551ff21067376994f3c2840913004a37734dd5b06e459a0d6eab97b02a1.file: binary file matches
```
next prev parent reply other threads:[~2021-12-13 3:20 UTC|newest]
Thread overview: 96+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-10 5:19 [ISSUE] " austinrojers
2021-12-10 21:17 ` dotnetfox
2021-12-11 10:08 ` austinrojers
2021-12-11 10:08 ` [ISSUE] [CLOSED] " austinrojers
2021-12-11 19:02 ` dotnetfox
2021-12-11 19:03 ` dotnetfox
2021-12-12 3:12 ` austinrojers
2021-12-12 3:13 ` austinrojers
2021-12-12 3:14 ` austinrojers
2021-12-12 3:15 ` austinrojers
2021-12-12 3:15 ` austinrojers
2021-12-12 3:16 ` austinrojers
2021-12-12 4:39 ` dotnetfox
2021-12-12 4:40 ` dotnetfox
2021-12-12 4:52 ` dotnetfox
2021-12-12 5:33 ` austinrojers
2021-12-12 5:34 ` austinrojers
2021-12-12 5:37 ` austinrojers
2021-12-12 5:47 ` austinrojers
2021-12-12 5:48 ` austinrojers
2021-12-12 5:49 ` austinrojers
2021-12-12 5:50 ` austinrojers
2021-12-12 5:50 ` austinrojers
2021-12-12 6:02 ` austinrojers
2021-12-12 6:04 ` austinrojers
2021-12-12 6:04 ` austinrojers
2021-12-12 6:05 ` austinrojers
2021-12-12 6:09 ` dotnetfox
2021-12-12 6:30 ` austinrojers
2021-12-12 6:35 ` dotnetfox
2021-12-12 8:25 ` austinrojers
2021-12-12 8:58 ` dotnetfox
2021-12-12 8:58 ` dotnetfox
2021-12-12 12:19 ` austinrojers
2021-12-12 12:20 ` austinrojers
2021-12-12 12:35 ` austinrojers
2021-12-12 12:38 ` austinrojers
2021-12-12 12:39 ` austinrojers
2021-12-12 16:55 ` dotnetfox
2021-12-12 16:57 ` dotnetfox
2021-12-12 17:02 ` dotnetfox
2021-12-12 17:03 ` dotnetfox
2021-12-13 3:17 ` austinrojers
2021-12-13 3:18 ` austinrojers
2021-12-13 3:20 ` austinrojers [this message]
2021-12-13 3:33 ` austinrojers
2021-12-13 3:33 ` austinrojers
2021-12-13 6:11 ` austinrojers
2021-12-13 6:13 ` austinrojers
2021-12-13 6:13 ` austinrojers
2021-12-13 6:16 ` austinrojers
2021-12-13 9:20 ` austinrojers
2021-12-14 11:07 ` dotnetfox
2021-12-14 11:21 ` dotnetfox
2021-12-14 11:56 ` ahesford
2021-12-14 13:00 ` austinrojers
2021-12-14 13:01 ` austinrojers
2021-12-14 13:20 ` ahesford
2021-12-14 13:50 ` austinrojers
2021-12-14 13:51 ` austinrojers
2021-12-14 13:51 ` austinrojers
2021-12-14 14:17 ` ahesford
2021-12-14 14:41 ` dotnetfox
2021-12-14 14:49 ` austinrojers
2021-12-14 15:11 ` ahesford
2021-12-14 15:18 ` austinrojers
2021-12-14 15:30 ` austinrojers
2021-12-14 15:31 ` dotnetfox
2021-12-14 15:31 ` austinrojers
2021-12-14 15:35 ` austinrojers
2021-12-14 15:52 ` austinrojers
2021-12-14 15:53 ` austinrojers
2021-12-14 15:53 ` austinrojers
2021-12-14 16:03 ` dotnetfox
2021-12-14 16:29 ` austinrojers
2021-12-14 16:43 ` dotnetfox
2021-12-14 16:54 ` austinrojers
2021-12-14 16:55 ` austinrojers
2021-12-14 17:31 ` dotnetfox
2021-12-14 18:00 ` austinrojers
2021-12-15 7:22 ` austinrojers
2021-12-15 7:22 ` austinrojers
2021-12-15 11:52 ` ahesford
2021-12-15 12:52 ` austinrojers
2021-12-15 12:58 ` austinrojers
2021-12-20 17:20 ` austinrojers
2021-12-21 1:19 ` dotnetfox
2021-12-21 1:28 ` dotnetfox
2021-12-21 4:15 ` austinrojers
2021-12-21 4:25 ` austinrojers
2021-12-21 4:25 ` austinrojers
2021-12-21 4:26 ` austinrojers
2021-12-21 9:26 ` dotnetfox
2021-12-23 4:50 ` austinrojers
2022-06-18 2:13 ` github-actions
2022-07-03 2:13 ` [ISSUE] [CLOSED] " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211213032001.L493Pme_mMIiErsB5EoB_2t4LRQgWse8c8cbxQAjsyI@z \
--to=austinrojers@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).