1. Car navigation with N810

    During last two weeks I did two 250km trips. First Poznań -> Szczecin, then return. Road into both directions is good and it is impossible to get lost but I took my N810 with me.

    Before trip I started Maemo Mapper to generate route and fetch all needed maps (from Google Maps street view). This part was fast. I checked generated route does it have sense and stored on card as there is no offline route generation — you can do it only online by querying author’s website which send query to Google Maps, converts and returns XML.

    Ok, time to go — I packed car with all our luggage and during that left N810 in car to get “gps fix” as internal GPS needs time for this operation. During trip we looked from time to time just to check are we on track. Few times tablet just rebooted which resulted in no GPS fix until next longer stop :( But it does not need to reboot to lose position — look at our return trip track (clean road, no tunnels etc):

    Maemo mapper with some gps fix locations
    Maemo mapper with some gps fix locations

    I know that there are people who use Nokia tablets for car navigation. But how does it compare to TomTom Navigator which I had occasion to use one day…

    Let’s see.

    Function TomTom Maemo Mapper Wayfinder
    price 99 EUR for PDA edition1 free (GPL) 9 EUR (1 month)
    69 EUR (year)
    70 EUR (3 years)
    1 week free trial2
    offline routing + - require licence
    detour planning + - -
    finger friendly keyboard + - -
    address lists with prediction + no such lists +

    So it looks like I will not buy HH-12 car holder to use N810 for car navigation but rather TomTom device or some Windows CE/Mobile navigator with TomTom software to have something usable.


    1. often comes pre-installed on Windows Mobile devices 

    2. after trial period each run shows requester with “enter license key or purchase” and settings window (on right side of screen) is not available 

    Written by Marcin Juszkiewicz on
  2. Am I programmer?

    Many people think that I am programmer… But what is definition of programmer?

    Wikipedia says: “A programmer is someone who writes computer software. The term computer programmer can refer to a specialist in one area of computer programming or to a generalist who writes code for many kinds of software.”

    My last desktop program was Multiview for AmigaOS 2.04+ which ended life in 2000 year (after over 3 years of development). Then I changed platform to Debian GNU/Linux and started to mainly use software instead of writing it. Of course during studies I wrote some code in few languages (C, C++, Z80 Asm, PIC16 Asm/C/BASIC and maybe some other) but none of them was something to be used by normal people.

    For few years my work title was “PHP programmer” (with some variants) but writing code for websites is different thing then for desktop computers.

    Eric Sink wrote one day great post about programmers and developers. According to this I am rather developer then programmer.

    My programmer part of me know how to fix code written in PHP (used this language for few years to get paid), Python (but never got proper amount of knowledge about it) and few others — one day I had to debug small application written in 8086 assembler which I saw for first time — and all I had was source code printout.

    But I also many times worked with clients to get informations what they really need to be done in project and those discussions changed many aspects of first draft of specifications. Then transforming specs into design and finally into code which gives working service at the end. Providing help to few ~60 years old ladies which use CMS written by you can be hard job — especially when documentation is not yet created so no one else know each system parts.

    But there are many work titles to choose from: Programmer, Developer, Engineer, Software (Engineer / Architect / Developer / Designer) so I probably will stay with Developer and will not try to explain too much what exactly I am doing for living :)

    Written by Marcin Juszkiewicz on
  3. Never say never

    Years ago I had Gigabyte mainboard in computer at work. One day cpu fan died — it did not shut down but tried to operate with 85°C at CPU… That day I decided to not buy Gigabyte mainboards anymore (my home machine had in BIOS limit of working temperatures with 70°C set as temp to shut down).

    Few days ago I upgraded my home machine. And it is Gigabyte powered :) To be exact: EP35C-DS3R is what I bought.

    There are few annoyances:

    • Intel AHCI SATA BIOS adds few seconds on each boot for checking 6 Serial-ATA ports
    • Gigabyte AHCI SATA/ATA BIOS adds few more and ask for pressing key (with few seconds timeout)

    But also nice stuff:

    • profiles in BIOS — so I am able to configure everything and store settings for later use
    • flashing BIOS from USB stick, hard drive or floppy (does someone still use floppies?)

    I also added few other components: Core2Quad Q6600 CPU, 4GB RAM and new hard drive but that is other story.

    Written by Marcin Juszkiewicz on
  4. State of ATI RS482 gfx driver

    Recently my machine got series of instability problems. Current situation is — machine stable if Geforce 6600GT card removed. But this leaves me with ATI RS482 on-board graphics… And this chipset just suxx!

    I use free driver — ‘radeon’ one. Does it works? Sort of. Problems noticed:

    • lack of EDID reading — so my 22” lcd panel works in 1280x768 mode instead of 1680x1050
    • unreadable screen after switching to VT
    • X11 crash if qemu/SDL started
    • X11 crash if MPlayer with ‘x11’ driver used
    • X11 crash if VirtualBox started any virtual machine

    Is it usable? Only if there is no other way. But I will rather work on getting my Geforce card working again then trying to get that ATI crap working properly.

    TIP: to get 1680x1050 resolution working few commands needs to be run:

    xrandr --newmode "1680x1050R"  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync
    xrandr --addmode DVI-0 "1680x1050R"
    xrandr --output DVI-0 --mode "1680x1050R"
    

    Anyway according to XRandR there are no monitors connected at all:

    12:36 hrw@home:~$ xrandr
    Screen 0: minimum 320 x 200, current 1680 x 1050, maximum 2560 x 1200
    VGA-0 disconnected 1280x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
    DVI-0 disconnected 1680x1050+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
       1680x1050R     59.9*
    S-video disconnected (normal left inverted right x axis y axis)
      1280x768 (0x41)   80.1MHz
            h: width  1280 start 1344 end 1480 total 1680 skew    0 clock   47.7KHz
            v: height  768 start  769 end  772 total  795           clock   60.0Hz
    
    Written by Marcin Juszkiewicz on
  5. Going back to KDE 3?

    After few months of using KDE 4 (4.0.1 — 4.0.3 and then 4.0.68 snapshot) I am thinking about reverting back to KDE 3.5.9. Why such decision? Software is just not yet ready for each day use.

    Plasma based desktop

    Plasma based desktop is overrated — you need KDE 4.1 snapshot to get possibility to have more then one panel. But still no way to re-arrange “plasmoids” on it… Not to mention that they will have totally broken sizes:

    My KDE4 desktop
    My KDE4 desktop

    Also padding between panel icons (bottom panel) is huge and non configurable. Option to group running tasks by desktop is missing too. And what for are “Zoom Out”/”Zoom In” options? I do not see sense in them.

    Amount of plasmoids is small — few basic ones only so to have for example weather information I would have to launch SuperKaramba like it was under KDE 3.5.

    Lack of PIM

    KDE PIM team works on new features but it will be ready rather after 4.1 release. According to few developers current version is not yet recommended to each day use.

    Remote desktop

    KRDC from KDE4 is maybe better for developers but for me it is more broken then 3.5 version. I use it to VNC session to my WinXP laptop. With newer version I often have stuck Shift/Ctrl/Alt keys after switching to/from KRDC. And even if I selected option “keep passwords in KWallet” it asks me for VNC password each time :(

    And I really like idea of “one window per connection” instead of tabs. I mostly use one connection so old style KRDC window is more usable for me.

    System settings

    Application is nice — but where is “Administrator mode” button for “Computer administration” modules? Normal user can launch “Date & Time” control panel and look at disabled GUI. In KDE 3.5 there was button to prompt for administrator password to alter configuration.

    The annoying thing is that you cannot have settings application from KDE 3.5 and 4.x installed at same time. And KDE4 one do not set colours for KDE 3.x applications :(

    Bugs

    As everything KDE 4.x has bugs. I gave up on reporting new ones as they too often bit rot for eons with “UNCONFIRMED” state even if few other people write that they have same bug on their systems.

    One of nasty ones is broken support of SFTP links… On one system I have account with /home/users/hrw/ as $HOME. I am unable to open/save files from that location as KDE Filerequster is unable to handle this due to fact that /home/ is not readable for users. At least Dolphin handle this properly…

    Konqueror which is unusable because most of time it end working sooner or later due to “Unable to connect to klauncher” - WTF?

    Another small annoyance: launch Dolphin and press “Ctrl-L” to edit location. Why it can not automatically select current location? I catch myself each time that I am writing insane paths due to old one not being removed.

    Good parts

    I like KWin composite effects. But this can be installed even on KDE 3.5 system so less problem.

    Was there more good things? Probably yes — I maybe did not noticed them or not get used to them.

    Written by Marcin Juszkiewicz on
  6. Children make funny moves

    Today was another night when I had to wake up to monitor my daughter and turn her to the back after about half hour. All due to night feeding.

    Most of times I use this time to hack on my work projects and chat on IRC — mostly on #maemo as this channel never sleeps (gratz to KotCzarny and AStorm).

    But back to the subject. Children and their funny moves… After I turned Mira to the back she squirms in a funny ways — all those hips shaking, hands waving before she will find optimal position so I can cover her with blanket.

    She is sweet :)

    Written by Marcin Juszkiewicz on
  7. History meme

    My main system gives me this:

    hrw@home:~$ history|awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head

    379 git
    209 bitbake
    171 cd
    113 sudo
    111 ls
    77 rm
    76 mc
    73 mtn
    73 grep
    72 svn
    

    It is easy to see what takes most of my time ;)

    Written by Marcin Juszkiewicz on
  8. Nokia N800 emulation

    Few days ago Nokia N800 tablet emulation was released into public. Richard integrated it into Poky so now we have QEMU which can be used not only to test ARM images on ARM Versatile or Sharp Zaurus but also to run on Nokia N800 tablet. Of course it is not limited to Poky images — Maemo boots very nicely on it :)

    Poky

    Booting Poky is easy: runqemu nokia800 after building of “poky-image-sato” for “nokia800” machine. After few minutes (needed to create NAND Flash image and boot into JFFS2 rootfs) Poky desktop appears:

    Poky on emulated N800 - first screen
    Poky on emulated N800 - first screen
    Poky on emulated N800
    Poky on emulated N800
    Poky on emulated N800 - Dates application
    Poky on emulated N800 - Dates application

    Maemo

    Booting Maemo takes few steps more now (will be improved).

    1. Edit “scripts/poky-qemu-internal” script and in line 154 change KERNELCMDLINE to boot from “/dev/mtdblock3” instead of “/dev/mtdblock4” as Poky do not use Maemo’s “initfs”.
    2. Get copy of “config” flash partition from N8x0 — simple “cat /dev/mtd1ro > config.mtd” is enough. Bad news: it does not work :( And the one which works for me is not distributable as it does not came from device but was pre-generated somehow.
    3. Transfer it to the desktop.
    4. Grab OS2008 firmware image from Maemo website.
    5. Unpack firmware image to get kernel and images of “initfs” and “rootfs”.
    6. Use poky-nokia800-flashutil to generate NAND Flash image:

      poky-nokia800-flashutil initfs.jffs2 maemo-image.qemuflash initfs poky-nokia800-flashutil config.mtd maemo-image.qemuflash config poky-nokia800-flashutil rootfs.jffs2 maemo-image.qemuflash rootfs

    Then “touch maemo-image” and run one command: poky-qemu zImage maemo-image to boot it.

    Maemo OS2008 on emulated N800 - first screen
    Maemo OS2008 on emulated N800 - first screen
    Maemo OS2008 on emulated N800 - desktop
    Maemo OS2008 on emulated N800 - desktop
    Maemo OS2008 on emulated N800
    Maemo OS2008 on emulated N800

    Status

    Basic emulation works. There is no networking yet, DSP code is not emulated and few other limitations. But it is work in progress so expect improvements.

    How to get it

    Patch alone can be fetched from Poky repository.

    Linux binaries of QEMU with N800 support can be built with Poky by bitbake qemu-sdk command. They will be also part of Poky Linux SDK.

    UPDATE: poky-nokia800-flashutil instructions are fixed (thx to Yasser)

    UPDATE: there is second part of that story.

    Written by Marcin Juszkiewicz on
Page 66 / 105