Ask Your Question
0

Remove unwanted firmware fc28

asked 2018-05-18 09:36:05 -0600

ahalman gravatar image

I am wondering if it's possible to remove unneeded firmware from fedora. Currently this is installed:

$ sudo dnf list installed | grep firmware atmel-firmware.noarch 1.3-18.fc28 @fedora
ipw2100-firmware.noarch 1.3-22.fc28 @fedora
ipw2200-firmware.noarch 3.1-15.fc28 @fedora
iwl100-firmware.noarch 39.31.5.1-83.fc28.1 @fedora
iwl1000-firmware.noarch 1:39.31.5.1-83.fc28.1 @fedora
iwl105-firmware.noarch 18.168.6.1-83.fc28.1 @fedora
iwl135-firmware.noarch 18.168.6.1-83.fc28.1 @fedora
iwl2000-firmware.noarch 18.168.6.1-83.fc28.1 @fedora
iwl2030-firmware.noarch 18.168.6.1-83.fc28.1 @fedora
iwl3160-firmware.noarch 1:25.30.13.0-83.fc28.1 @fedora
iwl3945-firmware.noarch 15.32.2.9-83.fc28.1 @fedora
iwl4965-firmware.noarch 228.61.2.24-83.fc28.1 @fedora
iwl5000-firmware.noarch 8.83.5.1_1-83.fc28.1 @fedora
iwl5150-firmware.noarch 8.24.2.2-83.fc28.1 @fedora
iwl6000-firmware.noarch 9.221.4.1-83.fc28.1 @fedora
iwl6000g2a-firmware.noarch 18.168.6.1-83.fc28.1 @fedora
iwl6000g2b-firmware.noarch 18.168.6.1-83.fc28.1 @fedora
iwl6050-firmware.noarch 41.28.5.1-83.fc28.1 @fedora
iwl7260-firmware.noarch 1:25.30.13.0-83.fc28.1 @fedora
libertas-usb8388-firmware.noarch 2:20180402-83.git8c1e439c.fc28 linux-firmware.noarch 20180402-83.git8c1e439c.fc28 zd1211-firmware.noarch 1.4-15.fc28 @fedora

Since my network card is Centrino Advanced-N 6205 using something like firmware=18.168.6.1 is it save to remove the rest? and even more - so in the end I could only stick to iwl6000g2a-firmware.noarch or iwl6000g2b-firmware.noarch- according to https://fedoraproject.org/wiki/Firmwa... ?

Thanks for help

edit retag flag offensive close merge delete

3 Answers

Sort by » oldest newest most voted
0

answered 2018-05-19 00:03:18 -0600

ahalman gravatar image

updated 2018-05-19 00:07:27 -0600

First download all rpm, just to be safe, in case of not working wifi.

sudo dnf download $(sudo dnf list installed | grep firmware | grep iw)

Remove all, except for your version

lshw -C Network

sudo dnf remove $(sudo dnf list installed | grep firmware | grep iw | grep -v 18.168.6.1)

So I could reduce it from 16 to 6 firmware packages. From the fedora firmware wiki I suppose it's ether firmware iwl6000g2a-firmware.noarch or iwl6000g2b-firmware.noarch - so I just tried to remove and active both, with reboots in between, and in the end I had a working wifi with only iwl6000g2a-firmware.noarch.

Later I also removed all the other wifi firmwares, to end with:

sudo dnf list installed | grep firmware

iwl6000g2a-firmware.noarch 18.168.6.1-83.fc28.1 @@commandline
linux-firmware.noarch 20180402-83.git8c1e439c.fc28

edit flag offensive delete link more
1

answered 2018-05-18 11:33:12 -0600

villykruse gravatar image

These packages are fairly small, except for linux-firmware. The package linux-firmware should be kept as that one contains firmware for the CPU, For the rest, I couldn't tell which one is actually needed, but for the small size it might not even be worth it to remove any of them.

edit flag offensive delete link more

Comments

Sure, the packages are quite small but I don't want to have packages on my system that I don't need and I have a bad internet connection, so every package I don't have to download is a blessing :P

ahalman gravatar imageahalman ( 2018-05-19 00:03:05 -0600 )edit
0

answered 2018-07-17 03:56:03 -0600

boyd gravatar image

Use dmesg to confirm what is being used/loaded on your system.

root  /  dmesg | grep firmware
[    0.035933] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    9.346528] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq

Double-check the package name(s) you need to keep

 root  /  rpm -qf /usr/lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq 
linux-firmware-20180525-85.git7518922b.fc29.noarch

Protect these packages

root  /  rpm --qf "%{NAME}\n" -qf /usr/lib/firmware/intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq >> /etc/dnf/protected.d/firmware.conf

Remove unneeded firmware

dnf list installed |grep firmware |grep -v linux-firmware | awk '{print $1}' | xargs dnf remove -y
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2018-05-18 09:36:05 -0600

Seen: 283 times

Last updated: May 19