Oliver’s Twist

There has been an interesting turn of events. I discovered after a bit of trial and error recently that I could make Network-Manager 0.7 detect my Nokia 6300 and provide integration of the GPRS Modem which this phone *is* with my other network devices. (See Screenshot). This required some rather simple changes to a file in the package "hal-info".

I mentioned that fact in the comments here, which led me to file a bug in Ubuntu, and submit a patch that incorporates my "fix".

Looks like the "fix" is quite likely to make it into the next version of Ubuntu, the Intrepid Ibex, and is already in a PPA for Ubuntu Hardy. I’m excited. The "fix" makes it possible to add support for quite a large number of GSM Phones which work as Modems when they are connected to a PC. This of course depends on if people with other phones test, and incorporate their specific phones’ USB Product IDs… You need to be a bit comfortable with Linux to be able to do that, but if you’re not, you can at list post your phone’s USB Product ID and Vendor Id here: https://wiki.ubuntu.com/NetworkManager/Hardware/3G .

To obtain that information, just run "lsusb" in a terminal, while your phone is connected to the PC via USB cable in the appropriate mode.

Stay tuned.

Random quote: No one knows like a woman how to say things that are at once gentle and deep. — Hugo

Read More

Rage Dissipation and the Malfunction Magnet

A friend of mine carelessly dropped my HP M427 "point and shoot" digital camera today, effectively jamming the lens mechanism, rendering it useless. I believe it could be fixed, but I’m still enraged. I’ve been using this thing for almost a year now, and never dropped it once. I hand it to him for five minutes and I can no longer use my camera.

Well, in an attempt to distract myself from being consumed with rage, I decided to write up a few of the things I’ve been planning to blog recently. First off, I’m currently listening to "Love’s Divine" by Seal from "IV". Ok, that was hardly relevant. I did it ‘cos I can! Yeah!

Now, the malfunction magnet is merely an innuendo… or wait, I just like fancy titles, so just take it as one. So, In April 2008, I had to get a new laptop. My procedure for doing this kind of stuff is, I visit a manufacturer’s website, look in their business section, and grab any decent looking device that falls around the USD $1,000 range. This time, I chose HP (as usual, since they have two support centres in Nigeria), and the laptop in question was a HP 6710b.

I carefully read and re-read its specifications at www.hp.com to make sure it would play nice with Ubuntu, which I have been using for a number of years now. It was an all Intel machine (video and wireless), and was certified for Suse Linux Enterprise Desktop 10 so I felt confident. It also had bluetooth, so I wouldn’t have to be carrying any USB dongles about. I would have loved a screen bigger than 1280×800, but since I would be buying this in Nigeria, my options were quite limited, not to mention the costs. The other specs don’t matter, because any modern machine will do. I’m not a gamer.

I eventually picked this machine up from Ethel Ventures, Abuja. I was quite pleased to see Windows Vista Business on it, instead of that "Home" crap. I hate anything "Home" because of my previous experiences with Windows XP Home Edition (but this is just me, most regular computer users would hardly notice the difference). It also came with two shiny, factory-made Operating System DVDs and a driver restore DVD, which was excellent. Those annoying recovery DVDs don’t respect custom hard drive partition layouts.

I proceeded with installing Ubuntu, feeling confident that I could come back to play with Windows Vista anytime I felt like, since HP did ship the OS Installer (whose price was included in the laptop’s cost). I don’t know why, but I decided not to completely remove windows Vista. I left it with 25GB of my 120GB hard drive.

After bringing the machine to a usable state, I began to examine it. I noticed that there was no bluetooth support. Strange. This machine is supposed to have bluetooth. I checked in every way I knew I could, but found no bluetooth device. I even booted Windows Vista to check. Nil. Someone must have removed it along the line. I won’t blame Ethel, cos I think they are reputable, maybe it was a quality control oversight at a HP assembly line. Whatever, I can live without bluetooth.

A week or so into my use of this machine, I observed that I was experiencing random fatal system hangs that always resulted in a corrupted hard drive. For a while, I thought this was an Ubuntu problem, mostly because I had nothing else to blame it on. I re-installed the OS twice, even used a 64-bit edition for a while. Same random system hangs. I used Vista for a while, it worked fine. Weird. I endured. Ubuntu 8.04 was released a few weeks later, I upgraded, hoping for a cure. Still nothing. Just fatal, data corrupting system hangs.

I stumbled upon the root cause of this problem rather by accident one Friday morning. I was doing some washing, so I kept my shiny laptop on a flat wooden table, and cranked the music volume up to 100% so I could hear it from where I was doing the laundry. Five minutes later, the system dropped to a command prompt, spilling "ATA error messages" and generally being unable to execute any commands. I observed as always, that hard drive activity was at maximum during the crash. I began to wonder, is my hard drive defective? I still couldn’t blame Ubuntu. This kind of bug doesn’t exist in an OS undetected.

Then it struck me. Resonance. The laptop was sitting on a hard wooden table, with "all these things that I’ve done" by "the Killers" playing at the loudest volume. The table was being set into vibration, eventually resonating with the song, thus amplifying the vibrations that the laptop’s case was experiencing. The hard drive did not like this.

Well, I took the machine to a softer surface where the effects of resonance would be minimal, but the problem persisted. After a few cycles of ‘reboot-play music-crash’, I observed that 80% was the loudest the system could play music without irking the hard drive, and it didn’t depend on where the system was seated.

Apparently, I had bought a laptop in which one of the speaker cones was too darn close to the hard disk drive. Close enough to set the hard drive read head into resonance with its vibrations, causing read-write errors, which ultimately led to fatal system hangs, and subsequent data loss. Is this kind of thing covered under warranty? I don’t know, but perhaps I should let HP know somehow that they have a defective-by-design machine in the form of the 6710b.

I promptly called HP Abuja, and was quickly put through to an engineer. On hearing my complaint, he asked what OS I was running. I knew this was irrelevant, but I said Ubuntu. He said I should run the original OS that came with the machine and see if that still happened. Fair enough. I hung up, rebooted into Vista, played some loud rock, and promptly got a blue screen of death. This was exhilarating in one way, since this was the first time I was seeing this screen on a Windows Vista machine. I called them back, but they refused to acknowledge the cause of the problem. He murmured something about viruses, at which point I realised I was wasting my call credit.

I eventually got myself some external speakers, and I avoid playing anything at volumes higher than 80% when I’m using the internal speakers. Sure enough, I’ve not had such a crash ever since.

—————————–

Fanen Ahua

Random quote: A plucked goose doesn’t lay golden eggs.

Read More

The Saga Continues

I’m getting more done with my phone, using GPRS, now that 1MB of data costs approximately ₦165. It is helpful (it has brought you this blog post for instance). It still costs much, but with careful planning, I can get stuff done whilst spending the minimum amount of money.

Since I have had to make adjustments to my computer in order to minimise its network bandwidth usage, I have stumbled upon a few quirks that I’m not entirely comfortable with. I outline them here. Some I can work around, for those I can’t, I hope the people who can, find them worthwhile to do something about.

  • I configured my email client, Evolution to stop automatically checking for new email every few minutes. Quirk: this is not as easy to do as I wish it was; I basically had to manually edit each account, and remove the necessary check-mark. Quirk 2: It is not very intuitive how to send email without forcing a "check and download" of new email. Since Evolution is free software, I can file a bug report against it, but I have to convince myself first that these are actually bugs worth fixing, and not just me wanting to please myself, in which case, the only way my voice would be heard is if i submit a "minimally invasive" patch (whose chances of happening are close to zero, considering my skill set).
  • I Disabled network-manager so that my RSS feed reader, Liferea wouldn’t go crazy updating my numerous feeds on its own. I might have to disable it from auto-updating as well in the future.
  • I tried to configure my favourite web browser, Epiphany to not download images and other graphical content. Quirk: There is no obvious way to do this, thus, I have switched to using Firefox 3 as my browser. I suppose I can file a bug report about this one.
  • After disabling images in firefox, I tried to register a domain name with Nairahost. Quirk: The site works well for the most part, but some links are invisible since images are not downloaded, and there is no alternative text provided for the browser to fallback to. I was still able to find my way since I am familiar with the site. I believe fixing this is trivial, so I am wondering whether to contact their customer support…
  • My favourite music player, Rhythmbox usually decides to start downloading podcasts at some point. Took me a while to discover this. It can be configured not to, but I just felt like mentioning it. I wish it could tell that I was on an expensive connection, and automagically avoid such behaviour. No fault of rhythmbox though.
  • Chatting via GoogleTalk, or IRC is flaky, mostly because the connection usually has a large number of considerably big time-frames in which zero data is being transferred, regardless of whether there is something pending.
  • Oh, and the network itself is flaky. It disappeared completely on me while I was composing this post 🙂
  • More as I discover. (I am using Ubuntu 8.04.1, in case you didn’t know).

—–

Random quote: You know, of course, that the Tasmanians, who never committed adultery, are now extinct. — M. Somerset Maugham

Read More

The Saga Continues

I’m getting more done with my phone, using GPRS, now that 1MB of data costs approximately ₦165. It is helpful (it has brought you this blog post for instance). It still costs much, but with careful planning, I can get stuff done whilst spending the minimum amount of money.

Since I have had to make adjustments to my computer in order to minimise its network bandwidth usage, I have stumbled upon a few quirks that I’m not entirely comfortable with. I outline them here. Some I can work around, for those I can’t, I hope the people who can, find them worthwhile to do something about.

  • I configured my email client, Evolution to stop automatically checking for new email every few minutes. Quirk: this is not as easy to do as I wish it was; I basically had to manually edit each account, and remove the necessary check-mark. Quirk 2: It is not very intuitive how to send email without forcing a "check and download" of new email. Since Evolution is free software, I can file a bug report against it, but I have to convince myself first that these are actually bugs worth fixing, and not just me wanting to please myself, in which case, the only way my voice would be heard is if i submit a "minimally invasive" patch (whose chances of happening are close to zero, considering my skill set).
  • I Disabled network-manager so that my RSS feed reader, Liferea wouldn’t go crazy updating my numerous feeds on its own. I might have to disable it from auto-updating as well in the future.
  • I tried to configure my favourite web browser, Epiphany to not download images and other graphical content. Quirk: There is no obvious way to do this, thus, I have switched to using Firefox 3 as my browser. I suppose I can file a bug report about this one.
  • After disabling images in firefox, I tried to register a domain name with Nairahost. Quirk: The site works well for the most part, but some links are invisible since images are not downloaded, and there is no alternative text provided for the browser to fallback to. I was still able to find my way since I am familiar with the site. I believe fixing this is trivial, so I am wondering whether to contact their customer support…
  • My favourite music player, Rhythmbox usually decides to start downloading podcasts at some point. Took me a while to discover this. It can be configured not to, but I just felt like mentioning it. I wish it could tell that I was on an expensive connection, and automagically avoid such behaviour. No fault of rhythmbox though.
  • Chatting via GoogleTalk, or IRC is flaky, mostly because the connection usually has a large number of considerably big time-frames in which zero data is being transferred, regardless of whether there is something pending.
  • Oh, and the network itself is flaky. It disappeared completely on me while I was composing this post 🙂
  • More as I discover. (I am using Ubuntu 8.04.1, in case you didn’t know).

—–

Random quote: You know, of course, that the Tasmanians, who never committed adultery, are now extinct. — M. Somerset Maugham

Read More