No mouse, no keyboard
Thanks for a great product.
I'm trying it out for the first time.
- November release
- Hobbyist kit (minus the prebuild sd card)
- 16GB sd card built with BalenaEtcher
- Chromebook either mirrored or extended screens
- Firefox on Windows used to access https://tinypilot.local/
- I have changed the ssh password but done nothing else interesting that I recall
- USB cables seem to be securely attached
The video is transmitted and clearly visible in the browser. But it seems that no mouse or keyboard activity is reaching the Chromebook.
The logs do repeatedly mention the following which I suspect is the problem:
Dec 21 21:33:39 tinypilot python[691]: [2021-12-21 21:33:39,111] ERROR in socket_api: Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected?
Dec 21 21:33:41 tinypilot python[691]: Process ProcessWithResult-91:
Dec 21 21:33:41 tinypilot python[691]: Traceback (most recent call last):
Dec 21 21:33:41 tinypilot python[691]: File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
Dec 21 21:33:41 tinypilot python[691]: self.run()
Dec 21 21:33:41 tinypilot python[691]: File "/opt/tinypilot/app/hid/write.py", line 45, in run
Dec 21 21:33:41 tinypilot python[691]: result.return_value = self._target(*self._args, **self._kwargs)
Dec 21 21:33:41 tinypilot python[691]: File "/opt/tinypilot/app/hid/write.py", line 64, in _write_to_hid_interface_immediately
Dec 21 21:33:41 tinypilot python[691]: with open(hid_path, 'ab+') as hid_handle:
Dec 21 21:33:41 tinypilot python[691]: PermissionError: [Errno 13] Permission denied: '/dev/hidg1'
Dec 21 21:33:41 tinypilot python[691]: [2021-12-21 21:33:41,583] ERROR in socket_api: Failed to forward mouse event: Failed to write to HID interface: /dev/hidg1. Is USB cable connected?
... repeating forever...
It seems there are a lot of variables to consider. What should my first steps be to narrow this down?
J.
- JJason @jasonnet
I've taken a few more steps.
I switched to Chrome from Firefox. No change.
I booted the TinyPi from the factory-provided sdcard. No change.I unplugged it from the Chromebook and plugged it in to a Windows laptop and probably rebooted the TinyPi. The remote mouse and keyboard work.
I unplugged it from the Windows laptop and back in to the Chromebook and the remote mouse works, but not the remote keyboard. Fortunately the Chromebook automatically offers an on-screen keyboard that the mouse can use.
If replug to the Chromebook, it might or might not be missing the keyboard or mouse. The same is true for the Windows laptop.This seems unreliable. Where should I be investigating.
J.
- UIn reply tojasonnet⬆:@understandingTiny
Try disabling the virtual storage mount capability.
- In reply tojasonnet⬆:Michael Lynch @michael2021-12-29 16:05:59.333Z
Sorry for the delay, @jasonnet. We resolved this issue via email, correct?
- JIn reply tojasonnet⬆:Jason @jasonnet
I believe I have successfully disabled virtual storage mount using instructions I found elsewhere in this forum. I didn't do an careful, thorough before+after test, but after probably disabling the storage mount I was able to click to change focus and type in to fields. That was good enough for what I wanted to do.
Thanks for the help and follow up.