Missing button presses
-
@Efriim wow that sounds insane. I write stories for nosleep on reddit and it sounds very similar to them!
I tried the voltage thing and get back:
volt=1.2000V
-
I fixed it! New Raspberry Pi firmware sorted it. How weird is that! My bluetooth keyboard worked fine on it before the update, so was sure it was going to be a problem with the gamepad section.
-
On a new reboot (from cold) it's happening again. Emulation station is taking up 20% CPU when not doing anything. Looking it up it should only use 6%, so wonder if that's got anything to do with it.
-
@canispeaktodave so apparently it's my dongle for my keyboard. With it not plugged in, it has the issue, with it plugged in, it's fine. What the hell does that mean?
-
@canispeaktodave
I thought about it for a while. You're right that should have given you the voltage back, that must not be the problem. You're the server guy, try htop, and press f6 to sort. I plugged in my RPI, it barely uses 1% on one core, until the screensavers kick in. Can you deduce what is using the cpu?
Ahh I see, you said emulationstation, I was thinking it was a pooled value for when you were in emulation station. If there isn't any labeled processes that can help us trouble shoot, did you find out if there is an arduino inside? -
@Efriim yeah there's an Arduino inside. I can see it under the battery. Could the pi be polling the USB for input? I plugged in a random dongle and it's fine. Could it be a short on the usb socket? I'm happy it works now with the dongle in. But would prefer it to work without it in.
-
@canispeaktodave
I can't think of a lot, if there is something polling the controller constantly it should show up in htop, if you can plug in the keyboard to access the CLI...If you overclock, or overvolt the cpu. Having an undervolt could be the problem too, if the CPU cant get the power it needs it may "borrow" and drop out responsiveness to the usb or the arduino controller.
maybe check the /etc/rc.local to see if there is anything unnecessary, mine is mostly empty except for the safeshut-down-script for my case
-
This site might have an answer https://www.google.com/search?q=gameboy+zero+button+issue+site:sudomod.com
I read a few pages. You said you were using a different charger? It needs to be 5V and something like 1-3A
-
@canispeaktodave said in Missing button presses:
I tried the voltage thing and get back:
volt=1.2000VI'm thinking, my raspberry pi is powered through the gpio, probably much like your battery.
When the CPU scaler takes over for a process the cpu will demand more voltage, you might get 1.25000V or more if you are in the middle of a process or if you have force_turbo enabled. I get 1.3875V On my RPI, when this happens I can hear the fan inside die down a little, and when I set higher overvolt/overclock values the voltage skews, and I can hear the fan almost whine/rattle.
I read that longer cables and different powersupplies lose some voltage, so my 5.0V PSU may be generating something closer to 4.9V.You probably don't want to overclock your device just yet, but it doesn't hurt to check the /boot/config.txt to see whats in there.
You said there was %20 process being taken away on idle, you could check using htop from the command line, to figure out what scripts are running.
If this is an undervoltage as I guessed at, there is still a multitude of possible suspects, considering the multitude of interfaces attached to the board, the usb polling seems just as likely and even related. There is a way I'm sure to configure the Voltage used on the GPIO, but since the GPIO is also the powersource I can't really guess at how to go about regulating everything.
And then... something soldered could be at fault.
-
Thanks guy. I'll see if I can remove any services. Is it possible to remove the USB from being a valid source for a controller?
-
@canispeaktodave There's a handy entry in the FAQ on how to disable a particular USB device. If that's too much, you can always you the configuration editor and choose the controller order - i.e. P1 to be 2nd controller and P2 to be 1st controller (USB) - so P1 could be always the 2nd controller.
-
@mitu That's great, thank you.
-
@canispeaktodave Hi, I have an lcl piboy allso and am so happy to learn here that with a dongle in the usbport, the dropped button presses are over! It really makes a huge difference! Thanks for the tip. Did you eventualy come up with a perminent solution or did you stuck with a dongle in the usb port?
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.