KT400a / VT8235
hi,
(sorry about the previous message -went by mistake-)
My problem is related to a Fujitsu-Siemens (AMILO A 7620) laptop.
It seems that chipsets are supported, but I cannot successfully run sensors-detect AND probe 'non-detectable'.
However, I have succeeded in running sensors-detect WITHOUT probing 'non-detectable', but the output from sensors is only:
[root@flaptop root]# sensors
eeprom-i2c-0-51
Adapter: SMBus Via Pro adapter at 0400 Algorithm: Non-I2C SMBus adapter Memory type: DDR SDRAM DIMM Memory size (MB): 512
_____________________________
This is what I have got:
-The dmesg or syslog output if applicable:
______________________________________________
i2c-dev.o: i2c /dev entries driver module
i2c-core.o: driver i2c-dev dummy driver registered. i2c-dev.o: Registered 'SMBus Via Pro adapter at 0400' as minor 0 i2c-algo-pcf.o: i2c pcf8584 algorithm module
i2c-elektor.o: i2c pcf8584-isa adapter module i2c-elektor.o: requested I/O region (0x330:2) is in use. i2c-algo-bit.o: i2c bit algorithm module
i2c-elv.o: i2c ELV parallel port adapter module
i2c-dev.o: Registered 'ELV Parallel port adaptor' as minor 1 i2c-core.o: adapter ELV Parallel port adaptor registered as adapter 1. i2c-elv.o: found device at 0x378.
i2c-algo-pcf.o: i2c pcf8584 algorithm module
i2c-elektor.o: i2c pcf8584-isa adapter module i2c-elektor.o: requested I/O region (0x330:2) is in use. i2c-algo-pcf.o: i2c pcf8584 algorithm module
i2c-elektor.o: i2c pcf8584-isa adapter module i2c-elektor.o: requested I/O region (0x330:2) is in use. i2c-philips-par.o: i2c Philips parallel port adapter module i2c-velleman.o: i2c Velleman K8000 adapter module i2c-velleman.o: Port 0x378 already in use.
____________________________
* The output of (as root) prog/detect/sensors-detect
______________________________________
[root@flaptop root]# sensors-detect
This program will help you determine which I2C/SMBus modules you need to load to use lm_sensors most effectively. You need to have i2c and lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-* files, for most things.
If you have patched your kernel and have some drivers built-in, you can safely answer NO if asked to load some modules. In this case, things may seem a bit confusing, but they will still work.
BIOS vendor (ACPI): AMI
System vendor (DMI): FUJITSU SIEMENS
BIOS version (DMI): 0.28
We can start with probing for (PCI) I2C or SMBus adapters. You do not need any special privileges for this. Do you want to probe now? (YES/no): y
Probing for PCI bus adapters...
Use driver `i2c-viapro' for device 00:11.0: VIA Technologies VT8233A/8235 South Bridge
Probe succesfully concluded.
We will now try to load each adapter module in turn.
Module `i2c-viapro' already loaded.
Do you now want to be prompted for non-detectable adapters? (yes/NO): y
Load `i2c-elektor' (say NO if built into your kernel)? (YES/no): y /lib/modules/2.4.22-1.2149.nptl/unsupported/drivers/i2c/i2c-elektor.o:init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg/lib/modules/2.4.22-1.2149.nptl/unsupported/drivers/i2c/i2c-elektor.o:
insmod /lib/modules/2.4.22-1.2149.nptl/unsupported/drivers/i2c/i2c-elektor.o failed /lib/modules/2.4.22-1.2149.nptl/unsupported/drivers/i2c/i2c-elektor.o:
insmod i2c-elektor failed
Loading failed... skipping.
Load `i2c-elv' (say NO if built into your kernel)? (YES/no): y Module loaded succesfully.
Load `i2c-philips-par' (say NO if built into your kernel)? (YES/no): y Module loaded succesfully.
Load `i2c-velleman' (say NO if built into your kernel)? (YES/no): y /lib/modules/2.4.22-1.2149.nptl/unsupported/drivers/i2c/i2c-velleman.o:init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg/lib/modules/2.4.22-1.2149.nptl/unsupported/drivers/i2c/i2c-velleman.o:
insmod /lib/modules/2.4.22-1.2149.nptl/unsupported/drivers/i2c/i2c-velleman.o failed /lib/modules/2.4.22-1.2149.nptl/unsupported/drivers/i2c/i2c-velleman.o:
insmod i2c-velleman failed
Loading failed... skipping.
To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this.
i2c-dev is already loaded.
We are now going to do the adapter probings. Some adapters may hang
halfway
through; we can't really help that. Also, some chips will be double
detected;
we choose the one with the highest confidence value in that case. If you found that the adapter hung after probing a certain address, you
can
specify that address to remain unprobed. That often includes address 0x69 (clock chip).
Next adapter: SMBus Via Pro adapter at 0400 (Non-I2C SMBus adapter) Do you want to scan it? (YES/no/selectively): y
Client at address 0x51 can not be probed - unload all client drivers first!
Client found at address 0x69
Next adapter: ELV Parallel port adaptor (Bit-shift algorithm) Do you want to scan it? (YES/no/selectively): y ^X^X^X^X
[root@flaptop root]#
_______________________________
* The output of lsmod:
__________________________
[root@flaptop root]# lsmod
Module Size Used by Not tainted
i2c-philips-par 3356 0 (unused) parport 36800 0 [i2c-philips-par] i2c-elv 2404 0 i2c-algo-bit 8776 1 [i2c-philips-par i2c-elv] i2c-dev 5060 0 udf 92992 0 (autoclean) via82cxxx_audio 23672 1 (autoclean) ac97_codec 16648 0 (autoclean) [via82cxxx_audio] uart401 7972 0 (autoclean) [via82cxxx_audio] sound 71444 0 (autoclean) [via82cxxx_audio uart401] soundcore 6500 4 (autoclean) [via82cxxx_audio sound] eeprom 4948 0 (unused) i2c-proc 8400 0 [eeprom] i2c-viapro 5008 0 i2c-core 18916 0 [i2c-algo-bit i2c-dev eeprom i2c-proc i2c-viapro] autofs 12052 0 (autoclean) (unused) via-rhine 14672 1 mii 3992 0 [via-rhine] sg 34796 0 (autoclean) sr_mod 17016 0 (autoclean) ide-scsi 11856 0 scsi_mod 109384 3 [sg sr_mod ide-scsi] ide-cd 34176 0 cdrom 34048 0 [sr_mod ide-cd] ohci1394 28520 0 (unused) ieee1394 203940 0 [ohci1394] nls_iso8859-1 3548 1 (autoclean) nls_cp437 5180 1 (autoclean) vfat 12268 1 (autoclean) fat 37592 0 (autoclean) [vfat] keybdev 2624 0 (unused) mousedev 5204 0 (unused) hid 23652 0 (unused) input 5824 0 [keybdev mousedev hid] ehci-hcd 19784 0 (unused) usb-uhci 25740 0 (unused) usbcore 77984 1 [hid ehci-hcd usb-uhci] thermal 8032 0 (unused) processor 10584 0 [thermal] fan 2240 0 (unused) button 3500 0 (unused) battery 6848 0 (unused) asus_acpi 9596 0 (unused) ac 2528 0 (unused) ext3 70980 4 jbd 51084 4 [ext3]
If a PCI chip problem:
* The output of lspci -n
___________________________
[root@flaptop root]# lspci -n
00:00.0 Class 0600: 1106:3189 (rev 80)
00:01.0 Class 0604: 1106:b198
00:09.0 Class 0c00: 1106:3044 (rev 80)
00:0b.0 Class 0607: 1217:6972 (rev 20)
00:10.0 Class 0c03: 1106:3038 (rev 80)
00:10.1 Class 0c03: 1106:3038 (rev 80)
00:10.2 Class 0c03: 1106:3038 (rev 80)
00:10.3 Class 0c03: 1106:3104 (rev 82)
00:11.0 Class 0601: 1106:3177
00:11.1 Class 0101: 1106:0571 (rev 06)
00:11.5 Class 0401: 1106:3059 (rev 50)
00:11.6 Class 0780: 1106:3068 (rev 80)
00:12.0 Class 0200: 1106:3065 (rev 74)
01:00.0 Class 0300: 1002:4c66 (rev 01)
_____________________________
UNSURE ABOUT THESE SECTIONS ;-(
* If an I2C sensor chip problem:
* The output of (as root) prog/detect/i2cdetect X where X = the bus number (run i2cdetect with no arguments to list the busses) (please send this only if it's not all XX)
* The output of (as root) prog/dump/i2cdump X 0xXX where XX = the address of each chip you see in the output of i2cdetect. (run once for each chip) (please send this only if it's not all ff)
* If an ISA sensor chip problem:
* The output of (as root) prog/dump/isadump 0x295 0x296 (only if it's not all XX)
__________________
* Part numbers of chips on your motherboard you think are the sensor chips (look at your motherboard)
VIA KT400a / VIA VT8235
* Motherboard type
AMILO A 7620
* Sensors version
[root@flaptop root]# rpm -q lm_sensors
lm_sensors-2.8.1-1
* Kernel version
[root@flaptop root]# uname -a
Linux flaptop 2.4.22-1.2149.nptl #1 Wed Jan 7 12:57:33 EST 2004 i686 athlon i386 GNU/Linux
thanks for a QUICK response!!
this is my next problem, sorry ;-) :
[root@flaptop root]# lsmod|grep i2c
i2c-proc 8400 0 [eeprom] i2c-viapro 5008 0 (unused) i2c-core 18916 0 [eeprom i2c-proc i2c-viapro]
[root@flaptop root]# rmmod i2c-viapro [root@flaptop root]# rmmod i2c-core
i2c-core: Device or resource busy [root@flaptop root]# rmmod i2c-proc
i2c-proc: Device or resource busy [root@flaptop root]#
Quoted 25 lines · Jean Delvare
Quoted 8 lines
My problem is related to a Fujitsu-Siemens (AMILO A 7620) laptop.
It seems that chipsets are supported, but I cannot successfully run sensors-detect AND probe 'non-detectable'.
However, I have succeeded in running sensors-detect WITHOUT probing 'non-detectable', but the output from sensors is only:
Quoted 6 lines
[root@flaptop root]# sensors
eeprom-i2c-0-51Adapter: SMBus Via Pro adapter at 0400 Algorithm: Non-I2C SMBus adapter Memory type: DDR SDRAM DIMM Memory size (MB): 512Non-detectable devices are really rare ones, this is why probing them is disabled by default in sensors-detect. Maybe we should add a warning stating that ordinary users shouldn't try this, or maybe we should even remove support from sensors-detect. So far, it has caused more trouble than it helped.
Please provide the output of sensors-detect without the 'non-detectable' probes, so that I can tell you more about what you can do with our package. Don't forget to unload all i2c drivers before doing so, or the results may be unreliable.
sorry (obvious if you are experienced enough ;-)..
__________________________________
here is sensors output:
[root@flaptop root]# sensors-detect
This program will help you determine which I2C/SMBus modules you need to load to use lm_sensors most effectively. You need to have i2c and lm_sensors installed before running this program.
Also, you need to be `root', or at least have access to the /dev/i2c-* files, for most things.
If you have patched your kernel and have some drivers built-in, you can safely answer NO if asked to load some modules. In this case, things may seem a bit confusing, but they will still work.
BIOS vendor (ACPI): AMI
System vendor (DMI): FUJITSU SIEMENS
BIOS version (DMI): 0.28
We can start with probing for (PCI) I2C or SMBus adapters. You do not need any special privileges for this. Do you want to probe now? (YES/no): y
Probing for PCI bus adapters...
Use driver `i2c-viapro' for device 00:11.0: VIA Technologies VT8233A/8235 South Bridge
Probe succesfully concluded.
We will now try to load each adapter module in turn.
Load `i2c-viapro' (say NO if built into your kernel)? (YES/no): y Module loaded succesfully.
Do you now want to be prompted for non-detectable adapters? (yes/NO): n To continue, we need module `i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this. i2c-dev is not loaded. Do you want to load it now? (YES/no): y Module loaded succesfully.
We are now going to do the adapter probings. Some adapters may hang
halfway
through; we can't really help that. Also, some chips will be double
detected;
we choose the one with the highest confidence value in that case. If you found that the adapter hung after probing a certain address, you
can
specify that address to remain unprobed. That often includes address 0x69 (clock chip).
Next adapter: SMBus Via Pro adapter at 0400 (Non-I2C SMBus adapter) Do you want to scan it? (YES/no/selectively): y
Client found at address 0x51
Probing for `SPD EEPROM'... Success!
(confidence 8, driver `eeprom')
Client found at address 0x69
Some chips are also accessible through the ISA bus. ISA probes are typically a bit more dangerous, as we have to write to I/O ports to do this. Do you want to scan the ISA bus? (YES/no): y
Probing for `National Semiconductor LM78'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM78-J'
Trying address 0x0290... Failed!
Probing for `National Semiconductor LM79'
Trying address 0x0290... Failed!
Probing for `Winbond W83781D'
Trying address 0x0290... Failed!
Probing for `Winbond W83782D'
Trying address 0x0290... Failed!
Probing for `Winbond W83627HF'
Trying address 0x0290... Failed!
Probing for `Winbond W83697HF'
Trying address 0x0290... Failed!
Probing for `Silicon Integrated Systems SIS5595'
Trying general detect... Failed!
Probing for `VIA Technologies VT82C686 Integrated Sensors'
Trying general detect... Failed!
Probing for `VIA Technologies VT8231 Integrated Sensors'
Trying general detect... Failed!
Probing for `ITE IT8705F / IT8712F / SiS 950'
Trying address 0x0290... Failed!
Probing for `IPMI BMC KCS'
Trying address 0x0ca0... Failed!
Probing for `IPMI BMC SMIC'
Trying address 0x0ca8... Failed!
Some Super I/O chips may also contain sensors. Super I/O probes are typically a bit more dangerous, as we have to write to I/O ports to do this. Do you want to scan for Super I/O sensors? (YES/no): y
Probing for `SMSC 47M10x Super IO Fan Sensors'
Failed!
Probing for `SMSC 47M14x Super IO Fan Sensors'
Failed!
Probing for `VT1211 Super IO Sensors'
Success... but not activated, module may not find
Probing for `Winbond W83627HF Super IO Sensors'
Failed! (0x3c)
Probing for `Winbond W83627THF Super IO Sensors'
Failed! (0x3c)
Probing for `Winbond W83697HF Super IO Sensors'
Failed! (0x3c)
Now follows a summary of the probes I have just done. Just press ENTER to continue:
Driver `eeprom' (should be inserted):
Detects correctly:
* Bus SMBus Via Pro adapter at 0400' (Non-I2C SMBus adapter) Busdriver i2c-viapro', I2C address 0x51
Chip `SPD EEPROM' (confidence: 8)
I will now generate the commands needed to load the I2C modules. Sometimes, a chip is available both through the ISA bus and an I2C bus. ISA bus access is faster, but you need to load an additional driver
module
for it. If you have the choice, do you want to use the ISA bus or the I2C/SMBus (ISA/smbus)? smbus
To make the sensors modules behave correctly, add these lines to /etc/modules.conf:
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
To load everything that is needed, add this to some /etc/rc* file:
#----cut here----
# I2C adapter drivers
modprobe i2c-viapro
# I2C chip drivers
modprobe eeprom
# sleep 2 # optional /usr/local/bin/sensors -s # recommended #----cut here----
WARNING! If you have some things built into your kernel, the list above will contain too many modules. Skip the appropriate ones! You really should
try these commands right now to make sure everything is working properly.
Monitoring programs won't work until it's done.
Do you want to generate /etc/sysconfig/lm_sensors? (YES/no): y Copy prog/init/lm_sensors.init to /etc/rc.d/init.d/lm_sensors for initialization at boot time.
Quoted 17 lines · Jean Delvare
Quoted 6 lines
this is my next problem, sorry ;-) :
[root@flaptop root]# lsmod|grep i2c
i2c-proc 8400 0 [eeprom] i2c-viapro 5008 0 (unused) i2c-core 18916 0 [eeprom i2c-proc i2c-viapro]Quoted 6 lines
[root@flaptop root]# rmmod i2c-viapro [root@flaptop root]# rmmod i2c-core
i2c-core: Device or resource busy [root@flaptop root]# rmmod i2c-proc
i2c-proc: Device or resource busy [root@flaptop root]#Well, isn't it obvious? You need to rmmod eeprom first, as it uses both i2c-proc and i2c-core. Yes, it doesn't have "i2c" in its name. It's a long time tradition that bus drivers do but chip drivers don't. Don't ask me why ;)
thanks a lot.... now i know ;-)
Quoted 2 lines · Jean Delvare
Get sensors-detect from CVS:
http://www2.lm-sensors.nu/%7Elm78/cvs/lm_sensors2/prog/detect/sensors-detect
ok, will try that
Quoted 2 lines
The other possibility to get temperature and/or fan information is ACPI, especially for laptops. This is how I get temperature from mine.
how did you get that to work, if i may ask? (i was under impression that ACPI used lm_sensors?)
Quoted 3 lines · Jean Delvare
Enable ACPI and its "Thermal Zone" option while
configuring your kernel, and then browse/proc/acpifor information. Especially the 'thermal_zone" subdirectory could be of interest to you.
thx, I have done this - the reason I was fooling around with lm_sensors is because my /proc/acpi/thermal_zone/THRM/temperature always says "75"
- it never changes - and through Google I came to lm_sensors...
;-(
Quoted 8 lines
My problem is related to a Fujitsu-Siemens (AMILO A 7620) laptop.
It seems that chipsets are supported, but I cannot successfully run sensors-detect AND probe 'non-detectable'.
However, I have succeeded in running sensors-detect WITHOUT probing 'non-detectable', but the output from sensors is only:
Quoted 6 lines
[root@flaptop root]# sensors
eeprom-i2c-0-51Adapter: SMBus Via Pro adapter at 0400 Algorithm: Non-I2C SMBus adapter Memory type: DDR SDRAM DIMM Memory size (MB): 512
Non-detectable devices are really rare ones, this is why probing them is disabled by default in sensors-detect. Maybe we should add a warning stating that ordinary users shouldn't try this, or maybe we should even remove support from sensors-detect. So far, it has caused more trouble than it helped.
Please provide the output of sensors-detect without the 'non-detectable' probes, so that I can tell you more about what you can do with our package. Don't forget to unload all i2c drivers before doing so, or the results may be unreliable.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 6 lines
this is my next problem, sorry ;-) :
[root@flaptop root]# lsmod|grep i2c
i2c-proc 8400 0 [eeprom] i2c-viapro 5008 0 (unused) i2c-core 18916 0 [eeprom i2c-proc i2c-viapro]
Quoted 6 lines
[root@flaptop root]# rmmod i2c-viapro [root@flaptop root]# rmmod i2c-core
i2c-core: Device or resource busy [root@flaptop root]# rmmod i2c-proc
i2c-proc: Device or resource busy [root@flaptop root]#
Well, isn't it obvious? You need to rmmod eeprom first, as it uses both i2c-proc and i2c-core. Yes, it doesn't have "i2c" in its name. It's a long time tradition that bus drivers do but chip drivers don't. Don't ask me why ;)
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 2 lines
here is sensors output:
(...)
No luck :( There's really nothing in there. Your only chance is that you have a Super-I/O chip that wasn't supported in 2.8.1 and is supported now. Get sensors-detect from CVS:
http://www2.lm-sensors.nu/%7Elm78/cvs/lm_sensors2/prog/detect/sensors-detect
and see if it finds something. If it doesn't, well I'm sorry but we can't do anything for you.
The other possibility to get temperature and/or fan information is ACPI, especially for laptops. This is how I get temperature from mine. LM Sensors doesn't provide anything but eeproms, as it seems to be the case for you.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 6 lines
Quoted 3 lines
The other possibility to get temperature and/or fan information is ACPI, especially for laptops. This is how I get temperature from mine.
how did you get that to work, if i may ask? (i was under impression that ACPI used
lm_sensors?)
Not at all. This is a completely different (and amazingy complicated) thing. I can't even call it a driver since it does soooo many things (from IRQ routing to power management and thermal control). There's not much you have to do to get it work now that it is integrated into both the 2.4 and 2.6 kernels. Enable ACPI and its "Thermal Zone" option while configuring your kernel, and then browse /proc/acpi for information. Especially the 'thermal_zone" subdirectory could be of interest to you.
Hope that helps.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/