diff options
author | Linus Walleij <triad@df.lth.se> | 2012-09-17 20:47:39 +0200 |
---|---|---|
committer | Linus Walleij <triad@df.lth.se> | 2012-09-20 19:45:30 +0200 |
commit | 1a86fffc3f26da07d50767063a1ccde45a6b3ec8 (patch) | |
tree | abda2e3cc8cb737573b24fbd89528111f2726dbb | |
parent | d8992bb99ab7f1f7c8a0730f894f7b342a77840d (diff) | |
download | libmtp-1a86fffc3f26da07d50767063a1ccde45a6b3ec8.tar.gz |
doc updates
Signed-off-by: Linus Walleij <triad@df.lth.se>
-rw-r--r-- | INSTALL | 26 |
1 files changed, 20 insertions, 6 deletions
@@ -87,16 +87,26 @@ the same system. When you compile your programs they will typically bind to the latest version of the shared library. A link to the latest version is always provided as $PREFIX/lib/libmtp.so. -libusb Support +libusb support -------------- -This package depends on libusb. Get libusb from sourceforge at: +This package depends on libusb. Get libusb from sourceforge at: http://www.sourceforge.net/projects/libusb/ -On Linux, please use the very latest version you can get, between -0.1.8 and 0.1.12 a lot of things happened which pertains to -the udev hotplugging support, see below. +libusb 1.0 and later is preferred for libmtp, but currently also +older 0.1.x versions of libusb are supported. + + +libgcrypt support +----------------- + +The MTPZ extension to libmtp requires libgcrypt to be installed. + + http://www.gnu.org/software/libgcrypt/ + +MTPZ support will not be built unless the configure script finds +libgcrypt. BASIC BUILD PROCEDURE @@ -204,13 +214,17 @@ If you cannot run hotplugging If you have a distro without hotplugging enabled try this as root: + % chmod -R a+w /dev/bus/usb + +Or if it's *really* ancient you could try: + % chmod -R a+w /proc/bus/usb You have to do this again every time you unplug/replug your USB cable or restart the jukebox, every time you quit libnjb and restart it, etc etc etc an alternative is to run libmtp as root which works just fine. The problem is to somehow assure that you (ie the current user) always -has write access on /proc/bus/usb/* +has write access to these files. You can find the Linux hotplug project at: http://linux-hotplug.sourceforge.net/ |