Re: [PATCH 2/2] tools/gpio: add the gpio-hammer tool
From: Michael Welling <hidden>
Date: 2016-06-01 18:09:20
On Wed, Jun 01, 2016 at 07:35:28PM +0200, Linus Walleij wrote:
On Wed, Jun 1, 2016 at 5:43 AM, Michael Welling [off-list ref] wrote:quoted
Did you ever find a solution for the exhausted char dev problem?Not really. It seems it turned up that all systems that bugged were randomly generated QEMU models, not real systems. They were also really doing far out stuff already, overwriting existing chardevs all over the place, which can be seen in logs after commit 49db08c35887 "chrdev: emit a warning when we go below dynamic major range" which I got merged.
Yeah I noticed that their config was pretty crazy.
I'm now working on an event ABI so we get feature complete and also surpass the old sysfs.
Okay I will review and test it when the patch shows up. Is there a way to name a group of GPIOs? It seems you are passing around a byte of data for each GPIO state. Is there a reason why the bits couldn't bit masked into single variable given the max number of handles is 64?
Yours, Linus Walleij