Displaying 4 results from an estimated 4 matches for "generic_gpio".
2023 Feb 22
2
GPIO as NUT driver interface?
...thanks!
Also just for context, this sounded reminiscent of one of the first NUT
drivers, `genericups` (for simple contact-closure support, with IIRC
serial-port connections rather than GPIO).
Nearby there's also a `generic_modbus" name. Wondering if the new driver
should be (similar to) `generic_gpio`.
@Community verdict: Then there was also an effort some years ago to name
drivers with a `nutdrv-*` prefix... WDYT?
As usual, naming is among the hardest problems in IT ;)
Jim
On Wed, Feb 22, 2023 at 4:34 PM MODRIS B?RZONIS <modrisb at apollo.lv> wrote:
> Jim,
>
> no, there are...
2023 Feb 22
1
GPIO as NUT driver interface?
Jim Klimov via Nut-upsdev <nut-upsdev at alioth-lists.debian.net> writes:
> Nearby there's also a `generic_modbus" name. Wondering if the new driver
> should be (similar to) `generic_gpio`.
sound good.
It would be nice if there were an abstraction layer for various GPIO
access methods, rather than hard-coding linux, even if there is only one
implementation of the abstraction. I'm not that clear on GPIO, but I
gather there are differences. Or maybe there is already a portable...
2023 Feb 23
1
GPIO as NUT driver interface?
...to split
into 2 files, may to go for library?
On 2/22/23 20:17, Greg Troxel wrote:
> Jim Klimov via Nut-upsdev <nut-upsdev at alioth-lists.debian.net> writes:
>
>> Nearby there's also a `generic_modbus" name. Wondering if the new driver
>> should be (similar to) `generic_gpio`.
> sound good.
>
> It would be nice if there were an abstraction layer for various GPIO
> access methods, rather than hard-coding linux, even if there is only one
> implementation of the abstraction. I'm not that clear on GPIO, but I
> gather there are differences. Or maybe...
2023 Feb 23
1
GPIO as NUT driver interface?
...to go for library?
>
> On 2/22/23 20:17, Greg Troxel wrote:
> > Jim Klimov via Nut-upsdev <nut-upsdev at alioth-lists.debian.net> writes:
> >
> >> Nearby there's also a `generic_modbus" name. Wondering if the new driver
> >> should be (similar to) `generic_gpio`.
> > sound good.
> >
> > It would be nice if there were an abstraction layer for various GPIO
> > access methods, rather than hard-coding linux, even if there is only one
> > implementation of the abstraction. I'm not that clear on GPIO, but I
> > gather th...