Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Setup Hotkey With Dedicated Hardware Button? #117063
    kdbdallas
    Participant

    Thanks.

    Did you use the python code and crontab that is listed?

    I just tried that and it reboots the machine, instead of exiting the emulator…

    kdbdallas
    Participant

    For those asking here is what I did:

    I did a: sudo apt-get update and: sudo apt-get upgrade
    I did a firmware upgrade: sudo rpi-update
    I turned on the setting in sudo raspi-config
    I also did a git pull on the ControlBlockService2 repo and there were a bunch of updates there since when I grabbed it a week ago. So I then had to do a: make clean, then do all the steps to compile and install it again.
    After that I was able to set the config file with the correct type of ’snes’.

    I restarted and then before even trying the onscreen setup I logged in via SSH and ran jstest /dev/input/js0 (or js1) and checked to see if the buttons were being detected, and luckily for me they were!

    Hope that helps.

    kdbdallas
    Participant

    This got it working for me!
    The key seemed to be the enabling of SPI interface and the SPI kernel module on boot via raspi-config.
    Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)