요약·해설과 원문, 전문 번역을 서로 분리했습니다. API 이름, symbol, source path는 원문 표기를 사용합니다.
1. 요약·해설
원문의 핵심 논리와 kernel programming 관점의 보충 설명입니다. 아래의 전문 번역과는 별도로 작성했습니다.
2. 영어 원문 전체
번역 기준이 된 Linux v6.18.37 원문입니다. 줄 번호는 이 버전의 파일 좌표입니다.
원문 전체 펼치기
=========================
Kernel driver i2c-ali15x3
=========================
Supported adapters:
* Acer Labs, Inc. ALI 1533 and 1543C (south bridge)
Datasheet: Now under NDA
http://www.ali.com.tw/
Authors:
- Frodo Looijaard <[email protected]>,
- Philip Edelbrock <[email protected]>,
- Mark D. Studebaker <[email protected]>
Module Parameters
-----------------
* force_addr: int
Initialize the base address of the i2c controller
Notes
-----
The force_addr parameter is useful for boards that don't set the address in
the BIOS. Does not do a PCI force; the device must still be present in
lspci. Don't use this unless the driver complains that the base address is
not set.
Example::
modprobe i2c-ali15x3 force_addr=0xe800
SMBus periodically hangs on ASUS P5A motherboards and can only be cleared
by a power cycle. Cause unknown (see Issues below).
Description
-----------
This is the driver for the SMB Host controller on Acer Labs Inc. (ALI)
M1541 and M1543C South Bridges.
The M1543C is a South bridge for desktop systems.
The M1541 is a South bridge for portable systems.
They are part of the following ALI chipsets:
* "Aladdin Pro 2" includes the M1621 Slot 1 North bridge with AGP and
100MHz CPU Front Side bus
* "Aladdin V" includes the M1541 Socket 7 North bridge with AGP and 100MHz
CPU Front Side bus
Some Aladdin V motherboards:
- Asus P5A
- Atrend ATC-5220
- BCM/GVC VP1541
- Biostar M5ALA
- Gigabyte GA-5AX (Generally doesn't work because the BIOS doesn't
enable the 7101 device!)
- Iwill XA100 Plus
- Micronics C200
- Microstar (MSI) MS-5169
* "Aladdin IV" includes the M1541 Socket 7 North bridge
with host bus up to 83.3 MHz.
For an overview of these chips see http://www.acerlabs.com. At this time the
full data sheets on the web site are password protected, however if you
contact the ALI office in San Jose they may give you the password.
The M1533/M1543C devices appear as FOUR separate devices on the PCI bus. An
output of lspci will show something similar to the following::
00:02.0 USB Controller: Acer Laboratories Inc. M5237 (rev 03)
00:03.0 Bridge: Acer Laboratories Inc. M7101 <= THIS IS THE ONE WE NEED
00:07.0 ISA bridge: Acer Laboratories Inc. M1533 (rev c3)
00:0f.0 IDE interface: Acer Laboratories Inc. M5229 (rev c1)
.. important::
If you have a M1533 or M1543C on the board and you get
"ali15x3: Error: Can't detect ali15x3!"
then run lspci.
If you see the 1533 and 5229 devices but NOT the 7101 device,
then you must enable ACPI, the PMU, SMB, or something similar
in the BIOS.
The driver won't work if it can't find the M7101 device.
The SMB controller is part of the M7101 device, which is an ACPI-compliant
Power Management Unit (PMU).
The whole M7101 device has to be enabled for the SMB to work. You can't
just enable the SMB alone. The SMB and the ACPI have separate I/O spaces.
We make sure that the SMB is enabled. We leave the ACPI alone.
Features
--------
This driver controls the SMB Host only. The SMB Slave
controller on the M15X3 is not enabled. This driver does not use
interrupts.
Issues
------
This driver requests the I/O space for only the SMB
registers. It doesn't use the ACPI region.
On the ASUS P5A motherboard, there are several reports that
the SMBus will hang and this can only be resolved by
powering off the computer. It appears to be worse when the board
gets hot, for example under heavy CPU load, or in the summer.
There may be electrical problems on this board.
On the P5A, the W83781D sensor chip is on both the ISA and
SMBus. Therefore the SMBus hangs can generally be avoided
by accessing the W83781D on the ISA bus only.
3. 한국어 전문 번역
영어 원문의 문단 순서와 의미를 유지한 전체 번역입니다. 코드, 함수명, symbol과 URL은 원문 표기를 유지합니다.
지원 어댑터와 force_addr
1-38이 드라이버는 Acer Labs, Inc. ALI 1533과 1543C 사우스브리지를 지원합니다. 데이터시트는 NDA 대상이며 원문은 ALI 웹사이트를 제시합니다. 작성자는 Frodo Looijaard, Philip Edelbrock, Mark D. Studebaker입니다.
정수 모듈 매개변수 `force_addr`는 I2C 컨트롤러의 기준 주소를 초기화합니다.
BIOS가 주소를 설정하지 않은 보드에서 `force_addr`가 유용합니다. 이 매개변수는 PCI 장치를 강제로 만들지 않으므로 장치는 여전히 `lspci`에 나타나야 합니다. 드라이버가 기준 주소가 설정되지 않았다고 경고할 때만 사용해야 합니다.
사용 예는 `modprobe i2c-ali15x3 force_addr=0xe800`입니다.
ASUS P5A 메인보드에서는 SMBus가 주기적으로 멈추며 전원을 완전히 껐다 켜야만 복구됩니다. 원인은 알려지지 않았고 뒤의 Issues 절에서 자세히 설명합니다.
지원 칩과 기준 주소 강제 조건을 정리합니다.
PCI 장치가 존재하지만 BIOS 주소가 없을 때만 강제합니다.
=========================
Kernel driver i2c-ali15x3
=========================
Supported adapters:
* Acer Labs, Inc. ALI 1533 and 1543C (south bridge)
Datasheet: Now under NDA
http://www.ali.com.tw/
Authors:
- Frodo Looijaard <[email protected]>,
- Philip Edelbrock <[email protected]>,
- Mark D. Studebaker <[email protected]>
Module Parameters
-----------------
* force_addr: int
Initialize the base address of the i2c controller
Notes
-----
The force_addr parameter is useful for boards that don't set the address in
the BIOS. Does not do a PCI force; the device must still be present in
lspci. Don't use this unless the driver complains that the base address is
not set.
Example::
modprobe i2c-ali15x3 force_addr=0xe800
SMBus periodically hangs on ASUS P5A motherboards and can only be cleared
by a power cycle. Cause unknown (see Issues below).
M1541/M1543C와 Aladdin 칩셋
39-74이 드라이버는 Acer Labs Inc. ALI M1541과 M1543C 사우스브리지의 SMB Host 컨트롤러를 지원합니다. M1543C는 데스크톱 시스템용이고 M1541은 휴대형 시스템용입니다.
이 장치들은 ALI 칩셋 구성 요소입니다. Aladdin Pro 2는 AGP와 100MHz CPU 프런트사이드 버스를 지원하는 M1621 Slot 1 노스브리지를 포함합니다. Aladdin V는 AGP와 100MHz CPU 프런트사이드 버스를 지원하는 M1541 Socket 7 노스브리지를 포함합니다.
원문에 나열된 Aladdin V 메인보드는 Asus P5A, Atrend ATC-5220, BCM/GVC VP1541, Biostar M5ALA, Gigabyte GA-5AX, Iwill XA100 Plus, Micronics C200, Microstar(MSI) MS-5169입니다. GA-5AX는 BIOS가 7101 장치를 활성화하지 않아 일반적으로 동작하지 않습니다.
Aladdin IV는 최대 83.3MHz 호스트 버스를 지원하는 M1541 Socket 7 노스브리지를 포함합니다. 당시 웹 데이터시트는 암호로 보호됐으며 ALI San Jose 사무소에 문의하면 암호를 받을 수 있다고 기록합니다.
사우스브리지 용도와 원문에 나열된 보드를 정리합니다.
칩셋과 보드 구성에서 SMB Host가 있는 M7101을 찾습니다.
Description
-----------
This is the driver for the SMB Host controller on Acer Labs Inc. (ALI)
M1541 and M1543C South Bridges.
The M1543C is a South bridge for desktop systems.
The M1541 is a South bridge for portable systems.
They are part of the following ALI chipsets:
* "Aladdin Pro 2" includes the M1621 Slot 1 North bridge with AGP and
100MHz CPU Front Side bus
* "Aladdin V" includes the M1541 Socket 7 North bridge with AGP and 100MHz
CPU Front Side bus
Some Aladdin V motherboards:
- Asus P5A
- Atrend ATC-5220
- BCM/GVC VP1541
- Biostar M5ALA
- Gigabyte GA-5AX (Generally doesn't work because the BIOS doesn't
enable the 7101 device!)
- Iwill XA100 Plus
- Micronics C200
- Microstar (MSI) MS-5169
* "Aladdin IV" includes the M1541 Socket 7 North bridge
with host bus up to 83.3 MHz.
For an overview of these chips see http://www.acerlabs.com. At this time the
full data sheets on the web site are password protected, however if you
contact the ALI office in San Jose they may give you the password.
The M1533/M1543C devices appear as FOUR separate devices on the PCI bus. An
PCI 장치와 M7101 활성화
75-102M1533/M1543C는 PCI 버스에 서로 다른 네 장치로 나타납니다. 예시 `lspci` 출력에는 M5237 USB 컨트롤러, 필요한 M7101 Bridge, M1533 ISA bridge, M5229 IDE interface가 표시됩니다.
보드에 M1533 또는 M1543C가 있는데 `ali15x3: Error: Can't detect ali15x3!` 오류가 나오면 `lspci`를 실행해야 합니다. 1533과 5229는 보이지만 7101이 보이지 않으면 BIOS에서 ACPI, PMU, SMB 또는 비슷한 항목을 활성화해야 합니다. M7101을 찾지 못하면 드라이버는 동작하지 않습니다.
SMB 컨트롤러는 ACPI 호환 PMU인 M7101의 일부입니다. SMB가 동작하려면 M7101 전체 장치가 활성화되어야 하고 SMB만 따로 켤 수 없습니다. SMB와 ACPI는 별도 I/O 공간을 사용하므로 드라이버는 SMB를 활성화하지만 ACPI는 건드리지 않습니다.
예시 PCI 기능과 필수 M7101을 구분합니다.
M7101 PCI 기능이 보이지 않을 때 BIOS 설정을 확인합니다.
output of lspci will show something similar to the following::
00:02.0 USB Controller: Acer Laboratories Inc. M5237 (rev 03)
00:03.0 Bridge: Acer Laboratories Inc. M7101 <= THIS IS THE ONE WE NEED
00:07.0 ISA bridge: Acer Laboratories Inc. M1533 (rev c3)
00:0f.0 IDE interface: Acer Laboratories Inc. M5229 (rev c1)
.. important::
If you have a M1533 or M1543C on the board and you get
"ali15x3: Error: Can't detect ali15x3!"
then run lspci.
If you see the 1533 and 5229 devices but NOT the 7101 device,
then you must enable ACPI, the PMU, SMB, or something similar
in the BIOS.
The driver won't work if it can't find the M7101 device.
The SMB controller is part of the M7101 device, which is an ACPI-compliant
Power Management Unit (PMU).
The whole M7101 device has to be enabled for the SMB to work. You can't
just enable the SMB alone. The SMB and the ACPI have separate I/O spaces.
We make sure that the SMB is enabled. We leave the ACPI alone.
Features
--------
기능 범위와 ASUS P5A 문제
103-122드라이버는 SMB Host만 제어합니다. M15X3의 SMB Slave 컨트롤러는 활성화하지 않으며 인터럽트를 사용하지 않습니다.
드라이버는 SMB 레지스터에 필요한 I/O 공간만 요청하고 ACPI 영역은 사용하지 않습니다.
ASUS P5A 메인보드에서는 SMBus가 멈추고 전원을 완전히 꺼야 복구된다는 보고가 여러 건 있습니다. CPU 부하가 높거나 여름처럼 보드가 뜨거워지면 문제가 더 심해지는 것으로 보여 전기적 문제가 있을 수 있습니다.
P5A의 W83781D 센서 칩은 ISA와 SMBus 양쪽에 연결됩니다. 따라서 W83781D를 ISA 버스로만 접근하면 일반적으로 SMBus 멈춤을 피할 수 있습니다.
드라이버 범위와 P5A 우회책을 정리합니다.
듀얼 연결 센서를 ISA로 우회해 SMBus 사용을 줄입니다.
This driver controls the SMB Host only. The SMB Slave
controller on the M15X3 is not enabled. This driver does not use
interrupts.
Issues
------
This driver requests the I/O space for only the SMB
registers. It doesn't use the ACPI region.
On the ASUS P5A motherboard, there are several reports that
the SMBus will hang and this can only be resolved by
powering off the computer. It appears to be worse when the board
gets hot, for example under heavy CPU load, or in the summer.
There may be electrical problems on this board.
On the P5A, the W83781D sensor chip is on both the ISA and
SMBus. Therefore the SMBus hangs can generally be avoided
by accessing the W83781D on the ISA bus only.
요약·해설
i2c-ali15x3.rst:1-122ALI15x3 드라이버는 BIOS가 누락한 기준 주소를 선택적으로 복구하고 필수 M7101 PCI 기능과 P5A의 열 의존 SMBus 멈춤을 진단합니다.
원문 분량과 핵심 기능을 요약합니다.
장치 탐지부터 기능 제공까지의 순서입니다.