Hi all, I think support for PPC Macs needs work
AFAIK to blank screens (or change resolution, brightness, contrast etc)
on this type of system (G3 and G4 iMac/eMac with CRT) I2C commands are
sent to the "IVAD" board.
Example on GitHub from an Arduino C project below that sets to 1280X960
@ 72Hz
https://github.com/qbancoffee/emac_ivad_board_init/blob/master/emacIvadInit/emacIvadInit.ino
But I think we need to sniff the I2C commands from MacOS (or
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 😅 Perhaps I'll just
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:
BRIGHTNESS=`doas wsconsctl -n display.brightness`
doas wsconsctl display.brightness=0
sleep $((8*3600))
doas wsconsctl display.brightness=${BRIGHTNESS}
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 tip!
|
| 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)
and
| > > I'm using it as a tiny web server. I'm really happy with it,
but the
| > > screen is too bright at night.
| > >
| > > I know that OpenBSD on PPC doesn't support sleep, but would anyone
| > > familiar know if turning off or dimming the CRT monitor is
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
| >
|