kernel-5.2.21-rt15

Moderator: Forum moderators

Post Reply
User avatar
stemsee
Posts: 779
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 8
Has thanked: 185 times
Been thanked: 131 times

kernel-5.2.21-rt15

Post by stemsee »

I had compiled 5.2.21-rt15 in May 2021, and on my acer 714 touchscreen chromebook all hardware works perfectly. At some point i deleted the sources, and i subsequently made many attempts to recompile it. That was made difficult by the reorganisation of categories in the linux configurations. Finally I did it and improved the compile: adding overlayfs built in, and reducing the number of drivers compiled for obscure hardware devices. During my many attempts I managed to compile Kernel 6.2.0-rt3 which also recognises all the hardware. I had used Meld diff viewer to try to back-grade the newer config with the older config options .... but they changed a lot, in several ways! Along the way i updated SUKK and finally fixed the build and source and $(uname -r) links in ../src and /lib/../../../

I am posting this here in hope that other developers could reference it for their own distro compiles, vanilla d-pup (which doesn't boot at all on chrome hardware with its present kernel), klv, easyos, fatdog and all recent pups.

huge-5.2.21-rt15
https://drive.google.com/file/d/1nouf8g ... BfctFjT3U4
sources-5.2.21-rt15
https://drive.google.com/file/d/1oUcF_x ... 4GqccilKvq
huge-6.2.0-rt3
EDIT: https://drive.google.com/file/d/1bL81wJ ... ujajh-9A-O
sources-6.2.0-rt3
https://drive.google.com/file/d/15CAg9X ... wH6aVFMc7U

Last edited by stemsee on Tue Mar 21, 2023 7:28 am, edited 3 times in total.
User avatar
bigpup
Moderator
Posts: 6999
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 913 times
Been thanked: 1528 times

Re: kernel-5.2.21-rt15

Post by bigpup »

Are you saying this kernel build is for ChromeBooks and the needs of their hardware?

on my acer 714 touchscreen chromebook all hardware works perfectly

Sound is also working OK???

Sound issues are one big problem with ChomeBooks and the kernel being used.
So if sound is working OK.
This would be a good kernel for ChromeBook installs of Puppy?

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
stemsee
Posts: 779
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 8
Has thanked: 185 times
Been thanked: 131 times

Re: kernel-5.2.21-rt15

Post by stemsee »

Acer 714 Chromebook uses intel core i5 or i3 8th Gen cpu and skl chipset, on an EKKO Nami board, Raydium multi-touch Touchscreen, SST soundcard drivers, with alsa not alsa-ucm, it has a chicony webcam but uses usb-gadget webcam drivers not chicony.ko. 2x USB-C with hdmi/power etc, bootable micro sd card reader, usb3, onboard stereo speakers and stereo mics, also headphone jack with, mic. backlit keyboard, glass touchpad with multi-touch. Hinge switch works for hibernation, screen off/on etc, wifi card can connect and have a hotspot,and bluetooth 5.

Obviously other Chromebooks will use other devices, so kernel module drivers will need to be compiled, at least now the sources are available. This kernel should boot on 64 bit intel hardware. Probably AMD too, but not specifically compiled for AMD. Virtualbox extras, overlayfs built in. And of course it is full time pre-emptible low latency realtime kernel!

Last edited by stemsee on Sat Apr 08, 2023 1:51 pm, edited 2 times in total.
User avatar
stemsee
Posts: 779
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 8
Has thanked: 185 times
Been thanked: 131 times

Re: kernel-5.2.21-rt15

Post by stemsee »

bigpup wrote: Sat Mar 18, 2023 10:36 pm

Are you saying this kernel build is for ChromeBooks and the needs of their hardware?

on my acer 714 touchscreen chromebook all hardware works perfectly

Sound is also working OK???

Sound issues are one big problem with ChomeBooks and the kernel being used.
So if sound is working OK.
This would be a good kernel for ChromeBook installs of Puppy?

Sound is fine after figuring out which configuration to use. Basically these settings

Code: Select all

 amixer set Headphone unmute 2>/dev/null 
 amixer set Mic unmute 2>/dev/null 
 amixer set 'Playback Digital' unmute 2>/dev/null
 amixer set 'Capture Digital' unmute 2>/dev/null
 amixer set Mixin unmute 2>/dev/null
 amixer set 'Mixer In Mic' unmute 2>/dev/null
 amixer set 'Mixer Out FilterL DACL' unmute 2>/dev/null
 amixer set 'Mixer Out FilterR DACR' unmute 2>/dev/null
 amixer set 'codec0_out mo media0_in mi' unmute 2>/dev/null
 amixer set 'codec1_out mo media0_in mi' unmute 2>/dev/null
 amixer set 'ToneGen DTMF' toggle 2>/dev/null
 amixer set 'ToneGen DTMF' toggle 2>/dev/null
 
 amixer set Headphone 80% 2>/dev/null
 amixer set Mic 80% 2>/dev/null
 amixer set 'Playback Digital' 80% 2>/dev/null
 amixer set 'Capture Digital' 80% 2>/dev/null
 amixer set Mixin 80% 2>/dev/null
 amixer set ToneGen 100% 2>/dev/null

These are set from a startup script because alsactl store doesn't work properly with my setup. I dont know about other distros on the same hardware.

Code for the hinge switch

Code: Select all

#!/bin/sh
ID=$(cat /proc/acpi/wakeup | grep LID | cut -f2,3 -d':')
echo "$ID" | sudo tee /sys/bus/acpi/drivers/button/unbind

blacklist.conf to get sound and touchscreen running

Code: Select all

blacklist snd_hda_intel
blacklist elants_i2c
blacklist i2c_hid
Last edited by stemsee on Tue Mar 21, 2023 8:53 pm, edited 2 times in total.
User avatar
ally
Posts: 186
Joined: Tue Jul 07, 2020 5:14 am
Has thanked: 108 times
Been thanked: 81 times
Contact:

Re: kernel-5.2.21-rt15

Post by ally »

@stemsee

link 3 has permissions problems

huge-6.2.0-rt3
... 2MeZYmylyn

:)

Post Reply

Return to “Kernels”