View Single Post
Old 08-27-2020, 04:28 PM   #68
ezdiy
Zealot
ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.ezdiy can grok the meaning of the universe.
 
Posts: 121
Karma: 156515
Join Date: Oct 2019
Device: KT, KPW4, PB740-2
Quote:
Originally Posted by nhedgehog View Post
I really like your work but got some problems with release: pbjb-v6-3-g671d61c
on a PB 631 with FW 5.20.1527.

1) If all services are enabled and device is connected to a windows machine, /mnt/ext1 will not be mounted as USB device but some drive with Linux content, I guess it is dev/mmcblk0p1. The partition layout on the PB631 is:
dev/mmcblk0p1=?
dev/mmcblk0p2=?
dev/mmcblk0p3=/mnt/secure
dev/mmcblk0p4=PB631=Dospartition=mnt/ext1
I don't have a boot partition or can't find it, boot folder is empty.
Problem is solved by disabling services.

2) If external SD is inserted some strange 60MB Partition is shown as memory under settings instead of the external SD, my guess is, it is either dev/mmcblk0p1 or dev/mmcblk0p2, but library has access to the external SD and the SD is mounted correct via USB.
Ye, I've been meaning to deal with the part layout. For now, I'll try to use the symbolic names all the newer firmwares seem to be doing. It's in the v7.8 update now, or you can cherrypick the change - https://github.com/ezdiy/pbjb/blob/m...ins_usb_mod.sh (put it into /mnt/secure/bin)

This change will make mounting the usb fail on older devices altogether (they miss the sym links), so we'll have to special-case their partitions once that comes. But for now it should not be an issue on newer device anymore.

And finally, whenever this mishap comes up, it's enough to just disable usbnet - with usbnet disabled, we leave the original behavior of partition mounting alone, so it should always show correctly over usb.

Last edited by ezdiy; 08-27-2020 at 04:30 PM.
ezdiy is offline   Reply With Quote