[Solved] Gem L/R Button issue

smoki86
Posts: 97
Joined: Sat Jul 30, 2016 7:45 am
Has thanked: 12 times
Been thanked: 47 times

[Solved] Gem L/R Button issue

Post by smoki86 » Sun Mar 03, 2019 5:45 am

Hey Kite,

I just added some L/R buttons:
- measured the buttons to the pads on the gem
- measured L to Pi pin 27 (ID_SD??)
- measured R to Pi pin 15 (GPIO 22)
- L pad goes to ground when L button is pressed
- R pad goes to ground when R button is pressed
- pin 27 goes to ground when L button is pressed
- pin 15 goes to ground when R button is pressed

L button can be mapped, R button cant.

Any idea ?
Last edited by smoki86 on Fri Mar 08, 2019 2:32 pm, edited 1 time in total.

User avatar
smoscar01
Posts: 20
Joined: Fri Jun 01, 2018 8:21 pm
Has thanked: 11 times
Been thanked: 6 times

Re: Gem L/R Button issue

Post by smoscar01 » Sun Mar 03, 2019 10:49 am

I have the same problem on my build, and I noticed there's continuity between the R and Ground test pads when pressing the button.

Not sure if I did something wrong.

smoki86
Posts: 97
Joined: Sat Jul 30, 2016 7:45 am
Has thanked: 12 times
Been thanked: 47 times

Re: Gem L/R Button issue

Post by smoki86 » Sun Mar 03, 2019 11:01 am

If you have the exact same problem my guess is a software issue :)
I already resoldered the PI pins a few times, reflowed everything with a heat gun, removed the connector and used the pins out of desperation ^^

User avatar
Strider
Posts: 29
Joined: Fri Feb 16, 2018 9:03 pm
Location: Elsewhere
Has thanked: 20 times
Been thanked: 4 times

Re: Gem L/R Button issue

Post by Strider » Sun Mar 03, 2019 2:11 pm

Okay, maybe it's not just me then. I can't get R to work either, I was going to use the surface pads rather than the JST connector once I had more time to fiddle. L works just fine.

User avatar
kite
Posts: 852
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 223 times
Been thanked: 286 times
Contact:

Re: Gem L/R Button issue

Post by kite » Mon Mar 04, 2019 4:10 am

Ah hmm, let me look in to this!

EDIT: According to the code it is using GPIO22, I'll need to do some more digging tonight and I'll update

User avatar
kite
Posts: 852
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 223 times
Been thanked: 286 times
Contact:

Re: Gem L/R Button issue

Post by kite » Tue Mar 05, 2019 1:45 am

Just to update, I haven't solved the issue but it is def 100% a software thing. For example if you run "sudo gpio readall" it will show all the GPIO states, and GPIO22 toggles as expected, but software isn't picking it up.. haven't found the cause yet but might take a little bit longer as it wasn't as simple as I had hoped!

Created a github issue to track it: https://github.com/kiteretro/Circuit-Gem/issues/2

smoki86
Posts: 97
Joined: Sat Jul 30, 2016 7:45 am
Has thanked: 12 times
Been thanked: 47 times

Re: Gem L/R Button issue

Post by smoki86 » Tue Mar 05, 2019 8:30 am

Thanks kite! I have soldered my cables back to the pads now and will await your update :)

User avatar
kite
Posts: 852
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 223 times
Been thanked: 286 times
Contact:

Re: Gem L/R Button issue

Post by kite » Tue Mar 05, 2019 3:15 pm

Found the issue! :) I have updated the software only (haven't uploaded a new image yet) so you can get the fix by following the update instructions: https://github.com/kiteretro/Circuit-Ge ... re-updates

If anyone here could report back if it worked I would appreciate it :)

smoki86
Posts: 97
Joined: Sat Jul 30, 2016 7:45 am
Has thanked: 12 times
Been thanked: 47 times

Re: Gem L/R Button issue

Post by smoki86 » Wed Mar 06, 2019 3:19 am

Confirmed :)
Thank you!

User avatar
kite
Posts: 852
Joined: Thu May 12, 2016 4:30 am
Location: UK
Has thanked: 223 times
Been thanked: 286 times
Contact:

Re: Gem L/R Button issue

Post by kite » Wed Mar 06, 2019 4:06 am

smoki86 wrote:
Wed Mar 06, 2019 3:19 am
Confirmed :)
Thank you!
Great! I have put a new image up too! If you've done the 'update' then there's no need to re-image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest