PS3 BD BT Remote

Once upon a time I've made XBMC based HTPC... And as any proper HTPC mine should also have a remote control.

Since my TV is Sony, the choice was obvious - Sony PS3 BD BT Remote - both remotes are almost the same which makes HTPC looks aesthetic.

Then however I've realised that despite being recognized as a generic HID keyboard, keys mapped to buttons aren't seen by Xorg (XInput to be precise). Second issue i found was related to battery power. Don't know how PS3 is properly handling it but I solved the problem by suspending the HID via explicit teardown of BT link.

Tue Oct 6 22:01:43 2009 Upd.: Sun Mar 5 13:33:03 2017

In continuation to this

DLV is gone. mobi zone is not yet signed. What to do? Wait and be prepared

Wed Dec 9 23:08:21 2015

Small footprint web server

Nowdays we're all concerned about environment and our impact on it. At the same time security concerns do not allow our conscience to agree on these cloud bells and whistles.

Luckily we have now available at the consumer segment low profile and power consumption platforms like Raspberry PI and others. Compare 1-2W of raspberry to at least 10-20W of any other HTPC. Such platforms however have certain resource restrictions.

Sun Nov 15 23:11:47 2015

PS3 BD BT Remote on Bluez5

Being tired of background noise caused by active cooling on HTPC, moved it off to Raspberry PI (B+).

As time moves forward there appears plethora of mobile apps for any platform doing convenient remote control of Kodi and its library. Hence I've actually stopped using PS3 BD BT remote.

Nevertheless recently decided to dust it off and connect again (using BT dongle on RPI)

Fri Oct 30 15:20:31 2015 Upd.: Sat Nov 14 14:11:16 2015

IPSec with DNSSEC v2

Back to our business. On 11 Oct a patch to enable DNSSEC protected DANE CERTs was merged to StrongSWAN's upstream so now you can have interoperability between racoon and strongswan if you need to use CERTs for easy deployment.

The approach is pretty the same, only with StrongSWAN you have additional DNSSEC validation (racoon blindly trusts underlying DNSSEC implementation).

Sat May 10 12:03:26 2014

BlueZ 5

Life goes on, everythng changes. With new bluez tree fakehid was completely wiped out from bluetoothd userspace. Now, thanks to David Dillow ps3bt code lives in HID kernel code since commit 5844c1cdb630b537a2ecdf74dab2985e51dc1bd9. Let see how it works...

Sat Nov 10 23:17:31 2012 Upd.: Sat Oct 5 15:16:20 2013


Since future has come, we need to pace ahead and utilize its merits. One of the benefits of having DNSSEC is independence in making own certs (with DANE) and simplified roll-out of those certs (with CERT RR).

Wed Aug 14 08:43:41 2013

PulseAudio - Connecting the fridge

Granted the fridge has audio components of course...

Now, once we have our audio bus on Jack's shoulders, we can read more good ideas on how to live in this changing world.

Sat Jun 16 09:13:54 2012 Upd.: Sat Aug 3 12:08:37 2013

Package cleanup: tiny hints

If you use some system for long enough, passing through various release upgrades, installing and uninstalling packages - basically living and using - your system might start be bloated with various remnants of dependencies, unneeded packages, dragging back some relicts or even blocking some new deps. Very unpleasant fact.

Sat Jan 26 17:57:42 2013 Upd.: Sat May 25 10:04:36 2013

GPT - doing things right

To be honest - I'm absolutely not an authority to teach how to do things right in GUID Partition Table. But I did it wrong, and I corrected it, so maybe someone will find it useful.

Wed May 8 23:41:10 2013

Glibc IPv6 bug

While working on jack IPv6 network stack I've trapped onto bizarre getaddrinfo() behaviour - it was returning me address families in wrong order for passive nameless request. It appears people were trapping onto this bug since 2009 (at least that far I found references to this behaviour in mail-lists).

Mon Mar 4 00:06:35 2013 Upd.: Sat Mar 9 11:05:16 2013

System Jack Service

What if we want to set jack to be system service? I know, I know, I read all the fine manuals and a reason behind avoiding system sound daemon, whether it is pulse or jack. But hey - this is my PC, don't tell me what I cannot do!

Sun Feb 3 02:14:31 2013 Upd.: Sat Feb 9 21:31:57 2013


In such a small setup something like pim or mospf is just too much, however i found that igmpproxy is just too little for me. So I'm using smcroute. This daemon is for static multicast routing which is just what I need for my single-router home setup. One minor issue though - startup for this piece of software is really poor.

Sun Feb 21 18:59:02 2010 Upd.: Sat Feb 9 14:51:46 2013


Quality of service may be not as critical part of home network as connectivity and security, however could really help of you're using some realtime services like VoIP

The same approach is used here for QoS setup, script below simply applies predifened set of tc rules:

Sun Feb 21 18:51:22 2010 Upd.: Sat Feb 9 14:51:35 2013

Network device without IPv6? Nonsense, I tell you. Look which year it is. If your ISP is retarded - keep the pace with

IPv6 Tunnel Broker

Sun Feb 21 18:16:34 2010 Upd.: Sat Feb 9 14:51:15 2013

ifupdown and dhclient for ipv6

If you're using dhcp for both ipv4 and ipv6 on ubuntu with wifi/wpa_supplicant you might have faced with weird issue with ifdown trying to release v6 (or v4, depends on ordering) lease and it finally hangs - since previous address family already brought interface down.

Fri Dec 28 12:27:32 2012 Upd.: Sat Feb 9 14:50:45 2013


Once upon a time I've made XBMC based HTPC... oh, sorry, you know that story, do you?

Well, next thing I found was that pulseaudio was not working (it is really poorly documented, and that time I didn't have a clue how to deal with it). So I removed pulse leaving XBMC on pure ALSA. Which was working perfectly till it became too limited for me and my audio preferences. This was a time I got acquainted with JACK.

Now I can handle easily and conveniently pulseaudio, after breaking my head through scattered across the internet information, but it is the subject for another story. Because first we need to bind together XBMC and JACK using...

Fri Jun 15 11:43:12 2012 Upd.: Sat Feb 9 14:47:33 2013


Well, you know my attitude to the wierd "complex" stuff guys are tending to make from pure, clean and perfect by itself iptables rules. I really can't get it. So here it is.

Sun Feb 21 18:10:52 2010 Upd.: Sat Dec 22 21:51:27 2012


Here I'm just listing some upstart scripts I've written to manage tasks not assumed by default configuration


I dont want to use some weird bloatware just to install couple of rules I need to protect my machine. So here we go...

Sat Jan 10 02:04:21 2009 Upd.: Wed Dec 19 00:21:33 2012
© ruff 2011