Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Laptop works with MTP, desktop doesn't.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
thender
Tux's lil' helper
Tux's lil' helper


Joined: 26 Aug 2013
Posts: 125

PostPosted: Fri Dec 12, 2014 12:40 am    Post subject: Laptop works with MTP, desktop doesn't. Reply with quote

My laptop works fine with MTP devices. I can plug in a nexus, or an S5 phone, and files show up fine.On my desktop I get

Code:
Attempting to connect device(s)
libusb_open() failed!: Permission denied
LIBMTP PANIC: Unable to initialize device
Unable to open raw device 0


I forget what I did to fix this on my laptop. Is there a quick way to see what software laptop is using to work with MTP devices so I can set up my desktop the same way?

I know it had nothing to do with rule files. The laptop has no rule files per device. This is a silly way of working IMO, anytime someone hands you a device to copy a file off of "one second, let me write up a udev rule so I can connect your phone to my laptop..."
Back to top
View user's profile Send private message
SDNick484
Apprentice
Apprentice


Joined: 05 Dec 2005
Posts: 212

PostPosted: Fri Dec 12, 2014 1:31 am    Post subject: Reply with quote

It might just be a groups thing; make sure your user ID is part of "plugdev". You can check with a id -a. As for determining what software your laptop is using for MTP, I suggest just plugging something in, running ps -ef | grep mtp, then run equery b on whatever comes up (this assumes some process with mtp in the name is started). You may also want to tail /var/log/messages as you plug the device in to see what picks it up in case it gets listed there. If you still can't find it, check the wiki and see if you recognize any of the software.

As for MTP/udev rules, etc. yeah, I agree, it's hokey (you can tell it has Microsoft roots). There ought to be a better way. Personally, I never bother actually plugging my Android devices in and instead I always transfer stuff on and off via SFTP (I use andFTP).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum