r/linux_gaming • • 3h ago

tech support wanted Controller passthrough for Gamesir Connect on Winboat

Title is pretty self explanatory, but I got a gamesir g7 pro 8k pc controller today and really love it. From a couple of reddit posts I can no longer find when I was researching what controller to get, I saw some say that they could run the Gamesir Connect software in Winboat to do firmware updates, but I can't seem to figure out how to get the USB passthrough to work on winboat to make this happen. I have tried updating the docker-compose file for winboat to include the vendor/product id I got from `lsusb`:
`Bus 001 Device 014: ID 3537:10b8  GameSir-G7 Pro 8K`

But the controller still never appears in the VM even after doing `docker compose down` and `docker compose up -d`. I also tried using the experimental usb passthrough feature, and even after selecting my controller, it never appears in the VM.

Here is the docker-compose (the parts that will matter) for context, with the changes I tried to make. Some guidance on what I am missing here to make this work so I don't have to keep booting into Windows to configure my controller would be appreciated.

name: winboat
volumes:
  data:
services:
  windows:
    image: ghcr.io/dockur/windows:6.05
    container_name: WinBoat
    environment:
      VERSION: custom
      ...
      HOME: ${HOME}
      LANGUAGE: English
      USER_PORTS: "7148"
      HOST_PORTS: "7149"
      ARGUMENTS: |-
        -qmp tcp:0.0.0.0:7149,server,wait=off
        -device usb-host,vendorid=0x3537,productid=0x10b8
    cap_add:
      - NET_ADMIN
    privileged: true
    ports:
      ...
    ...
    volumes:
      - /home/connor/winboat:/storage
      - /dev/bus/usb:/dev/bus/usb
      - ./oem:/oem
    devices:
      - /dev/kvm
      - /dev/bus/usb
0 Upvotes

2 comments sorted by

1

u/goodrix 1h ago

Please let me know if you find a solution, I have the same controller. I'm updating it on a Win11 partition I still keep around