LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-11-2014, 03:22 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Rep: Reputation: 195Reputation: 195
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

Last edited by moisespedro; 04-11-2014 at 04:32 PM.
 
Old 04-11-2014, 03:44 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,064

Rep: Reputation: Disabled
See here.

PS did you add the udev rule?

Last edited by Didier Spaier; 04-11-2014 at 04:11 PM.
 
Old 04-11-2014, 04:08 PM   #3
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
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.

Last edited by moisespedro; 04-11-2014 at 04:14 PM.
 
Old 04-11-2014, 04:24 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,064

Rep: Reputation: Disabled
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.
 
Old 04-11-2014, 04:31 PM   #5
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
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
 
Old 04-11-2014, 04:35 PM   #6
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
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?
 
Old 04-11-2014, 09:10 PM   #7
smoooth103
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 242

Rep: Reputation: 62
Try an app called kdeconnect. There is a slack build for it as well. Works great on my moto x.
 
Old 04-12-2014, 06:55 AM   #8
phi11ip
Member
 
Registered: Jul 2007
Location: Nottingham, UK
Distribution: Slackware64-current
Posts: 93

Rep: Reputation: 23
Quote:
Originally Posted by moisespedro View Post
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.
 
Old 04-12-2014, 06:59 AM   #9
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
It is working on Thunar, I already said that.
 
Old 04-12-2014, 07:46 AM   #10
phi11ip
Member
 
Registered: Jul 2007
Location: Nottingham, UK
Distribution: Slackware64-current
Posts: 93

Rep: Reputation: 23
I'll quote you AGAIN!

Quote:
Originally Posted by moisespedro View Post
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.
 
Old 04-12-2014, 08:05 AM   #11
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
Quote:
Originally Posted by phi11ip View Post
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

Last edited by moisespedro; 04-12-2014 at 08:11 AM.
 
Old 11-04-2014, 04:06 PM   #12
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
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
Attached Thumbnails
Click image for larger version

Name:	Screenshot at 2014-11-04 20:05:01.png
Views:	89
Size:	66.0 KB
ID:	16812  
 
Old 11-04-2014, 05:33 PM   #13
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,463
Blog Entries: 7

Rep: Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561Reputation: 2561
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
 
Old 11-04-2014, 05:50 PM   #14
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,223

Original Poster
Rep: Reputation: 195Reputation: 195
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).
 
Old 11-04-2014, 05:56 PM   #15
bosth
Member
 
Registered: Apr 2011
Location: British Columbia, Canada
Posts: 304

Rep: Reputation: 127Reputation: 127
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/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu syncing with my Moto Q silverbullet Ubuntu 1 03-08-2009 02:58 PM
moto RAZR v3 sync soylentgreen Linux - Desktop 3 11-09-2006 07:53 AM
LXer: Linux gets its 'Moto' running LXer Syndicated Linux News 0 07-29-2006 07:33 AM
Konstact and Sychronizing Moto V710? sporks Linux - General 0 01-12-2006 03:28 PM
slackware 10/ndiswrapper/Moto PCI Wireless AnheuserBusch Linux - Wireless Networking 0 10-31-2004 04:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration