Some Bits: Nelson's log

4 posts in January 2026

Notes on keyboards

For years I’ve been using Apple’s external keyboards, the classic A1243. But mine failed so I am looking to replace it. I ended up buying some new old stock of A1243s from eBay.

Mechanical switch keyboards are what all the keyboard hipsters like. Some folks like very loud clicky keys, ugh. But even with “silent” keys they are still noisy devices because of the physical action and motion. The other common quality option are scissor switch keyboards. That’s what Apple uses, also pretty much every laptop. Other switches in the mix.. Membrane keyboards, generally low quality. Butterfly switch keyboards, which Apple recently introduced and everyone hated. And optical switches, which kind of get lumped in with mechanical but are different. I’ve seen Hall effect keyboards advertised too.

Keyboards come in all sorts of layouts. Keychron has a nice summary of popular layouts. I prefer the Tenkeyless (TKL) layout, which they call “80%”. 65% and 75% compact keyboards are also popular, particularly on laptops. Nothing wrong with a full 100% keyboard if you have the space, but the problem is it pushes the mouse further to the right. I never use the tenkey pad so prefer to not have it.

Good keyboards have features called “anti-ghosting” and “n key rollover” which make typing better. The problem is when you press several keys at once, particularly gaming. What happens? With ghosting you press two keys and the keyboard registers some completely third keystroke. Rollover refers to how many keys you can press at once and have them recognized. This site lets you test it your rollover. USB devices are limited to 6 keys at once, a protocol limitation. Keychron delivers the full 6 keys. My Apple 1324 delivers somewhere between 3 and 5 depending on which key you press. A Cherry keyboard I tried sometimes only sends 2. It also has ghosting. It is cheap.

Keyboards come wired, Bluetooth, or proprietary 2.4GHz wireless. The Bluetooth ones historically have been laggier and have worse battery life. Folks get all twisted up about keyboard latency but I think in practice it’s like 4ms or better in any practical setup. Anti-ghosting adds lag too, or maybe it’s debouncing.

Keychron is a good option for well made relatively inexpensive mechanical keyboards. I have a K1 Pro that I like pretty well. Even with low profile keycaps it still sits taller than an Apple scissor switch keyboard. And even with the red silent switches it’s still kind of noisy, a meaty thunk as each key bottoms out. I gather you can stuff foam inside the keyboard to quiet that.

I cannot find a good scissor switch keyboard other than Apple’s. Apple’s is unusual in having just 0.9mm travel, very very slim. Also their manufacturing is just impeccable. Unfortunately the new keyboards are like $200 and have features I can’t use. That’s why I may buy some used ones.

Matias scissor keyboards comes close but there’s something about their keycaps that constantly has me mis-keying when I type. I wrote their support and they said compared to Apple their keyboards has 2.0mm travel (not my problem) and something about the dome design meant you had to hit the keys in the middle (probably my problem).

The Cherry Stream is popular as a cheap quality scissor keyboard. It is well made for the price. But the keys feel heavy and squishy and the keycaps have this weirdly angled design that makes it hard to type on.

There are other scissor options I haven’t pursued yet. I’ve mostly been looking for Tenkeyless layouts and those are rare. May need to give up on that.

I ended up ordering a couple of new-in-box Apple A1243s on eBay. They stopped making these in 2017. I found some for about $70 delivered which is a pretty good price for new. Used seem to be $30-$100 depending on which order you look at. Amazon has refurbished ones for about $80. The new ones that arrived do appear to be genuine and work.

Totally different thing but I love these tiny palmtop keyboards. Smaller than a game controller. Definitely not for real typing but great for a PC plugged in to your TV where you occasionally have to press one or two keys.

Portable monitor for desktop use

There’s a new class of “portable monitors” that are small: 14″, 15.6″, etc. But high density, often 4K resolution, and surprisingly bright. These are basically laptop screens in a package to use as standalone monitors. They’re intended to be used portably with a little cover / stand but you can use one for your desktop too. It’s just not simple to mount them! Read on for notes on finding a small second monitor and mounting it on a VESA stand.

Here’s my new setup. At left is the 31.5″ 6K screen, an ASUS ProArt. At right is a UPERFECT 15.6″ 4K display mounted on a FeeLazy 75mm VESA mount. I am using that as a second screen for side distractions, like Slack or Signal. (I used to have a 34″ ultrawide, just one screen, but the new 16:9 monitor isn’t wide enough to let me have a main window and then something useful to the side.)

Portable monitors

Portable monitors are a new product category to me. They take USB power in and HDMI or DisplayPort or USB-C/Thunderbolt for the video. No battery in the ones I’ve seen but they are designed to be portable and easy to set up anywhere.

NewEgg has a wide selection but if you look closely the brand UPERFECT dominates. They are astonishingly cheap: I paid $130 for a 15.6″ 4K display with superior brightness (450 nits) and good color. It’s only 8 bit SDR, and 60Hz, but within those constraints it’s great. Let’s see how long it lasts, there are reports this kind of hardware tends to overheat and have a short lifespan.

UPERFECT has a wide variety of portable displays for different needs: low density, high density, high refresh for gaming. They sell via NewEgg and direct but not via Amazon. The one I picked seemed particularly good for cheap desktop use.

Portable monitor stands

The one drawback is it doesn’t come with a stand. It has a little magnetic cover that can fold back and hold it up in landscape mode. But I wanted this mounted like a desktop monitor, and in portrait mode. That proved surprisingly difficult.

The good thing is UPERFECT monitors have VESA mounting holes. Not all portable monitors do. Mine has four M3 screw holes at 75mm x 75mm VESA spacing. The screw holes are very shallow, they recommend 6mm screws and I think the hole itself is probably just 4mm deep. That makes mounting difficult. (The manual claims the screws are M4 6mm but that is not true: it’s M3 6mm).

The first stand I tried is well built but too big for the application. The whole thing is just big, it’s designed for full size monitors. Also it supports both 75x75 and 100x100 VESA mounts. That’s nice but the 100x100 hangs off the edge of the monitor! Not great. (If you do try to use a bigger mount like this, note that M3 screws are tiny: you will need large washers to work with the big mounting holes.)

The stand I’m using is a FeeLazy stand designed for portable monitors. The build quality is not great. The monitor plate is plastic, the mount joint is a screwy ball-and-socket thing that does not feel terribly secure. But it’s OK for a small light monitor. It’s working well enough and feels right-sized for the screen. Other small stand options include this JUNEBOX or maybe a stand from UPERFECT.

Overall I’m happy with this setup. With the new 16:9 monitor I was missing a place out of the way to put small windows. Now I have one.

Chromebooks identify USB C details

I learned something neat from a Google engineer on Reddit the other day: Chromebooks have superpowers when diagnosing USB-C connections that PCs don’t have. Including reading the e-marker built into the cable that identifies its capabilities.

Modern USB is a remarkably complex thing, with both the cable and the device on the other end negotiating capabilities like speeds, power for charging, etc. Most of that isn’t particularly visible to the user, not without USB debugging hardware. But turns out on a Chromebook it’s as simple as plugging in the USB device, going to chrome://system, and reading the info from typec_connector_class. At the bottom is an example with my Chromebook plugged into an Anker 65W charger, charging at 37W on a cable that nominally supports 100W.

Yeah I’ve got no idea what all that debug dump means either. I asked Gemini and it identifies the charger as doing Power Delivery 3.0 and that it offers various charging power settings including a programmable power up to 11V at 4.55A.

As for the cable, Gemini says that Vbus Current Handling: 0x2 is the cable’s way of saying it can handle 3A at most, which makes me wonder about that 100W claim on the cable. The product_type_vdo1: 0x84050 is a bitmask identifying various cable capabilities. This one is USB 2.0 only, 3A max. Ie: a “charging cable” and not a very good one at that. (The neat thing about this cable is it has a little display built in, that’s what says it’s charging at 37W. Maybe 15V or 20V and not at full 3A draw?)

The Reddit discussion has more detail. The Linux typec driver is doing a bunch of work along with a typec daemon in userspace. Unfortunately it requires cooperation from the firmware on the computer to make this information available to the kernel and PC hardware doesn’t do it.

port0
uevent: DEVTYPE=typec_port
TYPEC_PORT=port0
vconn_source: yes
supported_accessory_modes: none
power_role: source [sink]
data_role: [host] device
preferred_role: source
power_operation_mode: usb_power_delivery
usb_power_delivery_revision: 0.0
usb_typec_revision: 0.0
waiting_for_supplier: 0
port0-partner
uevent: DEVTYPE=typec_partner
accessory_mode: none
usb_power_delivery_revision: 3.0
type: not_ufp
number_of_alternate_modes: 0
supports_usb_power_delivery: yes
identity
id_header: 0x180ffff
USB Vendor ID: 0xffff
Reserved: 0x0
Product Type (DFP): 0x3
Modal Operation Supported: 0x0
Product Type (UFP/Cable Plug): 0x0
USB Capable as a USB Device: 0x0
USB Capable as a USB Host: 0x0
product: 0xffffffff
bcdDevice: 0xffff
USB Product ID: 0xffff
cert_stat: 0x0
XID: 0x0
product_type_vdo1: 0x0
Port Number: 0x0
Reserved: 0x0
Host Capability: 0x0
Reserved: 0x0
DFP VDO Version: 0x0
product_type_vdo2: 0x0
product_type_vdo3: 0x0
pd0
uevent: DEVTYPE=usb_power_delivery
revision: 3.0
sink-capabilities
uevent:
source-capabilities
uevent:
4:fixed_supply
uevent:
maximum_current: 2050mA
voltage: 20000mV
1:fixed_supply
uevent:
dual_role_power: 0
unconstrained_power: 1
usb_communication_capable: 0
unchunked_extended_messages_supported: 0
maximum_current: 3000mA
usb_suspend_supported: 0
dual_role_data: 1
voltage: 5000mV
2:fixed_supply
uevent:
maximum_current: 3000mA
voltage: 9000mV
3:fixed_supply
uevent:
maximum_current: 2730mA
voltage: 15000mV
5:programmable_supply
uevent:
pps_power_limited: 1
minimum_voltage: 3300mV
maximum_voltage: 11000mV
maximum_current: 4550mA
port0-cable
uevent: DEVTYPE=typec_cable
usb_power_delivery_revision: 2.0
type: passive
plug_type: type-c
identity
id_header: 0x18000000
USB Vendor ID: 0x0
Reserved: 0x0
Modal Operation Supported: 0x0
Product Type: 0x3
USB Capable as a USB Device: 0x0
USB Capable as a USB Host: 0x0
product: 0x0
bcdDevice: 0x0
USB Product ID: 0x0
cert_stat: 0x0
XID: 0x0
product_type_vdo1: 0x84050
USB Speed: 0x0
SOP'' Controller Present: 0x0
Vbus Through Cable: 0x1
Vbus Current Handling: 0x2
SSRX2 Directionality Support: 0x0
SSRX1 Directionality Support: 0x0
SSTX2 Directionality Support: 0x0
SSTX1 Directionality Support: 0x0
Cable Termination Type: 0x0
Cable Latency: 0x2
Reserved: 0x0
USB Type-C Plug to USB Type: 0x2
Reserved: 0x0
Firmware Version: 0x0
HW Version: 0x0
product_type_vdo2: 0x0
product_type_vdo3: 0x0
port0-plug0
uevent: DEVTYPE=typec_plug
number_of_alternate_modes: 0
physical_location
panel: left
horizontal_position: left

HDR screenshots on Windows

tl;dr: if you’re using HDR on Windows you probably want a new screenshot tool. Bandicamera seems to do HDR reasonably well.

I’ve got HDR10 on my Windows machine working. I like it! Everything looks normal and bright and then occasionally some very bright image comes along that’s even brighter and looks quite striking, a highlight. It’s particularly fun with photos: most photos are normal 8 bit color but a 10 bit comes along sometimes on Instagram and everything comes to life. Also your eye is a marvel, it quickly adjusts to the extra brightness so nothing looks too bright, just more dynamic.

Anyway, making a good screenshot from Windows in HDR mode proves to be hard. The underlying problem is screenshots tend to be 8 bit PNG or JPEG, so you have to collapse the 10 bits down to 8 bits. Ordinarily those brighter 9th and 10th bits aren’t needed, you’re only screenshotting normal SDR images, so often you can just take the ordinary reference white #ffffff as the brightest white in the output #ffffff and it’ll be fine. But that doesn’t work well if there is an overbright part in the screenshot.

Why not take 10 bit screenshots? You can, but you have to save them as an unusual new PNG format or in JPEG-XL or something. For my purposes I usually want a normal 8 bit PNG or JPG.

Anyway, on to the tools. Here’s two test webpages I’m screenshotting: a page with only regular images on it and a page with an eye-searing HDR on it. The key thing I’m looking for here is in the SDR image the white is #ffffff, white. That’s my most important use-case. It’d be nice if the HDR

Greenshot

Greenshot is an old free screenshot tool that is easy to use but quite old fashioned and doesn’t seem HDR aware at all. It seems to do be doing my naive thing: assume all images are 8 bits and just sort of crush any brighter images down to white. The white background is #ffffff like I want, but then any contrast in the HDR part is blown out to white.

Update 2026-03-31: I didn’t describe the problem with Greenshot, which is sometimes even with SDR images if you take a Chrome screenshot it makes everything brighter and wrong.

I can’t figure out what’s going on. Sometimes it works, but if I open a second SDR tab in that Chrome window then the first tab stops working.

There’s a solid bug report for this problem and an experimental fix. Unfortunately even with this fix enabled I’m still seeing problems.

Windows Snipping Tool

The built in-snipping tool can be HDR aware, the tool has an option for “HDR screenshot color corrector”.

With color correction turned on, the good thing is the extra bright parts are brought back into the normal gamut so you can see the contrast. But now the plain white is crushed down to #e1e1e1. That’s necessary for the HDR source image, how else could you have brigher-than-white? But it is not good for a fully 8 bit SDR source image.

With the correction turned off the HDR source ends up blown out just like on Greenshot. But weirdly the SDR source also looks wrong. The white is #ffffff in the screenshot, so great! But it’s hard to see but the snipping tool also brought up the brightness of everything else a little, it doesn’t look what is on the source screen. (Indeed you can see this happen: a tone curve is applied when the screenshot starts being taken).

Bandicamera

Bandicamera is new to me and claims to be an HDR-aware screenshot tool It seems to do a pretty good job.

I like this! The SDR source comes out as a normal looking SDR image, with white at #ffffff. The HDR PNG is blown out, that’s not ideal, but it’s acceptable. I would prefer the Windows snipping tool output but at least I know what it’s doing. Ironically this is exactly what Greenshot does so arguably this is not an improvement. Note these are the ordinary 8 bit PNGs Bandicamera emits. (They don’t support HDR PNGs with cICP chunks).

However, Bandicamp will also write out an AVIF or JXR file that has the full 10 bit screenshot in it. So I do get a second copy with full data. AVIF support is better than I realized: works in major browsers, Windows Photos is fine with it too. I’ve pasted the AVIF below into Wordpress, it looks correct on my blog’s site to me.

ShareX

I didn’t try ShareX. I’ve never liked it, and the website doesn’t say it supports HDR. I did find this ShareX fork for HDR that may be worth a look.

Update: I tried the ShareX fork. It does just what I want: a normal white-is-white screenshot for SDR content and a tone mapped 8 bit PNG for HDR content. It doesn’t save the HDR original like Bandicamera does. Also the “white” in the SDR is #f5f5f5, not sure what that’s about but I can live with it. I just really dislike ShareX, it’s bloated and complicated.

KDE Spectacle (Linux)

Update June 2026: I switched to Linux desktop! They have a fantastic screenshot tool, KDE Spectacle. It currently doesn’t support HDR screenshots. It does a good job with the HDR content on screen though, and screenshots of SDR content look correct.