Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > muc.lists.netbsd.current-users > #31943

re: Stable names for USB serial adapters

From matthew green <mrg@eterna.com.au>
Newsgroups muc.lists.netbsd.current-users
Subject re: Stable names for USB serial adapters
Date 2022-05-01 11:59 +1000
Organization Newsgate at muc.de e.V.
Message-ID <25084.1651370395@splode.eterna.com.au> (permalink)
References <E93658FB-B544-40CD-905B-951A00FE6DC2@me.com>

Show all headers | View raw


> Perhaps you, like me, are frustrated that USB serial devices can get
> enumerated in non-deterministic ways, which makes putting those device
> names in configuration files (such as /etc/remote) less than useful.
>
> I threw together a little devpubd hook to fix this problem for those
> adapters that have serial numbers (FTDI devices seem to reliably have
> these):
>
> 	https://www.netbsd.org/~thorpej/99-ucom-symlinks
[ .. ]

this works great!  if i have serialnumbers in my ucoms :-(
out of 20 devices, i have 3 with serial numbers, leaving me
with 22 ucoms without a stable name (5 dual port devices.)

tempted to suggest we include something like this in src,
i just wish it could work better for me.  i just spent far
too long making them attach in the same order in a new
machine using hard coded kernel config.. oh well.

thanks!


.mrg.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de

Back to muc.lists.netbsd.current-users | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Stable names for USB serial adapters Jason Thorpe <thorpej@me.com> - 2021-12-17 12:25 -0800
  re: Stable names for USB serial adapters matthew green <mrg@eterna.com.au> - 2022-05-01 11:59 +1000
    Re: Stable names for USB serial adapters mlelstv@serpens.de (Michael van Elst) - 2022-05-01 10:04 +0000

csiph-web