Porteus Kernel Builder

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
User avatar
Arleson
Black ninja
Black ninja
Posts: 39
Joined: 20 Aug 2017, 18:51
Distribution: Porteus 5.0rc3 Xfce
Location: Brazil

Porteus Kernel Builder

Post#1636 by Arleson » 14 May 2022, 11:45

Ed_P wrote:
14 May 2022, 04:35
Arleson wrote:
14 May 2022, 00:29
Speaker working on Dell! :celebrate14: Just create this file: /etc/modprobe.d/intel_dspfix.conf

File Contents:

Code: Select all

options snd_intel_dspcfg dsp_driver=1
Thank you Arleson, your sound fix works with my Dell Inspiron 14 notebook. :good:
You are welcome! :beer:

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus Kernel Builder

Post#1637 by Ed_P » 14 May 2022, 17:40

For those not saving changes this script will make a module of Arleson's intel-dspfix.conf file. It's what I'm using. :)

Dellsound.sh

Code: Select all

#!/bin/bash

# Color definitions
txtbld=$(tput bold)               # Bold
txtred=${txtbld}$(tput setaf 1)   # Bold Red
rst=$(tput sgr0)                  # Reset
function redpswd() {
  echo -E "$1" $txtred  
}

if [ `whoami` != "root" ]; then
   redpswd "Enter root's password"
   su -c "sh $0 $1 "
   exit
fi
echo $rst

if [ -d /tmp/mod/ ]; then
   rm -rf /tmp/mod
fi
mkdir -p  /tmp/mod

# copy modified files

cp -a --parents    /etc/modprobe.d/intel_dspfix.conf    /tmp/mod/

dir2xzm  /tmp/mod  /tmp/Dellsound.xzm     &&     rm -rf /tmp/mod

echo 
rm    -rf /tmp/mod/ && echo && ls -sh /tmp/*.xzm
read
Ed

User avatar
Arleson
Black ninja
Black ninja
Posts: 39
Joined: 20 Aug 2017, 18:51
Distribution: Porteus 5.0rc3 Xfce
Location: Brazil

Porteus Kernel Builder

Post#1638 by Arleson » 14 May 2022, 19:51

Ed_P wrote:
14 May 2022, 17:40
For those not saving changes this script will make a module of Arleson's intel-dspfix.conf file. It's what I'm using. :)
:good:

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#1639 by babam » 17 May 2022, 22:06

Arleson wrote:
14 May 2022, 00:29


Speaker working on Dell! :celebrate14: Just create this file: /etc/modprobe.d/intel_dspfix.conf

File Contents:

Code: Select all

options snd_intel_dspcfg dsp_driver=1
However, the microphone is not yet available. I continue the investigation. :hmmm:
How about using "2" or "3"?
Have you ever tried it?
Sorry, my English is bad.

User avatar
Arleson
Black ninja
Black ninja
Posts: 39
Joined: 20 Aug 2017, 18:51
Distribution: Porteus 5.0rc3 Xfce
Location: Brazil

Porteus Kernel Builder

Post#1640 by Arleson » 18 May 2022, 11:59

babam wrote:
17 May 2022, 22:06
Arleson wrote:
14 May 2022, 00:29


Speaker working on Dell! :celebrate14: Just create this file: /etc/modprobe.d/intel_dspfix.conf

File Contents:

Code: Select all

options snd_intel_dspcfg dsp_driver=1
However, the microphone is not yet available. I continue the investigation. :hmmm:
How about using "2" or "3"?
Have you ever tried it?
I tested with values 2 and 3, and the speaker is back to being "dummy". Value of 2 stands for SST - Sky Lake. The processor in my Dell notebook is Tiger Lake.

I still can't get the Dell microphone to work... Any help is welcome. :%)

User avatar
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#1641 by Blaze » 04 Jun 2022, 17:01

[Updated kernel Examples]
==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 32bit.config)

[5.18.1] <-- NEW : "All patches" patching was done.
32bit-ALL-kernel5.18.1.tar (~112 M)
https://www.mediafire.com/file/904m7eep ... 5.18.1.tar
0672c20d0be300062e6eda653ddaccba 32bit-ALL-kernel5.18.1.tar

==== AUFS Kernel only for Porteus ====
Simple package (vmlinuz, 000-kernel.xzm, 06-crippled_sources-NNN-XXbit.xzm, 64bit.config)

[5.18.1] <-- NEW : "All patches" patching was done.
64bit-ALL-kernel5.18.1.tar (~118 M)
https://www.mediafire.com/file/bkc1nshr ... 5.18.1.tar
15ce8fdc3c2e41e6d792cf4d4ad254a7 64bit-ALL-kernel5.18.1.tar

Note 1: Compiler that was used.
for kernel 5.18.1: 11.2.0-x86_64
A new :url: x86_64 05-devel.xzm (GCC version 11.2.0)

Note 2: Compilated under Porteus 5.0-current (Slackware 15.0 base)

Thanks to neko for his support.
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus Kernel Builder

Post#1642 by Ed_P » 05 Jun 2022, 05:31

The wifi network option doesn't work with my Dell Inspiron 14. :(
Ed

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#1643 by babam » 05 Jun 2022, 05:50

Ed_P wrote:
05 Jun 2022, 05:31
The wifi network option doesn't work with my Dell Inspiron 14. :(

Code: Select all

dmesg | grep QuZ.*ucode
Sorry, my English is bad.

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus Kernel Builder

Post#1644 by Ed_P » 05 Jun 2022, 06:07

With a module I made from a prior kernel that has wifi network support 18.1 works for my Dell. :Yahoo!:

Code: Select all

#!/bin/sh

# 5.17.2 WiFi files that add support for my new Dell.
# https://forum.porteus.org/viewtopic.php?p=87701&sid=903ab5878a5498cdf4ef52468ff41249#p87701
# https://forum.porteus.org/viewtopic.php?p=86386&sid=0ac300285a0bb779e3f2ae79ce934da5#p86386 

# Color definitions
txtbld=$(tput bold)               # Bold
txtred=${txtbld}$(tput setaf 1)   # Bold Red
rst=$(tput sgr0)                  # Reset
function redpswd() {
  echo -E "$1" $txtred  
}

if [ `whoami` != "root" ]; then
   redpswd "Enter root's password"
   su -c "sh $0 $1 $2"
   exit
fi
echo $rst 

#set -x;

mkdir -p  /tmp/mod
cp -a --parents /lib/firmware/iwlwifi-Qu-b0-hr-b0-63.ucode   /tmp/mod/
cp -a --parents /lib/firmware/iwlwifi-Qu-b0-jf-b0-63.ucode   /tmp/mod/
cp -a --parents /lib/firmware/iwlwifi-Qu-c0-hr-b0-63.ucode   /tmp/mod/
cp -a --parents /lib/firmware/iwlwifi-QuZ-a0-hr-b0-63.ucode  /tmp/mod/
cp -a --parents /lib/firmware/iwlwifi-QuZ-a0-jf-b0-63.ucode  /tmp/mod/
cp -a --parents /lib/firmware/iwlwifi-cc-a0-63.ucode         /tmp/mod/
cp -a --parents /lib/firmware/iwlwifi-ty-a0-gf-a0-63.ucode   /tmp/mod/
dir2xzm   /tmp/mod/                   /tmp/DellInspiron14wifi.xzm
rm    -rf /tmp/mod/ && echo && ls -sh /tmp/*.xzm
read
babam wrote:
05 Jun 2022, 05:50

Code: Select all

dmesg | grep QuZ.*ucode

Code: Select all

guest@porteus:~$ dmesg | grep QuZ.*ucode
[    1.922022] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-72.ucode failed with error -2
[    1.922068] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-71.ucode failed with error -2
[    1.922095] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-70.ucode failed with error -2
[    1.922391] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-69.ucode failed with error -2
[    1.922419] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-68.ucode failed with error -2
[    1.922441] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-67.ucode failed with error -2
[    1.922464] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-66.ucode failed with error -2
[    1.922487] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-65.ucode failed with error -2
[    1.922509] iwlwifi 0000:00:14.3: Direct firmware load for iwlwifi-QuZ-a0-hr-b0-64.ucode failed with error -2
[    1.965046] iwlwifi 0000:00:14.3: loaded firmware version 63.c04f3485.0 QuZ-a0-hr-b0-63.ucode op_mode iwlmvm
guest@porteus:~$ 
Ed

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#1645 by babam » 05 Jun 2022, 06:23

Higher version is better (iwlwifi-QuZ-a0-hr-b0-72.ucode)
Sorry, my English is bad.

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus Kernel Builder

Post#1646 by Ed_P » 05 Jun 2022, 12:41

babam wrote:
05 Jun 2022, 06:23
Higher version is better (iwlwifi-QuZ-a0-hr-b0-72.ucode)
See this posting from Blaze: Porteus Kernel Builder (Post by Blaze #87701) as to why 63-ucode is used.
Ed

User avatar
Blaze
DEV Team
DEV Team
Posts: 3860
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Porteus Kernel Builder

Post#1647 by Blaze » 05 Jun 2022, 14:39

For the kernel 5.18.1 above I don't applied hack with linux-5.1x.xx/drivers/net/wireless/intel/iwlwifi/cfg/22000.c
Linux 6.6.11-porteus #1 SMP PREEMPT_DYNAMIC Sun Jan 14 12:07:37 MSK 2024 x86_64 Intel(R) Xeon(R) CPU E3-1270 v6 @ 3.80GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Navi 23 [Radeon RX 6600] [1002:73ff] (rev c7) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#1648 by babam » 05 Jun 2022, 16:50

Ed_P wrote:
05 Jun 2022, 12:41

See this posting from Blaze: Porteus Kernel Builder (Post by Blaze #87701) as to why 63-ucode is used.
From the dmesg output, the Kernel searches from the highest version to the lowest version.
In this case the Kernel looks for *-72.ucode as priority.
Sorry, my English is bad.

User avatar
Ed_P
Contributor
Contributor
Posts: 8315
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

Porteus Kernel Builder

Post#1649 by Ed_P » 05 Jun 2022, 22:56

Check this posting for an answer to that babam: Porteus Kernel Builder (Post by Blaze #87836) :)
Ed

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

Porteus Kernel Builder

Post#1650 by babam » 06 Jun 2022, 05:23

Ed_P wrote:
05 Jun 2022, 22:56
Check this posting for an answer to that babam: Porteus Kernel Builder (Post by Blaze #87836) :)
Is higher than 63.ucode not working for you?
Sorry, my English is bad.

Post Reply