All of lore.kernel.org
 help / color / mirror / Atom feed
* i801 bus problems
@ 2005-05-19  6:25 Rudolf Marek
  2005-05-19  6:25 ` Jean Delvare
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: Rudolf Marek @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors



Hello,

Ovis came with  Intel D915GEV desktop board (very new board)

here on the picture:
http://www.intel.com/design/motherbd/ev/pix/D915GEV_lg.jpg

00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev d3)
00:1f.0 ISA bridge: Intel Corp.: Unknown device 2640 (rev 03)
00:1f.1 IDE interface: Intel Corp.: Unknown device 266f (rev 03)
00:1f.3 SMBus: Intel Corp.: Unknown device 266a (rev 03)


sensors-detect returned no sensors.

Its because the bus has troubles
Sep 2 22:03:32 shi kernel: i801 smbus 0000:00:1f.3: Error: no response!

Detected devices:
21:02 < ovis>      0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
21:02 < ovis> 00:          XX XX XX XX XX 08 XX XX XX XX XX XX XX
21:02 < ovis> 10: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
21:03 < ovis> 20: XX XX XX XX XX XX XX XX XX XX XX XX XX XX 2e XX
21:03 < ovis> 30: 30 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
21:03 < ovis> 40: XX XX XX XX 44 XX XX XX XX XX XX XX XX XX XX XX
21:03 < ovis> 50: 50 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
21:03 < ovis> 60: XX 61 XX XX XX XX XX XX XX 69 XX XX XX XX XX XX
21:03 < ovis> 70: XX XX XX XX XX XX XX XX

the 0x2e is ADM1027 according to picture so we tried to load only
i2c-i801
lm85

(after clean boot)

with force=0,0x2e

But he still gets
Sep 2 21:46:31 shi kernel: i2c_adapter i2c-0: registered as adapter #0
Sep 2 21:47:21 shi kernel: i2c-core: driver lm85 registered.
Sep 2 21:47:21 shi kernel: i2c_adapter i2c-0: found normal i2c entry for
adapte
r 0, addr 2c<7>i801 smbus 0000:00:1f.3: Transaction (pre): CNT\0,
CMD\v,ADDX
, DAT0\0, DAT1\0
Sep 2 21:47:21 shi kernel: i801 smbus 0000:00:1f.3: Error: no response!
Sep 2 21:47:21 shi kernel: i801 smbus 0000:00:1f.3: Transaction (post):
CNT\0,
CMD\v, ADDX, DAT0\0, DAT1\0
Sep 2 21:47:21 shi kernel: i2c_adapter i2c-0: found normal i2c entry for
adapte
r 0, addr 2d<7>i801 smbus 0000:00:1f.3: Transaction (pre): CNT\0,
5ACMD\v,ADDZ
, DAT0\0, DAT1\0
Sep 2 21:47:21 shi kernel: i801 smbus 0000:00:1f.3: Error: no response!
Sep 2 21:47:21 shi kernel: i801 smbus 0000:00:1f.3: Transaction (post):
CNT\0,
CMD\v, ADDZ, DAT0\0, DAT1\0
Sep 2 21:47:21 shi kernel: i2c_adapter i2c-0: found normal i2c entry for
adapte
r 0, addr 2e<7>i801 smbus 0000:00:1f.3: Transaction (pre): CNT\0,
CMD\v,ADD\
, DAT0\0, DAT1\0
Sep 2 21:47:21 shi kernel: i801 smbus 0000:00:1f.3: Transaction (post):
CNT\0,
CMD\v, ADD\, DAT0\0, DAT1\0
Sep 2 21:47:21 shi kernel: i801 smbus 0000:00:1f.3: Transaction (pre):
CNT\b,
CMD>,ADD], DAT0\0, DAT1\0
Sep 2 21:47:21 shi kernel: i801 smbus 0000:00:1f.3: Transaction (post):
CNT\b,
CMD>, ADD], DAT0\, DAT1\0
Sep 2 21:47:21 shi kernel: i801 smbus 0000:00:1f.3: Transaction (pre):
CNT\b,
CMD?,ADD], DAT0\, DAT1\0
Sep 2 21:47:21 shi kernel: i801 smbus 0000:00:1f.3: Transaction (post):
CNT\b,
CMD?, ADD], DAT0h, DAT1\0
Sep 2 21:47:21 shi kernel: i2c_adapter i2c-0: Detecting device at 0,0x2e
with C
OMPANY: 0x5c and VERSTEP: 0x68
Sep 2 21:47:21 shi kernel: i2c_adapter i2c-0: Autodetecting device at
0,0x2e ..

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (17 preceding siblings ...)
  2005-05-19  6:25 ` ivo
@ 2005-05-19  6:25 ` Rudolf Marek
  2005-05-19  6:25 ` Jean Delvare
  19 siblings, 0 replies; 21+ messages in thread
From: Rudolf Marek @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors


Why is rest of email truncated?

> CMD?, ADD], DAT0h, DAT1\0
> Sep 2 21:47:21 shi kernel: i2c_adapter i2c-0: Detecting device at 0,0x2e
> with C
> OMPANY: 0x5c and VERSTEP: 0x68
> Sep 2 21:47:21 shi kernel: i2c_adapter i2c-0: Autodetecting device at
> 0,0x2e ..
> .
> Sep 2 21:47:21 shi kernel: i2c_adapter i2c-0: Autodetection failed
>
> Debug messages when loading the bus driver:
>
> 22:03 < ovis> Sep  2 22:02:53 shi kernel: i801 smbus 0000:00:1f.3: I801 using
>               PCI Interrupt for SMBus.
> 22:03 < ovis> Sep  2 22:02:53 shi kernel: i801 smbus 0000:00:1f.3: SMBREV = 0x3
> 22:03 < ovis> Sep  2 22:02:53 shi kernel: i801 smbus 0000:00:1f.3: I801_smba >               0xD800
> 22:03 < ovis> Sep  2 22:02:53 shi kernel: i2c_adapter i2c-0: registered as
>               adapter #0
>
> MDS have you any ideas about this? (or anyone else of course :)
>
> Thanks
>
> regards
>
> Rudolf
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (13 preceding siblings ...)
  2005-05-19  6:25 ` ivo
@ 2005-05-19  6:25 ` Philip Edelbrock
  2005-05-19  6:25 ` ivo
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Philip Edelbrock @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors


You may need to turn something on in the Bios for the SMBus interface to 
be properly set up at boot-time?  A relevent snippet from the i2c-i801 doc:

"If you do NOT see the 24x3 device at function 3, and you can't
figure out any way in the BIOS to enable it,
(and especially if you have an Asus P4B board),
see prog/hotplug/README.p4b."

See:

http://secure.netroedge.com/~lm78/cvs/browse.cgi/lm_sensors2/prog/hotplug/README.p4b


Phil

Rudolf Marek wrote:
> 
> Hello,
> 
> Ovis came with  Intel D915GEV desktop board (very new board)
> 
> here on the picture:
> http://www.intel.com/design/motherbd/ev/pix/D915GEV_lg.jpg
> 
> 00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev d3)
> 00:1f.0 ISA bridge: Intel Corp.: Unknown device 2640 (rev 03)
> 00:1f.1 IDE interface: Intel Corp.: Unknown device 266f (rev 03)
> 00:1f.3 SMBus: Intel Corp.: Unknown device 266a (rev 03)
> [...]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (8 preceding siblings ...)
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` Philip Edelbrock
  2005-05-19  6:25 ` ivo
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Philip Edelbrock @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors


I may have jumped the gun a bit.  It looks like i801 is working but some 
client chips are not responding or are missing?


Phil

Philip Edelbrock wrote:
> 
> You may need to turn something on in the Bios for the SMBus interface to 
> be properly set up at boot-time?  A relevent snippet from the i2c-i801 doc:
> [...]

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (6 preceding siblings ...)
  2005-05-19  6:25 ` ivo
@ 2005-05-19  6:25 ` Rudolf Marek
  2005-05-19  6:25 ` Jean Delvare
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Rudolf Marek @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors



On Thu, 2 Sep 2004, Philip Edelbrock wrote:

>
> I may have jumped the gun a bit.  It looks like i801 is working but some
> client chips are not responding or are missing?

Yes you got it :) The bus is simply not working even all modules for bus
and lm85 are loaded. I thought the bus is confused with autodetection
process but it does not work even after powercycle and only lm85 loaded as
client. The question is what to do with it? Is possible somehow to change
configuration of SMBUs controller, maybe it has some slow devices???

Regards

Rudolf

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (3 preceding siblings ...)
  2005-05-19  6:25 ` ivo
@ 2005-05-19  6:25 ` Rudolf Marek
  2005-05-19  6:25 ` Jean Delvare
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Rudolf Marek @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors


Hi I went through System Management Bus 2.0 (SMBus) Driver
intelsmb.sys

(This driver contains support for ICHx based chipsets on Windows2000,
WindowsXP, & WindowsServer2003.)

And found:

SMIOpportunityWindow
Parameters
SMIPollingPeriod

What I think happen is that SMM mode routines are overtaking the bus
when we want to comunicate with it. It seems that this intel driver knows
this :)

Unfortunately I dont have IDA full version I found this strings with
strings command so I cant figure out to which routines it applies. (but I
will try anyway :)

Regards

Rudolf

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (12 preceding siblings ...)
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` ivo
  2005-05-19  6:25 ` Philip Edelbrock
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ivo @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors



On Fri, 3 Sep 2004, Jean Delvare wrote:

> > > I may have jumped the gun a bit.  It looks like i801 is working but some
> > > client chips are not responding or are missing?
> >
> > Yes you got it :) The bus is simply not working even all modules for
> > bus and lm85 are loaded. I thought the bus is confused with autodetection
> > process but it does not work even after powercycle and only lm85
> > loaded as client. The question is what to do with it? Is possible
> > somehow to change configuration of SMBUs controller, maybe it has
> > some slow devices???
>
> Does the eeprom driver works?

it seems to load

>
> What does i2cdump on 0,0x2e or 0,0x50 returns?


i2cdump 0,0x2e
Error: First argument not a number!
Syntax: i2cdump I2CBUS ADDRESS [MODE] [BANK [BANKREG]]
  MODE is 'b[yte]', 'w[ord]', 's[mbusblock], 'i[2cblock]',
       or 'c[onsecutive byte address mode]' (default b)
  Append MODE with 'p' for PEC checking
  I2CBUS is an integer
  ADDRESS is an integer 0x00 - 0x7f
  BANK and BANKREG are for byte and word accesses (default bank 0, reg
0x4e)
  BANK is the command for smbusblock accesses (default 0)
Error: No I2C busses found!
Be sure you have done 'modprobe i2c-dev'
and also modprobed your i2c bus drivers

Also on 0 or on 0,0x50
maby i do something stupid

 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.
  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 08 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 2e XX
30: 30 XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
40: XX XX XX XX 44 XX XX XX XX XX XX XX XX XX XX XX
50: UU XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
60: XX 61 XX XX XX XX XX XX XX 69 XX XX XX XX XX XX
70: XX XX XX XX XX XX XX XX


>
> i2cdetect and i2cdump are really the basic tools to start with when
> investigating this kind of issue IMO.

It beats me

>
> --
> Jean Delvare
> http://khali.linux-fr.org/
>
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (18 preceding siblings ...)
  2005-05-19  6:25 ` Rudolf Marek
@ 2005-05-19  6:25 ` Jean Delvare
  19 siblings, 0 replies; 21+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> > I may have jumped the gun a bit.  It looks like i801 is working but some
> > client chips are not responding or are missing?
> 
> Yes you got it :) The bus is simply not working even all modules for 
> bus and lm85 are loaded. I thought the bus is confused with autodetection
> process but it does not work even after powercycle and only lm85 
> loaded as client. The question is what to do with it? Is possible 
> somehow to change configuration of SMBUs controller, maybe it has 
> some slow devices???

Does the eeprom driver works?

What does i2cdump on 0,0x2e or 0,0x50 returns?

i2cdetect and i2cdump are really the basic tools to start with when
investigating this kind of issue IMO.

-- 
Jean Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (16 preceding siblings ...)
  2005-05-19  6:25 ` ivo
@ 2005-05-19  6:25 ` ivo
  2005-05-19  6:25 ` Rudolf Marek
  2005-05-19  6:25 ` Jean Delvare
  19 siblings, 0 replies; 21+ messages in thread
From: ivo @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors


 i2cdump 0 0x2e
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 0x2e, 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: 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: 74 6f bf c4 c0 2f 26 25 ab 09 ff ff ff ff df 23    to???/&%??....?#
30: 4d 4d 4d 00 00 00 00 00 00 00 00 00 00 00 5c 68    MMM...........\h
40: 05 83 01 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 30 00 40 00 ec 18    MMM??????.0.@.??
80: 1e a4 0e 00 00 76 c6 cf d1 00 40 40 09 09 0b 00    ???..v???.@@???.
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    ................

 i2cdump 0 0x50
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 0x50, 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: 80 08 08 0e 0a 60 40 00 05 3d 50 00 82 08 00 00    ?????`@.?=P.??..
10: 0c 04 38 00 02 00 30 3d 50 50 60 3c 1e 3c 2d 80    ??8.?.0=PP`<?<-?
20: 25 38 10 23 3c 1e 1e 00 00 3c 69 80 1e 28 00 00    %8?#<??..<i??(..
30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10 e1    ..............??
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................
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 bb 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    ................


On Fri, 3 Sep 2004, Jean Delvare wrote:

> > > Does the eeprom driver works?
> >
> > it seems to load
>
> But does "sensors" then display the corresponding memory information?
>
> > > What does i2cdump on 0,0x2e or 0,0x50 returns?
> >
> > i2cdump 0,0x2e
> > Error: First argument not a number!
>
> My bad, the syntax is "i2cdump 0 0x2e" (i.e. space, not comma). "0,0x2e" was
> really only a way to refer to the chip, not what had to be typed on the
> command line. Sorry.
>
> --
> Jean Delvare
> http://khali.linux-fr.org/
>
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (10 preceding siblings ...)
  2005-05-19  6:25 ` ivo
@ 2005-05-19  6:25 ` ivo
  2005-05-19  6:25 ` Jean Delvare
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ivo @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors



On Fri, 3 Sep 2004, Jean Delvare wrote:

> > > Does the eeprom driver works?
> >
> > it seems to load
>
> But does "sensors" then display the corresponding memory information?

How to determine, i am a rooky ;)

gr ovis

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (14 preceding siblings ...)
  2005-05-19  6:25 ` Philip Edelbrock
@ 2005-05-19  6:25 ` ivo
  2005-05-19  6:25 ` ivo
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ivo @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors



On Fri, 3 Sep 2004, Jean Delvare wrote:

> > > But does "sensors" then display the corresponding memory information?
> >
> > How to determine, i am a rooky ;)
>
> Just run the "sensors" program. It should display something like:
>
> i2c-0-50:
> Memory Type: xxxxx
> Memory Size: xxxMB

sensors
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'!

sysfs is mounted for sure

modules loaded:

eeprom                  6920  0
lm85                   21380  0
i2c_sensor              4096  2 eeprom,lm85
i2c_i801                9744  0

gr ovis

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (11 preceding siblings ...)
  2005-05-19  6:25 ` ivo
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` ivo
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> > Does the eeprom driver works?
> 
> it seems to load

But does "sensors" then display the corresponding memory information?

> > What does i2cdump on 0,0x2e or 0,0x50 returns?
> 
> i2cdump 0,0x2e
> Error: First argument not a number!

My bad, the syntax is "i2cdump 0 0x2e" (i.e. space, not comma). "0,0x2e" was
really only a way to refer to the chip, not what had to be typed on the
command line. Sorry.

-- 
Jean Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (2 preceding siblings ...)
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` ivo
  2005-05-19  6:25 ` Rudolf Marek
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ivo @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors



On Fri, 3 Sep 2004, Jean Delvare wrote:

> > sensors
> > 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'!
> >
> > sysfs is mounted for sure
> >
> > modules loaded:
> >
> > eeprom                  6920  0
> > lm85                   21380  0
> > i2c_sensor              4096  2 eeprom,lm85
> > i2c_i801                9744  0
>
> What do you see in /sys/bus/i2c/devices/?

Sorry i made a mistake.
sys wasnt mounted but now it do:

sensors
eeprom-i2c-0-50
Adapter: SMBus I801 adapter at d800
Unknown EEPROM type (8)

/sys/bus/i2c/devices
0-0050 -> ../../../devices/pci0000:00/0000:00:1f.3/i2c-0/0-0050

 Now follows a summary of the probes I have just done.
 Just press ENTER to continue:

Driver `lm85' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at d800' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x2e
    Chip `SMSC EMC6D100 or EMC6D101' (confidence: 7)

Driver `smbus-arp' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at d800' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x61
    Chip `SMBus 2.0 ARP-Capable Device' (confidence: 1)


mmh thats the magic but whats next

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
  2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` ivo
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> > But does "sensors" then display the corresponding memory information?
> 
> How to determine, i am a rooky ;)

Just run the "sensors" program. It should display something like:

i2c-0-50:
Memory Type: xxxxx
Memory Size: xxxMB

-- 
Jean Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (5 preceding siblings ...)
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` ivo
  2005-05-19  6:25 ` Rudolf Marek
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ivo @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors


Client found at address 0x30
Client found at address 0x44
Probing for `Maxim MAX6633/MAX6634/MAX6635'... 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 0x61
Probing for `SMBus 2.0 ARP-Capable Device'... Success!
    (confidence 1, driver `smbus-arp')
Client found at address 0x69


Driver `lm85' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at d800' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x2e
    Chip `SMSC EMC6D100 or EMC6D101' (confidence: 7)

Driver `eeprom' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at d800' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x50
    Chip `SPD EEPROM' (confidence: 8)

Driver `smbus-arp' (should be inserted):
  Detects correctly:
  * Bus `SMBus I801 adapter at d800' (Algorithm unavailable)
    Busdriver `i2c-i801', I2C address 0x61
    Chip `SMBus 2.0 ARP-Capable Device' (confidence: 1)



i am a bit futher bit i seem to mis a  smbus-arp and an algorithm

any ideas

gr ovis

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (15 preceding siblings ...)
  2005-05-19  6:25 ` ivo
@ 2005-05-19  6:25 ` ivo
  2005-05-19  6:25 ` ivo
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ivo @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors



On Fri, 3 Sep 2004, Jean Delvare wrote:

> > i2cdump 0 0x2e
> > (...)
> >      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: 74 6f bf c4 c0 2f 26 25 ab 09 ff ff ff ff df 23    to???/&%??....?#
> > 30: 4d 4d 4d 00 00 00 00 00 00 00 00 00 00 00 5c 68    MMM...........\h
> > 40: 05 83 01 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 30 00 40 00 ec 18    MMM??????.0.@.??
> > 80: 1e a4 0e 00 00 76 c6 cf d1 00 40 40 09 09 0b 00    ???..v???.@@???.
> > 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    ................
>
> Did sensors-detect pretend this was an ADM1027? It's not. I would think it's
> an SMSC EMC6D103. This is probably mostly compatible with the LM85 (or maybe
> even the brand new LM96000) and the earlier EMC6C10x. The lm85 driver should
> detect it as a "generic" LM85-compatible chip. This may be improved later by
> checking the datasheet and seeing what features the chip exactly has.

Confirmed  SMSC EMC6D103 !!!!

on a photo of the mobo on the web there was a
ADM1027

>
> --
> Jean Delvare
> http://khali.linux-fr.org/
>
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Jean Delvare
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> sensors
> 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'!
> 
> sysfs is mounted for sure
> 
> modules loaded:
> 
> eeprom                  6920  0
> lm85                   21380  0
> i2c_sensor              4096  2 eeprom,lm85
> i2c_i801                9744  0

What do you see in /sys/bus/i2c/devices/?

-- 
Jean Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (4 preceding siblings ...)
  2005-05-19  6:25 ` Rudolf Marek
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` ivo
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> i2cdump 0 0x2e
> (...)
>      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: 74 6f bf c4 c0 2f 26 25 ab 09 ff ff ff ff df 23    to???/&%??....?#
> 30: 4d 4d 4d 00 00 00 00 00 00 00 00 00 00 00 5c 68    MMM...........\h
> 40: 05 83 01 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 30 00 40 00 ec 18    MMM??????.0.@.??
> 80: 1e a4 0e 00 00 76 c6 cf d1 00 40 40 09 09 0b 00    ???..v???.@@???.
> 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    ................

Did sensors-detect pretend this was an ADM1027? It's not. I would think it's
an SMSC EMC6D103. This is probably mostly compatible with the LM85 (or maybe
even the brand new LM96000) and the earlier EMC6C10x. The lm85 driver should
detect it as a "generic" LM85-compatible chip. This may be improved later by
checking the datasheet and seeing what features the chip exactly has.

-- 
Jean Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
  2005-05-19  6:25 ` Jean Delvare
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Jean Delvare
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

> Confirmed  SMSC EMC6D103 !!!!
> 
> on a photo of the mobo on the web there was a
> ADM1027

Since both chips are compatible, I guess intel use whatever they have at hand
at the moment.

Anyway the story is quiet easy to understand now.

1* The "no response" errors in the logs are for the other possible addresses
of LM85-compatible chips (0x2c and 0x2d). That's not what your chip uses so
the bus cannot read from these addresses. Nothing wrong.

2* The lm85 driver in Linux 2.6 doesn't support SMSC chips, although the 2.4
driver does. Using force=0,0x2e should work in the meantime. The original post
suggests you tried and it didn't, but the log right after that says "found
normal i2c entry for adapter 0, addr 2e" so I doubt it worked, you must have
missed something. Just try again.

At some time, the SMSC support should be ported from the 2.4 driver, and
extended to the 103 and maybe 102 as well if they are compatible (and they
seem to be but I don't know the LM85 family that good).

-- 
Jean Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (7 preceding siblings ...)
  2005-05-19  6:25 ` Rudolf Marek
@ 2005-05-19  6:25 ` Jean Delvare
  2005-05-19  6:25 ` Philip Edelbrock
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: Jean Delvare @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors

On Thu, 2 Sep 2004 22:33:24 +0200 (CEST), Rudolf Marek wrote
> Why is rest of email truncated?

Because a dot alone on a line means "end of message" in the SMTP protocol.

> > CMD?, ADD], DAT0h, DAT1\0
> > Sep 2 21:47:21 shi kernel: i2c_adapter i2c-0: Detecting device at 0,0x2e
> > with C
> > OMPANY: 0x5c and VERSTEP: 0x68
> > Sep 2 21:47:21 shi kernel: i2c_adapter i2c-0: Autodetecting device at
> > 0,0x2e ..
> > .

    ^here

I didn't remember Pine was so lame ;)

-- 
Jean Delvare
http://khali.linux-fr.org/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* i801 bus problems
  2005-05-19  6:25 i801 bus problems Rudolf Marek
                   ` (9 preceding siblings ...)
  2005-05-19  6:25 ` Philip Edelbrock
@ 2005-05-19  6:25 ` ivo
  2005-05-19  6:25 ` ivo
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: ivo @ 2005-05-19  6:25 UTC (permalink / raw)
  To: lm-sensors



WOOOHOOO

sensors
lm85-i2c-0-2e
Adapter: SMBus I801 adapter at d800
V1.5:       +1.51 V  (min =  +0.00 V, max =  +3.32 V)
VCore:      +1.30 V  (min =  +0.00 V, max =  +2.99 V)
V3.3:       +3.28 V  (min =  +0.00 V, max =  +4.38 V)
V5:        +5.10 V  (min =  +0.00 V, max =  +6.64 V)
V12:      +12.00 V  (min =  +0.00 V, max = +15.94 V)
CPU_Fan:   2186 RPM  (min =    0 RPM)
CPU:         +47 C  (low  =  -127 C, high =  +127 C)
Board:       +38 C  (low  =  -127 C, high =  +127 C)
Remote:      +37 C  (low  =  -127 C, high =  +127 C)
CPU_PWM:    77
Fan2_PWM:   77
Fan3_PWM:   77
vid:      +1.850 V    (VRM Version  9.1)


i did

modprobe i2c-i801
modprobe lm85 force=0,0x2e

together with mounting /sys
All my servers i made with 2.6.x only my workstation was upgraded from
2.4.x to 2.6.x so i never missed /sys until today ;)


this is great many thanks

ovis


On Fri, 3 Sep 2004, Jean Delvare wrote:

> > Confirmed  SMSC EMC6D103 !!!!
> >
> > on a photo of the mobo on the web there was a
> > ADM1027
>
> Since both chips are compatible, I guess intel use whatever they have at hand
> at the moment.
>
> Anyway the story is quiet easy to understand now.
>
> 1* The "no response" errors in the logs are for the other possible addresses
> of LM85-compatible chips (0x2c and 0x2d). That's not what your chip uses so
> the bus cannot read from these addresses. Nothing wrong.
>
> 2* The lm85 driver in Linux 2.6 doesn't support SMSC chips, although the 2.4
> driver does. Using force=0,0x2e should work in the meantime. The original post
> suggests you tried and it didn't, but the log right after that says "found
> normal i2c entry for adapter 0, addr 2e" so I doubt it worked, you must have
> missed something. Just try again.
>
> At some time, the SMSC support should be ported from the 2.4 driver, and
> extended to the 103 and maybe 102 as well if they are compatible (and they
> seem to be but I don't know the LM85 family that good).
>
> --
> Jean Delvare
> http://khali.linux-fr.org/
>
>

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2005-05-19  6:25 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:25 i801 bus problems Rudolf Marek
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` ivo
2005-05-19  6:25 ` Rudolf Marek
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` ivo
2005-05-19  6:25 ` Rudolf Marek
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` Philip Edelbrock
2005-05-19  6:25 ` ivo
2005-05-19  6:25 ` ivo
2005-05-19  6:25 ` Jean Delvare
2005-05-19  6:25 ` ivo
2005-05-19  6:25 ` Philip Edelbrock
2005-05-19  6:25 ` ivo
2005-05-19  6:25 ` ivo
2005-05-19  6:25 ` ivo
2005-05-19  6:25 ` Rudolf Marek
2005-05-19  6:25 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.