No internet connection
  1. Home
  2. Technical Support

No keyboard/mouse, undervoltage with Fresh Install

By Bill @copperleaf
    2023-11-23 12:51:16.451Zassigned to
    • @david

    Just did a fresh install. I see video but no response for keyboard and mouse. I'm also seeing an undervoltage even though I'm using the Tinypilot data splitter. In addition, the video disappears frequently. I assume that is due to the undervoltage as well. The power supply is a 3.0A raspberry pi branded supply. To plug it in to the tinypilot splitter, I had to use a USB-C to microUSB adapter. Will look at using a power supply that doesn't go thru the adapter.

    Any other thoughts?

    Below is the log.

    TinyPilot log dump
    https://tinypilotkvm.com
    Timestamp: 2023-11-23T07:44:29-05:00
    
    Software versions
    TinyPilot version: 1.9.2-5+5bdbec7
    uStreamer version: 5.43
    
    System information
    OS version: Linux kvm 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux
    Kernel architecture: aarch64
    Userland architecture: armhf (32-bit)
    Distribution name: Raspbian
    Distribution version: 11
    
    Hardware information
    Hardware: BCM2835
    Revision: b03115
    Model: Raspberry Pi 4 Model B Rev 1.5
    
    TinyPilot state
    Read-only filesystem: off
    SSH access: enabled
    Network interfaces:
      eth0 (down)
      lo (unknown)
      wlan0 (up)
    Mouse jiggler: disabled
    CPU Temperature: 40.9'C
    CPU throttled since boot: yes
    
    Voltage issues: yes - Nov 23 07:44:15 kvm kernel: hwmon hwmon1: Undervoltage detected!
    
    Streaming mode
    Selected mode: MJPEG
    Current mode: MJPEG
    
    TinyPilot settings.yml
    
    TinyPilot configuration
    [Unit]
    Description=TinyPilot - RPi-based virtual KVM
    BindsTo=nginx.service
    After=syslog.target network.target nginx.service
    StartLimitIntervalSec=0
    
    [Service]
    Type=simple
    User=tinypilot
    WorkingDirectory=/opt/tinypilot
    ExecStart=/opt/tinypilot/venv/bin/python app/main.py
    Environment=APP_SETTINGS_FILE=/home/tinypilot/app_settings.cfg
    Restart=always
    
    [Install]
    WantedBy=multi-user.target
    
    
    Solved in post #11, click to view
    • 11 replies

    There are 11 replies. Estimated reading time: 43 minutes

    1. C
      Bill @copperleaf
        2023-11-23 12:54:14.752Z

        The rest of the log.

        TinyPilot logs
        Nov 23 07:44:25 kvm python[691]:   File "/opt/tinypilot/app/execute.py", line 86, in with_timeout
        Nov 23 07:44:25 kvm python[691]:     raise result.exception
        Nov 23 07:44:25 kvm python[691]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:25 kvm python[1355]: Process ProcessWithResult-18:
        Nov 23 07:44:26 kvm python[1355]: Traceback (most recent call last):
        Nov 23 07:44:26 kvm python[1355]:   File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
        Nov 23 07:44:26 kvm python[1355]:     self.run()
        Nov 23 07:44:26 kvm python[1355]:   File "/opt/tinypilot/app/execute.py", line 37, in run
        Nov 23 07:44:26 kvm python[1355]:     result.return_value = self._target(*self._args, **self._kwargs)
        Nov 23 07:44:26 kvm python[1355]:   File "/opt/tinypilot/app/hid/write.py", line 19, in _write_to_hid_interface_immediately
        Nov 23 07:44:26 kvm python[1355]:     hid_handle.write(bytearray(buffer))
        Nov 23 07:44:26 kvm python[1355]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:26 kvm python[691]: Exception in thread Thread-31:
        Nov 23 07:44:26 kvm python[691]: Traceback (most recent call last):
        Nov 23 07:44:26 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
        Nov 23 07:44:26 kvm python[691]:     self.run()
        Nov 23 07:44:26 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 892, in run
        Nov 23 07:44:26 kvm python[691]:     self._target(*self._args, **self._kwargs)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 733, in _handle_event_internal
        Nov 23 07:44:26 kvm python[691]:     r = server._trigger_event(data[0], namespace, sid, *data[1:])
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 758, in _trigger_event
        Nov 23 07:44:26 kvm python[691]:     return self.handlers[namespace][event](*args)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 282, in _handler
        Nov 23 07:44:26 kvm python[691]:     return self._handle_event(handler, message, namespace, sid,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 828, in _handle_event
        Nov 23 07:44:26 kvm python[691]:     ret = handler(*args)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/socket_api.py", line 53, in on_mouse_event
        Nov 23 07:44:26 kvm python[691]:     fake_mouse.send_mouse_event(mouse_path, mouse_move_event.buttons,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/hid/mouse.py", line 17, in send_mouse_event
        Nov 23 07:44:26 kvm python[691]:     hid_write.write_to_hid_interface(mouse_path, buf)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/hid/write.py", line 36, in write_to_hid_interface
        Nov 23 07:44:26 kvm python[691]:     execute.with_timeout(_write_to_hid_interface_immediately,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/execute.py", line 86, in with_timeout
        Nov 23 07:44:26 kvm python[691]:     raise result.exception
        Nov 23 07:44:26 kvm python[691]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:26 kvm python[1356]: Process ProcessWithResult-19:
        Nov 23 07:44:26 kvm python[1356]: Traceback (most recent call last):
        Nov 23 07:44:26 kvm python[1356]:   File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
        Nov 23 07:44:26 kvm python[1356]:     self.run()
        Nov 23 07:44:26 kvm python[1356]:   File "/opt/tinypilot/app/execute.py", line 37, in run
        Nov 23 07:44:26 kvm python[1356]:     result.return_value = self._target(*self._args, **self._kwargs)
        Nov 23 07:44:26 kvm python[1356]:   File "/opt/tinypilot/app/hid/write.py", line 19, in _write_to_hid_interface_immediately
        Nov 23 07:44:26 kvm python[1356]:     hid_handle.write(bytearray(buffer))
        Nov 23 07:44:26 kvm python[1356]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:26 kvm python[691]: Exception in thread Thread-32:
        Nov 23 07:44:26 kvm python[691]: Traceback (most recent call last):
        Nov 23 07:44:26 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
        Nov 23 07:44:26 kvm python[691]:     self.run()
        Nov 23 07:44:26 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 892, in run
        Nov 23 07:44:26 kvm python[691]:     self._target(*self._args, **self._kwargs)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 733, in _handle_event_internal
        Nov 23 07:44:26 kvm python[691]:     r = server._trigger_event(data[0], namespace, sid, *data[1:])
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 758, in _trigger_event
        Nov 23 07:44:26 kvm python[691]:     return self.handlers[namespace][event](*args)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 282, in _handler
        Nov 23 07:44:26 kvm python[691]:     return self._handle_event(handler, message, namespace, sid,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 828, in _handle_event
        Nov 23 07:44:26 kvm python[691]:     ret = handler(*args)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/socket_api.py", line 53, in on_mouse_event
        Nov 23 07:44:26 kvm python[691]:     fake_mouse.send_mouse_event(mouse_path, mouse_move_event.buttons,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/hid/mouse.py", line 17, in send_mouse_event
        Nov 23 07:44:26 kvm python[691]:     hid_write.write_to_hid_interface(mouse_path, buf)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/hid/write.py", line 36, in write_to_hid_interface
        Nov 23 07:44:26 kvm python[691]:     execute.with_timeout(_write_to_hid_interface_immediately,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/execute.py", line 86, in with_timeout
        Nov 23 07:44:26 kvm python[691]:     raise result.exception
        Nov 23 07:44:26 kvm python[691]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:26 kvm python[1357]: Process ProcessWithResult-20:
        Nov 23 07:44:26 kvm python[1357]: Traceback (most recent call last):
        Nov 23 07:44:26 kvm python[1357]:   File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
        Nov 23 07:44:26 kvm python[1357]:     self.run()
        Nov 23 07:44:26 kvm python[1357]:   File "/opt/tinypilot/app/execute.py", line 37, in run
        Nov 23 07:44:26 kvm python[1357]:     result.return_value = self._target(*self._args, **self._kwargs)
        Nov 23 07:44:26 kvm python[1357]:   File "/opt/tinypilot/app/hid/write.py", line 19, in _write_to_hid_interface_immediately
        Nov 23 07:44:26 kvm python[1357]:     hid_handle.write(bytearray(buffer))
        Nov 23 07:44:26 kvm python[1357]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:26 kvm python[691]: Exception in thread Thread-33:
        Nov 23 07:44:26 kvm python[691]: Traceback (most recent call last):
        Nov 23 07:44:26 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
        Nov 23 07:44:26 kvm python[691]:     self.run()
        Nov 23 07:44:26 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 892, in run
        Nov 23 07:44:26 kvm python[691]:     self._target(*self._args, **self._kwargs)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 733, in _handle_event_internal
        Nov 23 07:44:26 kvm python[691]:     r = server._trigger_event(data[0], namespace, sid, *data[1:])
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 758, in _trigger_event
        Nov 23 07:44:26 kvm python[691]:     return self.handlers[namespace][event](*args)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 282, in _handler
        Nov 23 07:44:26 kvm python[691]:     return self._handle_event(handler, message, namespace, sid,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 828, in _handle_event
        Nov 23 07:44:26 kvm python[691]:     ret = handler(*args)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/socket_api.py", line 53, in on_mouse_event
        Nov 23 07:44:26 kvm python[691]:     fake_mouse.send_mouse_event(mouse_path, mouse_move_event.buttons,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/hid/mouse.py", line 17, in send_mouse_event
        Nov 23 07:44:26 kvm python[691]:     hid_write.write_to_hid_interface(mouse_path, buf)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/hid/write.py", line 36, in write_to_hid_interface
        Nov 23 07:44:26 kvm python[691]:     execute.with_timeout(_write_to_hid_interface_immediately,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/execute.py", line 86, in with_timeout
        Nov 23 07:44:26 kvm python[691]:     raise result.exception
        Nov 23 07:44:26 kvm python[691]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:26 kvm python[1358]: Process ProcessWithResult-21:
        Nov 23 07:44:26 kvm python[1358]: Traceback (most recent call last):
        Nov 23 07:44:26 kvm python[1358]:   File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
        Nov 23 07:44:26 kvm python[1358]:     self.run()
        Nov 23 07:44:26 kvm python[1358]:   File "/opt/tinypilot/app/execute.py", line 37, in run
        Nov 23 07:44:26 kvm python[1358]:     result.return_value = self._target(*self._args, **self._kwargs)
        Nov 23 07:44:26 kvm python[1358]:   File "/opt/tinypilot/app/hid/write.py", line 19, in _write_to_hid_interface_immediately
        Nov 23 07:44:26 kvm python[1358]:     hid_handle.write(bytearray(buffer))
        Nov 23 07:44:26 kvm python[1358]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:26 kvm python[691]: Exception in thread Thread-34:
        Nov 23 07:44:26 kvm python[691]: Traceback (most recent call last):
        Nov 23 07:44:26 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
        Nov 23 07:44:26 kvm python[691]:     self.run()
        Nov 23 07:44:26 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 892, in run
        Nov 23 07:44:26 kvm python[691]:     self._target(*self._args, **self._kwargs)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 733, in _handle_event_internal
        Nov 23 07:44:26 kvm python[691]:     r = server._trigger_event(data[0], namespace, sid, *data[1:])
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 758, in _trigger_event
        Nov 23 07:44:26 kvm python[691]:     return self.handlers[namespace][event](*args)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 282, in _handler
        Nov 23 07:44:26 kvm python[691]:     return self._handle_event(handler, message, namespace, sid,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 828, in _handle_event
        Nov 23 07:44:26 kvm python[691]:     ret = handler(*args)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/socket_api.py", line 36, in on_keystroke
        Nov 23 07:44:26 kvm python[691]:     fake_keyboard.send_keystroke(keyboard_path, hid_keystroke)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/hid/keyboard.py", line 8, in send_keystroke
        Nov 23 07:44:26 kvm python[691]:     hid_write.write_to_hid_interface(keyboard_path, buf)
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/hid/write.py", line 36, in write_to_hid_interface
        Nov 23 07:44:26 kvm python[691]:     execute.with_timeout(_write_to_hid_interface_immediately,
        Nov 23 07:44:26 kvm python[691]:   File "/opt/tinypilot/app/execute.py", line 86, in with_timeout
        Nov 23 07:44:26 kvm python[691]:     raise result.exception
        Nov 23 07:44:26 kvm python[691]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:27 kvm python[1359]: Process ProcessWithResult-22:
        Nov 23 07:44:27 kvm python[1359]: Traceback (most recent call last):
        Nov 23 07:44:27 kvm python[1359]:   File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
        Nov 23 07:44:27 kvm python[1359]:     self.run()
        Nov 23 07:44:27 kvm python[1359]:   File "/opt/tinypilot/app/execute.py", line 37, in run
        Nov 23 07:44:27 kvm python[1359]:     result.return_value = self._target(*self._args, **self._kwargs)
        Nov 23 07:44:27 kvm python[1359]:   File "/opt/tinypilot/app/hid/write.py", line 19, in _write_to_hid_interface_immediately
        Nov 23 07:44:27 kvm python[1359]:     hid_handle.write(bytearray(buffer))
        Nov 23 07:44:27 kvm python[1359]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:27 kvm python[691]: Exception in thread Thread-35:
        Nov 23 07:44:27 kvm python[691]: Traceback (most recent call last):
        Nov 23 07:44:27 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
        Nov 23 07:44:27 kvm python[691]:     self.run()
        Nov 23 07:44:27 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 892, in run
        Nov 23 07:44:27 kvm python[691]:     self._target(*self._args, **self._kwargs)
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 733, in _handle_event_internal
        Nov 23 07:44:27 kvm python[691]:     r = server._trigger_event(data[0], namespace, sid, *data[1:])
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 758, in _trigger_event
        Nov 23 07:44:27 kvm python[691]:     return self.handlers[namespace][event](*args)
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 282, in _handler
        Nov 23 07:44:27 kvm python[691]:     return self._handle_event(handler, message, namespace, sid,
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 828, in _handle_event
        Nov 23 07:44:27 kvm python[691]:     ret = handler(*args)
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/app/socket_api.py", line 53, in on_mouse_event
        Nov 23 07:44:27 kvm python[691]:     fake_mouse.send_mouse_event(mouse_path, mouse_move_event.buttons,
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/app/hid/mouse.py", line 17, in send_mouse_event
        Nov 23 07:44:27 kvm python[691]:     hid_write.write_to_hid_interface(mouse_path, buf)
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/app/hid/write.py", line 36, in write_to_hid_interface
        Nov 23 07:44:27 kvm python[691]:     execute.with_timeout(_write_to_hid_interface_immediately,
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/app/execute.py", line 86, in with_timeout
        Nov 23 07:44:27 kvm python[691]:     raise result.exception
        Nov 23 07:44:27 kvm python[691]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:27 kvm python[1360]: Process ProcessWithResult-23:
        Nov 23 07:44:27 kvm python[1360]: Traceback (most recent call last):
        Nov 23 07:44:27 kvm python[1360]:   File "/usr/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
        Nov 23 07:44:27 kvm python[1360]:     self.run()
        Nov 23 07:44:27 kvm python[1360]:   File "/opt/tinypilot/app/execute.py", line 37, in run
        Nov 23 07:44:27 kvm python[1360]:     result.return_value = self._target(*self._args, **self._kwargs)
        Nov 23 07:44:27 kvm python[1360]:   File "/opt/tinypilot/app/hid/write.py", line 19, in _write_to_hid_interface_immediately
        Nov 23 07:44:27 kvm python[1360]:     hid_handle.write(bytearray(buffer))
        Nov 23 07:44:27 kvm python[1360]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:27 kvm python[691]: Exception in thread Thread-37:
        Nov 23 07:44:27 kvm python[691]: Traceback (most recent call last):
        Nov 23 07:44:27 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
        Nov 23 07:44:27 kvm python[691]:     self.run()
        Nov 23 07:44:27 kvm python[691]:   File "/usr/lib/python3.9/threading.py", line 892, in run
        Nov 23 07:44:27 kvm python[691]:     self._target(*self._args, **self._kwargs)
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 733, in _handle_event_internal
        Nov 23 07:44:27 kvm python[691]:     r = server._trigger_event(data[0], namespace, sid, *data[1:])
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/socketio/server.py", line 758, in _trigger_event
        Nov 23 07:44:27 kvm python[691]:     return self.handlers[namespace][event](*args)
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 282, in _handler
        Nov 23 07:44:27 kvm python[691]:     return self._handle_event(handler, message, namespace, sid,
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/venv/lib/python3.9/site-packages/flask_socketio/__init__.py", line 828, in _handle_event
        Nov 23 07:44:27 kvm python[691]:     ret = handler(*args)
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/app/socket_api.py", line 53, in on_mouse_event
        Nov 23 07:44:27 kvm python[691]:     fake_mouse.send_mouse_event(mouse_path, mouse_move_event.buttons,
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/app/hid/mouse.py", line 17, in send_mouse_event
        Nov 23 07:44:27 kvm python[691]:     hid_write.write_to_hid_interface(mouse_path, buf)
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/app/hid/write.py", line 36, in write_to_hid_interface
        Nov 23 07:44:27 kvm python[691]:     execute.with_timeout(_write_to_hid_interface_immediately,
        Nov 23 07:44:27 kvm python[691]:   File "/opt/tinypilot/app/execute.py", line 86, in with_timeout
        Nov 23 07:44:27 kvm python[691]:     raise result.exception
        Nov 23 07:44:27 kvm python[691]: BrokenPipeError: [Errno 108] Cannot send after transport endpoint shutdown
        Nov 23 07:44:29 kvm sudo[1362]: tinypilot : PWD=/opt/tinypilot ; USER=root ; COMMAND=/opt/tinypilot-privileged/scripts/collect-debug-logs -q
        Nov 23 07:44:29 kvm sudo[1362]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=117)
        Nov 23 07:44:33 kvm python[1395]: 2023-11-23 07:44:33.669 app.main        INFO Starting app
        Nov 23 07:44:33 kvm python[1395]: 2023-11-23 07:44:33.745 db.store        INFO Loading database migrations from /opt/tinypilot/app/db/migrations/*.sql
        Nov 23 07:44:33 kvm python[1395]: 2023-11-23 07:44:33.749 db.store        INFO Read 7 database migrations from disk
        
        1. CBill @copperleaf
            2023-11-23 12:54:32.517Z

            And the update log

            TinyPilot update logs
            
            uStreamer configuration
            ==> /opt/ustreamer-launcher/configs.d/000-defaults.yml <==
            # Settings for an HDMI to USB video capture dongle.
            ---
            ustreamer_encoder: hw
            ustreamer_format: jpeg
            ustreamer_resolution: "1920x1080"
            
            ==> /opt/ustreamer-launcher/configs.d/100-tinypilot.yml <==
            
            uStreamer logs
            Nov 23 07:38:35 kvm systemd[1]: ustreamer.service: Scheduled restart job, restart counter is at 4.
            Nov 23 07:38:35 kvm systemd[1]: Stopped uStreamer - Lightweight, optimized video encoder.
            Nov 23 07:38:35 kvm systemd[1]: Started uStreamer - Lightweight, optimized video encoder.
            Nov 23 07:38:35 kvm launch[2451]: /opt/ustreamer-launcher/launch: line 46: yq: command not found
            Nov 23 07:38:35 kvm systemd[1]: ustreamer.service: Main process exited, code=exited, status=127/n/a
            Nov 23 07:38:35 kvm systemd[1]: ustreamer.service: Failed with result 'exit-code'.
            Nov 23 07:38:35 kvm systemd[1]: ustreamer.service: Scheduled restart job, restart counter is at 5.
            Nov 23 07:38:35 kvm systemd[1]: Stopped uStreamer - Lightweight, optimized video encoder.
            Nov 23 07:38:35 kvm systemd[1]: ustreamer.service: Start request repeated too quickly.
            Nov 23 07:38:35 kvm systemd[1]: ustreamer.service: Failed with result 'exit-code'.
            Nov 23 07:38:35 kvm systemd[1]: Failed to start uStreamer - Lightweight, optimized video encoder.
            -- Boot 7ec2ef3498f0470f8a5399ad9bb7fb73 --
            Nov 23 07:38:48 kvm systemd[1]: Started uStreamer - Lightweight, optimized video encoder.
            Nov 23 07:38:49 kvm launch[539]: + exec /opt/ustreamer/ustreamer --port 48001 --persistent --h264-sink tinypilot::ustreamer::h264 --h264-sink-mode 777 --h264-sink-rm --encoder hw --format jpeg --resolution 1920x1080
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.521      main] -- Starting PiKVM uStreamer 5.43 ...
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.521      main] -- Using internal blank placeholder
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.521      main] -- Using H264-sink: tinypilot::ustreamer::h264
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.522      main] -- Listening HTTP on [127.0.0.1]:48001
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.522    stream] -- Using V4L2 device: /dev/video0
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.522    stream] -- Using desired FPS: 0
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.522      http] -- Starting HTTP eventloop ...
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.522    stream] -- H264: Initializing encoder ...
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.530    stream] -- H264: Configuring encoder: DMA=0 ...
            Nov 23 07:38:49 kvm launch[539]: ================================================================================
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.550    stream] -- Device fd=10 opened
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.551    stream] -- Using input channel: 0
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.552    stream] -- Using resolution: 1920x1080
            Nov 23 07:38:49 kvm launch[539]: -- ERROR [9.552    stream] -- Could not obtain the requested format=JPEG; driver gave us MJPEG
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.552    stream] -- Falling back to format=MJPEG
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.552    stream] -- Using format: MJPEG
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.553    stream] -- Using HW FPS: 0 -> 60 (coerced)
            Nov 23 07:38:49 kvm launch[539]: -- ERROR [9.553    stream] -- Device doesn't support setting of HW encoding quality parameters
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.553    stream] -- Using IO method: MMAP
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.567    stream] -- Requested 5 device buffers, got 5
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.572    stream] -- Capturing started
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.572    stream] -- Using JPEG quality: encoder default
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.572    stream] -- Creating pool JPEG with 1 workers ...
            Nov 23 07:38:49 kvm launch[539]: -- INFO  [9.572    stream] -- Capturing ...
            Nov 23 07:38:50 kvm launch[539]: -- INFO  [9.772    stream] -- H264: Configuring encoder: DMA=0 ...
            Nov 23 07:39:44 kvm launch[539]: -- INFO  [51.082      http] -- HTTP: NEW client (now=1): [10.10.1.137]:53082, id=a08784bdd0a2944d
            -- Boot 0e2ade8e449741ff96b318606032dc19 --
            Nov 23 07:41:08 kvm systemd[1]: Started uStreamer - Lightweight, optimized video encoder.
            Nov 23 07:41:09 kvm launch[549]: + exec /opt/ustreamer/ustreamer --port 48001 --persistent --h264-sink tinypilot::ustreamer::h264 --h264-sink-mode 777 --h264-sink-rm --encoder hw --format jpeg --resolution 1920x1080
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.075      main] -- Starting PiKVM uStreamer 5.43 ...
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.075      main] -- Using internal blank placeholder
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.075      main] -- Using H264-sink: tinypilot::ustreamer::h264
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.075      main] -- Listening HTTP on [127.0.0.1]:48001
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.076    stream] -- Using V4L2 device: /dev/video0
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.076    stream] -- Using desired FPS: 0
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.076      http] -- Starting HTTP eventloop ...
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.076    stream] -- H264: Initializing encoder ...
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.083    stream] -- H264: Configuring encoder: DMA=0 ...
            Nov 23 07:41:09 kvm launch[549]: ================================================================================
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.104    stream] -- Device fd=10 opened
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.104    stream] -- Using input channel: 0
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.105    stream] -- Using resolution: 1920x1080
            Nov 23 07:41:09 kvm launch[549]: -- ERROR [10.105    stream] -- Could not obtain the requested format=JPEG; driver gave us MJPEG
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.105    stream] -- Falling back to format=MJPEG
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.105    stream] -- Using format: MJPEG
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.106    stream] -- Using HW FPS: 0 -> 60 (coerced)
            Nov 23 07:41:09 kvm launch[549]: -- ERROR [10.106    stream] -- Device doesn't support setting of HW encoding quality parameters
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.106    stream] -- Using IO method: MMAP
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.122    stream] -- Requested 5 device buffers, got 5
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.133    stream] -- Capturing started
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.133    stream] -- Using JPEG quality: encoder default
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.133    stream] -- Creating pool JPEG with 1 workers ...
            Nov 23 07:41:09 kvm launch[549]: -- INFO  [10.134    stream] -- Capturing ...
            Nov 23 07:41:10 kvm launch[549]: -- INFO  [10.291    stream] -- H264: Configuring encoder: DMA=0 ...
            Nov 23 07:41:15 kvm launch[549]: -- ERROR [15.317    stream] -- Persistent device timeout (unplugged)
            Nov 23 07:41:17 kvm launch[549]: -- ERROR [17.591    stream] -- Persistent device timeout (unplugged)
            Nov 23 07:41:19 kvm launch[549]: -- ERROR [19.955    stream] -- Persistent device timeout (unplugged)
            Nov 23 07:43:40 kvm launch[549]: -- ERROR [43.081    stream] -- Can't decompress JPEG: Not a JPEG file: starts with 0xad 0xcf
            Nov 23 07:43:43 kvm launch[549]: -- ERROR [46.776    stream] -- Can't decompress JPEG: Not a JPEG file: starts with 0x44 0xd0
            Nov 23 07:43:54 kvm launch[549]: -- ERROR [57.883    stream] -- Can't decompress JPEG: Not a JPEG file: starts with 0xf5 0x25
            Nov 23 07:43:56 kvm launch[549]: -- INFO  [59.062      http] -- HTTP: NEW client (now=1): [10.10.1.137]:49602, id=ae99000f1c913b91
            Nov 23 07:43:57 kvm launch[549]: -- ERROR [60.313    stream] -- Can't decompress JPEG: Not a JPEG file: starts with 0x6b 0xa8
            Nov 23 07:44:02 kvm launch[549]: -- INFO  [65.509      http] -- HTTP: DEL client (now=0): [10.10.1.137]:49602, id=ae99000f1c913b91, Connection reset by peer (writing,error)
            Nov 23 07:44:02 kvm launch[549]: -- INFO  [65.770      http] -- HTTP: NEW client (now=1): [10.10.1.137]:54818, id=2f4654e16569a50b
            Nov 23 07:44:09 kvm launch[549]: -- ERROR [72.643    stream] -- Can't decompress JPEG: Not a JPEG file: starts with 0x8a 0xf0
            Nov 23 07:44:09 kvm launch[549]: -- ERROR [72.651    stream] -- Can't decompress JPEG: Not a JPEG file: starts with 0xcd 0x7b
            
            nginx logs
            -- Journal begins at Tue 2023-05-02 20:36:11 EDT, ends at Thu 2023-11-23 07:44:33 EST. --
            Nov 23 07:38:19 kvm systemd[1]: Starting A high performance web server and a reverse proxy server...
            Nov 23 07:38:19 kvm systemd[1]: Started A high performance web server and a reverse proxy server.
            Nov 23 07:38:27 kvm systemd[1]: Reloading A high performance web server and a reverse proxy server.
            Nov 23 07:38:27 kvm systemd[1]: Reloaded A high performance web server and a reverse proxy server.
            Nov 23 07:38:38 kvm systemd[1]: Stopping A high performance web server and a reverse proxy server...
            Nov 23 07:38:38 kvm systemd[1]: nginx.service: Succeeded.
            Nov 23 07:38:38 kvm systemd[1]: Stopped A high performance web server and a reverse proxy server.
            -- Boot 7ec2ef3498f0470f8a5399ad9bb7fb73 --
            Nov 23 07:38:48 kvm systemd[1]: Starting A high performance web server and a reverse proxy server...
            Nov 23 07:38:49 kvm systemd[1]: nginx.service: Failed to parse PID from file /run/nginx.pid: Invalid argument
            Nov 23 07:38:49 kvm systemd[1]: Started A high performance web server and a reverse proxy server.
            -- Boot 0e2ade8e449741ff96b318606032dc19 --
            Nov 23 07:41:08 kvm systemd[1]: Starting A high performance web server and a reverse proxy server...
            Nov 23 07:41:09 kvm systemd[1]: Started A high performance web server and a reverse proxy server.
            
            
            2023/11/23 07:38:24 [notice] 2117#2117: using inherited sockets from "6;7;"
            2023/11/23 07:38:27 [notice] 2189#2189: signal process started
            
          • In reply tocopperleaf:
            David @david2023-11-24 12:37:10.359Z

            Hi @copperleaf, I'm sorry you're running into this USB input issue.

            And thanks for sharing that log. You can also share logs by clicking Get Shareable URL on the logs menu and then pasting the URL, rather than the full text.

            It sounds like there could be a few issues here. So it would be great to rule them out one by one.

            Powering your device directly (instead of through the adapter and splitter) is a great first step. Could try that first and let me know if that resolves the undervoltage message? If it does, we'd need to check your adapter and splitter are also working correctly before moving on to the other issues.

            Hope that helps, please let me know if you have any questions.

            1. CBill @copperleaf
                2023-11-24 12:56:42.334Z

                Thanks for responding. I have a new power supply (3A/microusb) and a usb-c cable arriving tomorrow to replace all the power lines. Here is the link to the new log. Its only reporting the undervoltage from yesterday when I power it directly so I assume that means that powering directly is good.

                https://logs.tinypilotkvm.com/HVihjhC2

                1. In reply todavid:
                  CBill @copperleaf
                    2023-11-25 17:14:22.562Z2023-11-26 18:46:04.269Z

                    Received the updated power supply and cable between the Tinypilot splitter and Pi. Replaced both. I also swapped out the data cable for the mouse and keyboard control. No joy on mouse and keyboard. Seeing a lot of errors related to hid.

                    Log is at https://logs.tinypilotkvm.com/O0iyG2S0

                  • Progress
                    with handling this problem
                  • C
                    Bill @copperleaf
                      2023-11-26 18:51:01.291Z2023-11-27 07:12:05.226Z

                      This afternoon, I tried a different target device. Still no joy on keyboard and mouse. I've also tried multiple RPIs, all 4Bs. Is there a way to test the tiny pilot splitter?

                      1. David @david2023-11-27 12:43:10.391Zreplies tocopperleaf:

                        Thanks for the updates, @copperleaf!

                        Just to make sure I'm up-to-date, you've replaced the power supply and the USB cables that connect to your TinyPilot Power Connector. You've tried multiple Raspberry Pi devices and target machines, but you're still encountering issues with mouse and keyboard control.

                        Is there a way to test the tiny pilot splitter?

                        Unfortunately, there isn't a great way to test your TinyPilot Power Connector in isolation because it's required for both power and data transmission. However, if we confirm that both cables of your USB cables successfully transmit data, that would suggest the issue lies with the TinyPilot Power Connector.

                        Are you able to test that the USB-C cable that connects to your Raspberry Pi can transmit data? i.e. connecting it to a PC and another device to check that data transfer works? Could you also test that the USB cable connecting to the Data port transmits data too?

                        1. C
                          Bill @copperleaf
                            2023-11-28 12:14:28.269Zreplies todavid:

                            Hi David. I'll try out the cables today. Just need to find a micro USB device. I may have one at the office.

                            1. David @david2023-11-28 14:55:27.568Zreplies tocopperleaf:

                              Ok, great! Let me know how it goes or if you have any questions.

                              1. C
                                Bill @copperleaf
                                  2023-12-02 12:45:52.682Zreplies todavid:

                                  I was finally able to test out my cables that I was trying. The USB-C cable was fine, but both my micro-usb cables were not transmitting data. I ordered a new one and it arrived last night and everything appears to be working. Sorry for all the trouble and thanks for the support.

                                  ReplySolution
                                  1. David @david2023-12-04 12:01:38.226Zreplies tocopperleaf:

                                    No trouble at all! I'm glad you're now up and running after swapping out your USB cables.

                                    Feel free to reach out again if you have any questions.