← Documents Documentation/hwmon/hs3001.rst GitHub 원문 ↗

Linux 6.18.37 · Hardware Monitoring

Kernel driver HS3001

Renesas HS300x의 I2C humidity·temperature와 1000배 sysfs scaling입니다.

Source pathDocumentation/hwmon/hs3001.rst
Source versionLinux v6.18.37
TranslationDUJINLABS 전문 번역 + 해설

요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.

1. 요약·해설

원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.

요약·해설

hs3001.rst:1-37

HS3001~HS3004 환경 값을 milli-unit integer로 제공합니다.

문서 개요
항목
SourceDocumentation/hwmon/hs3001.rst
분량37 source lines
I2C0x44
Scalingx1000

원문 분량과 핵심 범위입니다.

핵심 흐름
I2C client 등록환경값 측정1000배 변환Sysfs 게시

장치 동작의 기본 순서입니다.

2. 영어 원문 전체

번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.

원문 전체 펼치기
1 .. SPDX-License-Identifier: GPL-2.0-or-later
2
3 Kernel driver HS3001
4 ====================
5
6 Supported chips:
7
8 * Renesas HS3001, HS3002, HS3003, HS3004
9
10 Prefix: 'hs3001'
11
12 Addresses scanned: -
13
14 Datasheet: https://www.renesas.com/us/en/document/dst/hs300x-datasheet?r=417401
15
16 Author:
17
18 - Andre Werner <andre.werner@systec-electronic.com>
19
20 Description
21 -----------
22
23 This driver implements support for the Renesas HS3001 chips, a humidity
24 and temperature family. Temperature is measured in degrees celsius, relative
25 humidity is expressed as a percentage. In the sysfs interface, all values are
26 scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.
27
28 The device communicates with the I2C protocol. Sensors have the I2C
29 address 0x44 by default.
30
31 sysfs-Interface
32 ---------------
33
34 =================== =================
35 temp1_input: temperature input
36 humidity1_input: humidity input
37 =================== =================
38

3. 한국어 전문 번역

영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.

Renesas HS300x 지원 정보

1-21

GPL-2.0-or-later 드라이버 `HS3001`은 Renesas HS3001, HS3002, HS3003, HS3004를 prefix `hs3001`로 지원합니다. 주소 scan은 하지 않으며 datasheet URL은 원문에 보존했습니다. 저자는 Andre Werner입니다.

HS300x family
ChipPrefixScan
HS3001hs3001없음
HS3002hs3001없음
HS3003hs3001없음
HS3004hs3001없음

같은 humidity·temperature interface를 사용하는 네 chip입니다.

HS300x 등록
HS300x model 선택I2C address 지정hs3001 bindingTemperature·humidity 게시

Board가 지정한 I2C client를 공통 driver에 연결합니다.

.. SPDX-License-Identifier: GPL-2.0-or-later

Kernel driver HS3001
====================

Supported chips:

  * Renesas HS3001, HS3002, HS3003, HS3004

    Prefix: 'hs3001'

    Addresses scanned: -

    Datasheet: https://www.renesas.com/us/en/document/dst/hs300x-datasheet?r=417401

Author:

  - Andre Werner <andre.werner@systec-electronic.com>

Description
-----------

측정 단위와 1000배 scaling

22-30

이 드라이버는 humidity·temperature family인 Renesas HS3001 chip을 지원합니다. Temperature는 degrees Celsius, relative humidity는 percentage로 표현합니다.

Sysfs의 모든 값은 1000배 scaling됩니다. 예를 들어 31.5도 C는 `31500`입니다. 장치는 I2C protocol로 통신하며 sensor 기본 주소는 `0x44`입니다.

HS300x 값 표현
측정물리 단위Sysfs
Temperaturedegrees Celsiusx1000
Relative humiditypercentx1000
예시31.5 C31500
I2C기본 주소0x44

물리 단위와 sysfs integer scaling입니다.

HS300x 변환
I2C 0x44 측정Raw temperature·humidity 수신물리값 변환1000배 scalingSysfs 게시

I2C 측정값을 hwmon의 milli-unit integer로 바꿉니다.


This driver implements support for the Renesas HS3001 chips, a humidity
and temperature family. Temperature is measured in degrees celsius, relative
humidity is expressed as a percentage. In the sysfs interface, all values are
scaled by 1000, i.e. the value for 31.5 degrees celsius is 31500.

The device communicates with the I2C protocol. Sensors have the I2C
address 0x44 by default.

HS300x sysfs 표

31-37

`temp1_input`은 temperature input이고 `humidity1_input`은 humidity input입니다.

HS300x sysfs
Attribute의미
temp1_inputTemperature input, x1000
humidity1_inputRelative humidity input, x1000

원문의 표를 attribute와 의미로 구조화했습니다.

환경 값 읽기
temp1_input 읽기humidity1_input 읽기1000으로 나눠 물리값 해석

두 attribute를 같은 sample의 milli-unit 값으로 사용합니다.

sysfs-Interface
---------------

=================== =================
temp1_input:        temperature input
humidity1_input:    humidity input
=================== =================