Pi4B - Mouse / Keyboard BrokenPipeError
strukiii opened this issue · comments
Description
I've setup my raspberry pi 4 b (Raspberry Pi OS (Legacy, 32-bit ) Lite) with a usb-c to usb-a cable to the target pc's usb 3.0 port, ran a fresh installation (get-tinypilot.sh) and am seeing video but no mouse / keyboard forwarding. The other issues mentioning these specific errors have been on different unsupported pis, and the guy using usb-a to usb-a, but I'm using the 4b and the correct cable. Also, the websocket connection is working correctly verified with devtools. Also maybe noteworthy, I'm solely relying on power from the usb3.0 port, but am not seeing the low voltage errors.
What's the behavior that you expect?
Mouse / keyboard emulation
What's happening instead?
No mouse / keyboard movement
What are the steps to reproduce this behavior?
- Open TinyPilot in Chrome
- move mouse around
Logs
The dev-scripts folder does not exist.
carter@raspberrypi:/opt/tinypilot $ ls
app COPYRIGHT LICENSE README.md requirements.txt scripts venv VERSION
carter@raspberrypi:/opt/tinypilot $ cd scripts
carter@raspberrypi:/opt/tinypilot/scripts $ ls
install-bundle is-ssh-enabled render-template streaming-mode update-service upgrade
Update - I've tried the setup on my main PC and it works fine. The target PC is an acer aspire TC-605 from 2014 so might be causing troubles?
@db39 - Can you see if you can help?
Hi @strukiii, I'm sorry you're running into this input issue.
Thanks for sharing those logs! I can't see anything in there that points to the cause of the issue, unfortunately.
My first thoughts were that the USB-C to USB-A cable could be one that doesn't support data transfer (which is frustratingly common - e.g., with power-only cables intended for charging phones), which we've seen in the past. But since this works on another machine with the same cable, it's likely a different issue.
Have you tried other USB ports on your Acer machine, particularly front / rear IO? There's a chance there's an issue with some ports on your machine.
If that doesn't work, can you try connecting some other USB device to your Acer to check that it recognizes other USB devices correctly? If you have a USB hub you could test, that would be ideal, since that's how TinyPilot appears to target machines.
Please let me know if you have any questions.
Thanks for your time helping me out and looking into it @db39. Turns out I must've been using a no data transfer usb when testing with the acer, then used a data transfer cable with the main pc. I used a short one to the acer in hopes of keeping the setup compact, then tested the main pc with a longer data cable. My bad on that, should've been more diligent in my testing.