-
Notifications
You must be signed in to change notification settings - Fork 27
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
Add the device serial to the USB descriptor #37
Comments
Alexis. Do you know which field in the USB descriptor we might use for the serial number? I'll check with our embedded dev team, but any suggestions you might have are welcome. It looks like we could make the product ID different between the EVB and uINS. |
@waltjohnson I believe the best would be the |
@AlexisTM Hi Alexis. We have looked into adding the device serial number to the USB descriptor. It would be fairly easy to implement. We have even tested it out. However, it breaks our existing bootloader update process, causing the serial port number of our device to switch. Can you work around this issue for now? We can always further invest this if needed, but for now it appears to add significant complication. |
Yes we can work around it, it is mainly for simplicity for the users later on; allowing to connect multiple devices for testing purpose. |
Hi,
I would like to differentiate between two devices using UDEV rules to prevent having to open the device to get information.
In the ideal case, it would be great to have the serial attribute of the device forwarded to uniquely identify them to allow symlinks such as
/dev/inertialsense/40756
and/dev/inertialsense/40840
, without opening the serial port.This is useful in the case where we want to run different software over two devices where each device. The only method as of now is to open both serial devices, try to connect and get a serial and close them. When starting the second node, it will impact the first node which is already connected.
Of course, in production, if the case happens, this would be handled by a single software which can then do the discovery safely.
As of now, I am unlocked thanks to the
urbnum
which is respectively 6 and 9 for the EVB and µINS. The following udev rule creates a device/dev/ttyIsUins
and/dev/ttyIsEvb
.The text was updated successfully, but these errors were encountered: