Morning, I’m having trouble locating the device path and file so I can connect to Netgate’s Serial Console. I will be using this command:
sudo screen -U /dev/ttyUSB0 115200
as describe on Hardware — Connect to the Console | pfSense Documentation. I don’t have a ttyUSB0 listed
nasheayahu@leapnas:/dev> ls tty*
tty tty11 tty15 tty19 tty22 tty26 tty3 tty33 tty37 tty40 tty44 tty48 tty51 tty55 tty59 tty62 tty9 ttyS11 ttyS15 ttyS19 ttyS22 ttyS26 ttyS3 ttyS5 ttyS9
tty0 tty12 tty16 tty2 tty23 tty27 tty30 tty34 tty38 tty41 tty45 tty49 tty52 tty56 tty6 tty63 ttyS0 ttyS12 ttyS16 ttyS2 ttyS23 ttyS27 ttyS30 ttyS6
tty1 tty13 tty17 tty20 tty24 tty28 tty31 tty35 tty39 tty42 tty46 tty5 tty53 tty57 tty60 tty7 ttyS1 ttyS13 ttyS17 ttyS20 ttyS24 ttyS28 ttyS31 ttyS7
tty10 tty14 tty18 tty21 tty25 tty29 tty32 tty36 tty4 tty43 tty47 tty50 tty54 tty58 tty61 tty8 ttyS10 ttyS14 ttyS18 ttyS21 ttyS25 ttyS29 ttyS4 ttyS8
in /dev but there’s a folder /dev/usb with:
nasheayahu@leapnas:/dev> ls usb -l
total 0
crw------- 1 root root 180, 96 Nov 28 18:01 hiddev0
crw------- 1 root root 180, 97 Nov 28 18:01 hiddev1
nasheayahu@leapnas:/dev>
I tried to get a listing of devices using a usb, I do have the Netgate Console plugged in:
leapnas:~ # lsusb
Bus 002 Device 003: ID 0bda:0401 Realtek Semiconductor Corp. USB3.0 Hub
Bus 002 Device 007: ID 0bda:0411 Realtek Semiconductor Corp. Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 011: ID 0578:0578 Intrinsix Corp. NS-PCHDEDS19 Series DISK2
Bus 001 Device 010: ID 0578:0578 Intrinsix Corp. NS-PCHDEDS19 Series DISK1
Bus 001 Device 008: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Bus 001 Device 005: ID 1b1c:0c1a Corsair CORSAIR Lighting Node CORE
Bus 001 Device 012: ID 0d8c:0005 C-Media Electronics, Inc. Blue Snowball
Bus 001 Device 019: ID 046d:085c Logitech, Inc. C922 Pro Stream Webcam
Bus 001 Device 003: ID 0bda:5401 Realtek Semiconductor Corp. RTL 8153 USB 3.0 hub with gigabit ethernet
Bus 001 Device 026: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 001 Device 025: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 001 Device 024: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
Bus 001 Device 009: ID 1e71:2007 NZXT NZXT USB Device
Bus 001 Device 020: ID 10c4:ea60 Silicon Labs CP210x UART Bridge
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
and:
leapnas:~ # usb-devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh=16
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev=05.14
S: Manufacturer=Linux 5.14.21-150500.55.36-default xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256msT: Bus=01 Lev=01 Prnt=01 Port=09 Cnt=01 Dev#= 20 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=10c4 ProdID=ea60 Rev=01.00
S: Manufacturer=Silicon Labs
S: Product=CP2102N USB to UART Bridge Controller
S: SerialNumber=4c075624ba22ea11952b7b07ee3e86b4
C: #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbfs
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0msT: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=10000 MxCh=10
D: Ver= 3.10 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=1d6b ProdID=0003 Rev=05.14
S: Manufacturer=Linux 5.14.21-150500.55.36-default xhci-hcd
S: Product=xHCI Host Controller
S: SerialNumber=0000:00:14.0
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256msT: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 7 Spd=5000 MxCh= 4
D: Ver= 3.00 Cls=09(hub ) Sub=00 Prot=03 MxPS= 9 #Cfgs= 1
P: Vendor=0bda ProdID=0411 Rev=01.21
S: Manufacturer=Generic
S: Product=4-Port USB 3.0 Hub
C: #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=13(Int.) MxPS= 2 Ivl=16ms
Is there a why to also get the dev path and file name being used so I can locate the Console USB?