Intel ucode firmware version parser

| Linux | python | ucode

Out of fun I wrote a simple Python script to pull the version number out of Intel’s ucode firmware, for example, the firmware used by my wifi driver. I needed this so I could see what version I was running versus a new version I had downloaded from Intel’s Linux Wireless site.

So here is the code if anyone finds it interesting:

and example of using it is:

$ ./ /lib/firmware/*.ucode
iwlwifi-1000-3.ucode    : ver
iwlwifi-3945-1.ucode    : ver
iwlwifi-3945-2.ucode    : ver
iwlwifi-4965-1.ucode    : ver
iwlwifi-4965-2.ucode    : ver
iwlwifi-5000-1.ucode    : ver
iwlwifi-5000-2.ucode    : ver
iwlwifi-5150-2.ucode    : ver
iwlwifi-6000-4.ucode    : ver
iwlwifi-6000g2a-5.ucode : ver (6000g2a fw v17.168.5.1 build 33993)
iwlwifi-6000g2b-5.ucode : ver (6000g2b fw v17.168.5.1 build 33993)
iwlwifi-6050-4.ucode    : ver
iwlwifi-6050-5.ucode    : ver (6050 fw v41.28.5.1 build 33926)
comments powered by Disqus