How to assign a unique name for a USB CDC device in /dev directory?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear All,

We have a USB CDC device which we are connecting it to the Ubuntu
system. Then, we are accessing the device using an application by
opening the device with /dev/ttyACM0 node. The system may have
multiple USB CDC devices already connected before connecting my
device, sometimes. In such cases, my application fails to open the
device, because, this time the assigned node is other than
/dev/ttyAMC0, but in my application the device node is /dev/ttyAMC0
only. Due to these reasons, I want to assign my own device node in the
/dev directory like /dev/mydev. This will enable my application to
identify my device very easily.

Please let me know, if there is any way to do this. Any suggestions
would be appreciated.

Thanks and Regards,
Ramya.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux