@karotte@chaos.social avatar

karotte

@karotte@chaos.social

Full-stack engineer from solder to Gtk

This profile is from a federated server and may be incomplete. Browse more on the original instance.

karotte, to random
@karotte@chaos.social avatar

So your software needs a list of screen resolutions? Here's how to make it look nice:

  1. Instead of an 'x' use '×' U+00D7 MULTIPLICATION SIGN
  2. Use tabular figures
  3. Left-pad the width with U+2007 FIGURE SPACE

That way, all of the the × line up nicely in the same column.

cato, to random
@cato@chaos.social avatar

"I just need to implement a bootloader" he said, unaware of the fact that the Cortex M0 core lacks a vector table offset register, making switching between two user programs a lot harder 🫠

karotte,
@karotte@chaos.social avatar

@cato Same here 😢 Apparently the way to go on my STM32F0 is to remap the RAM to 0x0 and copy the vector tables to it or so 🤷

karotte, to random
@karotte@chaos.social avatar

Here's the project you all were wondering why it doesn't exist yet: https://digipres.club/@foone/111948980229300662, https://ioc.exchange/@azonenberg/110849751773610561

Introducing USBKVM! A keyboard, screen and mouse that all fit in your the palm of your hand!

It's built around the MS2109 HDMI to USB capture chip and its I²C interface connected to an STM32 MCU that takes care of the keyboard and mouse emulation.

While the hardware is fully functional, firmware and software are in a proof-of-concept stage. Stay tuned…

The raspberry pi desktop in a window titled "USBKVM". In the lsusb output in the terminal, there's a TinyUSB device.
ThinkPad UEFI setup startup page in the USBKVM window.

karotte,
@karotte@chaos.social avatar

Cleaned up the code, 3D-printed the case and wrote the readme.

Now it's ready for prime time: https://github.com/carrotIndustries/usbkvm

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • Hentai
  • doujinshi
  • announcements
  • general
  • All magazines