
But you can’t power a 3.5″ drive with the SATA cable that comes with the Cubieboard2 and as I had a bit of a deadline I returned it for a 2.5″ drive and that works like a charm. Of course I bought a 3.5″ drive first because those are cheaper. I also tried with my Raspberry Pi’s but those had the same issues. I first tried a USB drive but the Cubieboard2 just couldn’t provide enough juice to power the drive properly together with the WiFi dongle. But with the help of the hostapd-rtl871xdrv GitHub repo I managed to cook up a fully working hostapd Debian package. Next hurdle was hostapd that stopped working with this alternative driver. I quickly dropped this iffy set-up as it just didn’t work out that well and ended up using a DKMS based solution that made it possible to control power management of the WiFi dongle.
#REALTEK 8192CU DRIVER OPTIONS WHAT DO THEY DO DRIVER#
WiFi worked out of the box but the rtl8192cu driver of the 3.16 kernel for the Realtek RTL8192CU chipset has the tendency to quickly go into suspension and as this driver doesn’t have any power management options I ended up with a hacky for loop in /etc/rc.local that pings all IP’s in the DHCP range. Luckily I had just received some ultra-cheap PCM2704 USB audio interfaces and these worked and sounded great too. The board booted with the standard kernel but unfortunately no sound. Putting a bog standard Debian Jessie on the Cubieboard2 was quite straightforward with the help of the wiki.

