* Re: environmental monitoring
2003-12-24 2:01 environmental monitoring Eric Brower
@ 2003-12-24 3:29 ` Clint Adams
2003-12-24 3:38 ` Ricky Beam
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Clint Adams @ 2003-12-24 3:29 UTC (permalink / raw)
To: ultralinux
> 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 (ultralinux@vger.kernel.org).
I'm interested in getting this working, but I have very little idea of
what I'm doing.
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: environmental monitoring
2003-12-24 2:01 environmental monitoring Eric Brower
2003-12-24 3:29 ` Clint Adams
@ 2003-12-24 3:38 ` Ricky Beam
2003-12-24 4:12 ` Clint Adams
2003-12-24 17:15 ` Eric
3 siblings, 0 replies; 5+ messages in thread
From: Ricky Beam @ 2003-12-24 3:38 UTC (permalink / raw)
To: ultralinux
On Tue, 23 Dec 2003, Eric Brower wrote:
>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.
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'
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: environmental monitoring
2003-12-24 2:01 environmental monitoring Eric Brower
2003-12-24 3:29 ` Clint Adams
2003-12-24 3:38 ` Ricky Beam
@ 2003-12-24 4:12 ` Clint Adams
2003-12-24 17:15 ` Eric
3 siblings, 0 replies; 5+ messages in thread
From: Clint Adams @ 2003-12-24 4:12 UTC (permalink / raw)
To: ultralinux
> 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)
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: environmental monitoring
2003-12-24 2:01 environmental monitoring Eric Brower
` (2 preceding siblings ...)
2003-12-24 4:12 ` Clint Adams
@ 2003-12-24 17:15 ` Eric
3 siblings, 0 replies; 5+ messages in thread
From: Eric @ 2003-12-24 17:15 UTC (permalink / raw)
To: ultralinux
Clint Adams <schizo@debian.org> wrote:
> > Looking at the prtconf output from the T1/200 and the SB-1000 (for which
the
> > bbc_envctrl driver was written), it is clear no current driver will
support
> > this environmental monitoring implementation. However, if you simply want
the
> > CPU temperature you should be able to use the LOM console to retrieve
this
> > information, independent of the host OS (though Solaris may be required
for
> > initial LOM configuration). For anything more, you'll likely have to
wait
> > 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.
> 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
^ permalink raw reply [flat|nested] 5+ messages in thread