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

next in thread | previous in thread | raw e-mail | index | archive | help
On 1-9-2020 15:37, Hans Petter Selasky wrote:
> 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.

It is, it is in a offsite rackserver where we run Nagios monitoring.
Dongle is never removed.
Server was not rebooted, but still between yesterday noon en today noon
it changed ports.
Could it be because the dongle itself crashes?

>
>> 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

Will check.

--WjW




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ffb4077-b0cb-ed0c-bd86-9fa164ae140d>