schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomn has joined #openwrt-devel
* russell--
wonders if someone can give me a pointer ... has an application where we want to use a gpio interrupt to trigger a handler faster than available through gpio-keys hotplug scripts
slh has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
goliath has joined #openwrt-devel
slh64 has joined #openwrt-devel
<KanjiMonster>
russell--: is this an actual button, or just what you are trying to use to have the interrupt/change passed to userspace?
<PaulFertser>
russell--: and for testing before writing your own you can use "gpiomon" to see if it does what you want, as it's a minimal wrapper around libgpiod.
<PaulFertser>
Also, do you really need fast reaction to it or precise timestamp? And how fast is enough?
robimarko has joined #openwrt-devel
rua has quit [Remote host closed the connection]
rua has joined #openwrt-devel
FilimoniC has quit [Ping timeout: 480 seconds]
FilimoniC has joined #openwrt-devel
minimal has joined #openwrt-devel
fakuivan has quit [Remote host closed the connection]
fakuivan has joined #openwrt-devel
<russell-->
KanjiMonster: it's a line leading to a microcontroller
torv has quit [Remote host closed the connection]
torv has joined #openwrt-devel
<russell-->
are the sysfs interface and the libgpiod interface mutually exclusive?
<PaulFertser>
russell--: sysfs interface is deprecated and shouldn't really be used unless you have no choice
<PaulFertser>
russell--: and it won't be providing you with interrupt support anyway
<russell-->
it claims to, somehow
<russell-->
the sysfs "edge" file
<russell-->
and then poll(2) on the value file
robimarko has quit [Remote host closed the connection]
robimarko has joined #openwrt-devel
aiyion has quit [Remote host closed the connection]
aiyion has joined #openwrt-devel
dangole_ has joined #openwrt-devel
valku has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
Slimey has quit [Quit: Going offline, see ya! (www.adiirc.com)]
Guest8455 has quit []
Danct12 has joined #openwrt-devel
Slimey has joined #openwrt-devel
goliath has joined #openwrt-devel
schwicht has joined #openwrt-devel
Slimey has quit [Read error: Connection reset by peer]
minimal has quit [Quit: Leaving]
FilimoniC has quit [Ping timeout: 480 seconds]
FilimoniC has joined #openwrt-devel
<philipp64>
What is the internal representation form of OpenWRT state these days? I know it can be partly represented as UCI, but does procd store it as something exportable as JSON or what?
<philipp64>
And how do you access it directly? Where are the hooks?
minimal has joined #openwrt-devel
Danct12 has quit [Quit: A-lined: User has been AVIVA lined]
dangole_ has quit [Ping timeout: 480 seconds]
guidosarducci has joined #openwrt-devel
guidosarducci has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
goliath has quit [Quit: SIGSEGV]
FilimoniC has quit [Ping timeout: 480 seconds]
<Habbie>
i thought all procd state was in memory
<Habbie>
and you can use ubus to inspect it
<philipp64>
ubus uses JSON to serialize it, though, right?
<philipp64>
We'd been talking for years about a better representation than UCI... XML, Yang, Netconf, etc. had all come up...
<Habbie>
to the terminal it does
Danct12 has joined #openwrt-devel
<Habbie>
(if i recall correctly - please do not take my word for any of this)
dangole_ has joined #openwrt-devel
aiyion has quit [Remote host closed the connection]
aiyion has joined #openwrt-devel
robimarko has quit [Remote host closed the connection]
guidosarducci has quit [Remote host closed the connection]
guidosarducci has joined #openwrt-devel
schwicht has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]