Claude Code / AI Shows Potential For Reverse-Engineering Hardware For Linux Support

3 days ago by inari to c/linux

avidamoeba 41 points 3 days ago

Yes, this is what I got excited about upon hearing about the recent Adobe "open sourcing."

path: 0 26355700, hotness: undefined, score: 41, children: 1
muusemuuse 2 points 18 hours ago

Until AI puts adobe and oracle out of business I don’t care.

path: 0 26355700 26390844, hotness: undefined, score: 2, children: 0
geneva_convenience 20 points 3 days ago

It would be amazing if this could bootstrap RISCV drivers

path: 0 26355472, hotness: undefined, score: 20, children: 3
avidamoeba 17 points 3 days ago

Or just drivers for existing abandoned but perfectly functional Qualcomm SoCs.

path: 0 26355472 26355675, hotness: undefined, score: 17, children: 2
MalReynolds 3 points 3 days ago

Damn straight, an absolute shitton of Linux phones just waiting to happen...

path: 0 26355472 26355675 26356972, hotness: undefined, score: 3, children: 1
dRLY 3 points 3 days ago

For all the very real bad things AI is/can be used for. I really would love to see more uses like this. So long as the code generated is made to be easily auditable (clear comments and traceable code) by folks that know how to do it for other projects that have been trying to free as many left to rot devices. Obviously a lot of slop stuff will make things hard for finding the gems, and will be important to treat all things as "too good to be true" until verified.

With the way that companies lock the shit out of modern devices with planned obsolescence. It would be great to repurpose those devices with as much of the hardware being accessible, unlike the current issues with major parts not working (not from lack of trying/caring to be clear). The breakthroughs that humans are able to figure out will still be more impressive, but there is a difference between folks like them clearly stating what parts they used tools to help with (if used at all) vs the no effort vibe-coder crowd. Will be also great if they are able to get results with small focused locally hosted AI instead of everything being on those "bubble" data centers.

path: 0 26355472 26355675 26356972 26357497, hotness: undefined, score: 3, children: 0
Artemis_Mystique 17 points 2 days ago

claude aside, i am more interested in starting a project to reverse engineer the binary blobs that infect the linux kernel so it would finally be 100% free

path: 0 26364863, hotness: undefined, score: 17, children: 1
cmhe 1 point 12 hours ago

Do you mean the firmware blobs? If so, then be aware that the firmware doesn't run in the Linux kernel, and isn't part of it. They get uploaded to the peripheral devices, and run there. They are often encrypted and signed, so even if you reverse engineer them, and understand what they do, you also need the private keys of the vendor to sign and/or encrypt them before the peripheral hardware accepts them...

path: 0 26364863 26393750, hotness: undefined, score: 1, children: 0
MightEnlightenYou 16 points 3 days ago path: 0 26356159, hotness: undefined, score: 16, children: 3
melroy 4 points 3 days ago

Yea but you will also install other software like maybe gidhra.

path: 0 26356159 26356255, hotness: undefined, score: 4, children: 2
MightEnlightenYou 3 points 3 days ago

Yep, all in the readme

path: 0 26356159 26356255 26356688, hotness: undefined, score: 3, children: 1
melroy 1 point 21 hours ago

Yes it is.. What is not in the readme is using gidhra mcp plugin. I use as well.

path: 0 26356159 26356255 26356688 26389210, hotness: undefined, score: 1, children: 0
mfat 14 points 2 days ago

I made the fingerprint sensor on my Lenovo 14s Yoga work thanks to Claude. It took 30 minutes.

path: 0 26361145, hotness: undefined, score: 14, children: 8
utopiah 3 points a day ago

Please make it available for others to use and not have to spend resources to do it again, ideally upstream it.

path: 0 26361145 26380539, hotness: undefined, score: 3, children: 3
mfat 1 point a day ago

I did start a public a GitHub repo right after I made it work.

path: 0 26361145 26380539 26381216, hotness: undefined, score: 1, children: 2
utopiah 1 point a day ago

That's great, could you please share a link to that repository so that anybody interested could benefit from your work?

path: 0 26361145 26380539 26381216 26384677, hotness: undefined, score: 1, children: 1
mfat 2 points a day ago path: 0 26361145 26380539 26381216 26384677 26385262, hotness: undefined, score: 2, children: 0
AliOski 2 points 2 days ago

I have been wanting my fingerprint device working too. Did it require a Claude subscription or would the free plan suffice?

path: 0 26361145 26361396, hotness: undefined, score: 2, children: 3
GiorgioBoymoder 1 point 2 days ago

idk about claude but the free version of Kimi is capable of helping you here. I use it for my linux tech support and it's very helpful.

path: 0 26361145 26361396 26366049, hotness: undefined, score: 1, children: 1
mfat 0 points a day ago

Does Kimi k3 really have a free version?

path: 0 26361145 26361396 26366049 26381203, hotness: undefined, score: 0, children: 0
mfat 0 points 2 days ago

I have the pro subscription ($20 a month)

path: 0 26361145 26361396 26375693, hotness: undefined, score: 0, children: 0
AceFuzzLord 9 points 3 days ago

If I wanted a virus on my device, I'll just go to a malware repository rather than trust low quality slopware.

path: 0 26356756, hotness: undefined, score: 9, children: 2
HaraldvonBlauzahn 21 points 3 days ago

I am not going to defend the unacceptable external costs of LLMs here, namely the environmental destruction and the large-scale rug pull on social contracts for creative people.

But adressing your argument, it is totally possible to rewrite the Claude slop to clean, easy to review software. I guess this would be far less work than to reverse-engineer a driver just from captured USB communication.

(That is just my $0.05, but I think the main problem with AI slop in smaller software is not that the code they generate is completely unreadable, but that the LLM systems tend to break down after a few thousand lines, and that they produce architecturally unsound and often subtly wrong software, which leads to an exponentially increasing amount of technical debt if not continously corrrected by experienced people.)

path: 0 26356756 26358263, hotness: undefined, score: 21, children: 0
doubtingtammy 7 points 3 days ago

Good luck finding a malware repository for undocumented proprietary hardware

Reverse engineering is actually a very good use case for LLMs. Its like using a black box to get a different black box to do a trick. It might not be epistemologically sound, but if it can boot the kernel, who cares?

path: 0 26356756 26357971, hotness: undefined, score: 7, children: 0
thedeadwalking4242 6 points a day ago

Why have all of the LLM apologists come out of the wood work.

path: 0 26381450, hotness: undefined, score: 6, children: 1
TrollAccount69 1 point a day ago

All the subscription models that were primarily chatbots before have first party agentic harnesses now so more people have had positive experiences that they want to share.

path: 0 26381450 26382398, hotness: undefined, score: 1, children: 0
panda_abyss 5 points 3 days ago

I would love if someone reverse engineered Logitech drivers and made them better as actual drivers instead of an annoying app

path: 0 26356297, hotness: undefined, score: 5, children: 2
afk_strats 13 points 3 days ago

Logitech and Razer have great open-source driver support on Linux.

path: 0 26356297 26357458, hotness: undefined, score: 13, children: 0
DarkMetatron 6 points 3 days ago path: 0 26356297 26357552, hotness: undefined, score: 6, children: 0
corsicanguppy 3 points 3 days ago

Could this one day get us a second life for our echo flex units? They are phenomenal pieces of hardware.

Meta portal TV are also excellent hardware units discarded by its mothership and ripe for reuse. They were so mired by controversy but the TV unit hardware was really great.

path: 0 26355158, hotness: undefined, score: 3, children: 2
Windex007 4 points 3 days ago

You'll be playing doom on your toothbrush in no time.

But yah maybe. There are mountains of "smart" hardware that demanded cloud, cloud went away, suddenly a brick. I'd love to wire some of that up and give Claude a shot at jail breaking and flashing that kinda thing.

path: 0 26355158 26355265, hotness: undefined, score: 4, children: 1
corsicanguppy 2 points 2 days ago

Right? That's noble work.

And, if you're lucky enough to have had/used/seen the Facebook Portal TV unit in action, you'll understand the zeal I feel. Truly a wonder during covid.

path: 0 26355158 26355265 26374564, hotness: undefined, score: 2, children: 0
muusemuuse 0 points 18 hours ago

The great weakness in getting ARM SoCs in Linux mainlined is how long it takes compared to x86. Wouldn’t it be great if AI dealt the deathblow to x86?

path: 0 26390827, hotness: undefined, score: 0, children: 0
linux
linux

@lemmy.ml

login for more options
68145
9470
5670

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

go to feed...