Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Mar 2004 06:20:08 +0100
From:      Bernd Walter <ticso@cicely12.cicely.de>
To:        arch@freebsd.org
Subject:   Opinions about using USB serial numbers
Message-ID:  <20040320052007.GC33602@cicely12.cicely.de>

next in thread | raw e-mail | index | archive | help
I have a lot to do with systems using many USB devices of the same
kind.
Currently device are named acording to their probing order.
That result in the problematic that device names can change after
reboot or replugging in different order.

I would like to add functionality for creating alias devnodes
including the serial numbers (if the device has one setup).
E.g. for a ucom(4) device you will get /dev/ucom0 and ucom.serialnumber.
If the device has no serial numer there will be just /dev/ucom0
as befor.

Another solution could be to create the nodes in a tree form:
/dev/usbchannel0/hubport1/pubport2/ucom
That would work for devices without serial numbers too, but I
personally dislike this way.

-- 
B.Walter                   BWCT                http://www.bwct.de
ticso@bwct.de                                  info@bwct.de



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040320052007.GC33602>