All of lore.kernel.org
 help / color / mirror / Atom feed
From: ppokorny@penguincomputing.com (Philip Pokorny)
To: lm-sensors@vger.kernel.org
Subject: lm_sensors on Itanium
Date: Thu, 19 May 2005 06:24:48 +0000	[thread overview]
Message-ID: <405C7500.2090009@penguincomputing.com> (raw)
In-Reply-To: <9D8C1A43309BAD4A9B46071DAF911D9E4C89F0@exch01.paracel.com>

>
>
>[root@gb0010 sensors]# cat /proc/bus/i2c
>i2c-0   smbus           SMBus I801 adapter at 0600              Non-I2C SMBus adapter
>i2c-1   dummy           ISA main adapter                        ISA bus algorithm
>  
>

Now that the i801 based i2c bus is showing up in /proc/bus/i2c, can you 
re-run the i2c-detect against the bus? (It's now 0 in this case)

You might also try loading the adm1026 driver again.  Have you tried 
enabling DEBUG when compiling adm1026?

:v)


Marc Rieffel wrote:

>After modifying smsc47m1.c, sensors-detect didn't detect anything, but manually loading the smsc47m1 driver succeeded and gave me bogus fan speeds,
>
>sensors
>smsc47m1-isa-0800
>Adapter: ISA adapter
>fan1:       -1 RPM  (min = 2997 RPM, div = 2)
>fan2:       -1 RPM  (min = 2997 RPM, div = 2)
>
>
>ls /proc/sys/dev/sensors/smsc47m1-isa-0800/
>alarms  fan1  fan2  fan_div  pwm1  pwm2
>
>[root@gb0010 sensors]# cat /proc/sys/dev/sensors/smsc47m1-isa-0800/*
>0
>2997 -1
>2997 -1
>2 2
>0 0
>0 0
>
>I must have sent you the i2c info before I had loaded one of the modules.  I can see both i2c-0 and i2c-1:
>
>[root@gb0010 sensors]# cat /proc/bus/i2c
>i2c-0   smbus           SMBus I801 adapter at 0600              Non-I2C SMBus adapter
>i2c-1   dummy           ISA main adapter                        ISA bus algorithm
>
>What do you think is preventing us from accessing the adm1026 chip?
>
>  
>
>>-----Original Message-----
>>From: Jean Delvare [mailto:khali@linux-fr.org]
>>Sent: Wednesday, March 03, 2004 11:52 AM
>>To: Marc Rieffel
>>Cc: LM Sensors
>>Subject: Re: lm_sensors on Itanium
>>
>>
>>    
>>
>>>With that change, I found the SMSC chip but no sensors.
>>>      
>>>
>>This at least means that, if nothing else, you may be able to monitor
>>your fans with that SMSC chip. The smsc47m1 driver wouldn't 
>>load because
>>it doesn't recognize the device ID as one it handles. I took a quick
>>look at the 47B27x datasheet and it _seems_ to be compatible with the
>>47M1xx. Same logical device, same registers. If there are subtle
>>differences, I could have missed them. If you want to take 
>>your chance,
>>edit smsc47m1.c, edit SMSC_DEVID_MATCH so that it likes your ID (0x51)
>>and try using it.
>>
>>    
>>
>>>Neither i2c bus shows anything.
>>>      
>>>
>>>[root@gb0010 sensors]# cat /proc/bus/i2c
>>>i2c-0   dummy           ISA main adapter                        ISA
>>>bus algorithm
>>>
>>>[root@gb0010 sensors]# lm_sensors-2.8.4/prog/detect/i2cdetect 0
>>>Error: Can't use SMBus Quick Write command on this bus (ISA bus?)
>>>
>>>[root@gb0010 sensors]# lm_sensors-2.8.4/prog/detect/i2cdetect 1
>>>  WARNING! This program can confuse your I2C bus, cause 
>>>      
>>>
>>data loss and
>>    
>>
>>>  worse! I will probe file /dev/i2c-1
>>>  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 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 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 XX XX XX XX XX XX XX
>>>70: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX
>>>      
>>>
>>That still surprises me much. How can i2c-1 exist and not be listed in
>>/proc/bus/i2c? Very strange.
>>
>>The SMBus way looks like a dead end anyway. I fear that we won't
>>possibly offer you anything but fan monitoring with the SMSC chip.
>>
>>-- 
>>Jean Delvare
>>http://www.ensicaen.ismra.fr/~delvare/
>>
>>    
>>
>
>  
>


      parent reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-19  6:24 lm_sensors on Itanium Marc Rieffel
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Marc Rieffel
2005-05-19  6:24 ` Marc Rieffel
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Marc Rieffel
2005-05-19  6:24 ` Marc Rieffel
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Marc Rieffel
2005-05-19  6:24 ` Marc Rieffel
2005-05-19  6:24 ` Marc Rieffel
2005-05-19  6:24 ` Philip Pokorny [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=405C7500.2090009@penguincomputing.com \
    --to=ppokorny@penguincomputing.com \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.