GameSir-G7 idle disconnect
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
Aug 11 06:03:49 tas kernel: usb 3-2: Product: GameSir-G7 HE Controller
for Xbox
Aug 11 06:03:49 tas kernel: usb 3-2: Manufacturer: Guangzhou Chicken Run
Network Technology Co., Ltd.
Aug 11 06:03:49 tas kernel: usb 3-2: SerialNumber: 0000DB5BD7582679
Aug 11 06:03:49 tas kernel: input: Generic X-Box pad as
/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:07:00.3/usb3/3-2/3-2:1.0/input/input97
Aug 11 06:03:49 tas mtp-probe[14676]: checking bus 3, device 79:
"/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:07:00.3/usb3/3-2"
Aug 11 06:03:49 tas mtp-probe[14676]: bus: 3, device: 79 was not an MTP
device
Aug 11 06:03:49 tas mtp-probe[14697]: checking bus 3, device 79:
"/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:07:00.3/usb3/3-2"
Aug 11 06:03:49 tas mtp-probe[14697]: bus: 3, device: 79 was not an MTP
device
<..>
Aug 11 06:04:31 tas kernel: usb 3-2: USB disconnect, device number 79
Aug 11 06:04:32 tas kernel: usb 3-2: new full-speed USB device number 80
using xhci_hcd
Aug 11 06:04:33 tas kernel: usb 3-2: New USB device found,
idVendor=3537, idProduct=1065, bcdDevice= 6.40
Aug 11 06:04:33 tas kernel: usb 3-2: New USB device strings: Mfr=1,
Product=2, SerialNumber=3
Aug 11 06:04:33 tas kernel: usb 3-2: Product: GameSir-G7 HE Controller
for Xbox
Aug 11 06:04:33 tas kernel: usb 3-2: Manufacturer: Guangzhou Chicken Run
Network Technology Co., Ltd.
Aug 11 06:04:33 tas kernel: usb 3-2: SerialNumber: 0000DB5BD7582679
Aug 11 06:04:33 tas kernel: input: Generic X-Box pad as
/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:07:00.3/usb3/3-2/3-2:1.0/input/input98
Aug 11 06:04:33 tas mtp-probe[14773]: checking bus 3, device 80:
"/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:07:00.3/usb3/3-2"
Aug 11 06:04:33 tas mtp-probe[14773]: bus: 3, device: 80 was not an MTP
device
Aug 11 06:04:33 tas mtp-probe[14794]: checking bus 3, device 80:
"/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.0/0000:03:08.0/0000:07:00.3/usb3/3-2"
Aug 11 06:04:33 tas mtp-probe[14794]: bus: 3, device: 80 was not an MTP
device
I suspect this is some type of idle timeout and attempted a udev rule
but this is not working:
$ cat /etc/udev/rules.d/99-gamesir-g7.rules
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="3537",
ATTR{idProduct}=="1065", ATTR{power/control}="on"
Any help would be appreciated
Reply to: