Translations:Kernel/Gentoo Kernel Configuration Guide/21/en

There are some utilities available that will help you. (part of the  package) will identify your PCI-based and AGP-based hardware, and this includes components built onto the motherboard itself. (from the  package) will identify devices connected to USB ports.