Summary: | app-pda/usbmuxd: freezes/hangs when Apple device is attached on OpenRC | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | zurabid2016 |
Component: | Current packages | Assignee: | zurabid2016 |
Status: | UNCONFIRMED --- | ||
Severity: | major | CC: | anton.bugs, matthew, proxy-maint, zurabid2016 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/libimobiledevice/usbmuxd/issues/210 https://github.com/libusb/libusb/issues/850 https://github.com/libimobiledevice/usbmuxd/pull/227 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
lsusb_info
udevadm monitor -p |
Description
zurabid2016
2023-07-23 06:32:23 UTC
Please, assign to me (I am the usbmuxd maintainer) The issue has been (re)opened on the upstream bug tracker: https://github.com/libimobiledevice/usbmuxd/issues/210 FYI, usbmuxd doesn't start here with both original and the patched version. That could be it: https://github.com/libusb/libusb/issues/850 bConfigurationValue 0 <----- USB spec violation Here is the debug log: [00:33:05.442][3] usbmuxd v1.1.1 starting up [00:33:05.442][3] usbmuxd v1.1.1 starting up [00:33:05.442][4] Creating socket [00:33:05.443][3] Successfully dropped privileges to 'usbmux' [00:33:05.443][4] Initializing USB [00:33:05.443][3] Using libusb 1.0.26 [00:33:05.447][4] Registering for libusb hotplug events [00:33:05.447][4] Found new device with v/p 05ac:12ab at 1-46 [00:33:05.543][4] Setting configuration for device 1-46, from 1 to 4 [00:33:05.550][4] Found interface 1 with endpoints 04/85 for device 1-46 [00:33:05.551][4] Using wMaxPacketSize=512 for device 1-46 [00:33:05.551][4] USB Speed is 480 MBit/s for device 1-46 [00:33:05.551][4] 1 device detected [00:33:05.551][3] Initialization complete [00:33:05.442][3] usbmuxd v1.1.1 starting up As you can see, it's getting called 3 times, but doesn't stay in the memory for some reason. it works fine if I start it manually using the same command. Created attachment 882351 [details]
lsusb_info
Created attachment 882371 [details]
udevadm monitor -p
btw, I'm openrc user, and the following PR may be required too: https://github.com/libimobiledevice/usbmuxd/issues/210 I assume you mean https://github.com/libimobiledevice/usbmuxd/pull/227? I have rebased my patch onto 1.1.1 tag and published draft ebuild[1] (of -r2) with which issue seems to be gone. Could you test it? The overlay is here: https://gitlab.com/BalkanMadman/pidruchniki The patch is still a bit dirty, but that will be worked on. [1]: https://gitlab.com/BalkanMadman/pidruchniki/-/blob/master/app-pda/usbmuxd/usbmuxd-1.1.1-r2.ebuild |