You are not logged in.

#1 2006-12-11 15:55:56

con
Member
Registered: 2006-05-11
Posts: 89
Website

[SOLVED]Creative Zen V - libmtp regular user cant access

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

#2 2006-12-11 17:58:23

con
Member
Registered: 2006-05-11
Posts: 89
Website

Re: [SOLVED]Creative Zen V - libmtp regular user cant access

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 wink)
Now I can run mtp-detect as non-root but amarok doesnt find the device.

Anyone got any ideas?


charlie dont surf!

Offline

#3 2006-12-11 19:11:41

con
Member
Registered: 2006-05-11
Posts: 89
Website

Re: [SOLVED]Creative Zen V - libmtp regular user cant access

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 big_smile


charlie dont surf!

Offline

Board footer

Powered by FluxBB