LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Sensors not working on ali15x3 board (https://www.linuxquestions.org/questions/linux-hardware-18/sensors-not-working-on-ali15x3-board-330236/)

npc 06-04-2005 07:39 AM

Sensors not working on ali15x3 board
 
Hi people!
I've got this MS-5169 board which has ali chips all over it. Although i've already patched the kernel and managed to unhide the M7101 PMU thing, the sensors still dont work. Actually, all i can get sensors-detect to detect are eeprom (useless) sensors.
I'm using Slackware 10 (updated libs, udev and stuff), kernel 2.6.11 and the lastest lm_sensors package i could find in linuxpackages.net.
I've compiled i2c_dev as built-in and i2c_isa, i2c_sensor, i2c_ali15x3 as modules.
Also, APM is disabled on BIOS and kernel ACPI stuff is just marvelous.

Could somebody help me out please?

Here some of the output messages:

root@Slackbox:/home/npc# lspci
00:00.0 Host bridge: ALi Corporation M1541 (rev 04)
00:01.0 PCI bridge: ALi Corporation M1541 PCI to AGP Controller (rev 04)
00:02.0 USB Controller: ALi Corporation USB 1.1 Controller (rev 03)
00:03.0 Bridge: ALi Corporation M7101 PMU <== got it unhidden
00:07.0 ISA bridge: ALi Corporation M1533 PCI to ISA Bridge [Aladdin IV] (rev c3) <== guess this is the thing
00:0e.0 Ethernet controller: Linksys Network Everywhere Fast Ethernet 10/100 model NC100 (rev 11)
00:0f.0 IDE interface: ALi Corporation M5229 IDE (rev c1)
01:00.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev 01) <== voodoo rulez!

root@Slackbox:/home/npc# sensors
No sensors found!
root@Slackbox:/home/npc#

root@Slackbox:/home/npc# lsmod
Module Size Used by
tdfx 3616 1
drm 64340 2 tdfx
i2c_sensor 3456 0
i2c_isa 1984 0
tsdev 7296 0
psmouse 27272 0
ipv6 247264 10
uhci_hcd 31664 0
ehci_hcd 31368 0
ali_agp 6880 1
ohci_hcd 21576 0
usbcore 116056 4 uhci_hcd,ehci_hcd,ohci_hcd
i2c_ali15x3 7428 0
tulip 50240 0
evdev 8960 0
agpgart 34088 2 drm,ali_agp
rtc 12920 0

root@Slackbox:/home/npc# i2cdetect -l
i2c-1 dummy ISA main adapter ISA bus algorithm
i2c-0 unknown SMBus ALI15X3 adapter at 5000 Algorithm unavailable <== BIG_QUESTION_MARK :(

root@Slackbox:/home/npc# i2cdetect 0
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c/0.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: XX XX XX XX XX XX XX XX XX XX XX XX XX
10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
30: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
40: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
50: XX 51 52 XX XX XX XX XX XX XX XX XX XX XX XX XX
60: XX XX XX XX XX XX XX XX XX 69 XX XX XX XX XX XX
70: XX XX XX XX XX XX XX XX

// 51 and 52 seems to be for eeprom thing, 69 i dunno.

root@Slackbox:/home/npc# cat /etc/modules.conf
# I2C module options
alias char-major-89 i2c-dev

root@Slackbox:/home/npc# cat /etc/rc.d/rc.local
#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local setup commands in here:
# I2C chip drivers
/sbin/modprobe i2c-isa
/sbin/modprobe i2c-sensor
#/sbin/modprobe eeprom
# sleep 2 # optional
/usr/bin/sensors -s # recommended

root@Slackbox:/home/npc# sensors
No sensors found!

Thank you all and Shalom!


All times are GMT -5. The time now is 06:26 AM.