Linux Kernel support my hardware?

The following steps may help to quickly identify whether a particular hardware support is included in the Linux Kernel or not. Specifically to identify the devices, which may use original chip with different Vendor or Device ID. For example, we will try with PCI device:

1. List down all PCI devices with its Kernel Modules.

$ lspci -v

Output Format:
Slot ID Device Information
        Kernel driver in use
        Kernel modules

2. List down all PCI device IDs:

$ lspci -n

Output Format:
SlotID Class: VendorID:DeviceID (Revision)
02:00.0 0200: 14e4:167d (rev 21)
03:00.0 0280: 8086:4227 (rev 02)
15:00.0 0607: 104c:ac56

3. Check, device (Intel Pro/Wireless 3945ABG Card) is supported by the Linux Kernel:

$ grep “4227” /lib/modules/2.6.ab-c-def/modules.pcimap
Module  Parameters
iwl3945  0x00008086 0x00004227 …
iwl3945  0x00008086 0x00004227 …

For other devices, use appropriate command (lsdev, lshal, lspci, lspcmcia, lsusb) and map file (modules.inputmap, modules.ofmap, modules.seriomap, modules.usbmap, modules.ccwmap, modules.ieee1394map, modules.isapnpmap, modules.pcimap).

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: