OWSBM(4)

πŸ“¦ in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, gather round: this is the OWSBM(4) page from the kernel interfaces manual, and it's all about the owsbm 1-Wire smart battery monitor device. Slay. πŸ”‹βœ¨


πŸŽ€ SYNOPSIS πŸŽ€

owsbm* at onewire?

🌸 DESCRIPTION 🌸

The owsbm driver provides support for the 1-Wire smart battery monitor. No cap, this little sensor is stacked: it possesses a temperature sensor, an A/D converter for measuring both battery voltage and current, a current accumulator of both incoming and outgoing current, an elapsed time and 40 bytes of nonvolatile EEPROM. It's giving tiny powerhouse energy. πŸ’…

Only the three voltages (VDD, VAD, CR) and temperature are accessible by the sysctl(8) interface. That's the vibe check on what you can get at through sysctl(8) β€” literally just those three voltages and temperature.

The following chips are supported by the driver:

  • Maxim/Dallas DS2438 β€” the one and only chip on the guest list, bestie. πŸ‘‘

⚑ MEASURING CURRENT ⚑

The sensor does not measure current directly. Instead it measures the voltage across the Rsens pins. The way that works is:

I = Voltage CR / Rsens    (where Rsens is in Ohms)

So yeah β€” voltage across Rsens, then that formula. Keep Rsens in Ohms, periodt. 🧚


πŸ¦‹ SEE ALSO πŸ¦‹


πŸ’œ HISTORY πŸ’œ

The owsbm driver first appeared in OpenBSD 4.1. A little retro, a little iconic. 🌈

πŸ‘‘ AUTHORS πŸ‘‘

The owsbm driver was written by Aaron Linville <aaron@linville.org>. Respect the author, bestie. 🫢


okay bye bestie, this OWSBM(4) page is brought to you by Debian, dated July 16, 2013 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from
  • nixpkgs unstable: cvs-export
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms