Skip to content

u/feitingen

In this archive from Jul 2013 to May 2023

1
posts
49
comments
1
media
258
score

If you open one end of a dac module you'll see that it's almost empty, at least the less than 3m passive ones.

It's just bare circuitboards where the copper twinax is attached with some passive components, and perhaps a little i2c memory for identification.

The passive ones are cheaper and run cooler than active ones, and in theory, have less latency.

So actually what you're paying for is a cable with fancy connectors.

2 points

Yes, it's absolutely possible.

I think it's a lot less likely since the config isn't updated all the time with scripts like grub, but still possible.

And just had to mention, since grub got attention, it's probably very unlikely to happen again in the near future.

I'll stick with refind until it breaks, or some other bootloader gets a killer feature i need to have.

1 points

If I think about it, I’m not really sure what benefits grub provides anymore.

I like being able to edit kernel parameters before booting, and selecting another kernel if I mess up. Which I do.

I'm sure there's loads of alternatives, I use refind. It's very simplistic and themable, and requires only a little configuration on arch, and everything lives in the efi partition, including kernel and initramfs.

https://wiki.archlinux.org/title/REFInd#For_manual_boot_stanzas

1 points

Go read how "DirtyCred" privilege escalation exploit works and you will know how a potentially harmless setting may not be so harmless after all.

https://github.com/Markakd/CVE-2021-4154/blob/master/exp.c

Do you know what you're talking about? As far as I can see, this is for privilege escalation or container escape on an already breached system.

If you know something I don't, why don't you elaborate?

2 points

You can make your own hook.

It's just a shell script and it just needs to write to /sys/class/backlight/intel_backlight/brightness (assuming an intel laptop)

It is probably an excellent way to learn about initramfs hooks.

Look in /usr/lib/initcpio for references. I recommend copying and modifying install/sleep and hooks/sleep for your script.

Good luck! Ask here if you need help!

10 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.