2014/1/8 Paul Cartwright <pbcartwri...@gmail.com>
> On 01/08/2014 09:59 AM, Raffaele Morelli wrote: > > works like a charm here, debian jessie. Android 4.1.2 on lg phone. >> >> I did the go-mtpfs per the web site, ran it, but got an error. Not sure >> if I was supposed to do anything with this line from the install: >> >> # edit to suit libusb installation: >> vi /tmp/go/src/github.com/hanwen/go-mtpfs/usb/usb.go >> >> but here is what happened when I ran it: >> go-mtpfs /media/s3 >> 2014/01/08 08:34:26 OpenSession failed: LIBUSB_ERROR_IO; attempting reset >> 2014/01/08 08:34:33 Configure failed: OpenSession after reset: >> LIBUSB_ERROR_TIMEOUT >> >> > exept that I moved the installation path to my ~/bin I followed that > verbatim and worked > > /r > > I don't follow.. how do you move the installation path.. like this: > > mkdir home/user/bin/go > export GOPATH=/home/user/bin/go > go get github.com/hanwen/go-mtpfs > > /tmp/go/bin/go-mtpfs will then contain the program binary. > > exactly, but it does not really matter you'll end up with the binary "go-mtpfs" so you can place it everywhere