Skip to contentSkip to conversation

Ticket 2005

lm-sensors Atis Elsts 2 participants 5 messages Jun 16, 2005 – Jun 20, 2005

lore
Share & tools
lore

Atis Elsts

author
#0 lore raw

Nevermind about that support ticket. "modprobe lm85 force_emc6d102=1,0x2e" did the trick. Perhaps the lm85 driver did not detect my chip correctly.

Atis

#1 lore raw

Hi Atis,

Quoted 2 lines · Atis Elsts

Nevermind about that support ticket. "modprobe lm85 force_emc6d102=1,0x2e" did the trick. Perhaps the lm85 driver did not detect my chip correctly.

Can you please send the output of:

i2cdump 1 0x2e b

If possible, try to physically identify the chip for confirmation.

Thanks,
--
Jean Delvare

author
#2 lore raw
In reply to Atis Elsts
Quoted 10 lines · Jean Delvare

Hi Atis,

Quoted 3 lines · Atis Elsts

Nevermind about that support ticket. "modprobe lm85 force_emc6d102=1,0x2e" did the trick. Perhaps the lm85 driver did not detect my chip correctly.

Can you please send the output of:

i2cdump 1 0x2e b

Uhm. I'm confused here, because i2cdump and i2cdetect says:
"Error: Could not open file `/dev/i2c-1': No such device"

I did run mkdev.sh script and created those files before:

# ls -l /dev/i2c-*
crw-------    1 0        0         89,   0 Jun 20 09:45 /dev/i2c-0
crw-------    1 0        0         89,   1 Jun 20 09:45 /dev/i2c-1
crw-------    1 0        0         89,   2 Jun 20 09:45 /dev/i2c-2
crw-------    1 0        0         89,   3 Jun 20 09:45 /dev/i2c-3
crw-------    1 0        0         89,   4 Jun 20 09:45 /dev/i2c-4
Quoted 3 lines

If possible, try to physically identify the chip for confirmation.

It's EMC6D103-CK.
In lm85.c there is, however, driver only for emc6d102. I choose it as closest match to the name :)

Quoted 8 lines

Thanks,
--
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#3 lore raw
In reply to Atis Elsts

Hi Atis,

Quoted 2 lines · Atis Elsts

Uhm. I'm confused here, because i2cdump and i2cdetect says:
"Error: Could not open file `/dev/i2c-1': No such device"

You need to modprobe i2c-dev, sorry for not telling you before.

Quoted 3 lines

It's EMC6D103-CK.
In lm85.c there is, however, driver only for emc6d102. I choose it as closest match to the name :)

We don't support it officially yet, so this comes to no surprise that you had to force it.

Thanks,
--
Jean Delvare

author
#4 lore raw
In reply to Atis Elsts
Quoted 8 lines · Jean Delvare

Hi Atis,

Quoted 2 lines · Atis Elsts

Uhm. I'm confused here, because i2cdump and i2cdetect says:
"Error: Could not open file `/dev/i2c-1': No such device"

You need to modprobe i2c-dev, sorry for not telling you before.

# i2cdump 0 0x2e b
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-0, address 0x2e, mode byte
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
20: 72 6b c8 c8 c5 2c 24 24 89 08 ff ff ff ff ff ff    rk???,$$??......
30: 4d 4d 4d 00 00 00 00 00 00 00 00 00 00 00 5c 68    MMM...........\h
40: 05 00 00 00 00 ff 00 ff 00 ff 00 ff 00 ff 81 7f    ?.............??
50: 81 7f 81 7f ff ff ff ff ff ff ff ff 02 22 22 7a    ????........?""z
60: 80 80 e8 88 4d 4d 4d 38 2d 2d 45 41 41 24 40 00    ????MMM8--EAA$@.
70: 4d 4d 4d 09 09 09 09 09 09 00 00 00 40 00 ec 18    MMM??????...@.??
80: 1e a4 0e 00 00 6a 37 00 06 00 40 40 09 09 0b 00    ???..j7.?.@@???.
90: 04 04 04 04 0c 0c 0c 5a f1 00 00 00 23 00 00 00    ???????Z?...#...
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

Related information from syslog:

Jun 20 17:14:25 localhost syslog.info klogd: i2c-core.o: i2c core module 
version 2.9.1 (20050412)
Jun 20 17:14:26 localhost syslog.info klogd: i2c-proc.o version 2.9.1 
(20050412)
Jun 20 17:14:26 localhost syslog.info klogd: i2c-i801 version 2.7.0 (20021208)
Jun 20 17:14:26 localhost syslog.warn klogd: lm85: Version 2.7.0 (20021208)
Jun 20 17:14:26 localhost syslog.warn klogd: lm85: See 
http://www.penguincomputing.com/lm_sensors for more info.
Jun 20 17:14:26 localhost syslog.warn klogd: lm85: Detecting device at 0,0x2e 
with COMPANY: 0x5c and VERSTEP: 0x68
Jun 20 17:14:26 localhost syslog.warn klogd: lm85: Autodetecting device at 
0,0x2e ...
Jun 20 17:14:26 localhost syslog.warn klogd: lm85: Detected SMSC chip
Jun 20 17:14:26 localhost syslog.warn klogd: lm85: Unrecognized 
version/stepping 0x68 Defaulting to Generic LM85.
Jun 20 17:14:26 localhost syslog.warn klogd: lm85: Assigning ID 0 to Generic 
LM85 at 0,0x2e
Jun 20 17:14:26 localhost syslog.warn klogd: lm85(0): Initializing device
Jun 20 17:14:26 localhost syslog.warn klogd: lm85(0): LM85_REG_CONFIG is: 0x05
Jun 20 17:14:26 localhost syslog.warn klogd: lm85(0): Setting CONFIG to: 0x05
Jun 20 17:14:27 localhost syslog.warn klogd: lm85(0): Reading config values

Thanks.