Controlling the TP-LINK HS100 Wi-Fi smart plug

[update 7 June 2020] Available now on Docker: https://hub.docker.com/repository/docker/georgovassilis/hs100 [update 27 January 2017] TP-LINK HS100 project on github: https://github.com/ggeorgovassilis/linuxscripts [update 24 October 2016] TL;DR; This is about a shell script which controls the TP-LINK HS100, HS103s, HS110, HS200 Wi-Fi smart power plugs.¬†Other models in that product line may also work (the tplink-smarthome-api project uses a … Continue reading Controlling the TP-LINK HS100 Wi-Fi smart plug

Ubuntu on the Acer Aspire E15 (E5-571G-51TH)

Having failed the 3rd repair attempt at the Thinkpad E540 [1] I gave up and bought the next best laptop from the nearby store that somehow is usable for programming. Behold: the Acter Inspire E15. 8GB RAM, i5, matte screen (1920x1080). It worked out of the box with the SSD transplant from the old Lenovo, … Continue reading Ubuntu on the Acer Aspire E15 (E5-571G-51TH)

Formatting USB flash drives for write speed

Flash drives enjoy a reputation for being fast and that certainly goes for high-end models with their elaborate memory controllers and multi-bank layouts. A fundamental "problem" with current flash memory technology is that writing even a single bit of information requires that an entire block of flash memory is reset first [1], which greatly reduces … Continue reading Formatting USB flash drives for write speed

Reducing power consumption on the HP Probook 4720s and Ubuntu 12.04

As said earlier, Ubuntu 12.04 does a good job with power management on the 4720s. With some manual settings power consumption can be further decreases, albeit not much this time. I wrote this script which takes a parameter: on: enable power management settings off: disable power management settings extra: on + enable extensive power management … Continue reading Reducing power consumption on the HP Probook 4720s and Ubuntu 12.04

Reducing HP 4720s power consumption under Ubuntu Linux 11.10

Mainly annoyed by the loud fan I looked into ways of reducing power consumption of the HP Probook 4720s and came up with this script: #!/bin/sh -e # Increase filesystem write cache timeoutecho 1500 > /proc/sys/vm/dirty_writeback_centisecs # Enable power management on all PCI devices find /sys/devices/pci* -path "*power/control" -exec bash -c "echo auto > '{}'" … Continue reading Reducing HP 4720s power consumption under Ubuntu Linux 11.10

HP Probook 4720s on Ubuntu 11.10 64bit Oneiric Ocelot

The new Ubuntu 11.10 is out as of yesterday, and naturally it is time for another upgrade. Because of the many tweaks [1], [2] I decided for a fresh install, this time directly on the notebook harddisk instead of a flash card. The live ISO worked nicely from the USB stick except for the WLAN, … Continue reading HP Probook 4720s on Ubuntu 11.10 64bit Oneiric Ocelot