LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 04:22 PM   #1
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,142

Rep: Reputation: 152Reputation: 152
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 05:32 PM.
 
Old 04-11-2014, 04:44 PM   #2
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,681

Rep: Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240
See here.

PS did you add the udev rule?

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

Original Poster
Rep: Reputation: 152Reputation: 152
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 05:14 PM.
 
Old 04-11-2014, 05:24 PM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad W520
Posts: 4,681

Rep: Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240Reputation: 1240
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, 05:31 PM   #5
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,142

Original Poster
Rep: Reputation: 152Reputation: 152
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, 05:35 PM   #6
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,142

Original Poster
Rep: Reputation: 152Reputation: 152
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, 10:10 PM   #7
smoooth103
Member
 
Registered: Aug 2009
Location: NC, USA
Distribution: Slackware (64 bit)
Posts: 238

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

Rep: Reputation: 15
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, 07:59 AM   #9
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,142

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

Rep: Reputation: 15
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, 09:05 AM   #11
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,142

Original Poster
Rep: Reputation: 152Reputation: 152
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 09:11 AM.
 
Old 11-04-2014, 05:06 PM   #12
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,142

Original Poster
Rep: Reputation: 152Reputation: 152
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 Images
File Type: png Screenshot at 2014-11-04 20:05:01.png (66.0 KB, 23 views)
 
Old 11-04-2014, 06:33 PM   #13
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,808

Rep: Reputation: 234Reputation: 234Reputation: 234
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, 06:50 PM   #14
moisespedro
Senior Member
 
Registered: Nov 2013
Location: Brazil
Distribution: Slackware
Posts: 1,142

Original Poster
Rep: Reputation: 152Reputation: 152
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, 06:56 PM   #15
bosth
Member
 
Registered: Apr 2011
Posts: 235

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:58 PM
moto RAZR v3 sync soylentgreen Linux - Desktop 3 11-09-2006 08:53 AM
LXer: Linux gets its 'Moto' running LXer Syndicated Linux News 0 07-29-2006 08:33 AM
Konstact and Sychronizing Moto V710? sporks Linux - General 0 01-12-2006 04:28 PM
slackware 10/ndiswrapper/Moto PCI Wireless AnheuserBusch Linux - Wireless Networking 0 10-31-2004 05:29 AM


All times are GMT -5. The time now is 07:36 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration