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

Error after application terminated #14

Open
zoell opened this issue Aug 31, 2015 · 1 comment
Open

Error after application terminated #14

zoell opened this issue Aug 31, 2015 · 1 comment

Comments

@zoell
Copy link

zoell commented Aug 31, 2015

I am running the cm160 binary in a non demon mode like: ./cm160 just to check the data coming in. If I terminate this, and try to restart it, I get the following:

zoell@srv02:~/eagle-owl/src$ sudo ./cm160
Wait for cm160 device to be connected
Found compatible device #0: 0fde:ca05 (036)
Found 1 compatible device
bulk_read returned -110 (could not detach kernel driver from interface 0: No data available)
Wait for cm160 device to be connected
Found compatible device #0: 0fde:ca05 (036)
Found 1 compatible device

And it does not do anything just retries these. The only solution I could find is to unplug/plug the usb, but this is a bit pain if I am not at home. Is there any idea on this?

@dfluff
Copy link

dfluff commented May 28, 2017

@zoell I'm getting these messages when I run ./cm160. You will probably find that if you do
ls /dev/ttyUSB0
(or whatever device you Owl is at) it's vanished. You should be able to bring it back to life with
sudo rmmod cp210x && sudo modprobe cp210x
After this the device in the dev directory should have re-appeared and running cm160 may work again. It's not a direct fix for your problem but it is something you can try to bring it back to life when you are away from home.

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