Hi again!
Context: We've been successfully running UniPi software on a custom OS on UniPi S130 rpi4 thanks to https://repo.unipi.technology/ and the help provided in https://forum.unipi.technology/topic/1541/hardware-mappings-on-a-non-debian-distro . However, partly due to maintenance and partly due to some other DTOs, we've recently decided to upgrade to the new major kernel version, which unfortunately brought some differences in iio
/iio_opaque
structs in the linux kernel, which made the unipi-kernel-modules
unable to work with the new kernel, which then spiraled into additional incompatibilities. We've managed to resolve most of them using your bookworm
package versions (thanks again!) and a bit of patching on the side of the kernel-modules, the os-configurator
and evok
. iio, spidev, /dev/unipichannel1
, unipi_tcp_server
is all working without any issues, however, the old version of EVOK (that is, master
branch) unfortunately didn't work with the new package versions so we switched to the dev-bookworm
branch, which looks like a superb, way cleaner (+tests?) rewrite of the old python2 version and is working mostly okay aside from AI,AO,DOs and some minor configurations.
Regarding those:
- Both the repository and the
evok_3.0.1-beta
package are missinghw_definitions
. The definitions are however insideevok-data_0.0.1-test
, but a lof of them are missing. Q: Is this intentional? The oldhw_definitions/BuiltIn/S103.yaml
works for theULED
outputs, however, the rest is mostly missing. I tried patching themodes
(according to the new config scheme) of AI,DI but haven't had any success. - We've put together the following
/etc/evok/config.yaml
(omitting the trivialapis
). Themodel
refers to the oldhw_definitions/S103.yaml
. Q: Is this an appropriateconfig.yaml
for a Neuron S103 rpi4?
comm_channels:
EXT_TCP:
hostname: 127.0.0.1
port: 502
type: MODBUSTCP
device_info:
family: Neuron
model: S103
board_count: 1
devices:
1:
slave-id: 1
model: S103
OWFS:
type: OWBUS
interval: 3
scan_interval: 60
owpower: 1
Any help would be greatly appreciated and also thanks for the great work that you are doing on EVOK. <3.
TS.