public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Nikos Chantziaras <realnc@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] udev rule for periodic polling of USB gamepad?
Date: Wed, 3 Jan 2024 19:33:17 +0200	[thread overview]
Message-ID: <un45ot$2tu$1@ciao.gmane.io> (raw)

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. It also changes device number when this 
happens. It does this because it tries to auto-detects the kind of 
system it has been plugged into (like an XBox, Android, a Nintendo 
Switch, whatever.)

Support for this controller was added in kernel 6.3 or so, but the 
support is extremely half-assed because it doesn't deal with this 
specific quirk. Currently on 6.6.9 here but this was never fixed.



             reply	other threads:[~2024-01-03 17:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-03 17:33 Nikos Chantziaras [this message]
2024-01-03 17:53 ` [gentoo-user] udev rule for periodic polling of USB gamepad? Michael Cook
2024-01-03 18:15   ` [gentoo-user] " Nikos Chantziaras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='un45ot$2tu$1@ciao.gmane.io' \
    --to=realnc@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox