[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: GameSir-G7 idle disconnect



Hi,

Thomas Southerland wrote:
> I'm running debian sid and purchased a wired usb game controller for gaming.
> The controller configures fine when plugged in and works using lutris
> flatpak without issue.
> When not in use, it constantly disconnects and reconnects:
> Aug 11 06:03:47 tas kernel: usb 3-2: USB disconnect, device number 78
> Aug 11 06:03:49 tas kernel: usb 3-2: new full-speed USB device number 79 using xhci_hcd
> Aug 11 06:03:49 tas kernel: usb 3-2: New USB device found, idVendor=3537, idProduct=1065, bcdDevice= 6.40
> Aug 11 06:03:49 tas kernel: usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> I suspect this is some type of idle timeout and attempted a udev rule but
> this is not working:

I would rather suspect a problem with the hardware.
Disconnecting is normally an action of the attached device, not of the
driver. 

  https://docs.kernel.org/6.0/driver-api/usb/power-management.html#what-is-power-management
mentions "autosuspend" but i cannot find an example of a system log
message which would announce such an action.


> $ cat /etc/udev/rules.d/99-gamesir-g7.rules
> ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="3537",
> ATTR{idProduct}=="1065", ATTR{power/control}="on"

This systemd rule is supposed to disable autosuspend.
This supports the suspicion that the disconnect is not caused by
the operating system.


Have a nice day :)

Thomas


Reply to: