Elite K7s5a 主板 HOWTO

Sebfrance rf.eerf@otwohecnarfbes,
Andreas Willenbrink ed.bew@knirbnelliW.saerdnA,
Álvaro Reguly ten.yluger@oravla,
Paolo Berva moc.ts@avreb.oloap,

(获取镜像 :) )

v2.0, 2004-05-16


如何在 GNU/Linux 下使用 Elite K7s5a 主板。

1. 简介

2. 集成声卡

3. 主板的传感器

4. 主板的 LAN 适配器

5. 其他

6. 贡献


1. 简介

1.1 历史

我在 2001 年圣诞节得到了这块主板,过了一段时间后,我了解到新的芯片组 sis735 没有被 Mandrake 8.0 处理,OSS 有可用的驱动程序,但我真的不想为此付费,所以我查看了 ALSA cvs,发现他们最新的源代码中有些东西是关于 sis 7012 的,稍后我找到了传感器的驱动程序。

从我开始编写这个 HOWTO 至今已经 3 年了,我总是很高兴收到来自世界各地的评论和建议 :]

- S�bastien

1.2 许可证和版权

版权 2004-2072 S�bastien FRAN�OIS
本作品根据 Creative Commons License 许可。


2. 集成声卡

2.1 ALSA 与 AC'97 驱动程序

我成功地使用了这两种解决方案。但是,在研究语音合成系统(我参与了一个小型辅助功能项目)时,我注意到内核驱动程序似乎无法重新采样,而 Alsa 可以完美地做到这一点。

2.2 Alsa

获取 ALSA 驱动程序

因此,我们将编译来自 ALSA 的最新源代码,这应该也适用于所有其他发行版......只有内核源代码会发生变化,因为 Mandrake 使用了特定的补丁。

您可以从您的发行版或 https://linuxkernel.org.cn 获取您的内核源代码

这里可以找到 Mandrake 8.0 中使用的内核源代码

ftp://ftp.univ-savoie.fr/pub/Linux/Mandrake/8.0/i586/Mandrake/RPMS/kernel -source-2.4.3-20mdk.i586.rpm

(链接似乎已损坏,我希望如果有人需要,我能复制一份,但这就是该发行版的问题,镜像保留的时间不够长)

并从 ALSA 获取 tarball

ftp://ftp.alsa-project.org/pub/driver/alsa-driver-0.9.0beta10.tar.bz2

安装

安装您的内核源代码,在我的例子中

rpm -ivh kernel-source-2.4.3-20mdk.i586.rpm

然后解压缩 alsa 驱动程序

bzip2 -d alsa-driver-0.9.0beta10.tar.bz2 && tar -xvf alsa-driver-0.9.0beta10.tar

编译并安装它们,并创建设备文件

cd alsa-driver-0.9.0beta10 && make install && ./snddevices

编辑 /etc/modules.conf 以设置所有内容,并向其中添加以下行

alias char-major-116 snd
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-0 snd-card-intel8x0
警告:Christian Cardinale rf.libertysurf@elanidrac.naitsirhc 报告说他必须将 'snd-card-intel8x0' 更改为 'snd-intel8x0',这与我的 Debian 系统的情况一致,我已经不记得了,但我认为这个是 Mandrake 的名称,如果它不起作用,就使用另一个,可以吗?

2.3 Debian 方式的 Alsa

在编写这个 HOWTO 一段时间后,我切换到了 Debian,并想提供一些关于它的说明:根据您使用的版本,情况可能会略有变化,我使用的是 Debian sarge,目前是测试版本。

使用带有预编译内核的 Debian 软件包

首先,您可以直接下载适当的预编译 alsa 模块:找出您正在使用的内核

uname -r

2.4.20-3-k7(对于 woody/stable 应该是 2.4.18-k7 或类似的东西)

apt-get install alsa-modules-2.4.20-3-k7

该卡是“intel8x0 (PCI: Intel i810/i820/i830/i840/MX440 集成音频)”

您还应该安装推荐的软件包 alsa-utils

apt-get install alsa-utils

现在,对照本 HOWTO 稍后给出的文件检查文件 /etc/alsa/modutils/0.9。可能还需要以 root 身份运行 update-modules 以确保这些行进入 /etc/modules.conf,尽管软件包安装可能已经自行完成了。

使用 Debian 内核源代码包

当我得到一个 usb adsl 调制解调器时,我被迫重新编译我的内核。(make-kpkg binary --initrd 是您将来想要研究的东西,但这与主题无关)

我假设您至少完成了以下步骤

安装 alsa 源代码和两个有用的软件包:apt-get install alsa-source alsa-utils alsa-base debconf 会问您以下问题

Say Yes if you want to build ALSA driver with ISA PnP version.
If your computer doesn't support ISA PnP, you may say No. 
Build ALSA driver with ISA PnP?

您可以安全地选择“否”

Say Yes if you want to build ALSA driver with debugging code.
Build ALSA driver with debugging code?

我们也不需要那个,所以选择“否”

You can choose cards to be built by selecting cards you want.
Each selection is a same name to a option of configure script '--with-cards'.
The following list are short descriptions of the options to show what they mean.
Select cards to be built.

选择声卡 intel8x0 (PCI: Intel i810/i820/i830/i840/MX440 集成音频) 并退出。

cd /usr/src

tar xzvf alsa-driver.tar.gz

cd modules/alsa-driver

./configure

make && make install

现在,对照下面的文件检查文件 /etc/alsa/modutils/0.9。

/etc/alsa/modutils/0.9

我只记得将 cards_limit 从 4 更改为 1,以防止警告,对它的任何修改都应该在运行 update-modules 之后进行,以便重新生成 /etc/modules.conf

### DEBCONF MAGIC
# This file was automatically generated by alsa-base's debconf stuff

alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0 
options snd major=116 cards_limit=1 device_mode=0660 device_gid=29 device_uid=0

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

2.4 内核方法:AC'97 驱动程序

如果您正在使用 2.4 或更高版本的内核,您可以使用 Audio Codec '97 (AC'97) 声卡驱动程序,因为集成声卡符合 AC'97 标准。

您可以启用带有内核模块的声卡,事实上,您应该能够直接使用该模块,甚至无需重新编译内核,因为大多数 GNU/Linux 发行版已经拥有它,只需键入

modprobe i810_audio

您应该在您的 syslog 中看到类似这样的内容

  Intel 810 + AC97 Audio, version 0.21, 21:31:04 Apr 15 2002
  i810: SiS 7012 found at IO 0xd800 and 0xdc00, IRQ 11
  i810_audio: Audio Controller supports 2 channels.
  ac97_codec: AC97 Audio codec, id: 0x414c:0x4710 (ALC200/200P)
  i810_audio: AC'97 codec 0 supports AMAP, total channels = 2

或键入

dmesg | less 并滚动以查看内核消息。

如果一切顺利,您可以将 i810_audio 添加到 /etc/modules,以便它在每次启动时自动加载

echo "i810_audio" >> /etc/modules

或者您喜欢单内核(没有模块),请按照上面的步骤安装内核源代码,并对 Sound card support 选择 Y,对 Intel ICH (i8xx) audio support 选择 Y,编译您的内核,安装,重启,现在您的集成声卡就可以工作了。

如果您不知道如何编译内核,请阅读 Kernel HOWTO,这很简单,您将获得针对您系统优化的内核,此外您还将了解一些关于使用源代码的知识(是的,您已经从中受益 :-))


3. 主板的传感器

3.1 lm-sensors

获取驱动程序

获取 lm_sensors 2.6.2 或更高版本:http://www.lm-sensors.nu/archive/lm_sensors-2.6.2.tar.gz 您还需要内核源代码才能编译它。

安装它们

tar -xzvf i2c-2.6.2.tar.gz

cd i2c-2.6.2

make && make install

然后我在 make install 时遇到了问题,所以如果它不起作用,只需执行以下操作

cp kernel/i2c-core.o /lib/modules/`uname -r`/misc/i2c-core.o

cp kernel/i2c-proc.o /lib/modules/`uname -r`/misc/i2c-proc.o

现在让我们复制特定的驱动程序

cp kernel/chips/it87.o /lib/modules/`uname -r`/misc/it87.o

好的,现在

cp prog/sensors/sensors /usr/bin/sensors

--------------------------------------------------------------------

编辑 /etc/modules.conf 并向其中添加以下行

alias char-major-89 i2c-dev
options it87 temp_type=0x31

现在

modprobe i2c-proc

modprobe it87

modprobe i2c-isa

sensors

应该输出一些数据

当它工作时,您可以将其写入文件,该文件将在启动时自动加载。在 SuSE 下,该文件是:/etc/init.d/boot.local(曾经是 /sbin/init.d/),您只需添加:sensors -s 在 Mandrake 下,安装应该创建了该文件:/etc/init.d/sensors,您可以自由编辑它,sensord 只是一个守护程序,用于监视温度和风扇速度,我假设没有人会为她/他自己的机器需要这样的东西。

Paolo 报告说,为了在启动时启动 sensord,他将其放入 /etc/sysconfig/sensors 中

MODULE_0=i2c-proc
MODULE_1=it87
MODULE_2=i2c-isa

现在以 root 身份,您应该编辑您的 /etc/sensors.conf,搜索该行:chip "it87-*",在下面您应该能够修改所有内容以获得正确的数据,以下是我在那里拥有的副本:(请注意,temp1 是垃圾,只应保留 temp2 和 temp3)

--------------------------------------------------------------------

3.2 Debian 方式的 lm-sensors

这次您将被迫编译模块。安装源和程序

apt-get install lm-sensors lm-sensors-source

 The upstream lm-sensors maintainers know of a problem using 
 lm-sensors with IBM ThinkPad computers, resulting in 
 firmware corruption.  If you are installing this package on 
 a ThinkPad, you should wait until the upstream maintainers 
 have solved this problem before building modules from it.
 For more information, see 
 /usr/share/doc/lm-sensors-source/README.thinkpad.
 IBM ThinkPad brokenness -- really install lm-sensors?
对此问题回答是,据我所知,您不可能在同一台机器中同时拥有 IBM thinkpad 和 k7s5a!

cd /usr/src

tar xzvf lm-sensors.tar.gz

cd modules/lm-sensors/

make && make install

然后您应该让 modutils 接受一些参数,最好的方法可能是使用一个新文件,例如:/etc/modutils/sensors,内容如下

alias char-major-89 i2c-dev
options it87 temp_type=0x31
运行

update-modules

modprobe i2c-isa it87

您现在可以键入 sensors 以访问信息(请注意,您应该编辑 sensors.conf,否则您会看到奇怪且不准确的东西 :])

您还可以将 i2c-isa 和 it87 放入 /etc/modules(每行一个!)以使其在启动时自动加载,我还不知道是否可以使用 /etc/modules.conf 进行一些自动加载/删除过程

3.3 K7s5a 的 Sensors.conf

#David Thorarinsson explained me that all the 'set' lines should be after the compute ones,
#this is now fixed,
chip "it87-*"

# The values below have been tested on Asus CUSI, CUM motherboards.
# Voltage monitors as advised in the It8705 data sheet

    label in0 "VCore"
    label in1 "Vcc2.5V"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"
    label in7 "SB 5V"
    label in8 "V battery"

    # vid not monitored by IT8705F
    ignore  vid

# For this family of chips the negative voltage equation is different from
# the lm78.  The chip uses two external resistor for scaling but one is
# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
# data sheet is wrong)

# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.

#    compute in2 (1 + 1)*@ ,       @/(1 + 1)
    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((30/10) +1)*@  , @/((30/10) +1)

# The next two are negative voltages (-12 and -5).
# The following formulas must be used. Unfortunately the datasheet
# does not give recommendations for Rin, Rf, but we can back into
# them based on a nominal +2V input to the chip, together with a 4.096V Vref.

# Formula:
#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
#    For -12V input use Rin/Rf = 6.68
#    For -5V input use Rin/Rf = 3.33
# Then you can convert the forumula to a standard form like:

    compute in5 -(36/10)*@, -@/(36/10)
#(7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
    compute in6 -(56/10)*@, -@/(56/10)
#(4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)

    set in0_min 1.7 * 0.95
    set in0_max 1.7 * 1.05
    set in1_min 2.4
    set in1_max 2.6
    set in2_min 3.3 * 0.95
    set in2_max 3.3 * 1.05
    set in3_min 5.0 * 0.95
    set in3_max 5.0 * 1.05
    set in4_min  12 * 0.95
    set in4_max  12 * 1.05
    set in5_min -12 * 0.95
    set in5_max -12 * 1.05
    set in6_min  -5 * 0.95
    set in6_max  -5 * 1.05
    set in7_min   5 * 0.95
    set in7_max   5 * 1.05

# Temperature

    label temp3       "Processor"
    set   temp3_over  40
    set   temp3_hyst  20
    label temp2       "Mainboard"
    set   temp2_over  45
    set   temp2_hyst  25
    ignore temp1

# Fans

    label fan1"Processor's Fan"
    set fan1_min 2000
    ignore fan3
    ignore fan2
#
#  If you have a system fan, comment 'ignore fan2'
#  and uncomment the following lines :
#  Thanks to gro.reirual@erreip
#
#    label fan2        "System Fan"
#    set   fan2_min    3000
#    set   fan2_div    4

3.4 2.6 内核上的传感器

内核 2.6.1 配置

   # Bus options (PCI, PCMCIA, EISA, MCA, ISA)
   CONFIG_ISA=y
   # I2C support
   CONFIG_I2C=m
   CONFIG_I2C_CHARDEV=m
   # I2C Hardware Bus support
   CONFIG_I2C_ISA=m
   # I2C Hardware Sensors Chip support
   CONFIG_I2C_SENSOR=m
   CONFIG_SENSORS_IT87=m

设置模块

如果您尚未挂载 sysfs 伪文件系统,请挂载它。

mount -t sysfs sysfs /sys

请参阅内核源代码树中的 Documentation/filesystems/sysfs.txt 和 Documentation/i2c/sysfs-interface

modprobe it87

modprobe i2c-isa 可以在 sysfs 伪文件系统中访问传感器。但是如果您愿意,可以使用 lm_sensors 用户工具...

lm_sensors 用户工具

安装 sensors 用户工具

cd lm_sensors-2.8.3

将此复制到名为 chips-it87.diff 的文件中

注意: 此补丁仅适用于旧版本的 lm_sensors,Paolo 写道

“来自 lm_sensors 开发人员的回复说,下一版本的 lm_sensors 将修复此问题。CVS 中已经修复了。”

--- lib/chips.c Sun Jan 25 00:13:49 2004
+++ ../lm_sensors-2.8.3.OK/lib/chips.c  Sat Jan 24 01:23:43 2004
@@ -3757,13 +3757,13 @@
                          R, IT87_SYSCTL_TEMP2, VALUE(3), 1 },
     { SENSORS_IT87_TEMP3, "temp3", NOMAP, NOMAP,
                          R, IT87_SYSCTL_TEMP3, VALUE(3), 1 },
-    { SENSORS_IT87_TEMP1_LOW, "temp1_hyst", SENSORS_IT87_TEMP1,
+    { SENSORS_IT87_TEMP1_LOW, "temp1_min", SENSORS_IT87_TEMP1,
                               SENSORS_IT87_TEMP1, RW,
                               IT87_SYSCTL_TEMP1, VALUE(2), 1 },
-    { SENSORS_IT87_TEMP2_LOW, "temp2_hyst", SENSORS_IT87_TEMP2,
+    { SENSORS_IT87_TEMP2_LOW, "temp2_min", SENSORS_IT87_TEMP2,
                               SENSORS_IT87_TEMP2, RW,
                               IT87_SYSCTL_TEMP2, VALUE(2), 1 },
-    { SENSORS_IT87_TEMP3_LOW, "temp3_hyst", SENSORS_IT87_TEMP3,
+    { SENSORS_IT87_TEMP3_LOW, "temp3_min", SENSORS_IT87_TEMP3,
                               SENSORS_IT87_TEMP3, RW,
                               IT87_SYSCTL_TEMP3, VALUE(2), 1 },
     { SENSORS_IT87_TEMP1_HIGH, "temp1_over", SENSORS_IT87_TEMP1,

应用补丁

$ patch -p0<chips-it87.diff

$ make user

# make user_install

编辑 sensors.conf 文件 it87 芯片部分(以下部分提供了更新版本的 lm_sensors 的示例)

3.5 新版本的 Sensors.conf

此版本由 Paolo BERVA 为 lm_sensors 2.8.3 发送。

chip "it87-*" "it8705-*" "it8712-*"

# The values below have been tested on Asus CUSI, CUM motherboards.

# Voltage monitors as advised in the It8705 data sheet

    label in0 "VCore 1"
    label in1 "VCore 2"
    label in2 "+3.3V"
    label in3 "+5V"
    label in4 "+12V"
    label in5 "-12V"
    label in6 "-5V"
    label in7 "Stdby"
    label in8 "VBat"

    set in0_min 1.7 * 0.95
    set in0_max 1.7 * 1.05
    set in1_min 2.4
    set in1_max 2.6
    set in2_min 3.3 * 0.95
    set in2_max 3.3 * 1.05
    set in3_min 5.0 * 0.95
    set in3_max 5.0 * 1.05
    set in4_min 12 * 0.95
    set in4_max 12 * 1.05
    set in5_max -12 * 0.95
    set in5_min -12 * 1.05
    set in6_max -5 * 0.95
    set in6_min -5 * 1.05
    set in7_min 5 * 0.95
    set in7_max 5 * 1.05
    #the chip does not support in8 min/max

    # vid is not monitored by IT8705F
    # and is not supported by driver at this time
    ignore  vid

# If 3.3V reads 2X too high (Soyo Dragon and Asus A7V8X-X, for example),
# comment out following line.
#    compute in2   2*@ , @/2
#
    compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
    compute in4 ((30/10) +1)*@  , @/((30/10) +1)
# For this family of chips the negative voltage equation is different from
# the lm78.  The chip uses two external resistor for scaling but one is
# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
# data sheet is wrong)
# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.

# The next two are negative voltages (-12 and -5).
# The following formulas must be used. Unfortunately the datasheet
# does not give recommendations for Rin, Rf, but we can back into
# them based on a nominal +2V input to the chip, together with a 4.096V Vref.
# Formula:
#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
#    For -12V input use Rin/Rf = 6.68
#    For -5V input use Rin/Rf = 3.33
# Then you can convert the forumula to a standard form like:
#    compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
#    compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
#
# this much simpler version is reported to work for a
# Eltite Group K7S5A board
#
   compute in5 -(34/10)*@, -@/(34/10)
   compute in6 -(51/10)*@, -@/(51/10)
#   compute in6 -(56/10)*@, -@/(56/10)
#
    compute in7 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)

# Temperature
#
# Important - if your temperature readings are completely whacky
# you probably need to change the sensor type.
# Adujst and uncomment the appropriate lines below.
# The old method (modprobe it87 temp_type=0xXX) is no longer supported.
#
# 2 = thermistor; 3 = thermal diode
#   set sensor1 3
   set sensor2 2
   set sensor3 2

    ignore temp1
    label temp2       "M/B Temp"
    set   temp2_over  40
    set   temp2_min  20
    label temp3       "CPU Temp"
    set   temp3_over  45
    set   temp3_min  25

# The A7V8X-X has temperatures inverted, and needs a conversion for
# CPU temp. Thanks to Preben Randhol for the formula.
#   label temp1       "CPU Temp"
#   label temp2       "M/B Temp"
#   compute temp1     (-15.096+1.4893*@), (@+15.096)/1.4893

# The A7V600 also has temperatures inverted, and needs a different
# conversion for CPU temp. Thanks to Dariusz Jaszkowski for the formula.
#   label temp1       "CPU Temp"
#   label temp2       "M/B Temp"
#   compute temp1     (@+128)/3, (3*@-128)

# Fans
    label fan1 "CPU/Fan"
    set fan1_div 2
    set fan1_min 2000
    label fan2 "Sys/Fan"
    set fan2_div 4
    set fan2_min 2000
    ignore fan3


4. 主板的 LAN 适配器

4.1 使其工作...

如果您的主板带有可选的板载 LAN 卡,您将拥有 Silicon Integrated Systems [SiS] SiS900 10/100 快速以太网卡,Linux 内核 2.4 及更高版本(据我所知,因为我只使用 2.4 内核)支持此卡。

要使其工作,您应该键入

modprobe sis900

您应该在您的 syslog 中看到类似这样的内容

  sis900.c: v1.08.02 11/30/2001
  eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 5, 00:d0:09:ea:7a:98.

或键入

dmesg | less 并滚动以查看内核消息。

如果一切顺利,您可以将 sis900 添加到 /etc/modules,以便它在每次启动时自动加载

echo "sis900" >> /etc/modules

(或者 echo "alias eth0 sis900" >> /etc/modutils/aliases && update-modules 以便在需要时加载模块,如果您有 Debian 系统,请使用它)

注意双 >>,否则您会遇到麻烦 :]

或者在您的内核中编译它,您应该在内核配置中对 SiS 900/7016 PCI Fast Ethernet Adapter support 选择 Y。


5. 其他

5.1 Knoppix

昨天 (2003 年 8 月 28 日),我尝试使用 Knoppix cd (3.2) 启动,发现计算机在 SCSI 探测期间冻结。
我在更新的版本 (3.3) 中遇到了同样的问题。

以下是防止这种情况发生的快速方法

当您获得 knoppix 提示符时,添加 noscsi 和您的 lang 设置并按 Enter

boot: knoppix noscsi lang=fr

lang=fr 只是为了确保即使我覆盖了 append 行,也会使用我的语言。

5.2 关于并行端口网络 (PLIP) 和软盘总线的说明

我最近发现这块主板上有几个重要的硬件缺陷。例如,我无法让 PLIP 正常工作,如果有人成功了,请告诉我!我使用了一根朋友卖给我的灰色 laplink 并行电缆(也称为空打印机电缆),并按照 PLIP Howto 进行操作。我可以使用 dos 工具观察引脚上的活动,但没有任何东西通过,它甚至给出了警告

modprobe plip

tail /var/log/messages

kernel: plip: parport0 has no IRQ. Using IRQ-less mode,which is fairly inefficient!
kernel: NET3 PLIP version 2.4-parport pj.oc.irm@ebiing
kernel: plip0: Parallel port at 0x378, not using IRQ.

Karl 说

“我发现只有一个并行端口模式实际上在现实生活中分配了 IRQ(bios 认为不同),我认为它是 EPP,但我可能是错的。我以前从未使用过 PLIP,但我认为这可能会有所帮助。”

我仍然收到同样的警告,如果它曾经工作过,请告诉我。

所以我不得不使用软盘,因为这台机器没有光驱,在那里,我发现 486 的写入速度快得多,写入完全相同的映像到相同的软盘,速度相差 10 多秒......

5.3 关于主板更换的说明

DR hab. Janusz S. Bien 的贡献

> My computer returned from the service with the mainboard replaced. In
> principle this is still ECS K7S5A, but seems to have a different sound
> chip.

I have now (with kernel 2.4.27, see below):

Jan 31 10:51:47 galicja kernel: i810: SiS 7012 found at IO 0xd800 and 0xdc0=
0, MEM 0x0000 and 0x0000, IRQ 11
[...]
Jan 31 10:51:47 galicja kernel: ac97_codec: AC97  codec, id: CMI65 (CMedia)

Earlier it was

Nov 23 06:42:36 galicja kernel: i810: SiS 7012 found at IO 0xd800 and 0xdc0=
0, MEM 0x0000 and 0x0000, IRQ 11
[...]
Nov 23 06:42:36 galicja kernel: ac97_codec: AC97 Audio codec, id: ALC38(Unk=
nown)

> The result is that with Knoppix of 2003-11-19-EN I have sound from
> xmms and xine, but there is no sound fom xawtv; actually I hear a kind
> of white noise.
> My HD installation - Woody with the kernel upgraded to 2.4.20 -
> behaves in an opposite way: I have sound from xawtv, but no sound from
> xmms and xine.

I just upgraded the kernel to 2.4.27 and situation is now worse: I
have no sound in xawtv, too.

如果您遇到类似情况,请查看 Alsa 驱动程序。

5.4 链接

警告:如果您的主板工作正常,请不要修复它。无论如何,这里有一些很酷的链接

5.5 K7s5a-pro 的 Sensors.conf

#Thanks to Art Wagner for this contribution (ten.ysaekaepsh@rengawa)

chip "it87-*" "it8705-*" "it8712-*"

# The values below have been tested on Asus CUSI, CUM motherboards.

# Voltage monitors as advised in the It8705 data sheet

         label in0 "VCore"
         label in1 "Vcc2.5v"
         label in2 "Vcc3.3v"
         label in3 "+5V"
         label in4 "+12V"
         label in5 "-12V"
         label in6 "SB 2.5V"
         label in7 "SB 5V"
         label in8 "V battery"

         # vid not monitored by IT8705F

         ignore  vid
# If 3.3V reads 2X too high (Soyo Dragon, for example),
# comment out following line.
#    compute in2   2*@ , @/2
#
       compute in3 ((6.8/10)+1)*@ ,  @/((6.8/10)+1)
       compute in4 ((30/10) +1)*@  , @/((30/10) +1)
# For this family of chips the negative voltage equation is different from
# the lm78.  The chip uses two external resistor for scaling but one is
# tied to a positive reference voltage.  See ITE8705/12 datasheet (SIS950
# data sheet is wrong)
# Vs = (1 + Rin/Rf) * Vin - (Rin/Rf) * Vref.
# Vref = 4.096 volts, Vin is voltage measured, Vs is actual voltage.

# The next two are negative voltages (-12 and -5).
# The following formulas must be used. Unfortunately the datasheet
# does not give recommendations for Rin, Rf, but we can back into
# them based on a nominal +2V input to the chip, together with a 4.096V
Vref.
# Formula:
#    actual V = (Vmeasured * (1 + Rin/Rf)) - (Vref * (Rin/Rf))
#    For -12V input use Rin/Rf = 6.68
#    For -5V input use Rin/Rf = 3.33
# Then you can convert the forumula to a standard form like:
# compute in5 (7.67 * @) - 27.36  ,  (@ + 27.36) / 7.67
# compute in6 (4.33 * @) - 13.64  ,  (@ + 13.64) / 4.33
#
# this much simpler version is reported to work for a
# Eltite Group K7S5A board
#
      compute in5 -(36/10)*@, -@/(36/10)
#     compute in6 -(56/10)*@, -@/(56/10)
      compute in6 (4.33*@) -13.64 , (@ +13.64) / 4.33
      compute in7 ((6.8/10)+1)*@,  @/((6.8/10)+1)
#
      set in0_min 1.6 * 0.95
      set in0_max 1.6 * 1.05
      set in1_min 2.4
      set in1_max 2.6
      set in2_min 3.3 * 0.95
      set in2_max 3.3 * 1.05
      set in3_min 5.0 * 0.95
      set in3_max 5.0 * 1.05
      set in4_min  12 * 0.95
      set in4_max  12 * 1.05
      set in5_min -12 * 0.95
      set in5_max -12 * 1.05
      set in6_min  2.5 * 0.95
      set in6_max  2.5 * 1.05
      set in7_min   5 * 0.95
      set in7_max   5 * 1.05

#     Temperature
   set in0_min 1.6 * 0.95
   set in0_max 1.6 * 1.05
   set in1_min 2.4
   set in1_max 2.6
   set in2_min 3.3 * 0.95
   set in2_max 3.3 * 1.05
   set in3_min 5.0 * 0.95
   set in3_max 5.0 * 1.05
   set in4_min  12 * 0.95
   set in4_max  12 * 1.05
   set in5_min -12 * 0.95
   set in5_max -12 * 1.05
   set in6_min  2.5 * 0.95
   set in6_max  2.5 * 1.05
   set in7_min   5 * 0.95
   set in7_max   5 * 1.05
                                                                                                                                                
   label temp3       "Processor"
   set   temp3_over  70
   set   temp3_hyst  25
   label temp2       "Mainboard"
   set   temp2_over  70
   set   temp2_hyst  25
   ignore temp1

     # Fans

   label fan1"Processor's Fan"
   set fan1_min 1800
   ignore fan3
   ignore fan2

5.6 一些话 (关于 BIOS)

Alvaro

使用修改后的 BIOS,我成功地将我的 Athlon 1000Mhz 超频到 1050Mhz,非常完美,但是当我使用 hdparm -c1 -X66 /dev/hda 捣鼓 hdparm(30Gig Western Digital 硬盘)时,我设法损坏了我的文件系统,所以请注意。

如果您是真正的微调者,您可能想要更改您的 BIOS 徽标和其他内容,有些人尝试过并且效果良好,另一些人则没有,因此他们不得不再次刷新他们的 BIOS(使用启动盘和一个可用的 bios 盲刷)以使主板再次工作。这真的取决于您。搜索 Google 或 OC Workbench,您就会找到方法。

祝你好运! :-)

Karl

“我还建议您尝试使用 HoneyX bios 或 CHEEPOman bios 来代替官方版本,它可以让您更多地控制,尽管非 atapi CD 驱动器存在一些问题(我的 DVD 在 linux 中使用 cheepoman 时会变得疯狂)

cheepoman bios 还修复了 ECS 尚未解决的几个问题。

这些 bios rom 不受 ECS 支持,请记住这一点,此外它们主要用于超频,超频方式是您不需要铅笔 ;)”


6. 贡献

我对收到关于这个 HOWTO 的邮件数量感到非常惊讶。不幸的是,当我的硬盘驱动器坏掉时,我丢失了一些贡献,但我一直在倾听,所以不要犹豫给我们发邮件。 - Seb

6.1 贡献者

以下是最近的大部分贡献者,我希望每个人都在这里 :]

 David Thorarinsson es.emoh@ibbad
 Karl Lattimer ofni.ccnn@lrak
 DR HAB. Janusz S. Bien lp.ude.wumim.hcud@neibsj
 Doug Jensen moc.tsewpsi@nejd