/images/avatar.png

awsh.org

morse code in c

Well, its been a long time since I last wrote a blog post. I’ve set up a new site and moved over a few old posts, but I can’t seem to find the time to write up anything I’ve been working on. A few weeks ago I passed my Technician, General, and Amateur Extra exams, so I am now officially a licensed amateur radio operator. I still don’t have a radio, but I did pick up two of the CW Pixie kits and built a 40m dipole.

install kodi on an amazon fire tv stick

Edit: There are now better ways to get kodi on a fire tv stick by using adbFire. During last week’s Amazon Prime Day, I picked up a Fire TV HDMI stick for cheap. As far as media players go, I’ve got an HTPC running Kodi, an Asus Oplay Air, a Chromecast, and a Roku stick. For my use case, I mostly stream my own videos from a network share and for the longest time, the Oplay was the best media player for that.

enable miracast on nexus 6

I picked up a Fire TV HDMI stick during last week’s Amazon Prime Day and the built in streaming/casting wasn’t working with my Nexus 6. It turns out the Nexus 6 doesn’t have miracast enabled by default, but it can be enabled in the android build.prop file. To enable miracast you must be root. You can then edit /system/build.prop using either a text editor or a build.prop editor app. Add persist.

auto mute audio when headphones are unplugged

Here is a nifty acpi script to mute audio when you unplug your headphones. Save it as ~/.unplug-mute.sh 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 #!/bin/bash 2 3 case "$1" in 4 jack/headphone) 5 case "$3" in 6 plug) 7 amixer set Master unmute 8 amixer set Headphone unmute 9 ;; 10 unplug) 11 amixer set Master mute 12 ;; 13 esac 14 ;; 15 esac Then edit /etc/acpi/events/headphone-plug to:

ir remote with arch linux and lirc

I have an HTPC running Kodi (Formerly XMBC) and I’ve been trying to get an old IR remote working with it. I’ve got Kore on android currently controlling Kodi, but I wanted to see if I could get an old Microsoft Media Center PC’s IR receiver to work. I used one of these receivers: I couldn’t find the actual MCE remote that went with the receiver, so I used this Sony DVD player remote, but any remote should work.

linksys wrt54g as serial wifi adapter for arduino

For one of my upcoming projects, I will need to exchange data between a server and an arduino wirelessly. I have a few NRF24L01 RF tranceivers that would work, but I’d need another arduino or raspberry pi with another NRF24L01 hooked up to my server. I’d like to avoid that. Wi-Fi would be ideal, but I don’t want to wait on an ESP8266 module from China and Wi-Fi shields are expensive.