From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EBB9015803E for ; Wed, 3 Jan 2024 18:15:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAB1A2BC084; Wed, 3 Jan 2024 18:15:41 +0000 (UTC) Received: from ciao.gmane.io (ciao.gmane.io [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6A9162BC017 for ; Wed, 3 Jan 2024 18:15:41 +0000 (UTC) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rL5mF-0003aj-MI for gentoo-user@lists.gentoo.org; Wed, 03 Jan 2024 19:15:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: udev rule for periodic polling of USB gamepad? Date: Wed, 3 Jan 2024 20:15:32 +0200 Message-ID: References: <0d732025-7951-4cd7-a836-ba75384b72f9@gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird Content-Language: en-US In-Reply-To: <0d732025-7951-4cd7-a836-ba75384b72f9@gmail.com> X-Archives-Salt: 7aeacec9-1e2c-4381-b1c4-113331a0cb53 X-Archives-Hash: ec4fee555fdd4d9522b2c67d3f0e84a1 On 03/01/2024 19:53, Michael Cook wrote: > On 1/3/24 12:33, Nikos Chantziaras wrote: >> Is it possible to have a USB controller (8BitDo Pro 2) polled every >> second or so with a udev rule? Or through some other mechanism? >> >> This controller has a quirk where it disconnects every 4 seconds or so >> and rubmbles when it does so. [...] >> > I do not have this issue. I have the switch on the back of the > controller set to the X position and just connect over bluethooth > without any issues. Mine does not have bluetooth. It's the "wired" version. It also doesn't have switch. Switching modes works by simply holding down one of the buttons when connecting. It auto detects X-Input when connecting it to a PC. Holding down the X button will unfortunately not prevent it from still doing auto-detection stuff when it doesn't get polled for several seconds. > https://codeberg.org/fabiscafe/game-devices-udev I do have these udev > rules installed, unsure if they fix the issue you're talking about. I have those too.