You are not logged in.

#1 2008-05-02 18:11:10

Caspian
Member
Registered: 2007-05-22
Posts: 263

[SOLVED]libmtp problem

I know this topic was started a hundred times before, but none of them helped me. I have problems with udev premissions and libmtp. mtp-detect gives the following error:

libmtp version: 0.2.5

Attempting to connect device(s)
usb_claim_interface(): Operation not permitted
LIBMTP PANIC: Unable to initialize device 1
LIBMTP PANIC: configure_usb_devices() error code: 7 on line 1561
Detect: There has been an error connecting. Exiting

when i run it as regular user (it works fine with root). Because of this i can't connect my mp3 player (sony nwz a816) and transfer files in amarok, rhythmbox etc. Guys please help. And just one more question mtp support in exaile requires pymtp. The package is not available in repos nor in AUR. I've downloaded the source and installed it but exaile stills gives me the error that i don't have libmtp or pymtp installed. Is anyone familiar with this???

Last edited by Caspian (2008-05-03 09:29:41)

Offline

#2 2008-05-03 08:45:16

Caspian
Member
Registered: 2007-05-22
Posts: 263

Re: [SOLVED]libmtp problem

Someone, anyone, please!!! sad

Offline

#3 2008-05-03 09:30:24

Caspian
Member
Registered: 2007-05-22
Posts: 263

Re: [SOLVED]libmtp problem

Never mind guys i've worked it out. The problem was in udev.rules...

Offline

#4 2008-05-03 19:09:51

mcmillan
Member
Registered: 2006-04-06
Posts: 737

Re: [SOLVED]libmtp problem

You mind posting the fix? I had mine working before, but it seemed to stop after an update, I'd be curious what worked for the current version.

Before I had copied a libmtp.rules file from the source code into /etc/udev/rules.d/ and had to modify a line for my player. I now have:

ATTR{idVendor}=="041e", ATTR{idProduct}=="4157", SYMLINK+="libmtp-%k", MODE="666" GROUP="audio"

Offline

#5 2008-05-04 07:32:15

Caspian
Member
Registered: 2007-05-22
Posts: 263

Re: [SOLVED]libmtp problem

My problem were wrong permissions in udev.rules file. If your user is in audio group try the 660 for mode. But before that try this:

cd /etc/udev/rules.d/
mv udev.rules.pacsave udev.rules
killall udevd
/etc/start_udev

(as posted by uastasi in other topic). This second method will probably help you, because your problems started after an upgrade. Hope this helps smile

Offline

Board footer

Powered by FluxBB