Odroid C4 working great :) but...
Hi,
Thanks for sharing this project, great work!!
I installed tinypilot on an Odroid C4. (I had to comment out the 64-bit version of Raspberry Pi OS check in quick-install).
Running Armbian 22.05.3 with Linux 5.10.133. Keyboard, mouse, and video (HDMI dongle) are working fine... untill... after a reboot of the TARGET machine i get this error below. Video will keep working, though, only mouse and keyboard won't. Only a reboot of the odroid HOST with tinypilot will then solve it. Restarting the systemd service doesn't ever solve anything.
Any advice on this?
● tinypilot.service - TinyPilot - RPi-based virtual KVM
Loaded: loaded (/lib/systemd/system/tinypilot.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2022-07-29 01:12:50 CEST; 5min ago
Main PID: 3830 (python)
Tasks: 1 (limit: 3445)
Memory: 26.3M
CPU: 4.160s
CGroup: /system.slice/tinypilot.service
└─3830 /opt/tinypilot/venv/bin/python app/main.py
Jul 29 01:16:16 odroidc4 python[3933]: Process ProcessWithResult-84:
Jul 29 01:16:16 odroidc4 python[3933]: Traceback (most recent call last):
Jul 29 01:16:16 odroidc4 python[3933]: File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
Jul 29 01:16:16 odroidc4 python[3933]: self.run()
Jul 29 01:16:16 odroidc4 python[3933]: File "/opt/tinypilot/app/hid/write.py", line 45, in run
Jul 29 01:16:16 odroidc4 python[3933]: result.return_value = self._target(*self._args, **self._kwargs)
Jul 29 01:16:16 odroidc4 python[3933]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately
Jul 29 01:16:16 odroidc4 python[3933]: hid_handle.write(bytearray(buffer))
Jul 29 01:16:16 odroidc4 python[3933]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
Jul 29 01:16:16 odroidc4 python[3830]: 2022-07-29 01:16:16.287 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE]
odroid@odroidc4:~$ ls /dev/hidg*
/dev/hidg0 /dev/hidg1
- Diego @diego
Hello @Drizzle - Thank you for your interest in the TinyPilot project!
Unfortunately, we only offer technical support for TinyPilot on the Raspberry Pi 4B and Raspberry Pi OS 32-bit. However, please check the following thread about alternate hardware and OSes.