Go to advanced search

by bushrat
Wed Jan 18, 2017 11:48 am
Forum: Compute Module
Topic: CM Smartphone (PiCMo Phone)
Replies: 0
Views: 616

CM Smartphone (PiCMo Phone)

Preface It's been a while since I've posted here but I was curious about a project that I don't know if anyone else has thought about. A while ago I read a writeup about the PiPhone which is rather ad-hoc, using an original Raspberry Pi and a lot of zipties. After reading about the release of the n...
by bushrat
Sat Dec 05, 2015 12:19 pm
Forum: Gaming
Topic: Nintendo DSi + Pi Zero
Replies: 15
Views: 17036

Re: Nintendo DSi + Pi Zero

I plan on putting a Pi inside a 3DS XL. One thing I would suggest, which I plan on doing is getting a Teensy. You can program it as a USB controller. This will allow you to use the DSi buttons. Also, the reason why I'm looking at the 3DS XL is that the top screen in 4.88" and you can get a 5" HDMI ...
by bushrat
Fri Dec 04, 2015 12:46 pm
Forum: Gaming
Topic: Nintendo DSi + Pi Zero
Replies: 15
Views: 17036

Re: Nintendo DSi + Pi Zero

On some DS models, the way it detected open/closed was a magnet detector placed opposite one of the loudspeakers... Now that's an idea, it surely wouldn't be too expensive to purchase one of those? I might buy a couple (or even fashion some myself) and that will add back the functionality. Cause su...
by bushrat
Fri Dec 04, 2015 11:18 am
Forum: Gaming
Topic: Nintendo DSi + Pi Zero
Replies: 15
Views: 17036

Re: Nintendo DSi + Pi Zero

On some DS models, the way it detected open/closed was a magnet detector placed opposite one of the loudspeakers... Now that's an idea, it surely wouldn't be too expensive to purchase one of those? I might buy a couple (or even fashion some myself) and that will add back the functionality. Cause su...
by bushrat
Fri Dec 04, 2015 5:02 am
Forum: Gaming
Topic: Nintendo DSi + Pi Zero
Replies: 15
Views: 17036

Re: Nintendo DSi + Pi Zero

Ok so a quick update, I've done a full teardown of my DSi and it really is a shame that I can't use the battery, charger and charging circuit. It is very neat and well organised and just gives a positive and negative for 4.6V, so I'm saving that gear for another project down the line. I've decided t...
by bushrat
Tue Dec 01, 2015 11:56 pm
Forum: Gaming
Topic: Nintendo DSi + Pi Zero
Replies: 15
Views: 17036

Nintendo DSi + Pi Zero

Hello Raspberry Pi community, long time no see :D After finding a much unloved Nintendo DSi in a storage crate almost exactly after reading about the Pi Zero's release, I've decided I would like to build a Zero into the case and retain as much of the original DSi aesthetics as possible. So I'm going...
by bushrat
Tue Nov 12, 2013 2:54 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

I'm trying to develop a modified version of this utility that translates keystrokes, I can get it to compile and run ok but it's not finding the /dev/uinput device. If I try and run 'sudo modprobe uinput' then i get the following error: ERROR: could not insert 'uinput': Exec format error Does anyon...
by bushrat
Sun Sep 08, 2013 1:35 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

Those buttons should work nicely, now how many buttons do you need? Because I believe you've said you'd want 11 buttons. If that is correct the. You shouldn't have to much issue with that as there are plenty of GPIO pin on the Pi. But the joystick is different. It doesn't work like the buttons do. T...
by bushrat
Sat Aug 03, 2013 2:14 pm
Forum: Python
Topic: text editor or compiler
Replies: 10
Views: 8357

Re: text editor or compiler

I highly recommend Geany, it's a very simplistic yet fully featured IDE (Integrated Development Environment) that works great in Python and many other languages, should you ever have the urge to learn, say, HTML, JavaScript, C++, etc. Also, its completely open source, free and cross-platform to, mea...
by bushrat
Thu May 30, 2013 2:05 am
Forum: Python
Topic: bluetooth import
Replies: 2
Views: 27888

Re: bluetooth import

How did you install BlueZ? Like this:

Code: Select all

sudo apt-get install bluetooth
If so, and I know it's a real cliche by now, try turning your Pi off and on again, you never know :)
by bushrat
Wed May 29, 2013 7:56 am
Forum: Raspbian
Topic: uinput Key Repeat
Replies: 3
Views: 2989

Re: uinput Key Repeat

I believe the term is "bump"
by bushrat
Mon May 27, 2013 7:32 am
Forum: Raspbian
Topic: uinput Key Repeat
Replies: 3
Views: 2989

Re: uinput Key Repeat

Does anyone have any idea about what's going on? :?:
by bushrat
Sun May 26, 2013 6:24 am
Forum: Raspbian
Topic: uinput Key Repeat
Replies: 3
Views: 2989

uinput Key Repeat

Ok, I'll get straight to the point, uinput doesn't do key repeating, and it's very annoying. Basically, I've been using 2 bits of software, pikeyd (https://github.com/mmoller2k/pikeyd) and python-uinput (https://github.com/tuomasjjrasanen/python-uinput) both of which are completely unrelated, except...
by bushrat
Thu May 23, 2013 1:57 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

Hey guys, a quick question to anyone who has this software currently working, can anyone get key repeat working in any program/command line? By this, I mean, if anyone holds there button/switch down/closed, does the key keep pressing? e.g: gggggggggggggggggggggggggggggggggggggggggggggggggggggggggggg...
by bushrat
Mon May 20, 2013 10:46 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

No prob mmoller2k :)
by bushrat
Mon May 20, 2013 10:15 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

After having a chat with mmoller2k, we've nutted out a slightly neater circuit diagram for anyone looking to hook up an I2C chip to their Pi. Here it is:
Wiring 3.png
An updated I2C diagram.
Wiring 3.png (11.06 KiB) Viewed 5844 times
I hope this helps some ol' chap somewhere :)
by bushrat
Mon May 20, 2013 5:02 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

Well, I just tested the software using the latest update, no luck. As far as I can tell, the update didn't help. In my efforts to try and solve it myself, I looked through config.c and and uncommented the debug comments. The software can definitely can tell when I'm pressing and releasing the button...
by bushrat
Thu May 16, 2013 11:55 am
Forum: Raspbian
Topic: Pretty boot
Replies: 8
Views: 6843

Re: Pretty boot

If anyone found this thread is looking for a quick tutorial on how to do this using fbi, try this:

http://www.edv-huber.com/index.php/prob ... i-raspbian

Good luck :D
by bushrat
Wed May 08, 2013 9:50 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

#joy.cfg #format: # [keycode from /usr/include/linux/input.h] [whitespace] [GPIO pin no] # Not limited to a single key. A GPIO press will emit all defined keys in order. KEY_7 17 Instead of writing: KEY_7 17 Try: KEY_7 11 Leave you button hooked up to the same pin, just change the number.
by bushrat
Wed May 01, 2013 12:51 pm
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

before you press ^C, does the button work? If not try each of these, testing between: A) In your config, change "KEY_7" to "7" B) Try "sudo modprobe uinput" before starting pikeyd C) Have a cup of Hot Chocolate and watch a nice film D) Take a quick power nap E) Reboot your Pi F) Reboot your Pi, exce...
by bushrat
Wed May 01, 2013 12:39 pm
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

pi@raspberrypi ~/Desktop/tastiera $ sudo pikeyd Config file is /etc/pikeyd.conf Polling 1 GPIO pin(s). Found 0 I/O expander(s). Ready. Joystick init OK. Press ^C to exit. That's correct and it seems fine. But, instead of going to a text editor, just start PiKeyD and press your button and see if it ...
by bushrat
Wed May 01, 2013 12:22 pm
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

Have you also done this?

"edit /etc/modprobe.d/raspi-blacklist.conf
and remove or comment out
#blacklist i2c-bcm2708"

If you have and its still not working, could you post the contents of your pikeyd.cfg
by bushrat
Wed May 01, 2013 12:06 pm
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

Thanks bushrat for your reply, but where i can find: uinput i2c-dev Thanks a lot in advance It's really simple, cause /etc/modules is actually a text file (.txt) so all you need to do is do: "sudo nano /etc/modules" This opens the file in nano (a command line text editor) Then all you do is add: ui...
by bushrat
Tue Apr 30, 2013 4:10 pm
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

Imercantanti, I believe to solve your problem, just read this: "Usage: pikeyd [option] Options: -d run as daemon -k try to terminate running daemon -v version -h this help Install notes. If you're using Raspbian wheezy add the folowing to /etc/modules: uinput i2c-dev edit /etc/modprobe.d/raspi-black...
by bushrat
Thu Apr 25, 2013 2:32 am
Forum: Gaming
Topic: Universal GPIO keyboard daemon
Replies: 148
Views: 62709

Re: Universal GPIO keyboard daemon

"Yes, it needs the uinput module. Load this manually with 'modprobe uinput', or automatically by adding 'uinput' to /etc/modules. Then you need to run it as root, with perhaps the -d switch to make it ran as a daemon. Adding the line '/usr/local/bin/pikeyd -d' to /etc/rc.local makes it run as root a...

Go to advanced search