요약·해설, 영어 원문, 전체 번역을 구분해 실었습니다. API 이름, 코드 심벌, 소스 경로는 원문 표기를 유지합니다.
1. 요약·해설
원문의 핵심 내용을 정리하고 커널 프로그래밍에 필요한 설명을 덧붙였습니다. 아래의 전체 번역과는 별도로 작성한 해설입니다.
2. 영어 원문 전체
번역에 사용한 Linux v6.18.37 원문입니다. 줄 번호는 해당 버전의 소스 파일을 기준으로 합니다.
원문 전체 펼치기
Kernel driver hih6130
=====================
Supported chips:
* Honeywell HIH-6130 / HIH-6131
Prefix: 'hih6130'
Addresses scanned: none
Datasheet: Publicly available at the Honeywell website
http://sensing.honeywell.com/index.php?ci_id=3106&la_id=1&defId=44872
Author:
Iain Paton <[email protected]>
Description
-----------
The HIH-6130 & HIH-6131 are humidity and temperature sensors in a SO8 package.
The difference between the two devices is that the HIH-6131 has a condensation
filter.
The devices communicate with the I2C protocol. All sensors are set to the same
I2C address 0x27 by default, so an entry with I2C_BOARD_INFO("hih6130", 0x27)
can be used in the board setup code.
Please see Documentation/i2c/instantiating-devices.rst for details on how to
instantiate I2C devices.
sysfs-Interface
---------------
temp1_input
temperature input
humidity1_input
humidity input
Notes
-----
Command mode and alarms are not currently supported.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미에 맞춰 전체 내용을 번역했습니다. 코드, 함수명, 코드 심벌, URL은 원문 표기를 유지합니다.
HIH-6130·HIH-6131 지원
1-20드라이버는 Honeywell HIH-6130과 HIH-6131을 prefix `hih6130`으로 지원합니다. 주소를 scan하지 않으며 datasheet는 Honeywell website의 원문 URL에서 공개됩니다. 저자는 Iain Paton입니다.
두 humidity·temperature sensor의 공통 binding입니다.
Board가 I2C address를 지정해 두 sensor 값을 엽니다.
Kernel driver hih6130
=====================
Supported chips:
* Honeywell HIH-6130 / HIH-6131
Prefix: 'hih6130'
Addresses scanned: none
Datasheet: Publicly available at the Honeywell website
http://sensing.honeywell.com/index.php?ci_id=3106&la_id=1&defId=44872
Author:
Iain Paton <[email protected]>
Description
-----------
Condensation filter와 I2C 등록
21-32HIH-6130과 HIH-6131은 SO8 package의 humidity·temperature sensor입니다. 두 장치의 차이는 HIH-6131에 condensation filter가 있다는 점입니다.
장치는 I2C protocol로 통신하며 모든 sensor의 기본 주소는 `0x27`입니다. Board setup code에서 `I2C_BOARD_INFO("hih6130", 0x27)` entry를 사용할 수 있습니다. I2C 장치 instantiate 방법은 `Documentation/i2c/instantiating-devices.rst`를 참조합니다.
Filter 차이 외에는 같은 driver interface를 사용합니다.
Scan 대신 board 정보로 client를 만듭니다.
The HIH-6130 & HIH-6131 are humidity and temperature sensors in a SO8 package.
The difference between the two devices is that the HIH-6131 has a condensation
filter.
The devices communicate with the I2C protocol. All sensors are set to the same
I2C address 0x27 by default, so an entry with I2C_BOARD_INFO("hih6130", 0x27)
can be used in the board setup code.
Please see Documentation/i2c/instantiating-devices.rst for details on how to
instantiate I2C devices.
Temperature·humidity sysfs와 제한
33-45Sysfs의 `temp1_input`은 temperature input이고 `humidity1_input`은 humidity input입니다.
Command mode와 alarm은 현재 지원하지 않습니다.
현재 제공하는 두 측정값과 미지원 기능입니다.
두 환경 값을 읽되 command·alarm 기능은 사용하지 않습니다.
sysfs-Interface
---------------
temp1_input
temperature input
humidity1_input
humidity input
Notes
-----
Command mode and alarms are not currently supported.
요약·해설
hih6130.rst:1-45기본 주소 0x27의 SO8 환경 sensor를 명시적으로 instantiate합니다.
원문 분량과 핵심 범위입니다.
장치 동작의 기본 순서입니다.