News: 0001636172

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Linux Driver To Expose Voltage Inputs For Raspberry Pi SBCs

([Raspberry Pi] 6 Hours Ago Raspberry Pi Voltage Inputs)


The Raspberry Pi hardware monitoring driver "RASPBERRYPI-HWMON" is being extended to allow exposing voltage measurements on these ARM single board computers.

The Raspberry Pi firmware provides a number of voltage measurements for the core and multiple SDRAM voltages. With a patch queued into hwmon-next, those voltage measurements are being propagated to the Linux user-space via the conventional HWMON sysfs interfaces.

This includes in0_input for the core voltage, in1_input as the SDRAM controller voltage, in2_input as the SDRAM I/O voltage, and in3_input as the SDRAM PHY voltage. All measurements are in millivolts.

With [1]this patch making it into the hardware monitoring subsystem's hwmon-next Git branch, it should be submitted as part of the changes for the Linux 7.2 merge window in mid-June.



[1] https://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging.git/commit/?h=hwmon-next&id=9656ebcce062f845e5f5586129227e3c6fba4b6b



"A commercial, and in some respects a social, doubt has been started within the
last year or two, whether or not it is right to discuss so openly the security
or insecurity of locks. Many well-meaning persons suppose that the discus-
sion respecting the means for baffling the supposed safety of locks offers a
premium for dishonesty, by showing others how to be dishonest. This is a fal-
lacy. Rogues are very keen in their profession, and already know much more
than we can teach them respecting their several kinds of roguery. Rogues knew
a good deal about lockpicking long before locksmiths discussed it among them-
selves, as they have lately done. If a lock -- let it have been made in what-
ever country, or by whatever maker -- is not so inviolable as it has hitherto
been deemed to be, surely it is in the interest of *honest* persons to know
this fact, because the *dishonest* are tolerably certain to be the first to
apply the knowledge practically; and the spread of knowledge is necessary to
give fair play to those who might suffer by ignorance. It cannot be too ear-
nestly urged, that an acquaintance with real facts will, in the end, be better
for all parties."
-- Charles Tomlinson's Rudimentary Treatise on the Construction of Locks,
published around 1850