[SOLVED] Can't connect to Android phone after recent Slackware64-current updates
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Can't connect to Android phone after recent Slackware64-current updates
After recent slackware64-current updates, when I connect my Android phone (set to MTP mode) via USB, I get a desktop icon in Xfce, but trying to open or mount it fails with: "No MTP devices found". This is with kernel 5.10.4 and Xfce-4.16. I went back to the kernels I used before, first 5.10.2, and then 5.4.84, but it fails the same way under those too.
Same phone and cable continue to work on another PC which has Slackware-14.2. If I switch the phone to PTP mode, it works under Slackware64-current (but of course most of the filesystem is inaccessible).
After recent slackware64-current updates, when I connect my Android phone (set to MTP mode) via USB, I get a desktop icon in Xfce, but trying to open or mount it fails with: "No MTP devices found". This is with kernel 5.10.4 and Xfce-4.16. I went back to the kernels I used before, first 5.10.2, and then 5.4.84, but it fails the same way under those too.
Same phone and cable continue to work on another PC which has Slackware-14.2. If I switch the phone to PTP mode, it works under Slackware64-current (but of course most of the filesystem is inaccessible).
Any ideas? I don't even know what to try next.
Same hapened to me also.
Before upgrading to kernel 5.10.X i had the occasional mount error; only had to do was disconnect the cable and reconnect it and it worked. Now, my Samsung S6 just won't mount.
Oh well, i am used to get up and perform the "new-kernel-ritual-dance" praying that all these issues will be fixed
I figured libusb-1.0.24 not working with usbmuxd in another thread, revert back to previous version maybe a choice.
I still not familiar with the forum spam rules, sorry for that.
That's OK. Just posting a link might bother some people, but you did provide me some help: That libusb might be the cause of the problem, so it is something to look into. No, I'm not going to just download and install something, but at least I have something to look into. Thanks.
If you don't want to take up all the space locally, the Slackware Cumulative mirror, where zhl used to link to the older libusb package, rsyncs without a delete. Almost any package from Slackware64 during any point in development can be found there.
Now for a history lesson, if you're interested...
This mirror was kickstarted from the slackmirror.cbpf.br mirror (which has sadly seemed to go offline), but according to Alien Bob, it's been keeping track of 64bit -current packages since the inception of Slackware64 and the 13.0 release. Alien Bob mirrored that site when he found it and started keeping all additional packages added to -current. He had already been keeping all the multilib packages. Eventually, both of those repos were moved to the slackware.uk mirror provided by tadgy. At that time, they also set up a cumulative mirror for 32bit Slackware, but they had no ability to grab older packages, so it only has about 1.5 years worth of 32bit -current history.
Update: I reverted to libusb-1.0.23 and blocked future upgrades so it it won't install 1.0.24. Everything worked, and then it didn't work. The reason it broke is that there was a new aaa_elflibs package released on Jan 9 and it contains the 1.0.24 version of libusb. This overwrote the library version link from libusb-1.0.23 so even though libusb-1.0.23 was still installed, libusb-1.0.24 from aaa_elflibs was active, breaking access to the phone.
I fixed it by deleting libusb-1.0.so.0.3.0 and pointing the link libusb-1.0.so.0 back to libusb-1.0.so.0.2.0
Maybe re-installing libusb-1.0.23 again would have fixed it but I'm not sure.
Meanwhile, the libusb project "roadmap" says 1.0.25 is due out "by July 31, 2021" which is not good.
After recent slackware64-current updates, when I connect my Android phone (set to MTP mode) via USB, I get a desktop icon in Xfce, but trying to open or mount it fails with: "No MTP devices found". This is with kernel 5.10.4 and Xfce-4.16. I went back to the kernels I used before, first 5.10.2, and then 5.4.84, but it fails the same way under those too.
Same phone and cable continue to work on another PC which has Slackware-14.2. If I switch the phone to PTP mode, it works under Slackware64-current (but of course most of the filesystem is inaccessible).
Any ideas? I don't even know what to try next.
It works for me. Not easy or intuitive for sure.
Pay attention to the drop down at the top. One is for sending files and one is for receiving files.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.