2009-11-16
I’ve got Ubuntu 9.10 Karmic (64 bit) running on the laptop now, and its a big stablity improvement over the previous.
There’s a couple of little tweaks I had to put in place to get things to work perfectly:
Bluetooth Power on Resume
Write the following to: /etc/hibernate/scriptlets.d/x301_bluetooth
x301_bluetooth_enable() {
logger "Waking up Bluetooth"
echo 1 > /sys/devices/platform/thinkpad_acpi/bluetooth_enable
}
AddResumeHook 33 x301_bluetooth_enable
… and on that note, how many times must that particular rc.d wheel be reinvented?
(more later)
Leave a Comment » |
Laptops, Ubuntu |
Permalink
Posted by nickzoic
2009-07-29
In case anyone’s wondering, the syntax of the /etc/udev/rules.d/* files has changed considerably in recent versions:
- “==” is now required for comparisons, where older versions require “=”
- ATTRIB{} is the new version of SYSFS{} rules.
Read the rest of this entry »
Leave a Comment » |
Linux, Mesh Networks |
Permalink
Posted by nickzoic
2009-07-27
[[ That headline used to read &loathe; but wordpress is a bit &weird; about it ]]
I’m not having a terribly pleasant evening — a distro upgrade to Ubuntu Jaunty involved a kernel upgrade to 2.6.28-13, which required a vmware upgrade to 1.0.9 which … didn’t work. There’s a lot of information out there explaining this particular problem, and all the solutions involve downloading patches with odd names from odd places and running them as root, which seems a little odd for a patch … but what the hell. If it’d actually worked I’d have come to terms with it.
But it didn’t, dear reader, and so while my right hand was desperately searching for yet more vmware-any-every-update-31337-1/2 files, my left hand installed VirtualBox from the Ubuntu package, used qemu-img and VBoxManage to convert my old .vmdk image to a .vdi image, and set up bridged networking. This proved much quicker than filling in the vmware 2.0 registration form …
The only weirdness is that the first ethernet adaptor is, for some reason, eth1 instead of eth0. Otherwise, it just booted straight up and worked. EDIT: I think this is just udev doing its thing, every time I change it it goes up by one
I think I’m going to keep it.
(an honourable mention to kvm-qemu as well, which I’ve been playing with for emulating Windows boxen.)
Leave a Comment » |
Linux |
Permalink
Posted by nickzoic
2009-07-19
There’s a lot of info out there on running KVM (Kernel Virtual Machine) on Linux, to support guest machines running Windows or whatever. However, it all assumes you are happy running KVM as root, and that you want to bridge your Windows guest straight to the outside world. Neither of those are true in my case, so here’s how I did it.
Read the rest of this entry »
Leave a Comment » |
Linux |
Permalink
Posted by nickzoic
2009-05-14
One of the side issues of my research work is that the mesh nodes are embedded in a 3D space. Viewing 3D spaces should be easy — after all, there’s a huge amount of 3D rendering infrastructure in a modern computer — but for some reason it just isn’t that easy.
My original take on this, circa 2004, was to export the model as VRML. Unfortunately, these days finding a browser plugin for VRML is not always easy … Firefox’s usually helpful plugin finder comes up with nothing. Read the rest of this entry »
Leave a Comment » |
Ubuntu, VRML, Virtual Localization |
Permalink
Posted by nickzoic