Linux Seeing First LED Driver Written In Rust

https://www.phoronix.com/news/Linux-Rust-LED-Driver-Patches

93 points · 8 comments · view on lemmy.world

8 Comments

Diurnambule@jlai.lu · 11 pts · 319d (6 replies)
thingsiplay@beehaw.org · 12 pts · 318d (1 reply)

The drop of third party hdds nothing to do with the new LED driver written in Rust. Do you suggest that Rust is enshitificating too??

Diurnambule@jlai.lu · 3 pts · 318d

No but using synology as an example is a bad choice. Or are you suggesting that rust should start to be locked to ?

chaospatterns@lemmy.world · 6 pts · 318d (3 replies)

For what it's worth, they reversed that policy

Diurnambule@jlai.lu · 6 pts · 318d (2 replies)

Yeah saw this, this in unexpected. Revert enshitification is rare.

pineapplelover@lemmy.dbzer0.com · 4 pts · 317d (1 reply)

As Louis Rossman said we shouldn't forget this. If you piss in my cereal and replaced it, I'm not gonna just forget that you did it.

Diurnambule@jlai.lu · 2 pts · 317d

That really well said.

Aceticon@lemmy.dbzer0.com · 8 pts · 318d

This is really just a driver which sends a bunch of bytes via I2C to a microcontroller.

I2C is a very standard way of communicating with digital integrated circuits at low speed so this is not specific to the microcontroller used on Synology NAS devices (which is actually a pretty old and simple one) much less specific to drive leds.

So whilst technically this specific Linux Driver ends up controlling LEDs on a very specific device, the technique used in it is way more generic than that, and can be used to control just about any functionality sitting behind a digital integrated circuit that exposes an interface to control it via I2C, be it one that hardcodes it or one which, like this one, is a microcontroller which itself implements it in code.

All this to say that this is a bit bigger than just "LED driver".