[Freemint-list] Generic power-off functionality

Peter Slegg p.slegg at scubadivers.co.uk
Mon Jan 9 23:35:08 MSK 2017


On Mon, 09 Jan 2017 12:00:01 , freemint-list-request at atariforge.org wrote:
> Date: Sun, 08 Jan 2017 23:55:10 +0100
> From: Jo Even Skarstein <joska at online.no>
> Subject: [Freemint-list] Generic power-off functionality
> To: freemint-list <freemint-list at mail.atariforge.org>
> Message-ID: <1483916110.16891.57.camel at sterkenils>
> FreeMiNT currently supports power-off on the CT6x and the FireBee. Now,
> I have ATX/PicoPSU's in several of my machines, in two of them the PSU
> is controlled by a microcontroller so I can switch them off with
> software. I'd rather not add direct support for my odd hardware in the
> kernel, but it would be nice if the kernel could use an external
> function/driver for this.
>
> I suggest that before MiNT access any power-off hardware directly, it
> looks for a cookie "cPSU", if available it calls the function pointed to
> by the cookie. Then it would be up to the provider of the hardware to
> provide the code that does the actual power-off.
>
> Any objections/suggestions?
>
> Jo Even
>
>

I was thinking about swapping the Milan's noisy AT psu for an ATX with the
necessary adapter plugs and switch, if I can find one.

Having auto power-off would be nice to have.

How do BSD/Linux do this ?

Regards,

Peter






More information about the Freemint-list mailing list