Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    package request - more hardware listing tools (lsusb, lspci, lshw)

    Scheduled Pinned Locked Moved pfSense Packages
    usb diagnostics
    3 Posts 2 Posters 1.5k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jtm200
      last edited by jtm200

      tl;dr would be great to have packages to provide lsusb, lspci, lshw

      I'm trying out pfSense community on an old PC. To easily add a NIC, I connected a USB-to-Etherenet adapter.
      However it is difficult to determine if the USB connection is USB 3 or USB 2. I visually scanned the startup messages but they scroll by quickly. I know I can also look in the logs. But that looking in the logs requires piecing together terse logging messages to understand the current USB tree configuration. And it is very cumbersome to reboot the host after a USB hardware change just so I can understand how the host is using the USB devices (or any other hardware device). On top of that, log messages may not reflect the current system state for whatever reason. A tool like lsusb would make all of this much easier.

      For the general task of listing known hardware and hardware settings, which is needed for anyone troubleshooting hardware, it would be great to have available all of the programs mentioned; lsusb, lspci, lshw.

      M 1 Reply Last reply Reply Quote 0
      • M
        michmoor LAYER 8 Rebel Alliance @jtm200
        last edited by

        @jtm200 doing a quick google search

        https://unix.stackexchange.com/questions/309513/find-when-new-hardware-is-connected-on-freebsd

        Firewall: NetGate,Palo Alto-VM,Juniper SRX
        Routing: Juniper, Arista, Cisco
        Switching: Juniper, Arista, Cisco
        Wireless: Unifi, Aruba IAP
        JNCIP,CCNP Enterprise

        J 1 Reply Last reply Reply Quote 1
        • J
          jtm200 @michmoor
          last edited by jtm200

          @michmoor thanks! I had not found that post. Your search-fu is superior! ;-P

          Indeed usbconfig has the info I want.

          For anyone wondering

          • lsusb == usbconfig
          • lspci or lshs == pciconf or camcontrol devlist -v

          <small>...Though, IMHO, it would be nice if those other familiar tools were provided. :-)</small>

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.