On Nov 10 13:20:45, [email protected] wrote:
> On Wed, Nov 10, 2021 at 12:07:37AM +0100, Jan Stary wrote:
> > On Nov 09 15:43:04, [email protected] wrote:
> > > This populates `systat sensors' with the correct lid status on my
> > > Pinebook Pro:
> > >
> > > -gpio-key-lid at mainbus0 not configured
> > > -gpio-key-power at mainbus0 not configured
> > > +gpiokeys0 at mainbus0: "Lid"
> > > +gpiokeys0 at mainbus0: "Power"
> >
> >
> > This is what the diff added on RPI4 (dmesg below).
> >
> > -gpioleds0 at mainbus0: no LEDs
> > +gpioleds0 at mainbus0: "led0", "led1"
>
> This is from another recent commit I made to gpioleds(4), specifically
> to recognise LEDs on this machine.
Ah, sorry for the confusion.
Thanks anyway :-)
Jan
> It has nothing to do with gpiokeys(4).
>
> > (Nothing new in systat sens,
> > as leds are not sensors.)
>
> Correct, that's because there are no GPIO keys on the Pi 4 (Model B),
> i.e. there's nothing in the device tree to match gpiokeys(4).
>
>