tiny-pilot / tiny-pilot/tinypilot

Not able to connect/control Windows properly

Open
#1,742 11 comments 0 reactions 1 assignee View on GitHub

@cghague is already working on this.

Since Feb 13, 2024.

question
Dominant language
Python
Stars
3.5k
Forks
291
PR merge metrics
No merged PRs in 30d

Description

I have the earlier version of the TinyPilot which has a Raspberry Pi 4B.

Raspberry Pi 4B was updated to Bullseye Headless Lite.

Powered via power supply-->USB C.

Data Cable: USB A connected to Windows machine (Microsoft 10 Home, build 19045)

By default, the mouse is the only thing that "works". I narrowed it down to what appears to be how Windows handles these devices but I don't know how to fix it.

If I comment out this line (160): https://github.com/tiny-pilot/tinypilot/blob/master/debian-pkg/opt/tinypilot-privileged/init-usb-gadget#L160
The keyboard works, mouse does not. Leave it alone, uncommented, only mouse works.

Applying these:

echo 0xEF > bDeviceClass  
echo 0x02 > bDeviceSubClass  
echo 0x01 > bDeviceProtocol

from here did not work but maybe it will give someone more familiar with this more insight?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.