LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Hi, how do I connect my Moto G on Slackware? (https://www.linuxquestions.org/questions/slackware-14/hi-how-do-i-connect-my-moto-g-on-slackware-4175501383/)

moisespedro 04-11-2014 03:22 PM

Hi, how do I connect my Moto G on Slackware?
 
I am completely lost here, I tried a few solutions I've found on Google but I couldn't make it work. Thunar detects a device when I plug it in but when I double click it I get this:

http://screencloud.net/v/gJNF

That means "no MTP device found"

Any help? Thanks

Didier Spaier 04-11-2014 03:44 PM

See here.

PS did you add the udev rule?

moisespedro 04-11-2014 04:08 PM

There is no "/etc/fuse.conf" file and, by the way, to solve libmpt reporting the device as unknow I did this.

EDIT: My mtp-detect reports this now

Code:

root@darkstar:~# mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6

Listing raw device(s)
Device 0 (VID=22b8 and PID=2e82) is a Motorola Moto G (XT1032).
  Found 1 device(s):
  Motorola: Moto G (XT1032) (22b8:2e82) @ bus 1, dev 5
Attempting to connect device(s)
Android device detected, assigning default bug flags

And now when I try to open it via Thunar I get this

http://screencloud.net/v/kWDS

(It wasn't posible to open the device MTP [usb])

The only thing I did so far was change the source code and recompiling libmpt.

Didier Spaier 04-11-2014 04:24 PM

I'm not sure you need fuse.

If not already done, writer the udev rule:
Code:

echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e82", MODE="0666"' > /etc/udev/rules.d/69-MotoG.rules
and restart udev.

Alse use the command line instead of thunar, eg. mtp-connect.

moisespedro 04-11-2014 04:31 PM

Well, I reverted my steps and went back to the beggining and now it works:

-Stock Slackware libmtp package
-mtpfs installed from slackbuilds.org
-'SUBSYSTEM=="usb", ATTR{idVendor}=="22b8", ATTR{idProduct}=="2e82", MODE="0666"' on '/etc/udev/rules.d/51-android.rules' file

I reboot my system and now I can mount it by clicking it on Thunar :D

moisespedro 04-11-2014 04:35 PM

I don't know if that is normal but I can't access any file from it, it says "file format not recognized" but if I copy the archive to my desktop it works. Any clue? Is that normal?

smoooth103 04-11-2014 09:10 PM

Try an app called kdeconnect. There is a slack build for it as well. Works great on my moto x.

phi11ip 04-12-2014 06:55 AM

Quote:

Originally Posted by moisespedro (Post 5150908)
I don't know if that is normal but I can't access any file from it, it says "file format not recognized" but if I copy the archive to my desktop it works. Any clue? Is that normal?

Have you tried Dolphin instead of Thunar? I have a Nexus 5 and a Nexus 7, both work perfectly with MTP and Dolphin. Just tried with Thunar and am getting read errors if I try to access any file. You may need to upgrade to the latest KDE from AlienBob as early versions of kio-mtp were quite iffy.

moisespedro 04-12-2014 06:59 AM

It is working on Thunar, I already said that.

phi11ip 04-12-2014 07:46 AM

I'll quote you AGAIN!

Quote:

Originally Posted by moisespedro (Post 5150908)
I don't know if that is normal but I can't access any file from it, it says "file format not recognized" but if I copy the archive to my desktop it works. Any clue? Is that normal?

Now, if you can't access any file, then it is not working correcty! I also have exactly the same problem with Thunar. I get different errors with different file formats and applications, but if I use Dolphin, then I can open any file with its respected application. I also noticed when I copied a file to my desktop using Thunar, then the filename changed.

moisespedro 04-12-2014 08:05 AM

Quote:

Originally Posted by phi11ip (Post 5151220)
I'll quote you AGAIN!



Now, if you can't access any file, then it is not working correcty! I also have exactly the same problem with Thunar. I get different errors with different file formats and applications, but if I use Dolphin, then I can open any file with its respected application. I also noticed when I copied a file to my desktop using Thunar, then the filename changed.

Oh, well I don't have any KDE package installed here.
EDIT: But I will give Dolphin a try

moisespedro 11-04-2014 04:06 PM

1 Attachment(s)
Well, I had it working but I decided to install a custom ROM on it and now I can't mount it. I am running Slackware64 14.1 with the latest Alienbob's KDE

rkelsen 11-04-2014 05:33 PM

The FTP Server app is pretty good:

https://play.google.com/store/apps/d...TPServer&hl=en

AirDroid also works quite well:

https://play.google.com/store/apps/d...airdroid&hl=en

moisespedro 11-04-2014 05:50 PM

I just want to be able to use it as I was using it before (clicking on it in Dolphin). It is still quite confusing to me how this is handled (udisks? udisks2? udev? I am like what).

bosth 11-04-2014 05:56 PM

moisespedro: I've been maintaining the kdeconnect SlackBuild for about a year now and the latest version works fine for me on KDE 4.14 and my Moto G. After upgrading, you'll need to restart kdeconnect (the easiest way is logging out of KDE and then logging back in again).

http://slackbuilds.org/repository/14...op/kdeconnect/


All times are GMT -5. The time now is 01:50 AM.