Results 11 to 20 of 195
Thread: Announce: Slimmer
-
2016-07-09, 09:34 #11
- Join Date
- Oct 2013
- Posts
- 113
-
2016-07-22, 14:41 #12
- Join Date
- Oct 2013
- Posts
- 113
Last edited by kingswindsor; 2016-07-23 at 02:05.
-
2016-07-23, 03:27 #13
- Join Date
- Oct 2013
- Posts
- 113
OK I was being dim. Now have progressed but still not getting any evtest reports from the rotary encoder. Any advice gratefully received. The steps I have been through are:-
- reboot
- stop slimmer and pikey
- checked using top
- sudo pikeyd -pu
Config file is /etc/pikeyd.conf
Polling 2 GPIO pin(s).
Found 0 I/O expander(s).
Ready.
Joystick init OK.
Press ^C to exit.
- Open new terminal
- check running via top - OK
- tce-load il evtest
- evtest /dev/pikeyd
.....................
Event code 250 (?)
Event code 251 (?)
Event code 252 (?)
Event code 253 (?)
Event code 254 (?)
Event code 255 (?)
Properties:
Testing ... (interrupt to exit)
Twiddle rotary encoder - nothing......
Just as a reminder, the pikeyd.conf file contains
ROT 23 24 KEY_LEFT KEY_RIGHT
Any obvious mistakes?
-
2016-07-25, 05:21 #14
- Join Date
- Jan 2016
- Location
- Hungary
- Posts
- 73
-
2016-10-09, 23:45 #15
- Join Date
- Oct 2016
- Location
- Netherlands
- Posts
- 10
Very nice development Balázs,
I have been experimenting with this over the weekend, but was not able to get it to work unfortunately.
The issue seems to be with pikeyd.
I work on an RP 3B, and apparently the original pikeyd does not work on this board.
I'll post the link in my second post (since I am new to this forum and this is my first post, I am not allowed to share a URL yet :-), but it comes down to this:
On RPi2 and RPi3 the GPIO_PERI_BASE address has changed from 0x20000000 to 0x3f000000.
So just change #define GPIO_PERI_BASE in joy_RPi.c to 0x3f000000 and it will work like a charm on a RPi3 (couldn't test it on a RPi2)
Seems to be a simple fix, but unfortunately I lack knowledge and skills to adapt your pikeyd to work on the RP3 (and 2).
would you be able to incorporate that fix and share with the community?
Thanks, best regards,
Niels
-
2016-10-09, 23:46 #16
- Join Date
- Oct 2016
- Location
- Netherlands
- Posts
- 10
And here's the link:
https://github.com/mmoller2k/pikeyd/issues/3
Best regards,
Niels
-
2016-10-10, 00:14 #17
- Join Date
- Jan 2016
- Location
- Hungary
- Posts
- 73
-
2016-10-11, 06:40 #18
- Join Date
- Oct 2016
- Location
- Netherlands
- Posts
- 10
Great! looking forward to test.
Best,
Niels
-
2016-10-11, 10:24 #19
- Join Date
- Oct 2016
- Location
- Netherlands
- Posts
- 10
Hi Balázs,
As it seems also lcdproc-server has this issue. I replaced the hd44780.so driver in lcdproc-server.tcz with a patched version I found, and have the display running now.
Best regards,
Niels
-
2016-10-11, 23:32 #20
- Join Date
- Jan 2016
- Location
- Hungary
- Posts
- 73