Friday, 27 December 2019

Solved - Av Access USB prevents system boot

In a previous post, I'd detailed my setup of using a  4KEX100-KVM  to extend an unRaid VM to a very remote screen over ethernet.

This has worked out great, with one exception. With the Av Access transmitter USB plugged in to my server, the system would not post. It was necessary for me to unplug the USB, wait for post and unRaid to start booting, then plug the USB back in.

This was a chore, especially as my server sits in my attic and can be a pain to access.

I was living with the issue as thankfully I don't need to reboot too often, but in researching something else recently, I came across a known issue with some older USB devices. It turns out that some USB devices feed +5V back to the host adapter. This can result in some motherboards failing to post - my symptoms exactly.

The extreme solution is to sever the +5V wire in the USB cable (!) but before going that far, I decided to try placing a USB hub inline between the USB host adapter and the transmitter unit. Hey Presto! I can now boot and reboot without issue.

All hail the interweb.


Tuesday, 24 December 2019

Video Surveillance on unRaid

Inspired by everyones favourite unRaid you tuber SpaceInvaderOne's then partially completed series on setting up CCTV in unRaid, I figured it was time to get started on a little bit of home security.

I'd previously worked on building an interface to my legacy Comfort alarm / home control system, and that's fine for basic alarm, but video was always the next step.

SpeaceInvaderOne conducted a basic analysis of cameras and software available, before publishing a walkthrough of how to set up his chosen Shinobi docker. This, along with some other research, started me on my journey. I went ahead and purchased two of the SV3C 1080p PoE cameras he mentioned. These would connected to the spare PoE ports on my Unifi Switch 8 (see my Unify blog post for more details).

I tried installing Shinobi, (before the walkthrough dropped), and failed miserably. In any case, I'd previously researched the area and at the time decided that Blue Iris looked like the best option for scalability and integration.

Saturday, 24 August 2019

UNIFI: The start of something big....


'Dad, the internet's slow!'
'Dad, can you restart the Wifi?'
'Dad, will we ever have WiFi in the kitchen?'

It was getting tiresome. A few years ago, I'd augmented the ISP all-in-one modem/router/WiFi with an Archer wireless router and a couple of Huawei extenders. This was an improvement, but never a satisfactory, long-term solution.

I'd been reading a lot about the Unifi range from Ubiquity and this week bit the bullet and purchased;


The idea was to provide decent wifi throughout the house, with 2x access points connected to the Switch from which they would receive both data and power. As an added bonus, the fully managed switch also supports link aggregation, so I could leverage both ethernet ports on my recently reconstructed MediaServer8.

Despite copious amounts of reading & research, and pre-installing the Unifi Controller Docker on unRaid, setup was not as smooth as it might have been.

Thursday, 15 August 2019

Total Harmony


It was getting quite ridiculous. This is the set of remotes I had built up to control my HT. From right to left; Receiver, NowTV box, PVR, FireTV, BluRay, Projector, Squeezebox, DAC.

It's little wonder no-one else in the family used the system!

In the past, I'd used various Logitech Harmony remotes but all had outlived their usefulness and have been retired. A few months ago, I'd picked up a Harmony Companion set on Amazon warehouse for a steal, but hadn't got around to configuring it all until now.

VM Audio Solution

When setting up VM access over ethernet using the AV Access device, I noted that one issue was the failure of my Harman Kardon Soundsticks to work with the system. Plugging them in to the receiver USB port would result in intermittent but regular screen blanking.

A few readers suggested additional power and I purchased a USB power/data cable, but that didn't work.

Next, I tried a cheap and cheerful external USB soundcard. I plugged this into the receiver and attached some powered speakers. This worked, in that my OSX VM recognised the device immediately and could play audio, but it was annoyingly distorted - just enough crackle & pop to distract.

Next, I tried attaching the USB soundcard directly to the (passed through) USB adapter on the unRaid box. I then passed the audio out to the AV Access transmitter audio in and attached the speakers to the receiver audio out.

Hey Presto, perfect audio*. No crackles, pops, noise or distortion. The lesson here is that with this method of video/IO/audio distribution, the soundcard needs to stay upstream. My SoundSticks are now moved to another workstation where they can be attached to that VMs USB adapter directly.

My final working audio chain is;

PCIe USB Adapter -> USB Audio Card -> AV Access TX Audio In -> AV Access RX Audio Out -> Speakers

*When I say 'perfect', I mean adequate for needs in that system sounds and youtube audio plays just fine. I wouldn't be using this set up for anything close to critical listening.


Friday, 9 August 2019

MediaServer 8.2

It’s been over 5 years since I built MediaServer8, an unRaid based system that looks after not only storage duties, but also hosts my main workstation, manages whole-house audio systems, whole house LiveTV and PVR, home automation and a bunch of other stuff through dockers, VMs and plugins.

The AMD FX8320 based system has been rock solid in all of that time. Indeed, the only problem I’ve ever had occurred in the past week when my dual 1TB spinners assigned to a cache pool started showing millions of unrecoverable BTRFS errors. Fortunately, I rescued my appdata and domains folders in time. My docker image was not so lucky :-(

A few months ago, the itch emerged and, try as I might, I found it difficult to resist the urge to scratch. There was nothing wrong with the system per se, but with ‘only’ 8 cores and 32GB RAM, it was a bit restrictive in the number of VMs I could run simultaneously, and no real scope for growth. I had a particular hankering to virtualise the dual boot Hackintosh the family use daily, as well as a few other utility systems. Threadripper was calling. Here’s how I answered....