You are not logged in.
Anyone know how to configure libmtp so that a regular user (not root) can access the device? I have searched the forum/wiki but didnt find anything usefull.
When I run mtp-detect as root it prints alot of info about the device, so I guess its working correctly. Same command as non-root user gives
[fester]$ mtp-detect
Found non-autodetected device "Creative Zen V" on USB bus...
usb_claim_interface(): Operation not permitted
Connection error.
No devices.
[fester]$
Cant access through amarok either as non-root user.
Thanks for any help I get!:D
charlie dont surf!
Offline
Created a file /etc/udev/rules.d/10-libmtp.rules with the following content
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="libmtp_rules_end"
# Creative Zen V
ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4150", SYMLINK+="libmtp-%k", MODE="666", GROUP="audio"
LABEL="libmtp_rules_end"
(big thanks to anemos )
Now I can run mtp-detect as non-root but amarok doesnt find the device.
Anyone got any ideas?
charlie dont surf!
Offline
LOL...solved it myself :oops:
And incase someone else runs into the same problems, heres how I solved it...
Make sure you have libmtp installed "pacman -Q libmtp". Add the udev rule one post above and reboot. Plug in player. Start amarok, then go to Settings->Configure Amarok->Media Devices, click Add Device. Choose MTP Media Device from the pulldown menu, give it a name and click OK. Then click Apply then OK. Amarok should now detect the device and you will be able to add files to the player.
I was clicking Autodetect Device and thats why it wasnt working.... Now I love linux again
charlie dont surf!
Offline