Re: iMac G3: Turn off screen?

Stuart MacIntosh <[email protected]> Tue, 18 Jul 2023 12:05:41 +1200
Newsgroups gmane.os.openbsd.ppc
Message-ID <[email protected]>
Hi all, I think support for PPC Macs needs work

AFAIK to blank screens (or change resolution, brightness, contrast etc)=20
on this type of system (G3 and G4 iMac/eMac with CRT) I2C commands are=20
sent to the "IVAD" board.

Example on GitHub from an Arduino C project below that sets to 1280X960=20
@ 72Hz

https://github.com/qbancoffee/emac_ivad_board_init/blob/master/emacIvadIn=
it/emacIvadInit.ino

But I think we need to sniff the I2C commands from MacOS (or=20
dissassemble some driver) to get the full suite of control commands.

Hope this helps!

-Stuart

On 18/07/23 07:48, Jag Talon wrote:
> Looks like there isn't support for that either =F0=9F=98=85 Perhaps I'l=
l just=20
> put a shirt on top of it instead. Thank you for all the help!
>
> On 7/17/23 2:48 PM, Paul de Weerd wrote:
>> Perhaps your machine supports wsconsctl display.brightness knob:
>>
>> =C2=A0=C2=A0=C2=A0=C2=A0BRIGHTNESS=3D`doas wsconsctl -n display.bright=
ness`
>> =C2=A0=C2=A0=C2=A0=C2=A0doas wsconsctl display.brightness=3D0
>> =C2=A0=C2=A0=C2=A0=C2=A0sleep $((8*3600))
>> =C2=A0=C2=A0=C2=A0=C2=A0doas wsconsctl display.brightness=3D${BRIGHTNE=
SS}
>>
>> Before going to sleep.
>>
>> Cheers,
>>
>> Paul 'WEiRD' de Weerd
>>
>> On Mon, Jul 17, 2023 at 05:15:34PM +0000, Jag Talon wrote:
>> | Ah I forgot to mention that it doesn't have X running! Do you know
>> | if there's an equivalent for the console?
>> |
>> | I'll have to try the keyboard too when I get to it thanks for the ti=
p!
>> |
>> | On 7/17/23 1:06 PM, Wolfgang Pfeiffer wrote:
>> | > On Mon, Jul 17, 2023 at 01:15:35PM +0000, Jag Talon wrote:
>> | > > I recently installed OpenBSD 7.3 on an iMac G3 (dmesg attached)=20
>> and
>> | > > I'm using it as a tiny web server. I'm really happy with it,=20
>> but the
>> | > > screen is too bright at night.
>> | > >
>> | > > I know that OpenBSD on PPC doesn't support sleep, but would anyo=
ne
>> | > > familiar know if turning off or dimming the CRT monitor is=20
>> possible?
>> | >
>> | > ssh into the Mac and switch it off via something like
>> | > xrandr --output <display ID> --off
>> | > ?
>> | >
>> | > And I'd be careful to not switch off the wrong display .. ;)
>> | >
>> | > Or better, trying to map some key combo to turn up/down monitor
>> | > brightness ..?
>> | >
>> | > Wolfgang
>> | >
>> |
>>
>