FreeNAS/FreeBSD: как узнать имя usb-порта ИБП

При подключении источника бесперебойного питания к серверу FreeNAS  и настройке службы UPS встает вопрос, какой порт указывать в настройках, т.е. к какое имя порта, к которому подключен ИБП.
Для того, чтобы определить, к какому порту подключен ИБП, запустите командную строку (Shell) и выполните следующую команду:
 
dmesg | grep -i usbus
 
Результатом выполнения команды будет список usb-портов и устройств, которые к ним подключены:
 
[root@msk-nas1 ~]# dmesg | grep -i usbus                                                                                            
usbus0: EHCI version 1.0                                                                                                            
usbus0 on ehci0                                                                                                                     
usbus1 on uhci0                                                                                                                     
usbus2: EHCI version 1.0                                                                                                            
usbus2 on ehci1                                                                                                                     
usbus0: 480Mbps High Speed USB v2.0                                                                                                 
usbus1: 12Mbps Full Speed USB v1.0                                                                                                  
usbus2: 480Mbps High Speed USB v2.0                                                                                                 
ugen0.1: <Intel> at usbus0                                                                                                          
uhub0: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0                                                            
ugen1.1: <0x103c> at usbus1                                                                                                         
uhub1: <0x103c UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1                                                           
ugen2.1: <Intel> at usbus2                                                                                                          
uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2                                                            
ugen0.2: <vendor 0x8087> at usbus0                                                                                                  
uhub3: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on usbus0                                                   
ugen2.2: <vendor 0x8087> at usbus2                                                                                                  
uhub4: <vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2> on usbus2                                                   
ugen2.3: <vendor 0x0424> at usbus2                                                                                                  
uhub5: <vendor 0x0424 product 0x2660, class 9/0, rev 2.00/8.01, addr 3> on usbus2                                                   
ugen0.3: <JetFlash> at usbus0                                                                                                       
umass0: <JetFlash Mass Storage Device, class 0/0, rev 2.10/10.75, addr 3> on usbus0                                                 
ugen0.4: <American Power Conversion> at usbus0 
 
Ищите в списке название бесперебойника или производителя, в моем случае это American Power Converion, и определяете порт - в моем случае это ugen0.4.
Указываете его в настройках:

ups.png
Alex
05.04.2021 10:21:12
com
а как узнать имя com порта? У меня truemas показывает 2 порта, хотя по факту один, второй вероятно это vga