Re: [Re: environmental monitoring]

2003-12-24 Thread Eric


Clint Adams <[EMAIL PROTECTED]> wrote:

> > 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.

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.

E




Re: [Re: environmental monitoring]

2003-12-24 Thread Eric


Ricky Beam <[EMAIL PROTECTED]> wrote:

> Umm, the Netra T1 doesn't have an "envctrl" -- or a "SUNW,rasctrl" on an
> ebus.

Correct.  The T1/200 has an "i2c" node.  This goes back to my comment about
the driver needing to understand the OBP nodes associated with environmental
monitoring.

E




Re: environmental monitoring

2003-12-23 Thread Clint Adams
> 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 pr

Re: environmental monitoring

2003-12-23 Thread Ricky Beam
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,00'
device-id:  7101
vendor-id:  10b9

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'




Re: environmental monitoring

2003-12-23 Thread Eric Brower

Clint Adams wrote:

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 (ultralinux@vger.kernel.org).


E



Re: environmental monitoring

2003-12-23 Thread Clint Adams
> Not currently.

What needs to be done to adapt the driver?



Re: environmental monitoring

2003-12-23 Thread Eric Brower



Clint Adams wrote:

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.

E