вторник, 29 октомври 2013 г.

smart phone tablet mtp kde slackware

My phone is LG p880 i think this will work with any phone MTP device.

( i have problem with speed that other tools provide )

Slackware 14 Current

1. mtpfs - http://www.adebenham.com/mtpfs/
- may be this is not really needed but ...
- by default you must have libmtp installed
- and big number of mtp commands.

2. put file in: /etc/udev/rules.d/69-libmtp.rules from

http://paste.ubuntuusers.de/407832/

file Look like:

# UDEV-style hotplug map for libmtp
# Put this file in /etc/udev/rules.d

ACTION!="add", GOTO="libmtp_rules_end"
ENV{MAJOR}!="?*", GOTO="libmtp_rules_end"
SUBSYSTEM=="usb", GOTO="libmtp_usb_rules"
GOTO="libmtp_rules_end"

LABEL="libmtp_usb_rules"

.
.
.

# nVidia CM9-Adam
ATTR{idVendor}=="0955", ATTR{idProduct}=="70a9", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
# Isabella Her Prototype
ATTR{idVendor}=="0b20", ATTR{idProduct}=="ddee", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

# Autoprobe vendor-specific, communication and PTP devices
ENV{ID_MTP_DEVICE}!="1", ENV{MTP_NO_PROBE}!="1", ENV{COLOR_MEASUREMENT_DEVICE}!="1", ENV{libsane_matched}!="yes", ATTR{bDeviceClass}=="00|02|06|ef|ff", PROGRAM="mtp-probe /sys$env{DEVPATH} $attr{busnum} $attr{devnum}", RESULT=="1", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"

LABEL="libmtp_rules_end"

if not see you device in file add it manually.

3. restart UDEV daemon

4. when you connect Phone via USB - will see Device notifier Icon Slideup
 - choose between Camera mode and File Mode

 Must see something like:

mtp:/Your phone name

Няма коментари: