Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 15:37:24 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Willem Jan Withagen <wjw@digiware.nl>, usb@freebsd.org
Subject:   Re: USB-dongle modem keeps changing from cuaU0 to cuaU1 and bck
Message-ID:  <ace88f94-953a-3060-aefd-4b21f5a793d8@selasky.org>
In-Reply-To: <b2ca03d3-1f57-2275-3ae6-0df100ac4c1c@digiware.nl>
References:  <b2ca03d3-1f57-2275-3ae6-0df100ac4c1c@digiware.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ace88f94-953a-3060-aefd-4b21f5a793d8>