17 comments

  • nullify88 2 hours ago

    On a similar experience, I use moonlight on my Android TV to stream video games from my computer in another room. I use my own fork from an unmerged PR which enables me to use an Xbox One Wireless adapter so I can play with my pad wirelessly. These pads have a 3.5mm jack on them which on Windows and Linux enables me to route audio from the game to headphones connected to the pad. Moonlight and the xow driver it bundled, was nowhere near being able to provide this as a feature.

    After about 5 hours, feeding it the GIP spec, an export of sniffed usb traffic from Windows, prior art (xone driver for linux), and giving Claude connectivity to my Shield via adb, I had it working. This continuously blows my mind that I dont have to beg a developer on Github to do it for me.

    Claude could do it for me for $20.

    • netruk44 2 hours ago

      I have another controller-related anecdote.

      I have a Razer Wolverine Xbox controller that has extra back paddle buttons. The controller doesn't expose the paddles directly to PC's over USB. You have to use button remapping on the controller to map them to 'real' Xbox buttons for the PC to see them. But I wanted to use the back paddle buttons on Steam as separate controls.

      So I downloaded the latest firmware update off the internet (because what device doesn't have firmware updates these days), installed Ghidra and an MCP server for it, and told Sol to look for how I can expose these extra buttons to a PC host. Maybe we could write a firmware patch?

      Turns out the controller already has a special mode to expose those buttons, possibly as a hardware test. But it was enough to write a Linux driver to put the controller into that mode, and a little bit of extra driver code to map the paddles to a Linux controller button, and voila. Paddles working in Steam.

      And it only took a few hours to do, too. I spent more time making an open source repository out of the concept than I spent making it work.

      • rivetrune 20 minutes ago

        What's the repository link? I think it would be fascinating to have a corpus of "hacked" solutions like this. Can't tell you how many times a couch co-op game night got sabotaged by some piece of hardware failing to communicate with another.

    • kuberwastaken 12 minutes ago

      Thanks for sharing :)

      linking this here for those who don't wanna read the threads https://github.com/Kuberwastaken/hp-laser-1008a-macos

      genuinely very interesting case to learn from for me because this was one of the HP branded Samsung printers which didn't have linux/macos support for a long while.

      • swerner 11 minutes ago

        I tried to get Copilot to port the Linux drivers for my HP CP1025 to macOS, but it failed. Even modern Linux can’t print to it any more, I had to put an older distribution on a RasPi and now I’m printing at reduced quality.

        • jwr 2 hours ago

          Freedom -- that's what it is. There are now more and more cases where we don't have to ask for permission.

          Unfortunately, as I look around, I see most of the hardware vendors around me as gatekeepers. They prevent me from writing custom code in various ways. Apple restricts access to NFC or their UWB positioning, Supernote Manta does not let me access a bluetooth microphone, the list goes on. Denon at least has an API in their amps/receivers: buggy, but it's there.

          • ramijames 19 minutes ago

            I think, from a business perspective, they just don't see us at all. We're such a small, inconsequential part of the market that building open, free hardware with code that we can update, change, or alter for our needs is just.. not part of their business use-case.

          • JKCalhoun 2 hours ago
            • joshmarinacci 1 hour ago

              I was able to get Claude to write an embedded Rust driver for an unsupported epaper screen in a couple of hours by providing it with the spec and some existing C drivers. It’s still not as fast as the arduino versions, but it let me make progress in a project that I’d been stuck on for months.

              Reverse engineering seems like an AI sweet spot.

              • ramijames 18 minutes ago

                In general I've been really happy to leverage Claude to quickly build software that only I use. It fits my needs exactly and I don't have to worry so much about how others will use it, if it is generalized enough, if the documentation is up to date, etc.

                It's kind of nice.

              • 1970-01-01 1 hour ago

                Obscure? Sir, the printer is sold on Amazon. It is not obscure.

                • gmac 46 minutes ago

                  https://printervention.app (also co-written by Claude) may be useful in similar cases.

                  • Razengan 19 minutes ago

                    If you see articles from old computing magazines or TV shows in the 1980s (there’s some good rabbit holes on YouTube), the prevailing optimism was that everyone would have a computer in their kitchen and write their own programs for whatever they need to do..

                    But programming languages and operating system fragmentation didn’t let that really take off

                    Maybe now that original promise of personal computers can be realized :)

                    Imagine instead of going to the App Store, just telling ChatGPT etc to make a custom app and run it right away on your phone

                    • foodandart 2 hours ago

                      Nice! I've an ML-1710 that is sitting in a closet that I'd love to get properly working on macOS. I've tried with SPLIX and followed the directions to the letter to install the drivers, but it just doesn't stick, in that I can only manage to get one print queue through the device for each time the computer is turned on. I gave up and repaired a junked Epson and put that into service, but I really prefer the formar printer for making line tenplates.

                      • jorl17 1 hour ago

                        Recently, I had bizarre situation: I wanted to play a game from my childhood on Windows 11, but, without changing two booleans in the settings, I could not reliably move my in-game cursor. The catch is that to change those values in the settings, I needed to move my in-game cursor. So I was stuck.

                        After digging around, I found a file that looked like it could be the settings file, but it was not plaintext.

                        Naturally, I told Claude all the options I knew existed in the settings and told it what I needed it to change.

                        After about 10 minutes poking around my system and the file, it correctly identified the bits (not bytes!) that corresponded to the two settings, and flipped them on. It. Just. Worked!

                        (Well, then I found out I actually needed to do quite a lot more than flipping those bits, but I still found it worth sharing).

                        I have many more experiences similar to these. LLMs are an amazing superpower.

                        • txomon 1 hour ago

                          I have a similar experience. I'm playing minecraft lately and I have patched already like 5 issues in the server that I would never put together time to trace/debug/understand/fix, including some o(n^3) integration between mods that was lagging the server. Same thing for utilities, managing backups, etc.

                        • qarl2 2 hours ago

                          Yeah. I have a Stratasys J55 3D printer. Industrial and closed.

                          And now I can print to it via my Mac.

                          It's a fun time to be alive.

                          • cushychicken 56 minutes ago

                            I love seeing things like this. Is it not kind of a magical thing to see AI make stuff like this reality? This was always possible but not worth a human’s time. Now this guy has a working printer again. That’s pretty doggone neat.

                            • amelius 2 hours ago

                              Next try writing a printer driver for your iPhone.

                              • kotaKat 2 hours ago

                                if you shoehorn it into CUPS you might as well just expose CUPS on your home network and use AirPrint via IPD at that point ;)

                              • finchisko 51 minutes ago

                                I would like to see driver for my samsung printer. Drivers for mac was only for some very old macOS

                                • leecommamichael 2 hours ago

                                  "HP" "obscure"

                                  Cool nonetheless.

                                  • kotaKat 2 hours ago

                                    sliiiiightly obscure in that it seems to use the ULD drivers (or a variant of); HP's "unified linux driver" that talks Samsung's printing language. it's weird.

                                    https://wiki.debian.org/CUPSPrintQueues#hpuld

                                    claude seems to have realized it was one of the samsung printer variants and just shoehorned in a samsung MFP driver to the OS.

                                  • 2dahg 57 minutes ago

                                    Performing Stallman's stunt. Cool story bro, but unverified. Guy is marketing AI on X with an "attention is all you need" picture etc.