Oils, oil filters – useful articles

I came across this article on oil filters when researching stainless mesh filters for my XT. Very informative, and a great read if you’re a card carrying nerd like me. The same guy also did some research on oils. Again, very interesting, and gives some scientific backing to using Diesel engine oils in motorbikes, like the Castrol RX-Super which I have been using for a few years now.

3G tethering via bluetooth (Ubuntu 10.04, nokia 5800)

I’ve managed to set up 3G tethering of my Nokia 5800 via Bluetooth, which uses the Virgin mobile network in Australia.

Here’s the details:

  • probed, then bound the phone as a modem as per the instructions here
  • then, created a wvdial config file (.wvdialrc) as per here again, with ISP details for virgin taken from this page, with a few mods after experimentation.

This is the .wvdialrc that I use:

[Dialer 3g]
#for bluetooth connection to nokia 5800
# need to establish connection to create rfcomm device first
Modem = /dev/rfcomm2
Baud = 115200
# may not need pin – need to test. this does work though
#Init = ATZ
Init = ATZ+CPIN=”0000″
# specify apn. required for virgin.
Init2 = AT+CGDCONT=1, “IP”, “virgininternet”
# Most services dial with with *99#, a few seem to require *99***1#
Phone = *99#
#need a dummy username/pass here – wvdial won’t work without it.
#virgin doesn’t seem to care what you have
Username = “hello”
Password = “there”

What tricked me was the username and password – don’t need them according to¬†this, however wvdial refused to work without them.

Asus Eee PC 1201PN + Ubuntu 10.04 Netbook edition – review

I’ve finally upgraded from my old Eee PC 900, which was, quite frankly, getting a bit old. I went with the 1201PN primarily for the larger screen. I would have preferred something with a more powerful “conventional” processor, but there just wasn’t anything in my price range suitable. The 1201PN cost me $699 from Myer (I had vouchers) in early June 2010.

The basic specs for the 1201PN are as follows:

  • Intel Atom N450 CPU
  • Nvidia Ion2 graphics
  • 12.1″, 1366*768 gloss screen
  • 2 gig of ram
  • 320 gig 5400rpm hard drive
  • wifi, bluetooth, card reader, hdmi + vga port etc

It came “pre-installed” with Windows 7 Home Premium. The reason for the quotes is that upon first power-up, it had to go through a “configuration” step, which took approximately 20 minutes, several reboots, and resulted in the system hanging, forcing me to power cycle it. I mean, is it that hard to get things working? Not having installed windows since the early XP days (eight years ago or so) I kind of thought things might have improved a bit. Good to see my hatred of windows has not become unfounded.

Anyway, the only reason I even noticed this was I decided to power it up to play while waiting around at the shops before I could go home. Upon getting home, i immediately downloaded the latest Ubuntu. Using usb-creator i created a bootable USB drive. Getting the 1201PN to boot off the USB drive took a bit of fiddling. Some combination of pressing tab, f2 and delete just after power-on displayed the POST screen and allowed me to choose to boot from USB. Note that even after changing the boot order, I still needed to bring up a boot device selection box, as it would not boot straight from the USB device.

Installation of Ubuntu was, as usual, very quick and easy (a lot easier than configuring Windows 7!)

Out of the box things worked pretty well. Wifi, bluetooth, sound, microphone, screen brightness via function keys (fn-f5 and fn-f6) etc.

There are still a number of things that aren’t working:

  • Volume function keys. These don’t work, nor do they show up in xev, so I’m not sure where to from here
  • Screen brightness on resume. resumes to minimum backlight brightness
  • No on screen display (OSD) for any hotkey functions
  • Wifi hotkey – doesn’t turn on/off wifi
  • multitouch. doesn’t seem to work except in a software emulated mode. It is touted as a multi-touch device, and in windows functioned ok (two finger vert/horizontal scroll, zoom in/out, rotate), however i think it might have been software driven. Ubuntu mouse properties allow you to use the zone based vertical scroll, but this really does suck.
  • battery life. Indicated as around 5 hours by power meter. Not sure if perhaps ubuntu isn’t fully using the power saving features of the CPU/chipset. will have to investigate further.

The touchpad is probably the most irritating issue at this point. Doing some investigating, /proc/bus/input/devices lists the touchpad thus:

I: Bus=0011 Vendor=0002 Product=0007 Version=01b1
N: Name="SynPS/2 Synaptics Touchpad"
P: Phys=isa0060/serio1/input0
S: Sysfs=/devices/platform/i8042/serio1/input/input9
U: Uniq=
H: Handlers=mouse1 event9
B: EV=b
B: KEY=420 0 70000 0 0 0 0 0 0 0 0
B: ABS=11000003

I haven’t looked into the touchpad issue too much, but will hopefully have it resolved and two finger scrolling happening soon.

Overall, Ubuntu works pretty well out of the box. A few minor issues, which hopefully I will sort out in time. I’ll post any updates here as they happen.

UPDATE1:

I have now got volume control function keys working. It seems that the Asus BIOS is a bit stupid in that it will change how it behaves based upon the OS which it is running. Therefore, you need to tell it you’re running linux to get it to send the right keycodes. Instructions came from here, but to summarise, you need to edit /etc/default/grub and add acpi_osi=Linux to the parameter¬†GRUB_CMDLINE_LINUX_DEFAULT. After you’ve done that, update the grub configuration (sudo update-grub), reboot and volume hotkeys (with OSD) should function.

UPDATE 2:

HD flash video (vimeo, youtube HD etc) doesn’t work under linux, whereas it does under windows. I did some investigation after a query from kajdo, and it looks like the issue is with the flash plugin, not the video driver. I installed the restricted nvidia binary driver (using jockey-gtk), and get good 3D performance in games. Doing some reading, it seems that HD flash video is a feature of the Flash 10.1 plugin for windows – it enables use of the ion acceleration features.

So, basically i think we’re going to have to wait for 3D acceleration support in our flash plugins before we’ll be able to watch HD flash video, damnit.

How to avoid being stabbed in the face by me, part 1

When I say in exasperation “it’s always in the last place you look”, before saying “well you aren’t going to keep looking once you’ve found it, haw haw haw”, please consider the following.

What I mean by this, is that an exhaustive search was conducted over the space of all possible plausible locations, and that upon completing the last term of this exhaustive search, the item was found. This means that it was in fact “in the last place i looked”, since I had exhausted all other search options prior to this.

So, if you wish to avoid being stabbed in the face, please do no make such a comment.

A new unit of measure – the Geezerbyte

I would like to propose a new unit of measure – the Geezerbyte.

The Geezerbyte is a measure of the technical ineptitude, typically of older populations, although this could apply equally to any age group.

For example, someone saying “My new laptop has 2.8 gigabytes of hard disk” would rate 2.4 Geezerbytes, whereas someone saying “My new laptop has 15 inches of DDS RAM and a 320 giggabytes CPU” would rate 17.2 Geezerbytes.

Ubuntu Netbook Remix on my Asus Eee PC 900

Last night I took the plunge and installed Ubuntu 9.04 Netbook Remix on my eee pc 900. Here’s some initial thoughts:

  • very easy to install – all hardware (sound recording with a tiny bit of fiddling) worked out of the box
  • the new UI uses screen real-estate more efficiently than my previous XFCE setup

I did have a few issues though:

  • trackpad very laggy when viewing the home screen
  • audio recording not working

but these were pretty easy to fix.

To fix the trackpad, I followed the directions found here. Basically, it seems that there is an issue with the kernel driver for the touchpad, and the provided kernel images fix this. Hopefully this will be integrated into the next kernel update.

For sound recording, the trick is to enable display of ‘mic’, ‘mic boost’ and ‘capture’ . Once this is done, go to the Options tab and select “Front mic” as input source (mic is the mic jack). Then go to the recording tab, up the volume slider for capture and make sure it is un-muted using the icons below the slider.

Some other mods:

  • bind the home key (between Fn and alt – perhaps same key code as the windows key?) to switch between the active app and the home screen. Do this via Preferences -> Keyboard Shortcuts -> Window Management -> “Hide all normal windows and set focus to the desktop background”
  • change the default maximus behaviour (the app that auto-maximises and undecorates apps to utilise screen space) for certain apps, such as the gnome-terminal. Do this via gconf-editor, /apps/maximus/exclude_class

Oh, and I installed vim. Who the hell doesn’t include vim in a base install?!?

Fixing mic input (ubuntu, eee pc 900, skype)

I’ve fought long (and rather half-arsedly, admittedly) to get sound recording working on my eee pc 900, running ubuntu 8.04 LTS. Primarily this was so that I could get skype chat working.

Symptoms include:

  • despite adjusting all levels in XFCE4-mixer, no audio would record through any apps (such as arecord, audacity or skype)
  • input from microphone could be heard through speakers/headphones. for example, blowing on the mic would cause noise to come out of speakers/headphones

Rather frustrating, since mics (both built in, and external) clearly worked, just no recording.

One strange behaviour that i noted was that the ‘capture’ slider in XFCE4-Mixer would, no matter how adjusted, always set back to zero automatically.

The trick, it seems, is to:

  • go into alsamixer,
  • tab to the inputs grouping,
  • move the cursor to the ‘capture’ control
  • hit ‘space’ to change ‘——‘ to ‘CAPTUR’

it seems that capture is a switch as well as a control, and XFCE4-mixer doesn’t know this. It is by default set to off, hence the problem. switching it to on (‘CAPTUR’ as above) fixes everything!

Hopefully this will help someone out some how.

Phil