TinyPilot log dump https://tinypilotkvm.com Timestamp: 2022-10-03T19:15:11-04:00 Software versions TinyPilot version: c22b99e uStreamer version: v4.13 61ab2a8 OS version: Linux tinypilot 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l GNU/Linux TinyPilot state temp=52.1'C throttled=0x50000 voltage logs Oct 03 17:43:14 tinypilot kernel: Under-voltage detected! (0x00050005) Oct 03 17:43:18 tinypilot kernel: Voltage normalised (0x00000000) Oct 03 17:43:24 tinypilot kernel: Under-voltage detected! (0x00050005) Oct 03 17:43:29 tinypilot kernel: Voltage normalised (0x00000000) Oct 03 17:58:44 tinypilot kernel: Under-voltage detected! (0x00050005) Oct 03 17:58:50 tinypilot kernel: Voltage normalised (0x00000000) Oct 03 18:00:26 tinypilot kernel: Under-voltage detected! (0x00050005) Oct 03 18:00:30 tinypilot kernel: Voltage normalised (0x00000000) Oct 03 19:14:58 tinypilot kernel: Under-voltage detected! (0x00050005) Oct 03 19:15:02 tinypilot kernel: Voltage normalised (0x00000000) TinyPilot configuration [Unit] Description=TinyPilot - RPi-based virtual KVM After=syslog.target network.target StartLimitIntervalSec=0 [Service] Type=simple User=tinypilot WorkingDirectory=/opt/tinypilot ExecStart=/opt/tinypilot/venv/bin/python app/main.py Environment=HOST=127.0.0.1 Environment=PORT=8000 Environment=APP_SETTINGS_FILE=/home/tinypilot/app_settings.cfg Restart=always [Install] WantedBy=multi-user.target TinyPilot logs -- Logs begin at Mon 2022-10-03 17:43:09 EDT, end at Mon 2022-10-03 19:15:11 EDT. -- Oct 03 17:43:22 tinypilot systemd[1]: Started TinyPilot - RPi-based virtual KVM. Oct 03 17:43:25 tinypilot python[574]: 2022-10-03 17:43:25.318 __main__ INFO Starting app Oct 03 19:14:57 tinypilot python[574]: 2022-10-03 19:14:57.088 socket_api INFO Client mIyk5-58SPVOnlSuAAAB connected Oct 03 19:14:58 tinypilot python[574]: Process ProcessWithResult-1: Oct 03 19:14:58 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:14:58 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:14:58 tinypilot python[574]: self.run() Oct 03 19:14:58 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:14:58 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:14:58 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:14:58 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:14:58 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:14:58 tinypilot python[574]: 2022-10-03 19:14:58.725 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 03 19:14:59 tinypilot python[574]: Process ProcessWithResult-2: Oct 03 19:14:59 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:14:59 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:14:59 tinypilot python[574]: self.run() Oct 03 19:14:59 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:14:59 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:14:59 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:14:59 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:14:59 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:14:59 tinypilot python[574]: 2022-10-03 19:14:59.092 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 03 19:14:59 tinypilot python[574]: Process ProcessWithResult-3: Oct 03 19:14:59 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:14:59 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:14:59 tinypilot python[574]: self.run() Oct 03 19:14:59 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:14:59 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:14:59 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:14:59 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:14:59 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:14:59 tinypilot python[574]: 2022-10-03 19:14:59.215 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 03 19:14:59 tinypilot python[574]: Process ProcessWithResult-4: Oct 03 19:14:59 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:14:59 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:14:59 tinypilot python[574]: self.run() Oct 03 19:14:59 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:14:59 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:14:59 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:14:59 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:14:59 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:14:59 tinypilot python[574]: 2022-10-03 19:14:59.969 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 03 19:15:00 tinypilot python[574]: Process ProcessWithResult-5: Oct 03 19:15:00 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:15:00 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:15:00 tinypilot python[574]: self.run() Oct 03 19:15:00 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:15:00 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:15:00 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:15:00 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:15:00 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:15:00 tinypilot python[574]: 2022-10-03 19:15:00.194 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 03 19:15:00 tinypilot python[574]: Process ProcessWithResult-6: Oct 03 19:15:00 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:15:00 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:15:00 tinypilot python[574]: self.run() Oct 03 19:15:00 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:15:00 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:15:00 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:15:00 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:15:00 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:15:00 tinypilot python[574]: 2022-10-03 19:15:00.741 socket_api ERROR [SENSITIVE] Failed to write key: (keycode=Space). Failed to write to HID interface: /dev/hidg0. Is USB cable connected? [/SENSITIVE] Oct 03 19:15:00 tinypilot python[574]: Process ProcessWithResult-7: Oct 03 19:15:00 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:15:00 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:15:00 tinypilot python[574]: self.run() Oct 03 19:15:00 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:15:00 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:15:00 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:15:00 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:15:00 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:15:00 tinypilot python[574]: 2022-10-03 19:15:00.870 socket_api ERROR [SENSITIVE] Failed to write key: (keycode=Space). Failed to write to HID interface: /dev/hidg0. Is USB cable connected? [/SENSITIVE] Oct 03 19:15:02 tinypilot python[574]: Process ProcessWithResult-8: Oct 03 19:15:02 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:15:02 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:15:02 tinypilot python[574]: self.run() Oct 03 19:15:02 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:15:02 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:15:02 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:15:02 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:15:02 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:15:02 tinypilot python[574]: 2022-10-03 19:15:02.202 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 03 19:15:04 tinypilot python[574]: Process ProcessWithResult-9: Oct 03 19:15:04 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:15:04 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:15:04 tinypilot python[574]: self.run() Oct 03 19:15:04 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:15:04 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:15:04 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:15:04 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:15:04 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:15:04 tinypilot python[574]: 2022-10-03 19:15:04.198 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 03 19:15:06 tinypilot python[574]: Process ProcessWithResult-10: Oct 03 19:15:06 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:15:06 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:15:06 tinypilot python[574]: self.run() Oct 03 19:15:06 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:15:06 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:15:06 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:15:06 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:15:06 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:15:06 tinypilot python[574]: 2022-10-03 19:15:06.201 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 03 19:15:08 tinypilot python[574]: Process ProcessWithResult-11: Oct 03 19:15:08 tinypilot python[574]: Traceback (most recent call last): Oct 03 19:15:08 tinypilot python[574]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap Oct 03 19:15:08 tinypilot python[574]: self.run() Oct 03 19:15:08 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 45, in run Oct 03 19:15:08 tinypilot python[574]: result.return_value = self._target(*self._args, **self._kwargs) Oct 03 19:15:08 tinypilot python[574]: File "/opt/tinypilot/app/hid/write.py", line 65, in _write_to_hid_interface_immediately Oct 03 19:15:08 tinypilot python[574]: hid_handle.write(bytearray(buffer)) Oct 03 19:15:08 tinypilot python[574]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown Oct 03 19:15:08 tinypilot python[574]: 2022-10-03 19:15:08.203 socket_api ERROR [SENSITIVE] Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected? [/SENSITIVE] Oct 03 19:15:11 tinypilot sudo[729]: tinypilot : TTY=unknown ; PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/collect-debug-logs -q Oct 03 19:15:11 tinypilot sudo[729]: pam_unix(sudo:session): session opened for user root by (uid=0) TinyPilot update logs uStreamer configuration [Unit] Description=uStreamer - Lightweight, optimized video encoder After=syslog.target network.target [Service] Type=simple User=ustreamer WorkingDirectory=/opt/ustreamer ExecStart=/opt/ustreamer/ustreamer \ --host 127.0.0.1 \ --port 8001 \ --encoder hw \ --format jpeg \ --resolution 1920x1080 \ --persistent \ && : # This last line is just to end the multi-line command because the line # before is ending with backslash and so expects to be continued. Restart=always [Install] WantedBy=multi-user.target uStreamer logs -- Logs begin at Mon 2022-10-03 17:43:09 EDT, end at Mon 2022-10-03 19:15:11 EDT. -- Oct 03 17:43:22 tinypilot systemd[1]: Started uStreamer - Lightweight, optimized video encoder. Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.176 main] -- Using internal blank placeholder Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.176 main] -- Listening HTTP on [127.0.0.1]:8001 Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.177 stream] -- Using V4L2 device: /dev/video0 Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.177 stream] -- Using desired FPS: 0 Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.177 http] -- Starting HTTP eventloop ... Oct 03 17:43:23 tinypilot ustreamer[580]: ================================================================================ Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.420 stream] -- Device fd=8 opened Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.420 stream] -- Using input channel: 0 Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.421 stream] -- Using resolution: 1920x1080 Oct 03 17:43:23 tinypilot ustreamer[580]: -- ERROR [17.421 stream] -- Could not obtain the requested pixelformat=JPEG; driver gave us MJPEG Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.421 stream] -- Falling back to pixelformat=MJPEG Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.421 stream] -- Using pixelformat: MJPEG Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.422 stream] -- Using HW FPS: 0 -> 60 (coerced) Oct 03 17:43:23 tinypilot ustreamer[580]: -- ERROR [17.422 stream] -- Device does not support setting of HW encoding quality parameters Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.422 stream] -- Using IO method: MMAP Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.446 stream] -- Requested 5 device buffers, got 5 Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.461 stream] -- Capturing started Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.461 stream] -- Using JPEG quality: encoder default Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.461 stream] -- Creating pool JPEG with 1 workers ... Oct 03 17:43:23 tinypilot ustreamer[580]: -- INFO [17.461 stream] -- Capturing ... Oct 03 19:14:56 tinypilot ustreamer[580]: -- INFO [5494.643 http] -- HTTP: Registered client: [192.168.1.30]:47098, id=e15548e14ac5532a; clients now: 1 nginx logs -- Logs begin at Mon 2022-10-03 17:43:09 EDT, end at Mon 2022-10-03 19:15:11 EDT. -- Oct 03 17:43:22 tinypilot systemd[1]: Starting A high performance web server and a reverse proxy server... Oct 03 17:43:23 tinypilot systemd[1]: Started A high performance web server and a reverse proxy server. 2022/10/03 17:43:07 [notice] 6346#6346: signal process started