Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
RetroStone controller takes a long time to be seen
#1
Hello, 

My Stone was working but now has an odd problem. When I turn it on it boots to ES, and now says the gamepad was not found.
If I press any built-in buttons it is not seen. If I wait about 50-60 seconds it works.

If I ssh in to the unit, I can see that js0 is missing in "dev/input" and after about a minute it will show up there on it's own.
pi@RetrOrangePi:/dev/input$ ls
event0 event1 mice mouse0
pi@RetrOrangePi:/dev/input$ ls
event0 event1 event2 js0 mice mouse0


Also if I run sudo jstest /dev/input/js0, It will not find the Retrostone Controle unit about a minute. After that all buttons work.
pi@RetrOrangePi:/dev/input$ sudo jstest /dev/input/js0
Driver version is 2.1.0.
Joystick (RetroStone Controle) has 2 axes (X, Y) and 14 buttons (BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR, ?, ?).
Testing ... (interrupt to exit)
Axes: 0: 258 1: 32767 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off 13:off


If I connect an external USB gamepad and reboot, The Stone will see the external gamepad right away but still takes about 50-60 seconds to see the built-in controls.

Any Ideas? (I have re-flashed the SD card a few times, and used different cards)
(Using the RetrOrangePi_4.2_FULL_Armbian_5.59_Retrostone_Debian_jessie_default_3.4.113_desktop)

Thanks.
Reply
#2
Looks like the gpio service is waiting for some other service (maybe network) to finish. It's not easily reproducible so hard to troubleshoot.

try running "sudo h3consumption" then rerun it with the network disabling parameter , i wonder if it will make any difference.
Reply
#3
Thank alexkidd,

That did not help. I also disabled (one at a time) the GPU/HDMI and all USB ports. Also did not help. (I modified the Reboot_RS.sh to enable the GPU/HDMI and USB PORTS, if I locked myself out of the system.)

Is there a log I can look at that shows me what is happening at boot that may show what is hanging?

Thanks
Reply
#4
for now i can suggest is removing the service and running it from elsewhere

so you can try
sudo systemctl disable tz_gpio

then
sudo nano /etc/rc.local

add "sudo /usr/bin/python /home/pi/RetrOrangePi/GPIO/drivers/gpio_retrostone.py &" before exit 0, save, quit, reboot
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  RCLONE on Retrostone? Dahak 5 679 06-10-2019, 08:09 PM
Last Post: qu1que
  Selling limited edition blue retrostone aj_efff 2 1,106 05-15-2019, 05:56 AM
Last Post: luckithroe
  TFT-CARBON theme for Emulation Station on the Retrostone qu1que 3 1,814 05-13-2019, 08:38 PM
Last Post: luckithroe
  RetroStone: Kodi Black Screen with Sound in Video luckithroe 5 1,020 04-09-2019, 12:09 AM
Last Post: alexkidd
Exclamation Retrostone supreme 1.3 no speaker sound GARRETTGRENIER 0 566 02-28-2019, 01:17 PM
Last Post: GARRETTGRENIER
  New **Update** Supreme Retrostone image v1.3 Régalad 55 27,144 02-17-2019, 05:10 AM
Last Post: lhymes
Question Retrostone and SteamLink Saidrog 0 628 02-11-2019, 11:43 PM
Last Post: Saidrog
  how to modify the switch-off time since the low battery led lights up? qu1que 1 822 12-25-2018, 10:41 PM
Last Post: marauder
  Retrostone N64 secondd 3 2,136 12-04-2018, 10:16 AM
Last Post: secondd
  How to run Scummvm games on retrorangepi for retrostone??? ramonpks 12 3,778 10-24-2018, 12:48 PM
Last Post: ramonpks

Forum Jump:


Users browsing this thread: 1 Guest(s)