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, 03:22 PM   #1
moisespedro
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 772

Rep: Reputation: 80
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
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
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
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 772

Original Poster
Rep: Reputation: 80
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
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,184

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
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
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 772

Original Poster
Rep: Reputation: 80
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
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 772

Original Poster
Rep: Reputation: 80
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: 237

Rep: Reputation: 58
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: 48

Rep: Reputation: 13
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
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 772

Original Poster
Rep: Reputation: 80
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: 48

Rep: Reputation: 13
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
Member
 
Registered: Nov 2013
Distribution: Slackware
Posts: 772

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


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 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


All times are GMT -5. The time now is 09:38 AM.

Main Menu
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