max1617a
Hi Alexey,
Quoted 9 lines
I have an notebook
"SAMSUNG NV5000" with linux it working pritty well bat I can't use termo-chip "max1617a" for processor. With Windows it was recogniset as max1617a and from Linux with sensors-detect as max6650 :-) modul max6650 starts and show fan-speed :-) bat i dont hawe fan speed chip, and wan iwen fan dont working it show prity hi speed. modul adm1201 or somting like this, wich supous to work with max1617a can't rekognise it, at all. if you hawe, a time please halp me or jast tell me wat i need to chenge.
The MAX1617A and MAX6650 are completely different chips, they can't even have the same address on the I2C bus. So this cannot be a misdetection, you have probably both on your laptop.
Please provide the following information:
1* Version of lm_sensors you are running.
2* Version of the Linux kernel you are running.
3* Full output of sensors-detect. The "script" tool may help. Don't forget to unload all chip drivers (I guess max6650 and possibly eeprom) before running sensors-detect.
Quoted 1 line
please excuse me with my english, i jast began to lern it.
I can see that ;) No problem.
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Hi Jean
1* I'm running lm_sensors 2.8.6
2* Linux kernel 2.6.5 (but with some chenges in DRI section) i2c compilet as modules 3* Full output in attachment (sens.txt)
Quoted 1 line
Quoted 1 line
(I guess max6650 and possibly eeprom)
You heve rite , it is.
Signature · 252 lines
Best regards, Alexey mailto:[email protected] -------------- next part -------------- Script started on Mon 10 May 2004 07:41:59 AM CEST [root@inna root]# sensors0[K-detect [K[K[K[K[K[K[K[K Can't access procfs/sysfs file Unable to find i2c bus information; For 2.6 kernels, make sure you have mounted sysfs and done 'modprobe i2c_sensor'! For older kernels, make sure you have done 'modprobe i2c-proc'! [root@inna root]# sensors0[K-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. It is generally safe and recommended to accept the default answers to all questions, unless you know what you're doing. 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): Probing for PCI bus adapters... Use driver `i2c-piix4' for device 00:07.3: Intel 82371AB PIIX4 ACPI Use driver `to-be-written' for device 01:01.0: S3 Savage IX MV Probe succesfully concluded. We will now try to load each adapter module in turn. Load `i2c-piix4' (say NO if built into your kernel)? (YES/no): Module loaded succesfully. Load `to-be-written' (say NO if built into your kernel)? (YES/no): FATAL: Module to_be_written not found. Loading failed... skipping. If you have undetectable or unsupported adapters, you can have them scanned by manually loading the modules before running this script. 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): 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 PIIX4 adapter at 2180 (Algorithm unavailable) Do you want to scan it? (YES/no/selectively): Client found at address 0x1f Probing for `Maxim MAX6650/MAX6651'... Success! (confidence 4, driver `max6650') Client found at address 0x30 Client found at address 0x4d Probing for `National Semiconductor LM75'... Failed! Probing for `Dallas Semiconductor DS1621'... Failed! Probing for `Analog Devices ADM1021'... Failed! Probing for `Analog Devices ADM1021A/ADM1023'... Failed! Probing for `Maxim MAX1617'... Failed! Probing for `Maxim MAX1617A'... Failed! Probing for `TI THMC10'... Failed! Probing for `National Semiconductor LM84'... Failed! Probing for `Genesys Logic GL523SM'... Failed! Probing for `Onsemi MC1066'... Failed! Probing for `National Semiconductor LM82'... Failed! Probing for `National Semiconductor LM83'... Failed! Client found at address 0x50 Probing for `SPD EEPROM'... Success! (confidence 8, driver `eeprom') Probing for `DDC monitor'... Failed! Probing for `Maxim MAX6900'... Failed! 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. This is usually safe though. Do you want to scan the ISA bus? (YES/no): 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. This is usually safe though. Do you want to scan for Super I/O sensors? (YES/no): Probing for `ITE 8702F Super IO Sensors' Failed! Probing for `ITE 8705F Super IO Sensors' Failed! Probing for `ITE 8712F Super IO Sensors' Failed! Probing for `Nat. Semi. PC87351 Super IO Fan Sensors' Failed! Probing for `Nat. Semi. PC87360 Super IO Fan Sensors' Failed! Probing for `Nat. Semi. PC87363 Super IO Fan Sensors' Failed! Probing for `Nat. Semi. PC87364 Super IO Fan Sensors' Failed! Probing for `Nat. Semi. PC87365 Super IO Sensors' Failed! Probing for `Nat. Semi. PC87366 Super IO Sensors' Failed! Probing for `Nat. Semi. PC87372 Super IO Fan Sensors' Failed! Probing for `SMSC 47B27x Super IO Fan Sensors' Failed! Probing for `SMSC 47M10x/13x Super IO Fan Sensors' Failed! Probing for `SMSC 47M14x Super IO Fan Sensors' Failed! Probing for `SMSC 47M15x/192 Super IO Fan Sensors' Failed! Probing for `VT1211 Super IO Sensors' Failed! Probing for `Winbond W83627HF Super IO Sensors' Failed! Probing for `Winbond W83627THF Super IO Sensors' Failed! Probing for `Winbond W83637HF Super IO Sensors' Failed! Probing for `Winbond W83697HF Super IO Sensors' Failed! Probing for `Winbond W83697UF Super IO PWM' Failed! Do you want to scan for secondary Super I/O sensors? (YES/no): Probing for `ITE 8702F Super IO Sensors' Failed! Probing for `ITE 8705F Super IO Sensors' Failed! Probing for `ITE 8712F Super IO Sensors' Failed! Probing for `Nat. Semi. PC87351 Super IO Fan Sensors' Failed! Probing for `Nat. Semi. PC87360 Super IO Fan Sensors' Failed! Probing for `Nat. Semi. PC87363 Super IO Fan Sensors' Failed! Probing for `Nat. Semi. PC87364 Super IO Fan Sensors' Failed! Probing for `Nat. Semi. PC87365 Super IO Sensors' Failed! Probing for `Nat. Semi. PC87366 Super IO Sensors' Failed! Probing for `Nat. Semi. PC87372 Super IO Fan Sensors' Failed! Probing for `SMSC 47B27x Super IO Fan Sensors' Failed! Probing for `SMSC 47M10x/13x Super IO Fan Sensors' Failed! Probing for `SMSC 47M14x Super IO Fan Sensors' Failed! Probing for `SMSC 47M15x/192 Super IO Fan Sensors' Failed! Probing for `VT1211 Super IO Sensors' Failed! Probing for `Winbond W83627HF Super IO Sensors' Failed! Probing for `Winbond W83627THF Super IO Sensors' Failed! Probing for `Winbond W83637HF Super IO Sensors' Failed! Probing for `Winbond W83697HF Super IO Sensors' Failed! Probing for `Winbond W83697UF Super IO PWM' Failed! Now follows a summary of the probes I have just done. Just press ENTER to continue: Driver `max6650' (should be inserted): Detects correctly: * Bus `SMBus PIIX4 adapter at 2180' (Algorithm unavailable) Busdriver `i2c-piix4', I2C address 0x1f Chip `Maxim MAX6650/MAX6651' (confidence: 4) Driver `eeprom' (should be inserted): Detects correctly: * Bus `SMBus PIIX4 adapter at 2180' (Algorithm unavailable) Busdriver `i2c-piix4', I2C address 0x50 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-piix4 # I2C chip drivers modprobe max6650 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): no [root@inna root]# exit exit Script done on Mon 10 May 2004 07:43:24 AM CEST
Hi Jean,
JD> If you want to write the driver yourself, the datasheet is here:
JD> http://pdfserv.maxim-ic.com/en/ds/MAX1619.pdf
JD> I'd suggest you start from a similar driver such as the lm90.
I gona try to writ a driver. I newer did it before but "lerning by doing" ...
Signature · 2 lines
Best regards, Alexey mailto:[email protected]
Hi Jean,
I provide you dump of 0x4d and 0x1f.
in a moment I try to fix sach a bagy DSDT for ACPI ... ACPI can't finde thermo-sensor too.
Sanky werymatch , what you traing to help me :-)
Best regards,
Alexey mailto:[email protected]
-------------- next part --------------
Script started on Tue 11 May 2004 10:32:04 PM CEST
[root@inna root]# i2cdetect
Error: No i2c-bus specified!
Syntax: i2cdetect [-f] I2CBUS
I2CBUS is an integer
With -f, scans all addresses (NOT RECOMMENDED)
i2cdetect -l lists installed busses only
Installed I2C busses:
i2c-0 unknown SMBus PIIX4 adapter at 2180 Algorithm unavailable
[root@inna root]# i2cdetect 0
WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0
You have five seconds to reconsider and press CTRL-C!
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 1f
20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
30: 30 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 4d XX XX
50: 50 XX XX 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
[root@inna root]# i2cdump 0 0x1f
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x1f, mode byte
You have five seconds to reconsider and press CTRL-C!
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. 10: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. 20: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. 30: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. 40: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. 50: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. 60: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. 70: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. 80: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. 90: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. a0: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. b0: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. c0: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. d0: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. e0: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??.. f0: 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 0d 0d 00 00 ??..??..??..??..
[root@inna root]# i2cdump 0 0x4d
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0, address 0x4d, mode byte
You have five seconds to reconsider and press CTRL-C!
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef 00: 4b 5d 12 80 02 04 04 37 c9 04 04 04 04 04 04 04 K]?????7???????? 10: 64 5f 04 04 04 04 04 04 04 04 04 04 04 04 04 04 d_?????????????? 20: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? 30: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? 40: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? 50: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? 60: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? 70: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? 80: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? 90: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? a0: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? b0: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? c0: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? d0: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? e0: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 04 ???????????????? f0: 04 04 04 04 04 04 04 04 04 04 04 04 04 04 4d 04 ??????????????M?
[root@inna root]# exit
exit
Script done on Tue 11 May 2004 10:33:39 PM CEST
Hi Alexey,
Sorry for the delay, been busy.
Quoted 4 lines
1* I'm running
lm_sensors2.8.6
2* Linux kernel 2.6.5 (but with some chenges in DRI section) i2c compilet as modules
3* Full output in attachment (sens.txt)
OK, your MAX1617A is probably at 0x4d, but sensors-detect doesn't think it is a MAX1617A. Please provide a full dump of the chip so that I have a chance to understand why:
i2cdump 0 0x4d
"0" is the bus number, it could be different from 0, depends on how much bus drivers you have and the order in which they loaded. If 0 doesn't work, try 1, 2... etc until it works ;)
Thanks.
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Quoted 4 lines
I provide you dump of
0x4dand0x1f.
in a moment I try to fix sach a bagy DSDT for ACPI ... ACPI can't finde thermo-sensor too.
Sanky werymatch , what you traing to help me :-)
What you have is not a MAX1617A, which is why sensors-detect wouldn't detect is as such. It is a MAX1619.
http://www.maxim-ic.com/quick_view2.cfm?qv_pk 21
We don't have a driver for it yet. You may try to force the adm1021 driver, there are common registers between the MAX1617A and the MAX1619 so you may have some results (in particular temperature readings should work).
I added support for the MAX1619 to sensors-detect, and would appreciate if you could give it a try. It's available from our CVS repository.
If you want to write the driver yourself, the datasheet is here:
http://pdfserv.maxim-ic.com/en/ds/MAX1619.pdf
I'd suggest you start from a similar driver such as the lm90.
Signature · 1 line
Jean Delvare http://khali.linux-fr.org/
Quoted 6 lines
JD> If you want to write the driver yourself, the datasheet is here:
JD> http://pdfserv.maxim-ic.com/en/ds/MAX1619.pdf
JD> I'd suggest you start from a similar driver such as the lm90.I gona try to writ a driver. I newer did it before but "lerning by doing" ...
Great! I've added your name to our new drivers page.
Thanks.
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/