Issue with Teensy LC & Raspberry Pi
-
I am attempting to create my own handheld Retropie device. Retropie works fine with any controller on my Raspberry Pi 4 (4 GB). I am attempting to use a Teensy LC however, I have attempted using several different code repos. Including the example File>Teensy>UBS_Joystick>Complete code. They all work when I test on joy.cpl but when I connect the Teensy to the Raspberry Pi, RetroPie is stuck on the Press and Hold A button screen. Nothing will register.
My Setup is:
Board: Teensy LC
USB Type: Serial + Keyboard + Mouse + Joystick
Port: I have tried both Teensy Port & Serial PortI am stuck as to why this works in the joy.cpl test but nothing happens in RetroPie.
I would appreciate any help.
Thanks.
-
Is your device recognized as a gamepad ? Run
cat /proc/bus/input/devices
and see if it's listed as a gamepad/joypad. -
@mitu said in Issue with Teensy LC & Raspberry Pi:
cat /proc/bus/input/devices
It does not appear so. I received an array of 3 items. However they all appear to be my Apple Extended USB Keyboard.
How can I get the raspberry pi to recognize my teensy as a gamepad?
-
@cpmender said in Issue with Teensy LC & Raspberry Pi:
How can I get the raspberry pi to recognize my teensy as a gamepad?
Usually the device should advertise itself as a joystick input device or a driver would recognize it and configure it. Did you install any driver ?
Post the output of thecat
command here - run it with only the device plugged in. -
Okay so I figured out what was going on. I had two micro-usb cords, one was connected to my RaspberryPi and one to my laptop. The issue was with my micro-usb to the RaspberryPi, it was powering the Teensy LC but not reading it.
I switched the cords and it started working on the RaspberryPi.
You can imagine how frustrated I was, given I am new to all this.
Thanks for your help Mitu!
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.