Subject: Re: contrast and kdm on powerbook
To: Tim Kelly <hockey@dialectronics.com>
From: Davide Zanon <d.zanon@infinito.it>
List: port-macppc
Date: 01/18/2005 23:10:19
On Tuesday 18 January 2005 17:28, Tim Kelly wrote:
> If you could, please, do the following in Open Firmware:
>
> decimal dev /cpus/PowerPC,G4 .properties
>
> and send me the value from both clock-frequency and force-reduced-speed if
> it is present (and let me know if it is not). I've found a thread in the

sorry, yesterday I didn't have the time to setup an ethernet connection=20
between two computers... here is the output=20

0 > dev /cpus/PowerPC,G4 words

translate =A0 =A0 =A0 modify =A0 =A0 =A0 =A0 =A0unmap =A0 =A0 =A0 =A0 =A0 m=
ap=20
=A0 =A0 =A0 =A0 =A0 =A0 release
claim =A0 =A0 =A0 =A0 =A0 set-dfs-low =A0 =A0 set-dfs-high =A0 =A0spd=20
=A0 =A0 =A0 =A0 =A0 =A0 close
open =A0ok
0 > see spd
:=20
spd
=A0 =A0
get-msecs 800000
=A0 =A0do
=A0 =A0 =A0loop

get-msecs
swap
=2D .d " =A0pll-ratio*2 =3D " type ^ff88.a7e4 =A0.d " =A0HID1 =3D "=20
type hid1@ .h " =A0DelayAACK =3D "
=A0 =A0type f8000100 @ . " =A0GPIO1 =3D " type 1 gpio@ . " BusClk=20
=3D " type @startvec
^ff84.ad3c =A0@ .d ; ok
0 > see set-dfs-low
:=20
set-dfs-low
=A0 =A0pvr@ 10 rshift 8003 <> if
=A0 =A0 =A0exit
=A0 =A0 =A0else
=A0 =A0 =A0hid1@ 1 1f 9 - lshift or hid1! 1 ms 4 1 gpio!
=A0 =A0 =A0then
=A0 =A0; ok
0 > see set-dfs-high
:=20
set-dfs-high
=A0 =A0pvr@ 10 rshift 8003 <> if
=A0 =A0 =A0exit
=A0 =A0 =A0else
=A0 =A0 =A05 1 gpio! 1 ms hid1@ 1 1f 9 - lshift andc hid1!
=A0 =A0 =A0then
=A0 =A0; ok



On Tuesday 18 January 2005 19:22, Tim Kelly wrote:
> Also, can either of you send me the output of
>
> dev /cpus/PowerPC,G4 words
>
> (substitute appropriate node for G4)
>
> and if there are words like "clock-frequency" can you send me the output =
of
>
> see clock-frequency
>
> and others as appropriate?

0 > dev /cpus/PowerPC,G4 words

translate =A0 =A0 =A0 modify =A0 =A0 =A0 =A0 =A0unmap =A0 =A0 =A0 =A0 =A0 m=
ap=20
=A0 =A0 =A0 =A0 =A0 =A0 release
claim =A0 =A0 =A0 =A0 =A0 set-dfs-low =A0 =A0 set-dfs-high =A0 =A0spd=20
=A0 =A0 =A0 =A0 =A0 =A0 close
open =A0ok
0 > see spd
:=20
spd
=A0 =A0
get-msecs 800000
=A0 =A0do
=A0 =A0 =A0loop

get-msecs
swap
=2D .d " =A0pll-ratio*2 =3D " type ^ff88.a7e4 =A0.d " =A0HID1 =3D "=20
type hid1@ .h " =A0DelayAACK =3D "
=A0 =A0type f8000100 @ . " =A0GPIO1 =3D " type 1 gpio@ . " BusClk=20
=3D " type @startvec
^ff84.ad3c =A0@ .d ; ok
0 > see set-dfs-low
:=20
set-dfs-low
=A0 =A0pvr@ 10 rshift 8003 <> if
=A0 =A0 =A0exit
=A0 =A0 =A0else
=A0 =A0 =A0hid1@ 1 1f 9 - lshift or hid1! 1 ms 4 1 gpio!
=A0 =A0 =A0then
=A0 =A0; ok
0 > see set-dfs-high
:=20
set-dfs-high
=A0 =A0pvr@ 10 rshift 8003 <> if
=A0 =A0 =A0exit
=A0 =A0 =A0else
=A0 =A0 =A05 1 gpio! 1 ms hid1@ 1 1f 9 - lshift andc hid1!
=A0 =A0 =A0then
=A0 =A0; ok

0 > decimal dev /cpus/PowerPC,G4 .properties
name =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0PowerPC,G4

device_type =A0 =A0 =A0 =A0 =A0 =A0 cpu
reg =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 00000000
cpu-version =A0 =A0 =A0 =A0 =A0 =A0 80030101
state =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 running
clock-frequency =A0 =A0 =A0 =A0 4f790d50
bus-frequency =A0 =A0 =A0 =A0 =A0 09eb18ef
config-bus-frequency =A0 =A009ef21aa
timebase-frequency =A0 =A0 =A001194000
reservation-granule-size00000020

[cut]

processor-to-bus-ratio*200000010
rounded-clock-frequency 4f5572c0
recalced-clock-frequency4f58c778
dynamic-power-step

[...]

this is it... i hope i haven't made mistakes... and sorry for the long=20
thread :-)

byebye

david