Our News Team @ 11 with host Snot Flickerman


Yes, I can hear you, Clem Fandango!

  • 6 Posts
  • 543 Comments
Joined 2 years ago
cake
Cake day: October 24th, 2023

help-circle



  • Snot Flickerman@lemmy.blahaj.zonetoSelfhosted@lemmy.world!@$& Homelab Networking
    link
    fedilink
    English
    arrow-up
    16
    arrow-down
    1
    ·
    edit-2
    7 days ago

    When you do it for work, you log what you have changed each time you make a change to try to fix it, and you log what you revert, so you can keep track of what you have tried, what worked, and what didn’t and have a clearer idea of what the solution was.

    Sometimes it really does take a while to nail down though, and sometimes it isn’t entirely clear why what worked worked. Especially if you’re a junior network engineer without as much experience.









  • There’s a few different ways for you to probe for info on your USB devices:

    lsusb - lists pretty much everything usb related, including root hubs on your motherboard

    For a more readable lsusb output you can lsusb -v | grep -E '\<(Bus|iProduct|bDeviceClass|bDeviceProtocol)' 2>/dev/null in my experience it can be helpful to slap a sudo on the beginning as well because sometimes certain devices can’t be polled without root privileges.

    usb-devices - similar to lsusb but produces much more detailed (but less human readable) information

    find /sys/bus/usb/devices/usb*/ -name dev - produces a list of where the system saves information on usb devices. Each of the listed folders will hold a lot of files with a wealth of information on each usb device, but be very careful and do not edit these files.

    You can also do this to see what the system is doing in the background and then try plugging and unplugging devices from the offending usb ports:

    watch "dmesg | tail -20"

    You’ll at least be able to see if the system is registering anything at all when trying to use those ports, or if it’s as though the system doesn’t see them at all.

    I have a similar issue on my Lenovo ThinkBook but the ports don’t work in any OS despite being enabled in the UEFI. I still haven’t figured out what is wrong with them, but it seems they may just be toast. Thankfully the USB-C ports still work and I can just connect a hub to one of those.