Guys you’re not gonna believe this:
- 0 Posts
- 52 Comments
It’s not strictly Linux anymore, but I wrote a library (or userspace driver?) in Python that interacts with a ChromeOS Embedded Controller found in Framework Laptops and Chromebooks. The driver part of it interacts with the EC directly over the IO ports, which was originally written for Linux but later ported to FreeBSD and Windows since IO ports aren’t at all OS specific. It can also talk to the
cros_ec_dev
driver on Linux if it’s loaded.https://github.com/Steve-Tech/CrOS_EC_Python
I wrote a GUI utility for Framework Laptops too, which also serves as the example for CrOS_EC_Python: https://github.com/Steve-Tech/YAFI
SteveTech@programming.devto Linux@lemmy.ml•What bios settings do I need to change before installing Linux?English5·4 months agoIt can, but it requires creating your own signing key, registering it with secure boot, and signing your nvidia driver.
There’s a guide here: https://askubuntu.com/a/1049479
But if you’re running any out of tree drivers (e.g. the nvidia driver), I’d recommend just leaving secure boot off.
I’ve seen an S3 option in Smokeless_UMAF, so maybe you can enable real suspend, but I haven’t tried on my Framework 13 AMD.
SteveTech@programming.devto Linux@lemmy.ml•I cannot enable `HAVE_KPROBES_ON_FTRACE` - Kernel compileEnglish2·7 months agoYes, but it doesn’t look like
KPROBES_ON_FTRACE
is supported on arm64. I did find this patch though which implements it: https://patchwork.kernel.org/project/linux-arm-kernel/patch/20191218140622.57bbaca5@xhacker.debian/If you don’t know how to apply a patch, you can either paste the link into
b4
, or download the mbox and apply it withgit am
.
Probably a long shot, but if you live in Australia (or maybe also New Zealand), Jaycar often sells the Ender 3 V3 SE for AU$250, which seemed like a really good price compared to other places I found.
SteveTech@programming.devto Linux@lemmy.ml•zcat shouldn't error out if you try to zcat an uncompressed file, it should just output the damned file !English6·8 months agoIt’s part of GNU Gzip, and zcat is basically just a shell script that runs
exec gzip -cd "$@"
meaning you can actually just docat /usr/bin/zcat
to get the source.
SteveTech@programming.devto Linux@lemmy.ml•I cannot enable `HAVE_KPROBES_ON_FTRACE` - Kernel compileEnglish2·8 months agoThe options that start with
HAVE_
usually depend on the arch or compiler. I don’t believe it’s possible to enable manually without modifying the source itself.
SteveTech@programming.devto Linux@lemmy.ml•Any good up-to-date Conky examples or alternatives?English5·8 months agoPretty useless unless you use KDE, but I really like KDE’s widgets.
I think you’d have to modify the edid, since you’re setting a custom refresh rate, not a hidden one.
I’ve use wxEDID to force enable VRR before.
if they use AMD that’s better on linux, they don’t need to know what a GPU driver is.
Same goes for Intel, unless they need to use OneAPI.
SteveTech@programming.devto Linux@lemmy.ml•What is the proper way to install Vulkan drivers in Linux Mint 21.3 with an AMD GPU? (I think this issue is solved)English3·1 year agoEpic!
I’ve never seen that on modern AMD stuff that uses radv, but I’m sure it’s probably fine.
SteveTech@programming.devto Linux@lemmy.ml•What is the proper way to install Vulkan drivers in Linux Mint 21.3 with an AMD GPU? (I think this issue is solved)English2·1 year agoOh whoops yeah there is, run
sudo update-grub
.But otherwise that config looks correct.
SteveTech@programming.devto Linux@lemmy.ml•What is the proper way to install Vulkan drivers in Linux Mint 21.3 with an AMD GPU? (I think this issue is solved)English3·1 year agoCool, you’re going to have to enable Sea Islands (CIK) support for amdgpu. You should just have to add
radeon.cik_support=0 amdgpu.cik_support=1
to your kernel parameters. You’re probably using GRUB so to do that you’ll need to runsudo nano /etc/default/grub
to edit it’s config file, then add the above to the end ofGRUB_CMDLINE_LINUX_DEFAULT
(keep it in the quotes, but space seperated from the previous parameter). Then reboot and hopefully Vulkan works!Alternatively, there’s a section on the Arch Wiki for this, it should work fine for Mint too: https://wiki.archlinux.org/title/AMDGPU
SteveTech@programming.devto Linux@lemmy.ml•What is the proper way to install Vulkan drivers in Linux Mint 21.3 with an AMD GPU? (I think this issue is solved)English1·1 year agoCould you post the output of
vulkaninfo
including any errors that it might also print.If it’s not shown, what GPU do you have?
Also run
lspci -k
, is your GPU using amdgpu or the old radeon driver?
SteveTech@programming.devto Linux@lemmy.ml•Enabling Antenna Aggregation Might Make Big Difference If Your Laptop Has An Intel Wifi Card.English1·1 year agoI think some people also use
power_save=0
which would, but my understanding is11n_disable=8
enables aggregating transmit packets together, which impacts latency but improves upload speed.
SteveTech@programming.devto Linux@lemmy.ml•what exactly am I doing adding deb http://ftp.us.debian.org/debian sid main to my etc/apt/sources.list? trying to install newest yt-dlp on debian 12.6English61·1 year agoIf you want the latest version of most python apps, I’d recommend using
pipx
, since it’ll create python virtual environments for each app installed, and won’t mess with system packages.
WARNING KVM acceleration not available, using 'qemu'
That’s related to hardware virtualisation, like the other person said, check that it’s enabled.
WARNING Using --osinfo generic, VM performance may suffer. Specify an accurate OS for optimal results.
This is related to
--os-variant=generic
, I don’t remember what Home Assistant OS is based off, but find out and pick an option fromvirt-install --os-variant list
, otherwise uselinux2022
.ERROR internal error: Could not run '/usr/bin/swtpm_setup'.
I’m not sure why it’s attaching a TPM, but I believe
--tpm clearxml=true
should remove it.
Not OP, but BIOSes often give you a specific error code after a few wrong password attempts. You can put the code in here to recover the password: https://bios-pw.org/