if a device is PCI, use lspci to collect before and after.
If a device is USB, use lsusb the same way.

lsusb > before.txt
(plug in device)
lsusb  > after.txt
diff before.txt after.txt

same for lspci

watch /var/log/messages during any change:

tail -100f /var/log/messages

Can search on USB identifiers

lsusb -v | grep Device
....
Bus 001 Device 006: ID 046d:0994 Logitech, Inc. QuickCam Orbit/Sphere AF
....

can search google on 046d:0994 for specific devices.

lspci provides similar debug. try -v(v) (for detailed info)  and -n  (to
see the device identifiers) using the slot number:

[root@jwesterd-f33 ~]# lspci  | grep Wireless
3d:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)

And then:

[root@jwesterd-f33 ~]# lspci -s 3d:00.0  -vv | grep -e Speed -e Subsystem
Subsystem: Intel Corporation Dual Band Wireless-AC 8265
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L1, Exit Latency L1 <8us
LnkSta: Speed 2.5GT/s (ok), Width x1 (ok)
LnkCtl2: Target Link Speed: 2.5GT/s, EnterCompliance- SpeedDis-

and:

[root@jwesterd-f33 ~]# lspci -s 3e:00.0  -vv | grep -e Speed -e Subsystem
Subsystem: Samsung Electronics Co Ltd Device a801
LnkCap: Port #0, Speed 8GT/s, Width x4, ASPM L1, Exit Latency L1 <64us
LnkSta: Speed 8GT/s (ok), Width x4 (ok)
LnkCtl2: Target Link Speed: 8GT/s, EnterCompliance- SpeedDis-

John Westerdale

Sr Container Consultant

Red Hat <https://www.redhat.com/> NYC Office/WFH

john.westerd...@redhat.com

M: 201-376-9993     IM: jwesterd   He / Him / His
<https://www.redhat.com/>


On Fri, Oct 30, 2020 at 8:38 AM J.Witvliet--- via users <
users@lists.fedoraproject.org> wrote:

> Did you install hardware to a running machine? Not all hardware can
> appreciate that....
>
> If it is an USB-device, you might have to trigger the udev-rules.
>
>
> *From: *"Todd Chester via users" <users@lists.fedoraproject.org>
> *Date:* Friday, 30 October 2020 at 10:21:03
> *To: *"fedora" <users@lists.fedoraproject.org>
> *Cc: *"Todd Chester" <toddandma...@zoho.com>
> *Subject:* new hardware?
>
> Hi All,
>
> Just a refresher. If I add a new piece of presumably supported
> hardware to my computer, do I need to run some kind of scan
> to add it to the fray?  Or does a reboot take care of that?
>
> -T
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>
> Dit bericht kan informatie bevatten die niet voor u is bestemd. Indien u
> niet de geadresseerde bent of dit bericht abusievelijk aan u is
> toegezonden, wordt u verzocht dat aan de afzender te melden en het bericht
> te verwijderen. De Staat aanvaardt geen aansprakelijkheid voor schade, van
> welke aard ook, die verband houdt met risico's verbonden aan het
> elektronisch verzenden van berichten.
>
> This message may contain information that is not intended for you. If you
> are not the addressee or if this message was sent to you by mistake, you
> are requested to inform the sender and delete the message. The State
> accepts no liability for damage of any kind resulting from the risks
> inherent in the electronic transmission of messages.
> _______________________________________________
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> Fedora Code of Conduct:
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
> https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
>
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to