I’ve used some WS2801 LEDs for notification on my Magicmirror build. Unfortunately with the update to Raspbian stretch they were no longer working with the MMM-Pilights module which used the rpi-ws2801 node module.
With the help of Hubs I printed a custom case for all the components. I designed the basic parts in Adobe Illustrator and exported them to SVG. The resulting layers are imported to 123D Design. Because the units are messed up after the export of Illustrator I needed to customize the SVGs and add a transform attribute to each SVG Group (see the corresponding reddit thread)
To play some old computer games with RetroPie I installed retrosmc on my Raspberry Pi running OSMC.
I was trying to play the retro game “Wacky Wheels” with DOSBox. Unfortunately my USB Gamepads were not able to handle the configuration of the input. So I wrote a small python script which maps gamepad inputs to keyboard inputs.
The script is shown below. It is executed with the start-script of “Wacky-Wheels” in “/home/osmc/RetroPie/roms/pc”:
You will need to configure a Lircmap.xml file and place it in /home/osmc/.kodi/userdata folder.
If there is none avaialable there, take the default one from here
and modify it.
Keep only one entry and make sure that the LIRC button names are correct (keep onet hat has KEY_LEFT, KEY_RIGHT, etc. in it).
Make sure you use the same name for the remote device name with the one configured in /etc/lirc/lircd.conf (if it’s generated, the name is the path where it was created. Feel free to rename it to something more handy, like ‘myremote’)
More info here: http://kodi.wiki/view/Userdata/lircmap.xml27
Place the edited Lircmap.xml file in the /home/osmc/.kodi/userdata/Lircmap.xml and then restart kodi (or the RPi).
I’ve remounted my TFT touch display and connected it to another Raspberry Pi. During the installation process I realized, that the FBTFT Kernel is now Device Tree enabled, this makes the installation and configuration process a lot easier. (https://github.com/notro/fbtft/wiki#install)
With the integration of the FBTFT drivers in the Raspberry Pi kernel (https://github.com/notro/fbtft/wiki) it is no longer neccessary to install notro’s FBTFT kernel.
I run in some problems with the display showing no content. The backlight was on but there were no image visible. I was able to fix the problem by setting the GPIO configuration fixed and not automatically: