Use OpenElec on Raspberry Pi with Hyperion

I recently updated my Raspberry Pi in the living room. I used Rasbmc as an easy to use XBMC distribution. However, there will be no update for Rasbmc once XBMC is replaced by KODI. You are then forced to use OSMC. As I also use Hyperion as server for my WS2801 LED stripes behind the TV I’m not sure if Hyperion will work with OSMC. Therefore, it was time to look for an alternative.

This is where OpenElec comes into play. Its a Linux distribution optimised for use with XBMC and is not that easily customizable if you want your Rasbperry to serve other purposes as well. But that’s not my concern, as I just intend to use it as XBMC client.

There is already a nice tutorial available on the OpenElec Github page. However, I had some serious issues with Hyperion and I want it to document, should I ever reinstall again.

Hyperion tries to connect to the XBMC JSON RPC api to get information about the current status of XBMC. This includes the information for active screensavers or just idling in the main menu. If I just use the instructions from the Github page, I was not able to deactivate my background lights while I was in the XBMC main menu. I’ve found two issues in the Github Project but only one was really helpful:

You have to activate and deactivate the Remote and local control of XBMC, only then is Hyperion able to connect to XBMC and only then it will get the right status information. Now it finally obeys the configuration and disable the background lights when its in the main menu.

PS: Don’t let yourself be fooled by the colors from the attached picture. The white balance picked it wrong up and it was also to a time where I did not calibrated colors for Hyperion 🙂 It looks much better in reality 😉

Windows 8.1 and Intel USB 3.0 eXtensible Host Controller code 10

Sometimes my desktop computer does not recognize its attached devices on its USB 3.0 ports. This is especially annoying when you use these ports for your input devices and you are not able to login to your computer.

I’ve ran a few times into this problem, but never found a real working solution to fix this problem. You can still use the USB 2.0 ports for the input devices, so you are able to login again. When you look at your device manager, you will see an yellow exclamation mark on the

Intel USB 3.0 eXtensible Host Controller

and if you look at its device details you will see an error code 10. A research on the internet showed me that other people are also affected by this, especially in combination with Windows 8.1 (while Windows 7 and Linux pose no problem).

First of all, there was this official Microsoft page for troubleshooting and installation of USB 3.0 devices. IT gave me no new clues and was therefore useless. Then I was full of joy when I found this page in the MSDN blogs from one of the engineers at Microsoft responsible for the USB 3.0 stack in Windows 8. However, while providing much technical background and tips for debugging, it did not help me with my particular code 10 error. If you search the page for “code 10” you will also find two people desperately looking for a solution, so I’m not alone with this problem. Another excellent technical resource was this page. While providing also a few ideas for what to look for, his ultimate idea was to install the Windows 8.1 update (which I already installed).

So nothing really helped me here. My earlier tries blamed the problem on the integrated USB 3.0 hub of my Dell U2713HM monitor, but it would not help to disconnect the hub and power for a clean reboot. I then thought I could find a better driver on the Asrock page for my Z77E-ITX board but that did not help either.

Only working solution I came up with was to uninstall the controller and to reboot the computer. After this reboot, the controller was reinstalled and worked again. I honestly don’t know what went wrong here, but it is a real annoying thing and I hope that coming Windows updates will fix this.

Dell U2713HM connection problems with Macbook Pro 5,5 over Mini DisplayPort

Yet another tip for the international reader 🙂

After some years with my old Samsung Syncmaster 205BW, I decided to invest into a new big screen with sufficient possibilities to connect all my computers while avoiding dual or triple monitor setups. After testing several 23 and 24 inch screens, I decided to buy a Dell U2713HM from an Amazon Warehouse deals promotion. This screen is really amazing and I cannot live without its WQHD/2560*1440 resolution 🙂

But to use this high resolution, you must connect it to your computer or mac via DualLink DVI or Mini DisplayPort. HDMI and VGA or even normal DVI are only usable up to FullHD/1920*1080. So I could easily use the supplied DualLink DVI Cable to connect my PC (with an Nvidia GTX 660 TI) and my old Macbook Pro 5,5 over its Mini DisplayPort.

While the PC connection is without problems, the DisplayPort tends to forget that there is an external screen attached. The screen will change between black and standard gray/blue from the Mac OS X 10.8. It is not possible to use the external screen until I disconnect and reconnect the Mini DisplayPort cable. Only then, my Mac realizes that there is an external screen and uses it in its native resolution.

This problem originates in the DDC/CI support of this monitor. With DDC/CI it is possible to control your screens settings from your PC/Mac without the use of the screens OSD. While this looks tempting, I would have never used this feature. That is why I decided to deactivate the support in the Dell OSD.

You can deactivate this option in the settings menu of the Dell screen under the point “Other settings”, then DDC/CI set to disable.

Suddenly, everything works again and my Mac detects the screen without any problems, even when it wakes up and DisplayPort wasn’t selected as source in the monitor.

Neues Projekt: Synology DS213+

Heute habe ich mir einen lang gehegten Wunsch erfüllt: Ich habe mir ein Synology DS213+ NAS System zugelegt. Dazu habe ich dann gleich noch 2* 3TB Festplatten von Western Digital verbaut (WD30EFRZ, speziell für NAS Systeme ausgelegt). Das Teil soll zentral Dokumente verwalten, Sichern und verschiedene Medien bereitstellen. Auslöser für den Kauf war die ständig steigende Bilderflut durch meine Digitalkameras und der Wunsch alles etwas besser abgesichert zu wissen.

Das Gerät steht momentan bei mir auf dem Schreibtisch und überprüft die Integrität der Festplatten. Man will ja schließlich Hardwarefehler von vornherein so gut es geht vermeiden. Ansonsten gibt es zur Einrichtung des Geräts erst einmal nicht viel zu erzählen. Man packt das Gerät aus, schraubt die beiden Festplatten in schwingungsgelagerte Plastikrahmen und startet dann das System. Wenn das Gerät einmal gepiepst hat (was nach etwa 2 Minuten der Fall war) kann man mit der Konfiguration fortfahren.

Das System selber konfiguriert man über den Browser. Dabei sieht die Oberfläche im Browser beinahe so aus wie Mac OS X! Man fühlt sich also direkt wohl. Allerdings muss man erst einmal die Webseite aufrufen. Dies geschieht über den Aufruf von http://find.synology.com. Dort läuft dann ein Scan im lokalen Netzwerk nach dem NAS System ab. Wie das genau funktioniert frage ich mich noch immer. Leider gibt der offizielle Blog Post von Synology da auch keine Auskunft drüber. Wie dem auch sei, es funktioniert und leitet einen dann auf die entsprechende IP und Port des Geräts im lokalen Netzwerk hin um.

Ein eigentliches Review des Geräts möchte ich an dieser Stelle nicht machen. Das haben schon genügend andere Leute vor mir gemacht. Statt dessen will ich etwas über die Erfahrungen während der Konfiguration dieser Maschine erzählen. Gleichzeitig dient es mir dabei natürlich auch als Gedächtnisstütze, sollte ich mal wieder etwas vergessen haben 😉 Den Anfang macht dabei gleich ein kurzer Post über eine ziemlich elementare Frage: Synology DS213+ – RAID 1 oder SHR?

How to enable Xbox 360 Audio over HDMI connection

I was trying to connect my Xbox 360 to my shiny new Sony Bravia KDL-46EX720BAEP Flatscreen. I thought it would be sufficient to plugin a HDMI cable and I would be all set. The screen was immediately detected, but I heard no sound from the console. It took me a few minutes to find this awesome hint which allowed me to hear sounds from the Xbox 360 again:

You have to disable the automatic screen detection inside the Xbox 360 console settings. The console will restart and after this restart I was able to hear again.