linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* I2C: can't detect Adafruit Mini I2C Gamepad on Linux - other devices detected
@ 2025-04-11  5:21 Michael Opdenacker
  2025-04-11 15:44 ` Michael Opdenacker
  0 siblings, 1 reply; 5+ messages in thread
From: Michael Opdenacker @ 2025-04-11  5:21 UTC (permalink / raw)
  To: Anshul Dalal; +Cc: michael.opdenacker, linux-input, linux-i2c

Hi Anshul

I contact you as the maintainer for the Adafruit Mini I2C Gamepad driver.

I'm trying to use the Adafruit Seesaw I2C gamepad in my embedded Linux 
training courses, to demonstrate driving I2C hardware, and the gamepad 
would be perfect to play an ASCII Pac-Man clone 
(https://github.com/michaelopdenacker/myman 
<https://github.com/michaelopdenacker/myman>).

Even before your driver is loaded, the device has to be detected. My 
problem is the gamepad is never detected on Linux (running "i2cdetect -r 
<num>"), while other I2C devices connected to the same bus are, proving 
that the bus is correctly enabled. This happens on all these boards 
running recent kernels:
- BeaglePlay (Linux 6.14.2!)
- BeagleBone Black
- Raspberry Pi5

I double checked my gamepads (I have 4 of them) and wires: they work 
fine on Arduino Uno.

Any clue why none of my 4 gamepads are never detected while two other 
types of I2C devices are detected on the same bus, and the same gamepads 
work on Arduino Uno?

Maybe something stupid but I'm running out of clues...

You can also have a look at the questions I asked on the Adafruit forums 
and the pictures I shared:
https://forums.adafruit.com/viewtopic.php?p=1052577#p1052577

Cheers
Michael.

-- 
Michael Opdenacker
Root Commit
Yocto Project and OpenEmbedded Training course - Learn by doing:
https://rootcommit.com/training/yocto/


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-04-11 19:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-11  5:21 I2C: can't detect Adafruit Mini I2C Gamepad on Linux - other devices detected Michael Opdenacker
2025-04-11 15:44 ` Michael Opdenacker
2025-04-11 15:57   ` Wolfram Sang
2025-04-11 17:34     ` Michael Opdenacker
2025-04-11 19:21       ` Wolfram Sang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).