- This topic has 2 replies, 2 voices, and was last updated Dec 2-3:37 pm by ModdIt.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Forum for users of antiX Linux. Mean and Lean and Proudly anti-fascist.
Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › USB Connect now broken Phone mount problems
Edit: added to title to ease search
Can no longer connect my phone to either antiX 21 runit or antiX 21 sysv.
Recognised as always by the system but the previously often used and needed
included in sysv 64 bit 21 functionality is now broken.
Digging further:
Below script from PPC allows phone access
rm ~/.jmtpfs-output2.txt
dir=”$HOME/android-device”
mkdir -p “$dir”
jmtpfs -o auto_unmount “$dir” |& tee -a ~/.jmtpfs-output2.txt # if output includes “bad mount point” then user has to press “Allow” on device’s screen and try to mount it again
xdg-open “$dir”
##check if user has to “allow”: check if output includes has the expected content:
mount_check=$(cat ~/.jmtpfs-output2.txt | grep -c “bad mount point”)
echo $mount_check
if [ “$mount_check” -eq “1” ]; then
read -n 1 -s -r -p ” Select Allow on you android device then press any key” && fusermount -u “$dir” && jmtpfs “$dir” && xdg-open “$dir”
fi
Probably late tomorrow I’ll take a look at what’s wrong with the Android usb connect script on my antiX 21 VM…- it’s a simple script, that serves as a front end for fusermount.
Please try a “sudo apt install fusermount” and see if it works. If it’s already installed, purge fusermount and reinstall, and try the script again…
As long as fusermount works under antiX 21, I can adapt the script… If not, I’ll have to try to find a way around it…
P.
thanks PPC,
I remembered an older script you provided, that is working,
you were super fast with an answer. Rocket speed here 🙂
EDIT:
ap says: Package not found fusermount
No hurry workaround is fine, for xiaomi redmi too.
| Cookie | Duration | Description |
|---|---|---|
| cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
| cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
| cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
| cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
| cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
| viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |