Sunday, June 20, 2010

Some Games for the N900

Following up from the list of the most useful apps I found. This one is dedicated to the games. So lets get right too it. Again in no particular order:

  • Angry Birds: You shoot angry birds at greedy pigs using a slingshot. Works kinda like worms & although it sounds cruel is actually loads of fun. The first 21 levels are free. Pickup the Level Pack 1 for 42 more levels. Highly recommended.
  • Color Flood: Gradually fill the screen until it's all 1 color. Sounds mundane but is rather difficult & addictive because you gotta do it in 25 moves.
  • Crazycat: A real simple Flash game of capture the cat. Takes a surprising amount of strategy to corner a crazy cat.
  • EightyOne: The best sudoku implementation on maemo. There are at least 4 others that are shit in some way.
  • Airport: An air traffic control game. See how many planes you can guide to land safely & avoid collisions. So far 35 for me. (I know, I suck!)
  • Electric Beams: Move beams of electricity to light up all the light bulbs. Simple & fun game. Not much replay-ability though.
  • Hex-a-hop: Jump around on a puzzle of hexagonal tiles that break-up behind you. You gotta break them all. This game will last a while, it's got a lot of levels & it gets progressively harder and more complex as you go. Highly recommended.
  • Kobo Deluxe: A top down view, all directional space shooter. Simple premise, destroy enemy ships and bases & stay alive. This game would be shit if you had to use the arrow keys on the keyboard to play it. But it's support for using the accelerometer for direction and the proximity sensor for the trigger makes this games very playable and enjoyable on the N900. Highly recommended.
  • SolarWolf: A similar game to Kobo Deluxe except you don't shoot anything, instead you just pickup stuff while avoiding getting shot. Plays with the accelerometer & is pretty entertaining.
  • Wok: Frantically shoveling stuff to the side with a rectangular wok using the touchscreen. Sound bonkers but is actually kinda fun.
  • VoR: Variation on Rockdodger. Navigate your ship through an asteroid field. But Sir, the possibility of successfully navigating an asteroid field is approximately 3,720 to 1. Plays very nicely with accelerometer. See how long you can survive.

Sunday, June 6, 2010

2 months with the N900

It's been about 2 months since I bought the Nokia N900 Smartphone/Tablet. Just updated to firmware PR1.2 a week ago over wifi & it went smoothly, nothing except for a couple of settings were lost.

The main reason for me getting this device was so that I could remove the need to carry around a Linux netbook wherever I go. In this respect the N900 really exceeded my expectations on what I could do with it. I expected to still need my netbooks in some cases such as when I'm traveling on business. But as it turns out, I've not used my netbooks AT ALL this past 2 months. So it looks like I might be selling them off soon.

Today I'll list some of the apps that I use regularly on my N900. I'll only mentions apps that are not pre-installed on the device. So here it is in no particular order:
  • Storage Usage: Shows usage of the various storage devices and even lets you deep dive to find out which folder/app is consuming the space.
  • Panucci: An excellent audiobook/podcast player with great bookmarking features. (Love the pizza icon)
  • GPSJinni: A app for monitoring GPS signals, it's very useful for getting a lock before starting your map application.
  • WifiEye: An app to visualize the Wifi signals in an area. It's great as a site survey tool for deciding where to put an access point & which channel to use.
  • Sygic Mobile Maps: A commercial in-car navigation app. It's car friendly interface makes it miles better than Ovi Maps. It's pricey, but it's quality. Incidentally, the Ovi Maps on the N900 does not support turn-by-turn navigation.
  • Ncalc: A calculator app with a simple UI that makes more sense to me than the built-in one.
  • Password Safe: An app for securely storing all your user names & passwords. Indispensable these days.
  • fMMS: A must have if you want to send/receive MMS. Although I don't use it often, I do want to be able to receive MMS.
  • MGutenberg: Lets you browse, download & read ebooks from Project Gutenburg. It also works very well generally as an ebook reader.
  • CBRpager: Comic book reader. Cuz I read alotta comic books.
  • MussOrgsky: A meta-data editor for your music collection. It lets you edit album/artist/title and even the album art for your music.
  • zoutube: A pretty sweet YouTube client. Even though you could watch YouTube videos right in the browser, using this app the video is fullscreen, plays very smoothly and even allows you to download the video.
Well, that's enough for today. What I've listed is only a fraction of the apps I have installed, but are the ones I use more regularly. Next time I'll get into the games.

Tuesday, April 6, 2010

Exploring the Nokia N900

Haven't been posting lately cuz was bz with work & life. I'd gotten myself a Nokia N900 & just had to try posting to my blog from it. Using an app called MaStory. Looking good so far. I'm starting to get used to the small keyboard, it's actually not as bad as it looks. Well that's it for the first post. Hopefully I'll be blogging more with this baby.

Saturday, December 26, 2009

Getting Bluetooth A2DP to work in Mandriva 2010

One of the grips I've always had with KDE4 is it's rather poor bluetooth integration. For most of 2008 and 09, I've tried in vain to make my really nice bluetooth stereo headphones to work on Linux. I started to see a glimpse of it in 2009.1 where it would work for 2 minutes before crashing pulseaudio.

Now with 2010 out I decided to give it another go. Finding instructions for doing it is not particularly easy. There is no single place that provided something that will just work on Mandriva. So I decided to document my steps here.

Lets start with the require packages you will need to install.
kbluetooth
bluez
bluez-alsa
pulseaudio-module-bluetooth
*There's much more, but they should already be installed.

Start kbluetooth (it's somehow under the Internet category)
Make sure your bluetooth adapter is detected & showing a MAC address. Give it a sensible name.
The kbluetooth device manager gui only works for input devices. So don't bother trying to pair the headphones with it. We'll need to do it from a konsole.

Put you bluetooth headphones into pairing mode. (usually done by holding the power button until it blinks) Then do this:
$ hcitool scan

This should discover your headphones and list it's MAC address. Now connect to the MAC. (seems like only root can do these steps)
# hcitool cc 00:00:00:00:00:00

kbluetooth should now popup and request for the pin. (It's usually 0000)
Now lock down the pairing:
# hcitool auth 00:00:00:00:00:00

That's it for pairing. Now we need to tell alsa about the new audio device. Open up the file .asoundrc in your home directory (create it if it's not there), and put this in it:

pcm.bluetooth {
type bluetooth
device "00:00:00:00:00:00"
}

Replace with the MAC address of your headphones of course.

Now you need to reboot. Next you'll need to tell pulseaudio about your new output device.

$ pactl load-module module-alsa-sink device="bluetooth"

Now open the PulseAudio Volume Control. (pavucontrol) You should see bluetooth listed as another output device. You can now make it the default or you could assign the output device on a per application basis.

Now, the part the sucks. Pulseaudio will not remember these setting across reboots, you will need to rerun the pactl command everytime you want to use the headphones. One easy way to do this is to put an icon on the panel to run the command.

Another thing to be aware of is if you are playing something & you disconnect the headphones somehow, pulseaudio will segfault. So remember to stop playback and switch the default output back to your soundcard before turning off your headphones.

Enjoy. :)

Friday, November 27, 2009

Moving up to Mandriva 2010

Just upgraded my Dell Mini to Mandriva 2010. Been running it for a few weeks and working through the issues. I must say, although I welcome the improvements that KDE 4.3 brings, this release was nowhere near as solid as 2009.1. It's riddled with many serious bugs and annoyances.
One bug that seems to still be unresolved is the haldaemon bug where the system will sometimes fail to mount external drives, requiring a restart of haldaemon.

A quick rundown of some of the things needed to make this release fully functional on a Dell Vostro A90 (Inspiron Mini 9):
- Audio still didn't work. I still had to add the following line into /etc/modprobe.conf
options snd-hda-intel index=0 model=dell
- I used the same method as before to install aircraft-manager. This worked just fine.
- Disable speedboot by editing /etc/sysconfig/speedboot. Setting "speedboot=no". This stops some weird ACPI bugs.

Some observations:
- The intel driver has stabilized and no longer freezes
- Idle CPU is generally lower & better behaved than KDE 4.2

All the bugs are reported & being worked on, so lets hope that in the following weeks updates will work out all the issues. Overall, I'd say if you are already running 2009.1 and are thinking of upgrading. Wait a month or so, you'll have better experience by then.

Monday, July 13, 2009

Mandriva 2009.1 on Dell Mini 9 - More tweeking required

Only while trying to play a video did I realise that there was no sound coming from the speakers. So a quick search revealed the solution.
I had to add the following line into /etc/modprobe.conf
options snd-hda-intel index=0 model=dell

Reboot, open the mixer and turn up the volume for the channel Speaker. There will be a loud buzzing noise after you do this. To stop it, disable the channel Capture 2 (untick the checkbox).

So far, I've tested the boot speed versus Ubuntu MID, It is actually quite fast to boot & only ends up being < 10 secs slower due KDE4's longer startup time.

Power consumption has also been quite good, averaging about 3 hours. I could get 3.5 hours from Ubuntu MID, so I'll definitely have to see what I can tweek to make this better.

Sunday, July 12, 2009

Mandriva 2009.1 on Dell Mini 9

I got my hands on a Vostro A90 (Black clone of the Dell Inspiron Mini 9) from a friend in the states. It came with Ubuntu MID 8.04.1 preinstalled with the custom Dell launcher. I've been using it for a while now, it works perfectly as expected since the distro was heavily customized.

Lately I decided to try out something else on it. Since I've always loved Mandriva, I decided to give it a go, I knew it wouldn't be so simple.

From the LiveCD boot, it was already clear that WiFi and Bluetooth both did not work. I installed it anyway into an SD card & proceeded to try various things to try to make it work.

But whatever I did, nothing worked. I booted back into Ubuntu MID to check the setting there, nothing much helped. I rebooted into Mandriva again, but this time everything magically worked.

Bluetooth & WiFi was detected & worked nicely. The only thing I couldn't do was use my Bluetooth stereo headset. This is mainly down to kdebluetooth4 being still quite new. It had worked in Ubuntu, but it's no big loss.

Most of the important shortcut keys worked, namely brightness & volume control. Keys that didn't work are, Sleep, Wifi toggle, Battery Status & Toggle VGA. Of these, I only cared for the Wifi toggle.

To make Wifi toggle work, I needed to install aircraft-manager. Unfortunately, this was only available as a deb. I extracted the files out the deb & tried to figure it out.
It was basically written in python, so it wasn't too hard. This is roughly what I needed to do:
1. Extract the data.tar.gz out of the deb
2. Extract the data.tar.gz into /
3. Move portio.so from /usr/lib/python2.6/dist-packages to /usr/lib/python2.6/site-packages
4. Install (through rpmdrake) python-dbus, pygtk2.0-libglade and gksu.

That's it, after that you can simply use KDE's System Settings -> Input Actions to configure a shortcut for running aircraft-manager.

You might see this message when booting the system:
Configuring wireless regulatory domain nl80211 not found. [FAILED]

This can be fixed by commenting out the line CRDA_DOMAIN=XX in /etc/sysconfig/network

The intel driver will exhibit some artifacts especially if you are using kwin effects. This can be solved by adding the line:
Option "MigrationHeuristic" "greedy"
to the Device section of the /etc/X11/xorg.conf file.

That's as far as I got for now. I'll update as I go along.