Hello,
I am trying to figure out why the zymbit is still flashing fast. Below is all the information I have. I have to get the zymbit working within the next week.
the syslog & I ran the test scripts and other commands :
Summary
Jun 2 01:24:31 raspberrypi systemd[1]: Time has been changed
Jun 2 01:24:31 raspberrypi systemd-timesyncd[268]: Synchronized to time server 206.55.191.142:123 (2.debian.pool.ntp.org).
Jun 2 01:24:31 raspberrypi systemd[1]: apt-daily.timer: Adding 2h 55min 31.148620s random time.
Jun 2 01:24:31 raspberrypi systemd[1]: apt-daily-upgrade.timer: Adding 32min 13.794591s random time.
Jun 2 01:24:31 raspberrypi systemd[1]: Reached target Network is Online.
Jun 2 01:24:31 raspberrypi systemd[1]: Starting Daily apt download activities…
Jun 2 01:24:31 raspberrypi systemd[1]: Starting Clean php session files…
Jun 2 01:24:32 raspberrypi systemd[1]: Started Clean php session files.
Jun 2 01:24:50 raspberrypi dbus[334]: [system] Activating via systemd: service name=‘org.freedesktop.PackageKit’ unit=‘packagekit.service’
Jun 2 01:24:50 raspberrypi systemd[1]: Starting PackageKit Daemon…
Jun 2 01:24:50 raspberrypi PackageKit: daemon start
Jun 2 01:24:50 raspberrypi dbus[334]: [system] Activating via systemd: service name=‘org.freedesktop.PolicyKit1’ unit=‘polkit.service’
Jun 2 01:24:50 raspberrypi systemd[1]: Starting Authorization Manager…
Jun 2 01:24:50 raspberrypi polkitd[1655]: started daemon version 0.105 using authority implementation local' version
0.105’
Jun 2 01:24:50 raspberrypi dbus[334]: [system] Successfully activated service ‘org.freedesktop.PolicyKit1’
Jun 2 01:24:50 raspberrypi systemd[1]: Started Authorization Manager.
Jun 2 01:24:50 raspberrypi dbus[334]: [system] Successfully activated service ‘org.freedesktop.PackageKit’
Jun 2 01:24:50 raspberrypi systemd[1]: Started PackageKit Daemon.
Jun 2 01:25:00 raspberrypi CRON[1827]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jun 2 01:25:02 raspberrypi systemd[1]: Started Daily apt download activities.
Jun 2 01:25:02 raspberrypi systemd[1]: apt-daily.timer: Adding 3h 50min 44.247422s random time.
Jun 2 01:25:02 raspberrypi systemd[1]: apt-daily.timer: Adding 7h 58min 16.801788s random time.
Jun 2 01:25:02 raspberrypi systemd[1]: Starting Daily apt upgrade and clean activities…
Jun 2 01:25:07 raspberrypi systemd[1]: Started Restore System Clock from Zymkey.
Jun 2 01:25:07 raspberrypi systemd[1]: Starting Zymkey Interface Connector…
Jun 2 01:25:07 raspberrypi systemd[1]: Started Zymkey Interface Connector.
Jun 2 01:25:22 raspberrypi systemd[1]: Started Daily apt upgrade and clean activities.
Jun 2 01:25:22 raspberrypi systemd[1]: apt-daily-upgrade.timer: Adding 33min 46.196974s random time.
Jun 2 01:25:22 raspberrypi systemd[1]: Startup finished in 1.796s (kernel) + 1min 23.906s (userspace) = 1min 25.702s.
Jun 2 01:25:22 raspberrypi systemd[1]: apt-daily-upgrade.timer: Adding 58min 58.120558s random time.
Jun 2 01:26:03 raspberrypi kernel: [ 126.429256] IPv6: ADDRCONF(NETDEV_CHANGE): can0: link becomes ready
Jun 2 01:26:04 raspberrypi kernel: [ 127.812467] can: controller area network core (rev 20170425 abi 9)
Jun 2 01:26:04 raspberrypi kernel: [ 127.812548] NET: Registered protocol family 29
Jun 2 01:26:04 raspberrypi kernel: [ 127.818589] can: raw protocol (rev 20170425)
Jun 2 01:31:21 raspberrypi systemd[1]: Created slice User Slice of pi.
Jun 2 01:31:21 raspberrypi systemd[1]: Starting User Manager for UID 1000…
Jun 2 01:31:21 raspberrypi systemd[1]: Started Session c1 of user pi.
Jun 2 01:31:21 raspberrypi systemd[7899]: Listening on GnuPG cryptographic agent and passphrase cache.
Jun 2 01:31:21 raspberrypi systemd[7899]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Jun 2 01:31:21 raspberrypi systemd[7899]: Listening on GnuPG cryptographic agent (access for web browsers).
Jun 2 01:31:21 raspberrypi systemd[7899]: Reached target Paths.
Jun 2 01:31:21 raspberrypi systemd[7899]: Reached target Timers.
Jun 2 01:31:21 raspberrypi systemd[7899]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Jun 2 01:31:21 raspberrypi systemd[7899]: Reached target Sockets.
Jun 2 01:31:21 raspberrypi systemd[7899]: Reached target Basic System.
Jun 2 01:31:21 raspberrypi systemd[7899]: Reached target Default.
Jun 2 01:31:21 raspberrypi systemd[7899]: Startup finished in 65ms.
Jun 2 01:31:21 raspberrypi systemd[1]: Started User Manager for UID 1000.
Jun 2 01:35:01 raspberrypi CRON[11370]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jun 2 01:38:57 raspberrypi systemd[1]: Starting Cleanup of Temporary Directories…
Jun 2 01:38:57 raspberrypi systemd[1]: Started Cleanup of Temporary Directories.
Jun 2 01:39:01 raspberrypi systemd[1]: Starting Clean php session files…
Jun 2 01:39:01 raspberrypi CRON[15184]: (root) CMD ( [ -x /usr/lib/php/sessionclean ] && if [ ! -d /run/systemd/system ]; then /usr/lib/php/sessionclean; fi)
Jun 2 01:39:01 raspberrypi systemd[1]: Started Clean php session files.
Jun 2 01:45:01 raspberrypi CRON[20851]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Jun 2 01:55:01 raspberrypi CRON[30262]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
Boot Log
Summary
[ OK ] Started Show Plymouth Boot Screen.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Reached target Paths.
[ OK ] Started Forward Password Requests to Plymouth Directory Watch.
[ OK ] Found device /dev/serial1.
[ OK ] Found device /dev/disk/by-partuuid/c2fdd720-01.
Starting File System Check on /dev/disk/by-partuuid/c2fdd720-01…
[ OK ] Reached target Sound Card.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ OK ] Started File System Check on /dev/disk/by-partuuid/c2fdd720-01.
Mounting /boot…
[ OK ] Mounted /boot.
[ OK ] Reached target Local File Systems.
Starting Raise network interfaces…
Starting Tell Plymouth To Write Out Runtime Data…
Starting Preprocess NFS configuration…
Starting Create Volatile Files and Directories…
Starting Set console font and keymap…
[ OK ] Started Tell Plymouth To Write Out Runtime Data.
[ OK ] Started Preprocess NFS configuration.
[ OK ] Started Set console font and keymap.
[ OK ] Reached target NFS client services.
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems.
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization…
Starting Update UTMP about System Boot/Shutdown…
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Raise network interfaces.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Initialization.
[ OK ] Listening on GPS (Global Positioning System) Daemon Sockets.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Listening on triggerhappy.socket.
[ OK ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
Starting Configure Bluetooth Modems connected by UART…
[ OK ] Started D-Bus System Message Bus.
Starting System Logging Service…
Starting ProLogger-Listen-KeySwitch.service…
Starting Save/Restore Sound Card State…
Starting LSB: Switch to ondemand cpu…or (unless shift key is pressed)…
Starting LSB: Start/stop sysstat’s sadc…
[ OK ] Started Regular background program processing daemon.
Starting triggerhappy global hotkey daemon…
Starting WPA supplicant…
[ OK ] Started Daily Cleanup of Temporary Directories.
Starting Login Service…
Starting Avahi mDNS/DNS-SD Stack…
Starting dhcpcd on all interfaces…
Starting Disable WiFi if country not set…
Starting ProLogger-Monitor.service…
Starting LSB: Autogenerate and use a swap file…
Starting ProLogger-Transfer.service…
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Daily apt download activities.
[ OK ] Started Daily apt upgrade and clean activities.
[ OK ] Started Clean PHP session files every 30 mins.
[ OK ] Reached target Timers.
[ OK ] Started triggerhappy global hotkey daemon.
[ OK ] Started ProLogger-Listen-KeySwitch.service.
[ OK ] Started Save/Restore Sound Card State.
[ OK ] Started Disable WiFi if country not set.
[ OK ] Started ProLogger-Monitor.service.
[ OK ] Started ProLogger-Transfer.service.
[ OK ] Started System Logging Service.
[ OK ] Started LSB: Start/stop sysstat’s sadc.
Starting Load/Save RF Kill Switch Status…
[ OK ] Started Login Service.
[ OK ] Started LSB: Switch to ondemand cpu …rnor (unless shift key is pressed).
[ OK ] Started Avahi mDNS/DNS-SD Stack.
[ OK ] Started Load/Save RF Kill Switch Status.
[ OK ] Started WPA supplicant.
[ OK ] Started LSB: Autogenerate and use a swap file.
Starting Load/Save RF Kill Switch Status…
[ OK ] Started Configure Bluetooth Modems connected by UART.
[ OK ] Started Load/Save RF Kill Switch Status.
Starting Bluetooth service…
[ OK ] Created slice system-bthelper.slice.
[ OK ] Started Bluetooth service.
[ OK ] Reached target Bluetooth.
[ OK ] Started Raspberry Pi bluetooth helper.
Starting Hostname Service…
[ OK ] Started Hostname Service.
[ OK ] Started dhcpcd on all interfaces.
[ OK ] Reached target Network.
Starting Permit User Sessions…
Starting A high performance web server and a reverse proxy server…
Starting OpenBSD Secure Shell server…
Starting /etc/rc.local Compatibility…
[ OK ] Started Unattended Upgrades Shutdown.
My IP address is 192.168.0.10
Starting The Apache HTTP Server…
[ OK ] Started Permit User Sessions.
[ OK ] Started OpenBSD Secure Shell server.
[ OK ] Started /etc/rc.local Compatibility.
Starting Hold until boot process finishes up…
Starting Terminate Plymouth Boot Screen…
root@raspberrypi:/usr/local/share/zymkey/examples# ls -l
total 8
drwxr-sr-x 2 root staff 128 Mar 31 06:31 pycache
-rw-r–r-- 1 root staff 1317 Mar 31 06:30 zk_app_utils_test.py
-rw-r–r-- 1 root staff 1430 Mar 31 06:30 zk_crypto_test.py
root@raspberrypi:/usr/local/share/zymkey/examples# python zk_crypto_test.py
Exception AssertionError: AssertionError(‘bad return code -1’,) in <bound method Zymkey.del of <zymkey.module.Zymkey object at 0x76c12c70>> ignored
Signing data…Traceback (most recent call last):
File “zk_crypto_test.py”, line 10, in
signature = zymkey.client.sign(secret_message)
AttributeError: ‘NoneType’ object has no attribute ‘sign’
root@raspberrypi:/usr/local/share/zymkey/examples# python zk_app_utils_test.py
Exception AssertionError: AssertionError(‘bad return code -1’,) in <bound method Zymkey.del of <zymkey.module.Zymkey object at 0x76bbad90>> ignored
Testing data lock…
Traceback (most recent call last):
File “zk_app_utils_test.py”, line 6, in
dst = zymkey.client.lock(src)
AttributeError: ‘NoneType’ object has no attribute ‘lock’
root@raspberrypi:/usr/local/share/zymkey/examples# lsmod | grep i2c
i2c_bcm2835 16384 0
i2c_bcm2708 16384 0
i2c_dev 16384 0
root@raspberrypi:/usr/local/share/zymkey/examples# cat /var/log/syslog | grep Zymkey
May 24 09:40:54 raspberrypi systemd[1]: Starting Restore System Clock from Zymkey…
May 24 10:15:52 raspberrypi systemd[1]: Started Restore System Clock from Zymkey.
May 24 10:15:52 raspberrypi systemd[1]: Starting Zymkey Interface Connector…
May 24 10:15:53 raspberrypi systemd[1]: Started Zymkey Interface Connector.
Binary file (standard input) matches
root@raspberrypi:/usr/local/share/zymkey/examples# sudo systemctl status zkbootrtc
● zkbootrtc.service - Restore System Clock from Zymkey
Loaded: loaded (/etc/systemd/system/zkbootrtc.service; enabled; vendor preset: enabled)
Active: inactive (dead) since Mon 2019-05-27 14:00:40 UTC; 10min ago
Process: 891 ExecStart=/usr/bin/zk_early_boot.sh (code=exited, status=0/SUCCESS)
Main PID: 891 (code=exited, status=0/SUCCESS)
May 27 13:58:41 raspberrypi systemd[1]: Starting Restore System Clock from Zymkey…
May 27 14:00:40 raspberrypi systemd[1]: Started Restore System Clock from Zymkey.
root@raspberrypi:/usr/local/share/zymkey/examples# zkgrifs
ERROR: no zymkeys installed.
root@raspberrypi:/home/pi# sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: – – – – – – – – – – – – –
10: – – – – – – – – – – – – – – – –
20: – – – – – – – – – – – – – – – –
30: – – – – – – – – – – – – – – – –
40: – – – – – – – – – – – – – – – –
50: – – – – – – – – – – – – – – – –
60: – – – – – – – – – – – – – – – –
70: – – – – – – – –