lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 30 Aug 2017 16:34:32 -0700
From:   Jaghathiswari Rankappagounder Natarajan <>
Cc:     Jaghathiswari Rankappagounder Natarajan <>
Subject: [PATCH linux v6 0/3] Export 1-wire thermal sensors as hwmon device

Hi Greg,
Please pull in this patchset into the tree. Thanks!

Summary of what this patchset does:

Our board has 4 DS18B20 1-wire temperature sensors. Each 1-wire bus and the
sensor under it is already configured against the Linux 1-wire driver
(called w1). They have a sysfs file(e.g.
/sys/bus/w1/devices/w1_bus_master1/28-000007704f4c/w1_slave) which, when read,
runs code to read the temperature. We'd like the temperatures to show up in
hwmon, so that the BMC IPMI sensor plumbing can forward those to host.

This patchset is based on top char-misc-next branch(from Greg KH's char-misc
git tree).

Yes; On a board with 4 DS18B20 1-wire temperature sensors: ls
hwmon0  hwmon1  hwmon2  hwmon3  hwmon4  hwmon5 cd hwmon0 ls
device       name         subsystem    temp1_input  uevent cat temp1_input
24500 cd .. cd hwmon1 cat temp1_input
26562 cd .. cd hwmon2 cat temp1_input
27250 cd .. cd hwmon3 cat temp1_input

Jaghathiswari Rankappagounder Natarajan (3):
  drivers: w1: add hwmon support structures
  drivers: w1: refactor w1_slave_show to make the temp reading
    functionality separate
  drivers: w1: add hwmon temp support for w1_therm

 drivers/w1/slaves/w1_therm.c | 164 +++++++++++++++++++++++++++++++++++--------
 drivers/w1/w1.c              |  18 ++++-
 include/linux/w1.h           |   4 ++
 3 files changed, 156 insertions(+), 30 deletions(-)


Powered by blists - more mailing lists