Page 1 of 1
kernel-5.2.21-rt15
Posted: Sat Mar 18, 2023 7:03 pm
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
Re: kernel-5.2.21-rt15
Posted: Sat Mar 18, 2023 10:36 pm
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?
Re: kernel-5.2.21-rt15
Posted: Sun Mar 19, 2023 7:42 pm
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!
Re: kernel-5.2.21-rt15
Posted: Sun Mar 19, 2023 7:46 pm
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
Re: kernel-5.2.21-rt15
Posted: Sun Mar 19, 2023 9:43 pm
by ally
@stemsee
link 3 has permissions problems
huge-6.2.0-rt3
... 2MeZYmylyn