Posts Tagged: hardware


6
Nov 08

MBWE Fuel Gauge -> Speedometer conversion

The Fuel gauge on the front of my MBWE is fairly useless, noone cares, so why not repurpose it as a speedometer?

first, stop it displaying the “fuel” Stolen from http://kyyhkynen.net/stuff/mybook/reduce_disk_usage.php

Disable the service that displays the disk usage with the leds in the front panel of your MBWE. Admit it, the feature is pretty much useless and because the service has to check the amount of free space on the disk(s), it is causing disk access.

In order to prevent the service from starting during boot, edit /etc/init.d/S15wdc-fuel-gauge. Comment out this line:

$FGD &

Then stop the service:

# /etc/init.d/S15wdc-fuel-gauge stop
Once all thats done, this is my script (The ultimate in lazy)
#!/bin/bashINITIAL_RX=`cat /sys/class/net/eth0/device/net:eth0/statistics/rx_bytes`sleep 10FINAL_RX=`cat /sys/class/net/eth0/device/net:eth0/statistics/rx_bytes`DELTA_RX=`expr $FINAL_RX - $INITIAL_RX`KBPS_RX=`expr $DELTA_RX / 10240 ` let "RESULT = $KBPS_RX / 3"echo $RESULT > "/sys/devices/platform/wdc-leds/leds:wdc-leds:fuel-gauge/brightness"
The 3 in there is the scaling factor between the kbps download and the number of lights on. Since I'm not often downloading any faster than about 400kbps, and when i am im not really worried about i 0 to 100: lights one led (5 o’clock) 100 to 150: lights two leds (5 and 7 o’clock) 150 to 200: lights three leds (5, 7 and 9 o’clock) 200 to 250: lights four leds (5, 7, 9 and 11 o’clock) 250 to 280ish: lights five leds (5, 7, 9, 11 and 1 o’clock) 280ish and more: lights all leds. I have the whole thing running as a cronjob every 5 minutes, do that urself

14
Sep 08

Long Extended Break: Hardware Update


So, gonna do a quick write up on my current setup.

Ok, from the top:
Linksys WRT54GL DD-WRT v24 std firmware (also running on the bottom right screen)
Generic Wireless headphones (not used since i heard someone else on the channel :P )
top screens : Windows server 2008 AMD Athlon X2 64 6000+ on an Nvidia MCP 65 based motherboard carrying 6GB, with the dangerous RAID 0 arrangement of two 500GB sata drives and an IDE 320GB for essential backups. (this system is hidden, lol)
The bottom two screens run off of an old Toshiba Laptop that i “repurposed”, more or less the keyboard has been removed and the screen flipped around and re positioned, Intel Celeron something or other, 512 MB memory, 60 GB HDD, running Ubuntu Hardy Heron that i mainly use for chat, downloads, news, system monitoring and notes.
Fairly standard hidden speakers and everythings as hidden so i get to be messy the rest of the time.
As for functionality, i use the laptop as an always on remote access hub that also lets me dial into work from anywhere. Also, since the laptop is keyboard mouseless, I use synergy to automatically start the client on the laptop (using the desktop as the server)
FYI easy enough to set up, just insert this:
/usr/bin/killall synergyc
/usr/bin/synergyc (server)
in these
/etc/gdm/Init/Default
/etc/gdm/PostLogin/Default
/etc/gdm/PostSession/Default
/etc/gdm/PreSession/Default
And this more or less starts and stops the server at every stage of bootup and login (note, you are not going to get to play with BIOS options et al, read the synergy FAQ
Anyway, Otherwise, I’ve been working on alot of bash script that I will post about separatly, but I am going to be learning perl so i will hopefully be using this thing alot more than usual.
Later guys

13
May 08

EEE Update etc


Just got a call from home saying that my EEE was delivered today, now thats what i call super fast delivery, kudos to clove for being so speedy

On another note my dad is cycling from ballymoney in northern ireland to montouliers in the south of france, he has an EEEpc 701 with him and hes been using it to make a blog here


13
May 08

I want

Jeff Han, a researcher at NYU, surpassed himself again with the most georgous multitouch display interface I’ve ever seen (surface/iphone eat your heart out). I always love watching TED talks, and if anyone really wants to see a good reason why Powerpoint should be killed, I’d recomment Hans Roslings talk on global poverty here


12
May 08

Asus EEEpc

Just off the phone with Clove saying that my shiny new black eee 900 is winging its way to my homestead, which unfortunatly is not wer i am, but at least i wont be losing any time for revision (read: have any other reasons not to study)

I have to say I’m really disappointed with Asus’s attitude to they’re british customers regarding the battery issue and i really cant say any more about it except that were paying above the board globally, and not getting an equivalent product and an even less equivilant service.

Nevertheless I’ll be installing Ubuntu as soon as i get my grubby little mits on it, and will hopefully get some pictures, maybe actually get off my ass and do a how to. Might install an internal bluetooth mod aswell…..

On a brighter note, i really have to say Clove have been fantastic, i ordered mine about a month and a half ago and called me back the next day telling me that they were looking at a mid may delivery date, and then called me when the white eee’s came in stock at the beginning of the month, i pointed out that i had previously changed my order to the black, and they were great about it. Highly recommended! Not expensive atall either!

www.clove.co.uk

DISCLAIMER : no i dont work for them


16
Dec 07

Introduction

So…. I’m Andrew, I’m a technical person, and I’m gonna use this blog to post out some of my technical musings and little experiments.

Currently, I’m working off of three systems, Athena, Apollo and Hermes.

Athena:Headless Ubuntu Server 7.10, 2.6 Kernel AMD Semperon 3200+, 512MB RAM, 3 Hard Drives Totalling Just Under 1TB (mostly storage and backup archives)

Apollo:WinXP AMD Athlon64 X2 6000+ (3GHz), 4GB RAM (32bit xp only sees 3.5 tho.) GeForce 7600 GS (512MB) and a 500GB SATA drive (My Workhorse for classes and heavy experiments eg VMWare)

Hermes:Ubuntu 7.10 Laptop, Celeron 1.7GHz, 512MB RAM, 60GB HDD (My Carry-about-workstation)

One thing I plan on documenting soon is the progression to WinXP64bit, testing in VMWare first, and then in real life. Maybe someday.

Also I’ll be documenting some of my work at Queens University Belfast, where I study Electronics & Software Engineering, aswell as posting some things i think are interesting.

Of Course, this is all dependant on my updating this blog……..


Load Times Plugin made by Ares Free Download