-
Notifications
You must be signed in to change notification settings - Fork 175
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
Dealing with a transient serial port #1387
Comments
Your strategy probably does not wait for the resources to become available with |
Thanks, I tried that but I still get an error, this time in the call to
I see that labgrid-suggest shows the port coming up:
What triggers the 'avail' to change to True on the client? |
Strangely, when I do this:
I can see the device appear and disappear from the list when the device is on/off. But it seems to be 'stuck' in 'avail == False' in the strategy. |
Hmm I see that NetworkSerialPort() defines poll() to do nothing. Why is that? When I remove that, I see a bit more progress. The device does become available and it gets further: failed to connect: Connection refused Here is the debug log:
On kea (exporter)I see:
|
On which ser2net version did you observe this on? We have seen quite some issues in newer versions. |
Oh dear. It is this: ii ser2net 4.3.4-2 amd64 Serial port to network proxy |
AFAIR this mostly affects versions 4.6.1 and 4.6.2. |
I have a zynq_zybo board which has a built-in UART, connected to my lab server via a micro-USB cable. The UART appears when the board powers on and goes away when not.
At present I am seeing this output from labgrid-client:
The word 'console' is printed just before the console is activated (self.target.activate(self.console))
I was expecting that this sort of thing would be handled automatically. Is there a way to make this work?
BTW the labgrid-suggest output is this:
so I am using this in my export file:
although I have tried various things for USBSerialPort
The text was updated successfully, but these errors were encountered: