photon icon indicating copy to clipboard operation
photon copied to clipboard

No Documentation Exists for how to Install hardware drivers - Create Documentation

Open RussellHamker opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

No Documentation exists on how to install drivers on Photon OS. Users need to know what packages are required, examples for different scenario's, etc..

Examples that are needed: linux-firmware dkms make/make install

Describe the solution you'd like

Example would be for adding an Intel Wireless Driver. Here is my example:

#Install Packages needed tdnf install -y git linux-api-headers linux-devel linux-firmware usbutils pciutils wpa_supplicant reboot

##Download and install iwlwifi firmware cd /tmp git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git --depth 1 cd linux-firmware sudo cp iwlwifi-* /lib/firmware/

#Search for devices modprobe iwlwifi

#review messages in dmesg for intel driver dmesg | grep iwlwifi

##Use tools to find details about wireless devices and drivers used #PCI Devices lspci lspci xx:yy -nnvvv (allows you to see what firmware is being used and more details) #USB Devices lsusb lsusb xx:yy -nnvvv (same thing)

Describe alternatives you've considered

Nothing exists for this documentation, I had to figure it out on my own.

Additional context

No response

RussellHamker avatar Oct 12 '22 22:10 RussellHamker

Secure Boot and installing drivers highly depend on the hardware manufacturer + environment. There is no methodology description in the Photon OS docs yet. I hope in 2023 we will see some efforts in this direction. With all upcoming security advisories at this level, fail quick and learn faster is 当たり前 (Atarimae) "natural".

From Lenovo, yesterday they shipped the first lux shim version, see https://github.com/lenovo-lux/shim-review.

dcasota avatar Dec 17 '22 13:12 dcasota