Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Intel wireless card driven by iwlwifi, and I can see the following message in dmesg:

iwlwifi 0000:03:00.0: loaded firmware version build 42301

But how do I know which firmware is loaded?

share|improve this question
The answer is build 42301. But I do not think that is your real question? – Nils Jul 19 '12 at 12:21
I suspect it may not load a firmware every time the system boots up, but only reports what firmware version is running on the ethernet card. – fduff Jul 19 '12 at 12:53
up vote 3 down vote accepted

The iwlwifi driver loads the microcode file for your wifi adapter at startup. If you want to know which one of the /usr/lib/firmware/.ucode* files is loaded you can use something like this script


./ucode.py /usr/lib/firmware/*.ucode

and compare the output to your dmesg message.

I had to make some minor adjustments to that script... remove the comma on line 28, print formatting (lines 28, 34, 42, 46, 47) and also on line 42:

-  print ("ver %u.%u.%u.%u%s") % (major, minor, api, serial, readable)
+  print ("ver %u.%u.%u.%u%s" % (major, minor, api, serial, readable))
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.