Closed jan-kiszka closed 2 years ago
Addresses #940.
I probably won't be able to review this until after next weekend sorry. It is on my todo list though.
I've dropped unneeded usbutils and fixed the UI initialization when the "iph" mode is selected.
Yet another update, adding a kernel patch that apparently only OpenWRT carries to fix connection drops caused by URB overflows. Already poked on LKML why the integration is not making progress.
With this integrated, I've spent now the whole day without glitches on the 5G link my iPhone is proving (until the land-line it fixed...).
BTW, the last kernel patch is on its way to 4.19-stable now. So it will eventually (on some OpenWRT update) have to be dropped again.
Hi @jan-kiszka , any thoughts on progressing this one? At your leisure, just checking in. :)
Had no time yet (and my cable link got fixed, "unfortunately"). Will try to schedule this for next weekend.
Currently finalizing the patches. However, I only measure about 600K additional packages on mvebu, not 2.5M.
I'll aim to merge this on the weekend. For my own notes, in the mvebu case:
Package | Size |
---|---|
kmod-usb-net-ipheth_4.14.267-1_arm_cortex-a9_vfpv3-d16.ipk | 5.1 KB |
libusbmuxd_2019-03-23-873252dc-2_arm_cortex-a9_vfpv3.ipk | 14.2 KB |
usbmuxd_2019-03-04-b1b0bf39-1_arm_cortex-a9_vfpv3.ipk | 28.3 KB |
libimobiledevice_2019-02-16-0584aa90-2_arm_cortex-a9_vfpv3.ipk | 44.5 KB |
libplist_2.0.0-4_arm_cortex-a9_vfpv3.ipk | 21.7 KB |
libxml2_2.9.9-2_arm_cortex-a9_vfpv3.ipk | 459.7 KB |
Here is the diff from my device after installing those packages:
Root Drive 90.828 MBytes Total, 85.840 MBytes Free
vs.
Root Drive 91.277 MBytes Total, 86.289 MBytes Free
Slightly less than the sum of the ipks.
Thanks again for your efforts on this. I've merged it and enabled it on what i believe are the appropriate profiles. 0.5MB is still a bit steep, but we'll have to see what devices start to fail to build.
This allows to configure USB-attached iPhone as WAN interface. Currently only pre-integrated into the wrt32x, and the build also still complains about "your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!". Please review and give hints how to get this into shape!