Using zymkey 4i on orange pi

hello

I bought a zymkey i4 card to use it on a orangepi
i am using armbian Armbian Buster with Linux 5.4.2-sunxi

Linux orangepione 5.4.2-sunxi #19.11.3.342 SMP Sun Dec 8 02:26:21 CET 2019 armv7l GNU/Linux

after the installation is finished and machine is rebooted

the led stop blinking fast blink 10 time slow and stop for 1~2 S than blink very fast fast and repeat it

for service

root@orangepione:~# service zkifc status
● zkifc.service - Zymkey Interface Connector
Loaded: loaded (/etc/systemd/system/zkifc.service; enabled; vendor preset: enabled)
Active: inactive (dead)
root@orangepione:~#
and when start it manually it give me this

root@orangepione:~# service zkifc start
^C
root@orangepione:~# service zkifc status
● zkifc.service - Zymkey Interface Connector
Loaded: loaded (/etc/systemd/system/zkifc.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-05-13 22:04:51 UTC; 3min 47s ago
Process: 2135 ExecStartPre=/bin/bash -c mkdir -p /run/zkstatus && chown -R zymbit.zymbit /run/zkstatus (code=exited, status=0/SUCCESS)
Process: 2137 ExecStartPre=/bin/sleep 0.5 (code=exited, status=0/SUCCESS)
Main PID: 2138 (zkifc)
Tasks: 3 (limit: 778)
Memory: 1.4M
CGroup: /system.slice/zkifc.service
└─2138 /usr/bin/zkifc -s /var/lib/zymbit/

May 13 22:04:50 orangepione systemd[1]: Starting Zymkey Interface Connector…
May 13 22:04:51 orangepione systemd[1]: Started Zymkey Interface Connector.
root@orangepione:~#

the python examples give this :

root@orangepione:~# python /usr/local/share/zymkey/examples/zk_app_utils_test.py
Exception AssertionError: AssertionError(‘bad return code -1’,) in <bound method Zymkey.del of <zymkey.module.Zymkey object at 0xb681ae70>> ignored
Testing data lock…
Traceback (most recent call last):
File “/usr/local/share/zymkey/examples/zk_app_utils_test.py”, line 6, in
dst = zymkey.client.lock(src)
AttributeError: ‘NoneType’ object has no attribute ‘lock’
root@orangepione:~#

I really want to know if someone has already successfully installed the zymkey on an OPI

thank you

any suggestions ???

The only platform we officially support is the Raspberry Pi. There is a customer that got this going on an OrangePi 3 using a Debian Stretch with Armbian Linux 5.3.0-rc3-sunxi64 build. They used our standard install_zk_sw.sh script.

You will need to deal with GPIO4. Make a file in /var/lib/zymbit/ named zkenv.conf with the following line:

ZK_GPIO_WAKE_PIN=<platform pin number>

where the <platform pin number> is the one on that platform that corresponds to GPIO4 on the RPi.