Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)L
LinuxHardware

Members
0
Posts
45
Created
2 yr. ago

A community where you can ask questions about what hardware supports GNU/Linux, how to get things working, places to buy from (i.e. they support GNU/Linux) and so on.

Quick rules:

  • Be nice to each other.
  • Report toxic people.

EXTERNAL RESOURCES


GNU/LINUX VENDORS

🌉 bridged from !linuxhardware@programming.dev by Tidepoo

Getting a Windows-only USB gadget (case LCD, RGB, macro pad) working on Linux: capture the vendor app, then infer the protocol

A lot of cheap hardware (case LCD screens, RGB controllers, macro pads, some mice) only ships with a Windows app, but the USB protocol behind it is usually simple: a fixed header, a command byte, a few value bytes, sometimes a checksum. The workflow that has worked for me: 1. Run the vendor app on Windows (or in a VM with USB passthrough) and capture with USBPcap, or with usbmon on the Linux host if it's a VM. 2. Change exactly one thing at a time (color red, wait, color blue, wait, brightness down) and write down when. 3. Diff the packets between those actions. The bytes that change with your action are the parameters, the ones that never change are the header. 4. Replay the packets from Linux with pyusb or hidapi, then turn that into a small driver or a udev + script setup. I built usb-rea to automate steps 3 and 4: it reads the pcapng, groups the packets by action, infers the command layout (headers, counters, length fields, checksums) and writes a Markdown report (every claim linked to Wireshark frame numbers) plus a standalone pyusb driver. It's a CLI and also an MCP server, so an AI assistant can drive the analysis. I check it in CI against devices that are already documented: from NZXT Kraken X captures it recovers the fan command byte for byte as liquidctl sends it, and the same for the SteelSeries Rival 100 tables from rivalcfg. https://github.com/emirmrkaljevic/usb-rea Before reversing anything, check OpenRGB, liquidctl and the device's GitHub issues first, someone has often done it already. Happy to look at a capture if anyone has a device stuck on Windows.

I built Linux support for the Thermaltake ST360 Ultra LCD — mirroring, sensor HUD and saved animations

I've published st360-lcd-linux, a Linux tool for the 7-inch 1024×600 LCD on the Thermaltake ST360 Ultra ARGB Sync. It supports desktop mirroring, brightness and rotation controls, and saving standby images/videos and boot animations directly to the panel. There's also a PyQt6 app with a media library and draggable hardware-monitor widgets. Source, build instructions and protocol documentation: https://gitlab.com/vangel3/st360-lcd-linux It's GPL-3.0-or-later, with build instructions for common distros and a Nix flake. So far, I've tested one ST360 on Wayland. Other Thermaltake LCDs aren't confirmed, and X11 capture hasn't been tested. Protocol framing builds on Minecube Studio's work, credited in the repo. If you own this model, I'd appreciate testing reports and feedback—especially on installation and the sensor HUD.

gitlab.com

How is Linux on Intel panther lake?

I want to buy a new laptop, I thought about Asus expertbook ultra with Intel ultra 7x or 9x

How good is Linux support on it? How will the battery life be ?

purchase advice

Replacement for HP 15 Laptop with DP over TB/USB-C, NVMe 3.0 SSD

Hi Lemmings, I'd appreciate if you could help me find a replacement for my old notebook. I currently use this laptop and it's dying. Fan is rattling, screen is splotchy. It's not that old, I think from around 2022. Need something with similar specs or better, <500€ used (Central Europe) and with Linux capability. Additional features I want: DP over USB-C or TB. Needs to be able to connect to a docking station. I'd like an AMD CPU and no Nvidia anything. (cross-posted from: https://feddit.org/post/36389033)

Pine64 announces it will stop production for all Linux devices.

From their discord announcements:

"Hi @everyone! Just a quick reminder that due to the current DRAM/eMMC shortage, there isn't any plans to continue producing more Linux devices in the near future. Whether production continues or not depends on the pricing situation for those components after mid 2027.

Devices like the PineNote and PineTab2 are currently estimated to run out of stock in three months time. Just pre-warning everyone in case people start asking when things are going to be in stock again.

Meanwhile, devices like the PineTime, PineVoice and Pinecil will continue production as usual!

As for the PineTime Pro, currently the demo firmware has basic drivers for the display, touch, motion, GPS, buttons, heat rate sensor (chip id only), battery charger, motor, microphone and the speaker. Though some issues do need to be ironed out first before a pilot batch begins production.

That's it for this post, sorry this is a bit of a bleak update, but in the meantime PineStore still have a great lineup of MCU powered devices which will continue to expand with more exciting devices.

Alrightttttt, have a great Monday! (or Tuesday, if you're up that early)"

Very sad news but just another sign of the times.

ARM computers

what is the current state of GNU/Linux on ARM-based machines? I know a lot of distros offer an ARM build, but ARM fragmentation and software availability seem to still be a dealbreaker for personal use, so that might be the reason why I’ve only heard of ARM server focused devices

Schenker Element 16 is a "semi-modular" laptop with a repairable, customizable design - Liliputing

For context: Tuxedo uses Schenker laptops, so we can expect a linux laptop version of this when it releases.

liliputing.com

How Linux Saved My Hardware - 5 stories from recent years

#1 my most recent example is a Macbook Air 13 that I chimera'd out of three different machines; awesome that 2012-2017 models have interchangeable parts. was lucky and one of the boards had 8 GB RAM, a rarity back then. alas, the only battery I got has barely 60% capacity and zillions of charge cycles and I ain't too keen on spending money on a replacement. ok, so shit autonomy, be happy you got a workstation for like $15 in total and run it thusly. except, this one shuts off even if there's like 70% remaining and subsequently won't power on without a charger - kinda big deal for a laptop. I imagine not all its cells are up to spec so when it reaches a threshold it cuts out. under macOS, the SMC lets it sip power and when you attach a charger it just wakes as you left it. linux ain't that cool, when you connect power - all your unsaved work is gone. what linux does have is intel-undervolt. just a smidge of -50mV was enough to remedy the issue. after a coupla days, moved it to -75mV, still perfectly stable; at -100mV it occasionally KPs. so a thing that was unusable away from a charger is again a mobile device, netting me 4+ hours of light use and almost a week of standby! #2 eons ago I had a Thinkpad W520; at least I think that was the model - a 15.6" with the chunky, 7-row keyboard sans numpad. lenovo stabbed me in the heart when they decided that all subsequent models must rock the annoying numeric pad, making you type off-center and... anyhoo, the one I got, had a partially damaged screen, about 100ish pixels wide and super irritating, flashing constantly. replacing it wasn't in the budget and relying on an external monitor was a no-go... hello xrander! that thing allowed you to cut off a part of the screen and that's what I did - converted the 16:10 to something more like 4:3. not only that, a friend taped over the busted part with some carbon-like decal making it look super sick! I'm still trying to find a picture from way back when but no luck so far... not only did I get a super usable machine, it was the coolest workstation by far - maxed out RAM, three SSD/HD in there... well, as cool as those things can be, anyways... #3 a few years back, I got a 13" Yoga, forgot the model, for pocket change. dual-core i5 and soldered 8 GB RAM, gorgeous screen, awesome battery - but it constantly blue-screened. break out the mint USB with memtest, and yepp - errors. dogdamn, no way can I afford to fix this thing and if I try desoldering those things, Imma burn the house down. and break the thing even further... enter GRUB and its BADRAM feature! you can exclude arbitrary region(s) of RAM and the OS that boots after it will be none the wiser - it just uses the rest. and verily, it worked without issues, used it for years and I believe it still works to this day with his current owner. #4 got a kernel-panicking Macbook Pro 15 Mid2010 for next to nothing. those things died en masse, the issue was a capacitor that drove the Nvidia chip. any strain or excess power consumption and the thing gave out and the OS crashed. the fix was/is simple - disable the Nvidia chip via EFI variable and use just the Intel HD graphics. you lose display out but gain a cooler machine, longer battery life, and you get zero issues with linux. having fixed it, I installed linux and wanted to upgrade the RAM to 8 GB. alas, no sticks I found would work in the thing. turns out, the fucker only takes 1066 MHz RAM. I totally lived with the conviction that if you stick faster RAM into slower hardware, it'll run it slower, but apparently that ain't so. so tried bartering with junkers, I'll give you my 1333 RAM, you gimme yours - no takers. buying stuff for something that cost me less than $10 was out of the question... turns out, you can use linux to reprogram the SPD data on the RAM module! you change its identifier to 1066 and the macbook recognized it as such. furthermore, you don't need to patch both sticks, if one is 1066 it can run the other at 1066 as well - so you can run 'em slower! no idea if this is an apple thing or its widely present, but I got a functioning workstation for free! edit: here's the link #5 finally, the Dell Latitude 5285. that's a 2-in-1 tablet with detachable keyboard that I got without the battery. it had okayish specs, the i5-7300u is nothing to get excited about but it had 16 GB LPDDR3 soldered on. the touch display is beyond gorgeous - 400-nit 1920x1280 IPS and the intel graphics shipped the full 4K @ 60 Hz to my monitor via DP-Alt. the only problem - the fucker won't boost past 400 MHz without the battery! buying the thing is out of the question (y'all notice a pattern here, right?) so what are we to do... thankfully, we got msr-tools. the thing can patch CPU's registers and en/disable some things, and one of them is BD_PROCHOT. that signal makes the CPU throttle on account the heat, it's also triggered if anything is amiss - touchpads disconnected, battery not present, etc. what's needed is read out rdmsr 0x1fc if memory serves correctly, and then you add one bit to the read out state and write it back with wrmsr 0x1fc 0x1xxxxx et voila - speedsteps up to 2.7 GHz, a quick systemd script to make it permanent. it won't turbo, to 3.3 GHz or sumsuch, but this was more than enough for everyday use. thanks for reading! y'all got any stories how linux can save your ass without spending money? share it with the class!

I've figured out why Logitech G603 can't Right-click resize in Gnome

Gnome tweaks and dconf say right-click resizing should work. It does, but only with the touchpad buttons. If I use my Logitech G603, it refuses to cooperate. Took a while to figure out why, so I’m sharing in case someone else is banging their head against the same brick wall. Turns out, the Logitech G603’s right click triggers both BTN_RIGHT (273) and BTN_EXTRA (276) at the same time. A normal mouse would just use BTN_RIGHT, with BTN_EXTRA reserved for a separate physical button. Apparently, Gnome can’t handle this kind of messy double-input nonsense and blocks right-click resizing, which is mildly infuriating. I've tried this mouse with three different Linux computers, and the result is always the same. This is clearly caused by the mouse, not the system. Side note: I absolutely love that sort of smooth resizing. If you haven't used it yet, I highly recommend trying it out. I can’t believe how Windows users live without it. Imagine trying to aim for the 1 pixel wide edge of a window every time. Anyway, if you’re running into the same issue, check what your mouse is actually sending when you right-click. Install libinput-tools and run:

 bash
sudo libinput debug-events

My output looks like this:

 
event7   POINTER_BUTTON               +1.688s	BTN_RIGHT (273) pressed, seat count: 1
event7   POINTER_BUTTON               +1.688s	BTN_EXTRA (276) pressed, seat count: 1
event7   POINTER_BUTTON               +1.935s	BTN_RIGHT (273) released, seat count: 0
event7   POINTER_BUTTON               +1.935s	BTN_EXTRA (276) released, seat count: 0

As you can see, a single right click produces four lines corresponding to pressing and releasing two buttons. If I can disable the BTN_EXTRA (276) input, I’ll stick with my Logitech. If not, I'll probably switch to one of my backup mice. I'm planning to test those later this week. Hopefully, they know how to behave. Next time I'm buying a (used) mouse, I'll definitely test it this way before paying. I don't want my hardware to require extra troubleshooting just to do basic things. I'll be looking into that tweaking side later as well, now that I know what to look for. If you have any tips, tricks, and sources to check, feel free to drop them in them here. Update: G305 and Corsair Harpoon RGB Wireless Gaming Mouse don't mess around with the clicks like that. Those have a completely normal right click. Only the Logitech G603 is doing something weird here.

Standalone scanners with ethernet jack?

Does this even exist? I have a brother mfc but trying to print anything at all will spitout a blank page and partway feed 2 more and call it a jam, exact same way every time and this also prevents scanning until it is cleared and the drum is jiggled before closing the front panel. I also have a standalone colour laser printer.

I'm not super excited about the idea of getting another mfc when I have a working printer so I'm looking for recommendations on standalone linux compatible scanners that have wired network capability, ideally with document feeder. So far I've looked at a few but I have low confidence on the linux functionality and network jack isn't even mentioned in spec sheets where I can see it in the picture.

Laptop recommendations w/ touchscreen stylus & good battery life?

Hi, I'm looking for a good laptop to run linux that has a touchscreen with a stylus to take math notes(ik I should be using latex or typst but im too lazy) and good battery life, preferably one that folds into tablet mode to make taking notes easier.

I'm not planning on doing any gaming or video editing on it, just web/notes/programming and potentially a windows VM for software that doesn't work on linux. I also want to try getting into some ricing :). I've been looking at the lenovo yoga 9i, it seems to be pretty good and I found some people that had good linux experiences with it. One thing that would be nice is an hdmi port which the yoga doesn't have as my job involves a lot of AV stuff, but I can just get an adapter.

Any other suggestions? I can probably spend like 1000$ on it but obviously less is better, I'll probably get it used/refurbished from ebay.

$2
099

System76 reveal the new Adder WS laptop, their "most affordable" powerhouse

Laptop battery goes flat, when powered off, only on Debian

Hi all,

I had this laptop (Lenovo Carbon X1 Gen 6), and when it had Debian, it would just go flat on sleep, and even when powered off. So strange. I checked all BIOS settings etc, but could never figure it out.

I moved it to Fedora, and it was perfect. Battery life was boosted like crazy, acted as it was meant to.

However, I have tomove away from Fedora, due to them dropping X11 (it's an accessibility issue I'm facing with my tools) and I forgot about said issue with Debian.

Back on Debian now, woke up, powered on laptop, which was fully charged last night, and it's flat again.

What is it, that Debian is doing differently, that is making it go flat, when powered off?

Please note, I am doing a proper shutdown. Not just closing lid, sleep, hybernate, etc.

Any advice greatly appreciated. Thanks so much!

UPDATE: I booted into a fedora live disk, and shutdown. This time the battery did not go flat at all when shutdown, indicating that it is absolutely debian related, not BIOS or anything else.

outdoor laptop

I'm looking for a replacement for framework 16 laptop for light devops (mostly stuff for homelab, training) that can also be usable outdoors (antiglare/antireflective if possible) for watching TV, possibly light outdoor work. that's possibly modular like framework and has touch screen for tablet mode, but not finding anything that hits all these.

what I've looked at so far: surface pro - this was what I thought was a great compromise, I bought an 8 before I heard about anti glare screens. I bought an 'anti-glare screen protector' but it doesn't help much outdoors starlabs starfighter - doesn't appear to have any modular features, also can't tell if matte is the same thing as anti-glare? no touch screen thinkpad t14 (various gen) - does appear to have ant-glare screen option, but not modular yoga - no anti-glare option that found macbooks - saw this mentioned somewhere for the screen for outdoors. newer versions don't have asahi linux support, no touch screen. getac f110 - appears to be more of a straight rugged tablet than laptop, not sure how well these work for indoor use for devops stuff.

I'm also considering splitting functionality if necessary (laptop without touch/antiglare, but modular. and outdoor tablet with anti-glare/touch screen if it saves money). this is my current config anyways (framework for devops stuff, pixel tablet for lighter stuff) the tablet is basically useless outdoors though. I don't mind buying used, it would probably be more cost-effective for all the features I want anyways.

I'm open to any and all suggestions at this point. Price wise I was hoping to stay under $1500, but not sure how feasible that is, so it's not a hard limit.

anyone using the P106 cards?

so I got these things available locally for $10-20. them is headless GTX 1060 6 GB used during the mining craze, with no way to add on a display out. there's a hack to use it with windows on Haswell and newer boards with iGPU.

there's got to be some use for the things, video transcoding, LLM (can they be run in parallel?), or maybe (spitballing here) sunshine server?

anyone had experience with them?

stacking macbooks - dead screen!1!!

in today's episode of "el stupido stupids around", our hero wants to look up something on a MBP 15 2015 (retina). problem is, there's already a 2010 (fatso) occupying space on the desk. is hero gonna move fatso aside to achieve said goal? 'course not, close fatso and place the retina on top. haha look at my lazy ass being expeditious!

power on the retina and... black screen. no idea what's going on as there are no status lights - thanks apple... is the battery empty, dead, wtf, no way, how can this be? bring over Magsafe 2 charger, plug in, try now... same thing. what the fuck, it's dead? maybe open it and disconnect the battery and try with magsafe only...

in a rare flash of mindfulness hero unstacks the laptops and... there we are, screen lights up, plymouth's decrypt screen is visible and all is good!

what happened is macbooks detect the screen is closed by way of magnets. so, a reed relay closes, SMC says "ok we closed, turn off screen". since there was another macbook beneath it, its magnet array got detected and retina's screen was turned off.