Setup Mopidy on Cubox

This worked for me when installing Mopidy on my Cubox-i with Arch Linux.

Follow the usual installation steps, or use pip to install mopidy. Install any additional plugins you might need with pip2, such as Mopidy-Spotify (if you are installing spotify you need libspotify).
Now do any required configuration.

Finally it is necessary to configure mopidy to use HDMI as output. In order for this to work the alsasink for gstreamer is needed, which is part of the gstreamer0.10-base-plugins package, and set ‘output = alsasink‘ as described here. My /etc/asound.conf is setup as follows:

Setup WIFI on HP Deskjet 3070a without WPS

I have long been annoyed by our broadband provider (and wifi router supplier) disabling WPS on our router. But today I found out that it is actually possible setup the printer without a WPS capable router!

Run the hp-setup tool and select Wireless/802.11 while the USB cable is connected from the printer to your computer, and you should be able to set up the WIFI connection for the printer (you might need enable WIFI on the printer first).

Solution found here

Realtek Direct Connect

If you are having problems with the current version of Realteks direct connection software, this might help you. I found several problems in their install script, which has been fixed in the script below.

Installing Rasbian headless on a model A Raspberry Pi

I recently bought Raspberry Pi type A, i.e. the edition with only one USB connector and no Ethernet socket.
I wanted to connect to the device through a WIFI card (Edimax Nano – EW-7811Un), which turned out to be surprisingly easy:

1. Setup Rasbian on a SD card
2. Edit /etc/network/interfaces and add the following lines and uncomment anything else regarding wlan0 (inspired by):

Now simply put the SD card into the Pi and start it, it should automatically connect to the WIFI network you have described in the interfaces file.
Some suggests that more configuration is required, but that does not seem to be necessary, at least not any more.

Raspbmc Relax Boot Loop

I recently had an issue with a new install of Raspbmc. In the end it turned out to be an issue with the .xbmc folder and was resolved by renaming it (this means that a new will be created during start-up, and you old data will no longer be used).

There appears to be a lot of issues which can lead to the “Relax Boot Loop”, so to test if this is your issue as well stop the xbmc instance sudo initctl stop xbmc, then edit “/scripts/xbmc-watchdog.sh”. Look for the line which looks like this:

to:

The start the xbmc instance sudo initctl start xbmc and check /tmp/log, if it contains something like “terminate called after throwing an instance of ‘dbiplus::DbErrors'” try renaming the .xbmc folder.

Test PCTV Quatro Stick nano 520e

I have recently bought a PCTV Quatro Stick nano 520e, here is some notes about it.


Testing with dvbstream

For some reason tzap does not seem to function all that great with the 520e, but I managed to get a signal out by doing the following:

The first three numbers relate to the last tree numbers in the channels.conf file, e.g. created by w_scan. The first seems to video signal, the second audio, the third is some kind of service id.
-f is the frequency argument.
-n 180 means that 180 seconds will be recorded.
-o means output to file.

Example snippet from channels.conf:

KDE’s kaffeine can also be used for testing.


Other notes

The device seems to be using the DVB-C frontend by default, however, using tzap will make the device switch to DVB-T.

Known bugs
I intended to use the 520e with my Raspberry Pi for viewing and recording TV, however, there is a problem with the RPI and USB transport streams. Hopefully work on this problem will start soon.

Update (10/11-2013): I have recently had good results using Raspbmc, which contains a patch which actually makes the Quatro stick close to usable. Occasionally errors still occurs, specially when the RPi is loaded by other processes, e.g. playing a video.

RPI: SBS Subtitles for XBMC

XBMC has problems displaying subtitles when showing SBS 3D movies, they are only rendered once in middle of the two images, which makes them unreadable. Luckily ktrz created a patch and posted it in this thread. I build Openelec with the patch and works fairly well. By clicking the blue button on your remote or the ‘b‘ key on you keyboard it changes to 3D mode, and supports both horizontal and vertical SBS.

If you want to try the build I compiled it is available for download here.

Java and firefox and chrome

If Chrome doesn’t automatically detect java after this do:

Just a note for myself.

Update alternative

Use the following to choose between the installed atlernatives: