January 14, 2023

Fedora 37 Getting Started with Virtualization (KVM)

$ sudo dnf groupinfo virtualization
Last metadata expiration check: 0:03:45 ago on Sat 14 Jan 2023 10:51:52 AM CET.
Group: Virtualization
 Description: These packages provide a graphical virtualization environment.
 Mandatory Packages:
   virt-install
 Default Packages:
   libvirt-daemon-config-network
   libvirt-daemon-kvm
   qemu-kvm
   virt-manager
   virt-viewer
 Optional Packages:
   guestfs-tools
   libguestfs-tools
   python3-libguestfs
   virt-top

$ sudo dnf install @virtualization

$ sudo systemctl enable --now libvirtd

$ lsmod | grep kvm
kvm_intel             389120  0
kvm                  1122304  1 kvm_intel
irqbypass              16384  1 kvm

https://docs.fedoraproject.org/en-US/quick-docs/getting-started-with-virtualization/

Fedora 37 How to Turn off System Beep / Bell Terminal Sound

$ less /proc/modules | grep pcspkr
pcspkr 16384 0 - Live 0x0000000000000000

$ lsmod | grep pcspkr

$ modinfo pcspkr
filename:       /lib/modules/6.0.18-300.fc37.x86_64/kernel/drivers/input/misc/pcspkr.ko.xz
alias:          platform:pcspkr
license:        GPL
description:    PC Speaker beeper driver
...

$ sudo modprobe -r -v pcspkr

https://www.cyberciti.biz/faq/rhel-fedora-turn-off-bell-beep-sound/

https://www.cyberciti.biz/faq/howto-display-list-of-modules-or-device-drivers-in-the-linux-kernel/

Fedora 37 don't Group Application when Alt + Tab

This describes how to enable classic Windows Alt-Tab or not Group Application when switching windows.

In Fedora 37 the rpm package gnome-shell-extension-alternate-tab is gone.

Open Settings -> Keyboard -> Keyboard Shortcuts: View and Customize ShortCuts

Click on Switch Windows and set new shortcut by pressing Alt-Tab.

Reference: https://blogs.gnome.org/fmuellner/2018/10/11/the-future-of-alternatetab-and-why-you-need-not-worry/

January 12, 2023

Updating BIOS and Firmware for DELL and Fedora 37

Introduction

These are excellent guides

To check BIOS version from Fedora

$ sudo dmidecode -s bios-version
1.23.0
$ sudo dmidecode 
# dmidecode 3.4
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.
...
BIOS Information
	Vendor: Dell Inc.
	Version: 1.23.0
	Release Date: 07/06/2022
...
	Characteristics:
		PCI is supported
		PNP is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		EDD is supported
		5.25"/1.2 MB floppy services are supported (int 13h)
		3.5"/720 kB floppy services are supported (int 13h)
		3.5"/2.88 MB floppy services are supported (int 13h)
		Print screen service is supported (int 5h)
		8042 keyboard services are supported (int 9h)
		Serial services are supported (int 14h)
		Printer services are supported (int 17h)
		ACPI is supported
		USB legacy is supported
		Smart battery is supported
		BIOS boot specification is supported
		Function key-initiated network boot is supported
		Targeted content distribution is supported
		UEFI is supported
	BIOS Revision: 1.23
...

Glossary

  • Basic Input Output System (BIOS)
  • Unified Extensive Firmware Interface (UEFI)
  • System Management BIOS (SMBIOS)

"In 2012 the BIOS was superseded with the much more advanced Unified Extensive Firmware Interface (UEFI)."

"Another term that gets often confused with BIOS is the System Management BIOS. The system management BIOS doesn't change unless you physically upgrade the motherboard or purchase a new computer. It is a reflection of the age of the hardware and the number of technologies made available."

To check Firmware version from Fedora

When updating BIOS, you do not update Firmware (FW), such as Solid State Drive (SSD), Thunderbolt Dock Firmware, etc

$ sudo fwupdmgr get-devices
Dell Inc. XPS 15 9550
│
├─Core™ i7-6700HQ CPU @ 2.60GHz:
│     Device ID:          4bde70ba4e39b28f9eab1628f9dd6e6244c03027
│     Current version:    0x000000f0
│     Vendor:             Intel
│     GUIDs:              b9a2dd81-159e-5537-a7db-e7101d164d3f ← cpu
...
│     Device Flags:       • Internal device
│   
├─GM107M [GeForce GTX 960M] (XPS 15 9550):
...

"The Linux Vendor Firmware Service (LVFS) has been put together by Device Vendors or OEMs as a means for users to easily update their devices firmware using Linux. Dell and Lenovo in particular have been widely using the LVFS."

https://fwupd.org/lvfs/devices/

To Update BIOS and Firmware from Fedora with LVFS

List all devices.

$ sudo fwupdmgr refresh --force
$ sudo fwupdmgr get-devices

Check for updates for all devices.

$ sudo fwupdmgr get-updates

Updates all devices.

$ sudo fwupdmgr update

If your system isn't supported by the Linux Vendor Firmware Service (LVFS), then you must use BIOS Flash Update. Use a blank USB Flash Drive (FAT32 formatted) that contains the UEFI BIOS Update, that you download from Dell Support Website - https://www.dell.com/support/home/

Clear TPM https://www.dell.com/support/kbdoc/en-us/000184894/how-to-successfully-update-the-tpm-firmware-on-your-dell-computer

Update Error:        Updating disabled due to TPM ownership