Code Monkey home page Code Monkey logo

Comments (7)

hanwen avatar hanwen commented on August 12, 2024

USB can get a bit wonky when the last connection wasn't closed correctly. I've added some retry logic to the master branch. can you try again?

from go-mtpfs.

mykhaylo- avatar mykhaylo- commented on August 12, 2024

Hi hanwen.
Thanks for a fix but it seems it doesn't work.
Now I'm getting
2013/02/07 16:38:40 Configure failed: OpenSession after reset: LIBUSB_ERROR_TIMEOUT
I'm going to restart my computer to ensure that nothing is using my device and there are no previous connections closed improperly. Will notify you soon.

from go-mtpfs.

hanwen avatar hanwen commented on August 12, 2024

There is also a -usb-timeout flag now. You can set that to a higher value,
it's 2000 ms (2 seconds) right now.

On Thu, Feb 7, 2013 at 3:45 PM, mykhaylo- [email protected] wrote:

Hi hanwen.
Thanks for a fix but it seems it doesn't work.
Now I'm getting
2013/02/07 16:38:40 Configure failed: OpenSession after reset:
LIBUSB_ERROR_TIMEOUT
I'm going to restart my computer to ensure that nothing is using my device
and there are no previous connections closed improperly. Will notify you
soon.


Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-13238643.

Han-Wen Nienhuys - [email protected] - http://www.xs4all.nl/~hanwen

from go-mtpfs.

mykhaylo- avatar mykhaylo- commented on August 12, 2024

Working after restart! Now terminal says

2013/02/07 16:50:01 starting FUSE unknown

But process wasn't go to background. Does it mean that when I close terminal, go-mtpfs will terminate and device will be unmounted?
Also in dmesg I noticed

 [  126.126175] usb 3-1: usbfs: process 3026 (go-mtpfs) did not claim interface 0 before use

Is it good or bad?
Thanks again.

from go-mtpfs.

hanwen avatar hanwen commented on August 12, 2024

On Thu, Feb 7, 2013 at 3:57 PM, mykhaylo- [email protected] wrote:

Working after restart!

Normally, you can just un- and replug the USB cable.

Now terminal says

2013/02/07 16:50:01 starting FUSE unknown

But process wasn't go to background. Does it mean that when I close
terminal, go-mtpfs will terminate and device will be unmounted?

run it with &

Also in dmesg I noticed

[ 126.126175] usb 3-1: usbfs: process 3026 (go-mtpfs) did not claim interface 0 before use

Is it good or bad?

A small bug. I'll have a look at it later.

Thanks again.


Reply to this email directly or view it on GitHubhttps://github.com//issues/24#issuecomment-13239233.

Han-Wen Nienhuys - [email protected] - http://www.xs4all.nl/~hanwen

from go-mtpfs.

mykhaylo- avatar mykhaylo- commented on August 12, 2024

Great. Thanks.
So, closing this ticket.
Thanks again.

from go-mtpfs.

hanwen avatar hanwen commented on August 12, 2024

If fixed the " process 3026 (go-mtpfs) did not claim interface 0 before use" problem.

from go-mtpfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.