Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disconnect and re-connect device #2

Closed
eni9889 opened this issue Mar 1, 2016 · 6 comments
Closed

Disconnect and re-connect device #2

eni9889 opened this issue Mar 1, 2016 · 6 comments

Comments

@eni9889
Copy link

eni9889 commented Mar 1, 2016

When I unplug a device and plug it back in the tunnel does not open and I have to restart gandalf. Is this the normal behavior?

@fxfactorial
Copy link
Contributor

@eni9889 Hi, this is a known bug that I haven't been able to get to. Is it a big issue for you, I can fix it later this week.

@eni9889
Copy link
Author

eni9889 commented Mar 1, 2016

If you can that would be great. I use my personal device as my dev device and unplug it constantly. Also, amazing tool!!!

@fxfactorial
Copy link
Contributor

@eni9889 I have a working implementation i think.

You'll need to do:

$ git clone https://github.com/onlinemediagroup/ocaml-usbmux
$ cd ocaml-usbmux
$ opam pin add usbmux . -y

This will replace the one provided on opam upstream with this latest version from github. If you have any trouble check opam switch and do the eval that it tells you to do.

Let me know if that fixes it for you.

@eni9889
Copy link
Author

eni9889 commented Mar 10, 2016

Just tried it and everything seems to work although it seems if gandalf is started before a device is connected and later a device is connected gandalf has to be restarted

@fxfactorial
Copy link
Contributor

Yes, the devices that you want to use should be plugged in when gandalf starts. This is something I can fix for the next iteration.

@fxfactorial
Copy link
Contributor

@eni9889 I think this is now completely fixed. Please try again from source. Assuming that opam still has this pinned for you, you can do git pull and then opam upgrade usbmux, or just start from scratch. Will be releasing a new version on opam itself as well soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants