USB-dongle modem keeps changing from cuaU0 to cuaU1 and bck

Hans Petter Selasky hps at selasky.org
Tue Sep 1 13:37:56 UTC 2020


On 2020-09-01 15:34, Willem Jan Withagen wrote:
> Is there any particular reason for the OS to assign a different port?

If the device is always present during boot, then numbers are fixed.

> And can I prevent that from changing?

You can create a devd rule which matches the creation of /dev/cuaUX, and 
then there is some more information which allows you to decide which 
device is which.

See also discussion at:

https://reviews.freebsd.org/D21886

--HPS


More information about the freebsd-usb mailing list