environmental monitoring
Quoted 7 lines · Clint Adams
Quoted 4 lines
Quoted 3 lines
On a Netra t1 105, it is possible to use the envctrl kernel module to read the CPU temperature. Is this possible with a Netra T1 AC200?
Not currently.
What needs to be done to adapt the driver?
A driver needs to learn about the OBP format used on a particular platform for environmental monitoring. In the case of the T1/200 it may be similar enough to the existing bbc_envctrl driver (written for an SB1000) that you can adapt it for use on your system. At the very least, you'll have to remove the bbc_present() test.
If you want temperatures available to userspace, additional modifications will be required as well. I believe the current bbc_envctrl driver monitors, but does not export, this information.
If you are interested in doing this work I suggest you post to the development list ([email protected]).
E
Quoted 6 lines
A driver needs to learn about the OBP format used on a particular platform for environmental monitoring. In the case of the T1/200 it may be similar enough to the existing
bbc_envctrldriver (written for an SB1000) that you can adapt it for use on your system. At the very least, you'll have to remove thebbc_present()test.
Quoted 6 lines
If you want temperatures available to userspace, additional modifications will be required as well. I believe the current
bbc_envctrldriver monitors, but does not export, this information.If you are interested in doing this work I suggest you post to the development list ([email protected]).
I'm interested in getting this working, but I have very little idea of what I'm doing.
Quoted 5 lines · Eric Brower
A driver needs to learn about the OBP format used on a particular platform for environmental monitoring. In the case of the T1/200 it may be similar enough to the existing
bbc_envctrldriver (written for an SB1000) that you can adapt it for use on your system. At the very least, you'll have to remove thebbc_present()test.
Umm, the Netra T1 doesn't have an "envctrl" -- or a "SUNW,rasctrl" on an ebus.
(pruned prtconf -pv from solaris -- linux doesn't see anything behind pmu)
Node 0xf00793b8
name: 'pmu'
compatible: 'pci10b9,7101' + 'pciclass,000000'
device-id: 00007101
vendor-id: 000010b9
Node 0xf0079b80
compatible: 'i2c-smbus'
name: 'i2c'
Node 0xf007b018
compatible: 'i2c-max1617'
name: 'temperature'
Node 0xf007b2c0 (&0xf007b378)
compatible: 'i2c-at34c02'
name: 'dimm'
Node 0xf007b430
compatible: 'i2c-at24c64'
device_type: 'nvram'
name: 'i2c-nvram'
Node 0xf007bf48
device_type: 'idprom'
name: 'idprom'
Node 0xf007c1fc
compatible: 'i2c-at24c64'
name: 'motherboard-fru'
Node 0xf007cd94
compatible: 'SUNW,smbus-fan-control'
name: 'fan-control'Quoted 2 lines
Umm, the Netra T1 doesn't have an "envctrl" -- or a "SUNW,rasctrl" on an ebus.
I don't think that's important; all I want is the CPU temperature.
This is from a 105 (where the linux 2.6.0 envctrl module works):
System Configuration: Sun Microsystems sun4u
Memory size: 1024 Megabytes
System Peripherals (Software Nodes):
SUNW,UltraSPARC-IIi-cEngine
packages (driver probably installed)
terminal-emulator (driver probably installed) deblocker (driver probably installed) obp-tftp (driver probably installed) disk-label (driver probably installed) ufs-file-system (driver probably installed) cdfs (driver probably installed) SUNW,builtin-drivers (driver probably installed) sun-keyboard (driver probably installed)
chosen (driver probably installed)
openprom (driver probably installed)
client-services (driver probably installed)
options (driver probably installed)
aliases (driver probably installed)
memory (driver probably installed) virtual-memory (driver probably installed) pci (driver probably installed)
pci (driver probably installed)
ebus (driver probably installed)
auxio (driver probably installed) power (driver probably installed) SUNW,pll (driver probably installed) su (driver probably installed) su (driver probably installed) ecpp (driver probably installed) fdthree (driver probably installed) eeprom (driver probably installed) flashprom (driver probably installed) watchdog (driver probably installed) display7seg (driver probably installed) beeper (driver probably installed) flashprom (driver probably installed) flashprom (driver probably installed) i2c (driver probably installed)
adc (driver probably installed) gpio (driver probably installed) gpio (driver probably installed)
i2c (driver probably installed) SUNW,lom (driver probably installed)
network (driver probably installed) scsi (driver probably installed)
disk (driver probably installed) tape (driver probably installed)
network (driver probably installed)
pci (driver probably installed)
pci (driver probably installed)
ide (driver probably installed)
disk (driver probably installed) cdrom (driver probably installed)
SUNW,UltraSPARC-IIi (driver probably installed)
And this is from a 200 (where it doesn't)
System Configuration: Sun Microsystems sun4u
Memory size: 512 Megabytes
System Peripherals (Software Nodes):
SUNW,UltraAX-i2
packages (driver probably installed)
terminal-emulator (driver probably installed) deblocker (driver probably installed) obp-tftp (driver probably installed) disk-label (driver probably installed) SUNW,builtin-drivers (driver probably installed) dropins (driver probably installed) kbd-translator (driver probably installed)
chosen (driver probably installed)
openprom (driver probably installed)
client-services (driver probably installed)
options (driver probably installed)
aliases (driver probably installed)
memory (driver probably installed)
virtual-memory (driver probably installed)
pci (driver probably installed)
pci (driver probably installed)
ebus (driver probably installed)
flashprom (driver probably installed) eeprom (driver probably installed) idprom (driver probably installed) SUNW,lomh (driver probably installed)
pmu (driver probably installed)
i2c (driver probably installed)
temperature (driver probably installed) dimm (driver probably installed) dimm (driver probably installed) i2c-nvram (driver probably installed)
idprom (driver probably installed)
motherboard-fru (driver probably installed)
fan-control (driver probably installed)
lomp (driver probably installed)
isa (driver probably installed)
power (driver probably installed) serial (driver probably installed) serial (driver probably installed)
network (driver probably installed)
usb (driver probably installed)
ide (driver probably installed)
disk (driver probably installed) cdrom (driver probably installed)
network (driver probably installed)
usb (driver probably installed)
pci (driver probably installed)
scsi (driver probably installed)
disk (driver probably installed)
tape (driver probably installed)
scsi (driver probably installed)
disk (driver probably installed)
tape (driver probably installed)
SUNW,UltraSPARC-IIe (driver probably installed)
Quoted 1 line · Clint Adams
Quoted 1 line
Looking at the prtconf output from the T1/200 and the SB-1000 (for which
the
Quoted 1 line
Quoted 1 line
bbc_envctrldriver was written), it is clear no current driver will
support
Quoted 1 line
Quoted 1 line
this environmental monitoring implementation. However, if you simply want
the
Quoted 1 line
Quoted 1 line
CPU temperature you should be able to use the LOM console to retrieve
this
Quoted 1 line
Quoted 1 line
information, independent of the host OS (though Solaris may be required
for
Quoted 1 line
Quoted 1 line
initial LOM configuration). For anything more, you'll likely have to
wait
Quoted 4 lines
Quoted 1 line
until a developer gets a hold of the hardware and decides to take a try.
I want it from Debian userland, not the LOM console. Are "SUNW,lomh" and "lomp" relevant?
Perhaps in an ancillary way-- I really don't know much about the LOM implementation.
Quoted 2 lines
Is the information likely to be accessed through
pmu/i2c/temperature ?
More specifically, .../pmu/i2c likely is the interface to the I2C bus and .../pmu/i2c/temperature describes the I2C client address at which the sensor (a max1617) can be addressed.
E