Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

How to Assign a Name to USB Serial Devices
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: How to assign a name to USB Serial Devices
  • SDP: 6.4.1, 6.5.0
  • Target: Any supported target
________________________________________________________________________

Recommendation
________________________________________________________________________

To consistently assign a device name to a devc-serusb device:
1. the devices should remain static, avoid removing them
2. specify busno, devno, did, vid and unit option at the command line, this information is provided by the '# usb -vvv' utility.

Example using three devc-serusb devices:
devc-serusb -d busno=3,devno=1,did=0x2303,vid=0x067b,unit=1
waitfor /dev/serusb1 5

devc-serusb -d busno=3,devno=2,did=0x2303,vid=0x067b,unit=2
waitfor /dev/serusb2 5

devc-serusb -d busno=2,devno=1,did=0x2303,vid=0x067b,unit=3
waitfor /dev/serusb3 5

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.