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

no recovery after timeout #58

Open
kilmarnock opened this issue Jul 14, 2017 · 2 comments
Open

no recovery after timeout #58

kilmarnock opened this issue Jul 14, 2017 · 2 comments

Comments

@kilmarnock
Copy link

Hi!
I have a problem you probably could give me an advice.
I observe timeouts with my UI1221LE-M-GL. I read #6. I tried ARM, amd64, usb2 + usb3. I changed the pixel_clock settings, all in auto mode. I bought an pcie2usb adapter. I measure the Bus > 5 Volt.
The cam gets more stable when I disconnect each and every usb device.

Each time the timeout occurs, the node is lost, it does not recover from timing out, it basically loops in the timeout (UEyeCamDriver::processNextFrame: is_err == IS_TIMED_OUT). Until now, I had to disconnect the cam and restart the node. I thought that the hardware crashes for some reason.

Today I found this trick:
echo "0" > /sys/bus/usb/devices/usb2/authorized
-> /dev/ueye disappears
echo "1" > /sys/bus/usb/devices/usb2/authorized
-> /dev/ueye reappears
Then I can continue until the next timeout.

Correct me if I am wrong, but it does not seem to be hardware issue.

ueyecamerademo recovers and just counts missed frames.

Do you have a clue for me where to look now?

@kilmarnock
Copy link
Author

after the timeout, the camera hangs even after a restart of the ros driver and the ueye daemon.
EyeCamDriver::setFreeRunMode() leads to !freeRunModeActive() and setStandbyMode() where it stays forever.

@anqixu
Copy link
Owner

anqixu commented Oct 19, 2017

Sorry I'm still not able to replicate your results, and given that I don't have access to uEye cameras, so it will be hard to debug.

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