Canonical Voices

Posts tagged with 'nokia'

Marcin Juszkiewicz

This site is using cookies. Some of them are to track you as I use Google Analytics. Other may keep your name/email/website when you write comments on my blog.

We have new law here in European Union that visitors should get notification when website is using cookies. You know — privacy stuff etc. Lot of people does not even have any idea what this whole noise is about. There are websites for them with all that not even needed information — your search engine will point you there (and use few cookies in meantime).

I do not plan to add any of those annoying popups which will tell that there are cookies in use. Once you see such one you get cookie — cause website needs a way to remember that you clicked “yes, I know, get off my screen” button. You will not see such one here.

There is a text box in right column about cookies — go, read, decide would you read my blog or not. It is your choice and always was.

PS. I added tags into post just to get this post shown on each RSS aggregator I am/was listed.

UPDATE: added small header.


All rights reserved © Marcin Juszkiewicz
Cookies blabla… was originally posted on Marcin Juszkiewicz website

Read more
Marcin Juszkiewicz

Year ago we had Linaro Connect right after FOSDEM so I decided to skip and walk to Golden Gate instead. But this year there were no conflicts!

Months before we had discussion on SzLUUG mailing list about who goes for FOSDEM. There were about 9 people wanting and we ended with five. So on Friday morning friends arrived near my house, I jumped into car, we grabbed 4th one (Tomek was in London at that time) and went to Berlin Schönefeld airport for 07:00 Easyjet flight.

And we missed it… 5-10 minutes late we were ;( 75€ per person and 10 hours later he took off from SXF airport.

But that 10h was not wasted. Berlin has very nice Technical Museum with many trains, cars, planes and other exhibitions. And they had Trabant 601 as well:

My first time in Trabant

Then trip to shops (Saturn, Media Markt) in search for HTC Desire X case (Magda) and LG Nexus 4 (me). Avoid Saturn — they do not handle credit card payments at Alexanderplatz so I had to walk to the ATM. Two S-Bahns later we passed security check and went to the gate early enough to fly.

BRU airport… I think that (with exception of SXF/TXL) it is my most visited airport as it was my 5th FOSDEM and there was UDS-M around as well. But this time we took a bus instead of a train. 14€ ticket works for 72 hours so cover all trips perfectly. Few hours later we were joking that this multi country journey was exhausting as we were in Berlin, Brussels, went though Geneve (bus stop) to Luxembourg (square) and passed near London (restaurant) ;D

Hotel, drop stuff, connect chargers, went for beer event. Crowdy as usual it was. But I managed to meet some friends (but also missed lot of them) and grabbed few beers. Good spent time. Too bad that I was so tired that went back to hotel just right after midnight.

Saturday

Breakfast in St. Nicolas hotel maybe is not the best but provides enough energy to survive a day. Met several guys there, Philip gave me Kindle Paperwhite which I bought few days before (with delivery to his house to lower price) and his famous Belgium/Holland/Luxembourg guidebook. I also got Beagle pendrive from Koen.

24-01-13 - 1

Then overcrowded bus 71 and FOSDEM! I told Bartek where things are (but at that time I had no idea of K building) and we split. In AW building I met friends manning OpenEmbedded stand just right in front of building entry.

OpenEmbedded stand

Circuitco had Beaglebone stand right to it:

Beaglebone robot

That robot was great example what you can do with enough signals available to drive all those motors. And what you can do with 3D printers ;D

I do not know is it due to crisis or something but AW building had just half of a space for stands used…

Then I went for talks:

  • “Embedded distro shootout: buildroot vs. Debian” — wasted time. Long discussion about Emdebian + short info that Buildroot works in other way. Could be nice talk if done in other way.
  • “Porting Fedora to 64-bit ARM systems” — talk done by Jon Masters and his clone. As usual first “what the hell is 64-bit ARM” and then how Fedora bootstraps itself. Nice talk, got some new stuff. Have to dig for Cavium SDK.
  • “Porting OpenJDK to AArch64″ — interesting it was. Two speakers, lot of technical details.
  • “ARMv8, ARM’s new architecture including 64-bit” by Andrew Wafaa. Mostly to catch speaker in easy way ;D
  • “Bootstrapping Debian-based distributions for new architectures” – I was lazy to go somewhere else but it was good talk.
  • “Bootstrapping the Debian/Ubuntu arm64 ports” by Wookey. Kind of recycled talk from Barcelona but I like his presentations. Also first one without “what the hell is armv8″ introduction.

I also had nice discussion with Jolla guys about their system/device and would I like to test it once they will have something ready for complains. Played a bit with Firefox OS on their reference developer platform and on Nexus S and was not impressed — for example it looked like they have to learn about DPI…

Then I met OE crew and few other guys and when finally noticed that it is time to go to the hotel and drop gear there. Once arrived it was a bit to late to go somewhere and search for some event so I joined SzLUUG team and we went for a meal, chocolates and then some drinking with Kerneliusz (SzLUUG mascotte):

Kerneliusz is hugging bottle

Sunday

Breakfast, packing gear and go for a bus which was less crowded than day before (but we are a bit late as well). As we had to leave after 14:00 I managed only two talks:

  • “systemd, Two Years Later” — some Ubuntu trolling and project status. Nice talk.
  • “Porting applications to 64-Bit ARM Architecture” by Riku Voipio (main AArch64 porter at Linaro). Good discussion in a room, some nice hints and suggestions. Read his recent blog post about ARMv8 porting

Then walk, tram, bus and security check. This time I did not have to take developer boards from backpack as I gave them away during event. We arrived in Berlin and (due to Micha?’s fosdem flu) I drove us back home.

Summary

It was great event as usual. But distance between K building and rest was too big for sessions which are one after another. I dropped some entries from my calendar just because it would be H->K->H->K switching.

Android application for schedule was ok. Would be nice to make a bigger effort and update it to cover K building as well and add a way to see what is going on in each building/room to reduce time before sessions.

Funny part

On Saturday I realized that for some reason I may remind Jon Masters… That’s due to hardware I had with me:

  • two developer boards
  • two phones
  • two tablets
  • 3 USB chargers
  • 4 microUSB cables

The good thing is that they were not of same type (except some cables) :D


All rights reserved © Marcin Juszkiewicz
FOSDEM 2013 was originally posted on Marcin Juszkiewicz website

Read more
Marcin Juszkiewicz

Half year ago I got Tizen development platform device. Played a bit with it and then put in a drawer due to other things to do.

Today I looked again at Tizen. Nothing changed. Git repositories still scream “****@#$!$ *** *** you developers!” due to lack of any commits other than code drop bombs.

So if someone (from Europe) wants this device — be first to comment. Sending with DHL and you pay for posting.


All rights reserved © Marcin Juszkiewicz
Does someone wants Tizen development platform device? was originally posted on Marcin Juszkiewicz website

Read more
Marcin Juszkiewicz

Complaining

People told me many times that I complain a lot (maybe even too much sometimes). But this is who I am and you have to live with it.

When I get new device I usually blog about it — like I told during recent conferences: “give me a device and I will find something to complain about, but also will usually tell something positive as well”. Sometimes those posts even got presented by other people at management meetings as an example of what is good/wrong in described products.

But so far I never got an email with ask to remove any blog post — there were comments outside of blog sometimes but never request to take my opinion down. I edited two posts — first one was before publication because I sent it for review (it was not requested by company), second time when I got some information about product in public space but device had to be announced week later at big event during one of trade shows.

What do you think? Should I write more about devices or rather not?


All rights reserved © Marcin Juszkiewicz
Complaining was originally posted on Marcin Juszkiewicz website

Read more
Marcin Juszkiewicz

When I published my last post about ARM boards there were many questions and suggestions with interesting devices. Thank You all for it.

But there were also suggestions about ARM9 or ARM11 based devices. So I decided that it is good time to write what interest me now in ARM world.

But first some inventory. I had/used/have several devices with ARM cpu:

  • StrongARM (armv4) one:

    • Sharp Zaurus SL-5500 (which took me to ARM world)
  • ARM920 (armv4t) ones:

    • Openmoko GTA01 bv3, bv4 (s3c2410)
    • EDB9301 (EP9301 cpu)
    • Sim-One (EP9307)
  • ARM926 (armv5te) ones:

    • Sharp Zaurus sl-5600 (pxa250)
    • Sharp Zaurus c760/sl-6000 (pxa255)
    • Sharp Zaurus sl-c3000 (pxa272)
    • Sheevaplug (kirkwood)
    • Atmel devboards (at91sam9263, at91sam9m10)
    • ST-Microelectronics/ST-Ericsson NDK-15, NHK-15 (st88n15)
    • Nokia 770 (omap1710)
    • Linksys NSLU2 (ixp425 iirc)
  • ARM1136 (armv6) ones:

    • Nokia N810 (omap2430)
    • Bug r1.0, r1.2 (i.mx31)
  • Cortex-A8 (armv7a) ones:

    • Beagleboard B7, B7, C3 (omap3430)
    • Nokia N900 (omap3430)
    • Nexus S (exynos3)
    • Genesi Efika MX Smartbook (i.mx51)
    • Freescale Quickstart (i.mx53)
  • Cortex-A9 (armv7a) ones:

    • Pandaboard EA1, A1 (omap4430)
    • Archos G9 80 (omap4430)

All of that during last 8 years. Most of my ARM live so far was around ARM926 based devices (some of them still can not be listed here) and I do not want to go there again. Kirkwood core was fastest one with 1.2GHz clock and 512MB of RAM it was really fast machine. I only missed Serial ATA in my Sheevaplug (rev 1.0) but even with hard drive on USB it was nice improvement.

Then I played a bit with ARM11 processors. Ok, they were faster than most of ARM9 cpus but I already had experience with Sheevaplug. And after few months first Cortex-a8 board landed on my desk — I got Beagleboard B7 from Bug labs as test platform for their new device. This was improvement!

I still remember my reaction when connected it to normal LCD monitor and saw it used at 720p resolution (1680×1050 was a bit hard for omap3). Moved to Nokia N900 few months later and found that fast cpu means nothing when paired with slow storage and not enough memory for system.

So today I prefer to not look below Cortex-A9 (or comparable cores like ones from Qualcomm or Marvell). Hope to play one day with Cortex-A5 (which should replace ARM926 one day) just to see how low-end armv7a cpu behave.

And wait for ARMv8 to hit market.


All rights reserved © Marcin Juszkiewicz
What interest me in ARM world was originally posted on Marcin Juszkiewicz website

Read more
Marcin Juszkiewicz

During my stay in Oakland, CA (due to Ubuntu Developer Summit) I decided to attend also Tizen Developers Conference. Not that I have any relations with this platform — just wanted to meet some friends from Maemo times. And I did not had plans for Tuesday evening while Tizen visitors had social event planned in The California Academy of Sciences.

For those which do not know what Tizen is a bit of history. Years ago Nokia made few internet tablet devices (770, n800, n810) and phone (n900) which were running Linux distribution named Maemo. It was loosely based on Debian. In meantime Intel created Moblin which was their distribution for mobile devices. Few years passed and they joined forces and MeeGo was born. Nokia released N9 phone with it, ASUS had netbook running MeeGo and maybe few other devices appeared on market. Then history repeated: MeeGo merged with LiMo and they created Tizen project.

It is hard to tell was conference success or not because I did not attended any sessions there — just opening keynote by Jim Zemlin. On first day I also came for technical showcase and partner demos. But they were squeezed in very small room so it was hard to discuss with people showing their work. Maybe next time organizers will give at least 4m² per demo — this should be a minimum.

But today I got Tizen Developer Platform device and thumbdrive with SDK on it. So decided to play a bit with it. It was not enjoyable experience.

First ugly part was Tizen SDK “so-called” installer. 823MB shell script… I thought that those times passed long time ago. Anyway tried to run it. All I got was message that 64bits systems are not supported. Good to know that, but my x86-64 systems are able to run x86 binaries without problems. Ok, I made workaround and then got message about missing qemu, rpm, libsdl packages. No, I will not install rpm on my Ubuntu systems.

So I decided to cut that crappy shell script and take a look at tarball. Fast “tail -n+122 tizen-sdk-0423.bin >tizen-sdk.tar.gz” and I was able to extract SDK. Got 26 zip archives.

One of them contains rootfs created from packages based on Debian/Ubuntu packages. Some are from times when dinosaurs ruled the Earth (debianutils 2.17 was released in 2006), some are more fresh (like gcc-4.5 based on version from May 2011). In other words tradition started by Maemo is continued in Tizen and developers are given mix of fresh tools with long time forgotten ones. And Scratchbox 2.

To connect with device there is “sdb” tool. It introduces itself as “Smart Development Bridge” but in past it was named “Samsung Development Bridge” (run ‘strings’ on binary). And it’s father has a name “Android Development Bridge” and has some more options.

Anyway if you want to connect to device then few steps are required:

  1. On device go to settings and set USB to ‘USB debugging’ mode. This will switch it into cdc_ether gadget.
  2. On host do “sudo ifconfig usb0 192.168.129.1″ to configure networking.
  3. Connect to device: “ssh root@192.168.129.3″

And then you can enjoy system which is a mixture of few Debian/Ubuntu versions. And forget about updates — unless you know how to get to 165.213.180.233 and know password of “kb0929.kim” user there (taken from /etc/apt/sources.list file).

Device uses Linux 2.6.36 kernel with unknown patches on top including CMA and Android ones. Quite old one but works. Hope to get newer one from someone.

What I do not like is availability of sources. There is review.tizen.org website with git repositories but I want to vomit when I see commits like “let’s add 2.6.36 kernel in one commit”. Lovely lack of ideas how to help developers.

What I will do with device? Not decided yet. Waiting for instructions how to get into bootloader to boot own kernels. Then who knows… replacing Tizen with Android or Ubuntu?


All rights reserved © Marcin Juszkiewicz
Tizen: first impressions was originally posted on Marcin Juszkiewicz website

Read more
Marcin Juszkiewicz

Another May, another Ubuntu Developers Summit. This time I am in Oakland, California, USA (even if my tweets shows Dallas, Texas as geolocation).

As usual with US trips this one took insane amount of time. But I was 3cm from not going here… Why? Because I got stuck in toilet at home. Hopefully with help from neighbour I was able to bash door out and get to the bus stop on time.

Then standard set of bus, plane, plane, train and finally arrived in hotel. As my room was not yet ready I got 30$ coupon to bar to not waste time on waiting. Free meal/beer ;)

My room is at 17th floor (which means 15th) and has a nice view in the evening:

IMG_20120505_224344.jpg IMG_20120505_224400.jpg IMG_20120505_224411.jpg

On Sunday I went to see San Francisco centre (I saw Golden Gate on earlier visit). Chinatown was interesting experience. Lot of people speaking language which I do not understand, shops full of food which I do not recognize.

Some random photos:

DSC09946.JPG IMG_20120506_092639.jpg IMG_20120506_114901.jpg

IMG_20120506_114920.jpg IMG_20120506_103517.jpg IMG_20120506_114851.jpg

After getting some souvenirs and refilling of my US T-Mobile sim card I decided to go to the cinema for ‘The Avengers’ movie. It was nice experience. Touchscreen operated ticket machines which allow to buy ticket in one minute (but people were standing in long queue to buy tickets in ‘normal way’) made it even better. As in Poland there was big amount of commercials before movie (including some in style “our Army/Navy is great, why not join us”) but what I liked was just-before-movie animation reminding about not talking/texting/tweeting during movie (made with characters from “Madagaskar” series). Have to admit that RealD 3D glasses were more comfortable than Dolby 3D ones used by Polish cinemas. Movie itself was great but I think that will have to see it in Poland due to my English ;D

During evening there was usual Canonical internal plenary and then dinner. I even managed to sleep 6 hours despite jet lag ;D

Monday started with interesting keynote and presentation of Calxeda ARM server using technology they were talking about at previous UDS. Photos:

IMG_20120507_095638.jpg IMG_20120507_095942.jpg

It is 2U case with 24 Serial-ATA discs and 12 nodes with 4 quad-core EnergyCore processors per node. The only cables inside are power ones as rest of connections is on pcb. Connection with world by four Ethernet connectors.

I went to “Create filesystems for embedded devices” session where we discussed how to make Ubuntu Core even smaller. People mentioned OpenEmbedded, OpenWRT, buildroot as usual, we got some strange use cases too. What will come from it? Time will show.

Plenaries were interesting. First Chris Kenyon told about cooperation with OEMs and ODMs and how it relates with Ubuntu. Laptop in a pizza box picture was nice — reminded developer boards. Then Bdale Garbee from HP shown us that there is no way to go though life without being served by HP technologies or hardware. Both talks were great and I hope that rest of plenaries will be like that.

After plenaries I went to San Francisco to register at Tizen conference and to meet some friends from Maemo times. Technical showcase and partner demos were boring and it was hard to feel that it is something innovative. But who knows… maybe Tizen will be yet another phone/tablet/ivi/etc OS even when Moblin, Maemo, MeeGo did not succeed.

During evening (back at UDS) there was ‘Meet & greet” social event. Our Linaro group (Amber, Ricardo, Paul, me) was showing member boards and replying to misc questions from audience.

What next? Sessions, social events, discussions about my patches with other developers, some sight-seeing.


All rights reserved © Marcin Juszkiewicz
UDS-Q was originally posted on Marcin Juszkiewicz website

Read more
Marcin Juszkiewicz

During last Linaro Connect I bought myself an Android tablet. After checking what is on market decided to buy Archos 80 G9 Turbo. According to Amazon product page it had to have 1.5GHz OMAP4460 cpu and 1GB of memory. But it did not…

Marketing droids from Archos company should be … and … then … and again … — after that … or … and finally … (put any ways of doing deadly harm into … and repeat any amount of times). Why? There is no such thing as “Archos 80 G9 Turbo” — nevermind that I have one of them on my desk. So far there are at least three models with this name:

  • OMAP4430 1.2GHz 512MB ram
  • OMAP4460 1.5GHz 512MB ram
  • OMAP4460 1.5GHz 1GB ram

You can easily buy first model. Best Buy has it, Adorama has it, J&R has it, Amazon sells it. Second model was expected to land on shelves in December 2011. According to XDA developers forum few of them were even sold as people have them. Last model is listed on Amazon (but first one is what you get) and according to one sources it will be released in March 2012, other says that there will not be such thing. Marketing mess is lightest description which I can write without swearing.

So I got first one. First though was “WTF?!?!!?!?!?!!!” as I got slowest option. Even started returning procedure but as all US shops had only this version I gave up and decided that even with this technical specification it is better tablet then I had before (which was Hannspad SN10T1). Fast cpu, 4:3 screen with 1024×768 resolution, quite good build quality, video output.

Tablet runs Android 3.2 ‘honeycomb’ and does it nicely. Upgrade to 4.0 ‘ice cream sandwich’ was announced to be done in this month. So from software perspective it is done properly. I had some problems with rooting procedure from XDA developers but once you do it in order (and take files from other thread to get 3.2.80 firmware) device will work just fine. Have to admit that system layout on device looks overcomplicated (175MB squashfs as / for example) but it works. Anyway I am waiting for developer firmware (I was told that they will be available ‘soon’ (for any definition of ‘soon’)).

During first days of using I noticed that some applications refuse to work properly on XGA screen, some are resized/rescaled but problems usually are with games or poorly written apps (like Facebook one). But it is visible that keeping Honeycomb under stone (aka ‘closed source’) resulted in many applications not ready to be used on tablets. Even Google+ looks like it does on a phone…

I am slowly moving to use Archos as a morning news device (Twitter, Facebook, Google+ and Google Reader) — it is perfect for it. Reading webpages in landscape or portrait modes is pleasure as device is easy to hold and screen is wide enough in any of them (which was my main complain with Hannspad).

Had to order miniHDMI -> HDMI adapter (normal size connector would even fit but it is too big for this form factor) cause they do not add it in a box. When it will arrive I will check how good movies are played after connecting to 42″ plasma capable of 1080p. OMAP4 cpu should decode any video at this resolution without problems but I wonder how device deals with 4:3 internal screen and 16:9 external one. Would be nice to watch Youtube videos fullscreen.

Playing games is fun. Fieldrunners finally does not need scrolling, Great Little War Game is also better than on my Nexus S. From “racing” games so far I tried Asphalt6 (available at XDA developers forum), Shine Runner and Reckless Getaway — all run and look cute but accelerometr based steering is not comfortable with tablet size. Also games like Mahjongg or Solitaire are possible (I consider such games unplayable on phone).

Battery life is better than on my Nexus S. Partially because lack of GSM and bigger battery, but I think that due to power management done better.

I will not tell how good it is when it comes to read e-books because I have Kindle for it already.

Back to hardware. There is USB socket for optional 3G stick. Plugged dongle from wireless keyboard/trackball combo there — not recognized due to not be USB 2.0 device. Plugged thumbdrive and got it recognized (first time I got some kernel oops and no access to storage, had to reboot tablet). Did not tried other devices.

There is just one speaker at back of device. Definitelly too small and lonely. Nokia N800 which was released 5 years ago had stereo speakers… So for gaming I strongly suggest headphones.

Ugly thing is that when you push back of case with left hand fingers screen will react to it — looks like something is pushing screen. It does not look professional…

Ending summary: so far I am satisfied. Maybe one day will try one of those crazy builds like Ubuntu ;D


All rights reserved © Marcin Juszkiewicz
Bought Archos 80 G9 Turbo tablet was originally posted on Marcin Juszkiewicz website

Read more
gerryboland

Testing is hugely important to us at Canonical. We all strive to have Ubuntu reliable, consistent and fast. But we’re human, and we make mistakes. Sometimes a bugfix will break something else, and for something as complex as a desktop shell, it’s easy to miss these breakages. While manual tests can help reduce these regressions, realistically we need an automated system to emulate the users inputs and verify our software works as it should – and scream bloody murder if it doesn’t!

In Unity 2D (my project!), we have just introduced an automated User Experience testing system, based on a test framework called Testability Driver (I’ll just call it ‘Testability’ from now on). First off, a clarification:

Testability is for Qt-based applications only!

A limitation: yes, but this requirement comes with a great reward: Testability allows inspection of the tree of QObjects in a Qt application while it is running!

It can read and write object properties, call methods and slots, verify signals are emitted, as well as fake mouse/keyboard/gesture inputs, grab visual outputs, and measure performance.

And best of all, Testability is open source and maintained by Nokia! That means everyone can run and contribute tests! :)

To show it off, here is a screengrab of the Testability Visualizer application which allows you to connect to a running application, dig into the QObject tree and investigate what’s going on (here, the Unity 2D Launcher – it will be good to zoom in):

Image

On the left is an interactive snapshot of the UI, in the centre is the QObject tree which you can navigate, and on the right is the list of the selected QObject’s properties, methods and signals you can interact with.

On display in that screengrab are some of the attributes of the QDeclarativeImage object which draws the Terminal icon in the launcher (this is defined in QML!) – you can read off the source of the image, the x,y coordinates, width & height, and a whole lot more.

All these properties, methods, signals, etc, are scriptable via Ruby. Thus we can emulate every interaction that a user can make with the application, and determine the reaction matches our expectation.

And all this power comes with almost no changes* to the source code! (* = just need to add object names, see later)

This forms the foundation for the Unity 2D User Experience testing suite.

How Testability Works

First some definitions:
“target” = the machine with the software being tested
“host” = the machine running the test suite, and controlling the target

Testability works as follows

  • any Qt application using Qt4.6+ can be tested by executing it with the “-testability” switch.
  • a standalone server “qttasserver” runs in the background.
  • With the -testability switch, the Qt library tries to load a “libtestability.so” plugin which establishes a connection between the application and qttasserver, giving qttasserver access to the root node of the QObject tree.
  • qttasserver then climbs the QObject tree, reads all the info it can and converts it to an XML format. It also can receive commands and cause the application to react upon them (click here, type, etc..).
  • A series of Ruby scripts connect to qttasserver, receive and parse this XML and allow us to script tests and interactions with the application.

Image

Note that there is a clear divide between the machine of the target and of the host.

This means Testability is great for testing software on embedded devices too. (Indeed Meego has been using it for that exact task!). It also reduces the risk that packages used to run the test suite could interfere with the software being tested.

However there’s nothing stopping you having the target and host the same machine.

[The Unity 2D test framework also includes an extra helper library to control the X server, to control the mouse and keyboard, and to manipulate windows on the desktop. As far as X is concerned, a human is controlling it.]

With the ability to fake any form of user input, and directly read the output from the shell applications
themselves, we can test almost every behaviour of the desktop shell. And as a result, the quality of the user’s experience will only go up.

How to get Testability and start writing tests

Unfortunately Testability is not available in Ubuntu’s repositories just yet, but I have it packaged in a PPA. Installation takes a few steps, so I suggest that interested people consult this wiki page.

Tests are just Ruby scripts, so running tests is just a matter of running a Ruby script!

I think it easiest to show how to use Testability with an example:

# Example test for Unity 2D with Testability Driver.
#
# Note: this probably won't succeed on your installation. Only works
# on unity-2d trunk *right now*, something that will change soon.# This is only a taster!require 'tdriver'
include TDriverVerify

# Establish connection to 'qttasserver' on target
@sut = TDriver.connect_sut(:Id => 'sut_qt')

# Execute the application to test, supplying '-testability' flag
@app = @sut.run( :name => 'unity-2d-launcher',
                 :arguments => '-testability' )
# ------------- Start of Testing Code ----------------

# Check Launcher is 65 pixels wide
verify_true(1, 'Launcher is not 65 pixels wide') {
  @app.LauncherView()['width'] == '65'
}

# Check that Terminal tile is using correct icon source
verify_true(1, 'Terminal icon in Launcher is wrong') {
  @app.LauncherList( :name => 'main' ) \
      .QDeclarativeItem( :name => 'Terminal' ) \
      .QDeclarativeImage( :name => 'icon' )['source']     == 'image://icons/utilities-terminal'
}
# this is a bad test, as the name "Terminal" can be # localised, meaning a fail if you're using a non-English # installation. Choosing good objectNames is important!

# ------------------- Clean up -----------------------
# This closes (kills actually) the launcher when we're done.
@app.kill

There is some boiler-plate code there, but the bits I want to point out are:

@app.LauncherView()['width']

This causes Testability to search for an object of type “LauncherView()” in the QObject tree, and if found reads its “width” property and returns it. Then in Ruby, we can check this value matches what we expect (65).

The second test does a similar operation, but needs a little more help. As there are many tiles, we need to help Testability to find the exact tile we want. We do this by adding some object names (“main”, “Terminal”) to the C++/QML.

By consulting with the Visualizer image above, maybe you can see how Testability navigates the tree to find the icon source for the Terminal tile!

Once you can track down objects uniquely, you can then start interacting with them, send mouse clicks, set properties, call methods, etc. This power gives you great flexibility in testing your application!

Demo

As a demo, here is a video of a part of the Unity 2D test suite in action. On the right is Ubuntu Oneiric running inside VirtualBox, where the Launcher will be tested. On the left is my host machine terminal running the test suite.

Various hide/show tests are being performed, with windows in the way, mouse being controlled, keyboard shortcuts being pressed etc.

Our policy is that every new feature and bug fix in Unity 2D will now be tested like this. You can see our growing test suite here. This will ensure Unity 2D remains reliable, consistent and fast. Thanks to Testability!

Tests will improve your project’s quality too. Will you give it a try?

- Gerry Boland


Read more
Marcin Juszkiewicz

Half year ago at UDS-O in Budapest Michael Opdenacker interviewed some people from Linaro. I remember that at the end of event Kiko asked him did he talked with me cause he thought that it could be interesting for someone.

Then we had another Linaro Connect (in Cambourne) and nothing happened. But in previous week I got an email that there will be interview with me in Orlando and that I should choose time slot for it. So I did and here is the result:

httpv://www.youtube.com/watch?v=ajNSrQfFcPA

What we were talking about? Check it yourself. And please comment did you enjoyed.


All rights reserved © Marcin Juszkiewicz
I got interviewed during Linaro Connect was originally posted on Marcin Juszkiewicz website

Read more
Marcin Juszkiewicz

Last week there was Ubuntu platform sprint in Dublin, Ireland. I was there as one of invited Linaro guys (we got own room). What for we went there?

Work. Simple word but so much content in it. Sprints like this one allow to cooperate with other developers and this time I spent some time with Ubuntu ARM, Foundations and Kernel teams. But most of time I spent with Linaro guys as we had release of 11.06 to do.

My part was building cross toolchains for Ubuntu — including few already released ones. So I pushed several updates to ‘oneiric’, ‘natty’, ‘maverick’ and ‘lucid’ versions:

  • binutils 2.21.52.20110606-1ubuntu1
  • gcc 4.4.6-3ubuntu1
  • gcc 4.5.3-1ubuntu2
  • gcc 4.6.0-14ubuntu1
  • eglibc 2.13-6ubuntu2
  • linux 3.0-1.2

If you are running 11.10 ‘oneiric’ then all you need is just apt-get install g++-arm-linux-gnueabi and will get cross compiler. For “armhf” compatible one apt-get install g++-arm-linux-gnueabihf needs to be used. For those which run older releases there is Linaro toolchain backport PPA where packages are available for “amd64″ and “i386″ architectures.

Other part of my work was related with Star rating system which we plan to use to show status of boards supported by Linaro. I did some tests with PandaBoard connected to two monitors at same time and reported several bugs. Situation is nice but many things still need work.

At one moment I was creating “lucid” chroot on my “oneiric” system to be able to compile toolchain. And then I got a problem which ended in bug 802985 which needs fixing in all supported releases… Also debootstrap needs to be expanded to handle multiple suites at one time — otherwise there will be no way to populate chroots with older releases on any machine running 3.x kernels.

But work is not the only thing which we spent time on. Evenings were usually in pubs or similar places.

On Monday I went to hotel bar, grabbed a beer and started discussing with some random people. At one moment (when we were talking about OpenZaurus) one of them asked who I am and then went and bought me beer — he was Zaurus user whom I helped in past ;) So never know who you can meet…

As I have few friends in Dublin area I contacted them and on Wednesday evening I went with one of them to Club Chonradh na Gaeilge Irish pub where speaking English is nearly forbidden (but we were using Polish so no problems :). There was one bard singing Irish songs. Nice place, nice event.

Thursday was team dinner — went to Rustic Stone. Nice place, awesome food:

My dinner in Rustic Stone

Friday was a day when many of us started packing and some even left earlier to catch flights. As Wookey asked me week before sprint to take my N900 with me we made a deal and I got some Euros and he got phone with all accessories. So guys — now really no more Maemo support from me (not that I did anything in this area since move to Nexus S).

On Friday also other part of visit started for me — my wife Ania arrived and we went to our family to spend nice weekend in Ireland.

We drove to Howth, spent some time looking at area from highest(?) mountain:

Then beach in Portmarnock where my wife started collecting sea shells… Quickly we got lot of them but I managed to put them in luggage somehow ;)

Evening was funny as we had to meet with one of my old friends. The “problem” was that we never met in real life yet and I forgot how does he looks. When I told that to wife and rest of group they were really surprised that such thing can happen ;D But we found each other and went to the Church Bar which is made from old St. Mary’s Church of Ireland which is one of the earliest examples of a galleried church in Dublin. Built at the beginning of the 18th century and renovated in 21st century. Nice place to visit in Dublin.

On Sunday we went into Wiclow county. Upper Lake at Glendalough then Glenmacnass Waterfall and few stops during trip to watch landscapes:

My wife and me

Monday was different — we went to Dublin for normal sight-seeing. You know: buildings, churches, castle…

Then packed bags and went to airport. The good part of Aer Lingus is that there were no problems with checking-in two bags on my ticket (but queue to just drop bags was insanely long). 2h flight, then another 2h in a bus and we finally arrived home. This part of conferences trip I like most — arrival at destination (as in Europe trips can take even 9h for me).


All rights reserved © Marcin Juszkiewicz
Dublin: Ubuntu sprint and more was originally posted on Marcin Juszkiewicz website

Share/Bookmark

Read more
Marcin Juszkiewicz

When I bought Nexus S in January I was using stock Android for few weeks. But somewhere around FOSDEM I moved to nightly builds of Cyanogenmod which is alternative “distribution” of Android done in more open way.

Why moved? New features, out of box support for Polish language, no problems with getting root access for applications, big community behind project were main reasons. And more… I have now custom kernel (Netarchy 1.3.0.2), DPI changed to 210 (from original 240) with use of Font Changer and normal font replaced by Ubuntu one (also done in Font Changer).

Main home screen Plume with Ubuntu font One of mails in K-9 Mail application LinuxNews post

I was updating my phone from one nightly build to another. From one RC to other and today moved to final version. Upgrading usually went fine, but each time I had to reinstall custom kernel or change back to 210 DPI but that’s how it works. I will probably check other alternative builds one day but today I am satisfied with Cyanogenmod7.

But as this is final version then maybe I will find some time and (after discussions with our Android magicians) will do build of it with Linaro cross compiler — who knows, maybe will give few more percent of speed extra?


All rights reserved © Marcin Juszkiewicz
Cyanogenmod7 released was originally posted on Marcin Juszkiewicz website

Share/Bookmark

Related posts:

  1. Going to Android
  2. Month with Nexus S
  3. Released sources of my Protracker module player

Read more
Victor Palau

Nokia’s CEO Stephen Elop announced recently what seems to be the end of Symbian. But, he might be underestimating Nokia’s dependency on the aging operating system.

Symbian is bringing some needed revenue for Nokia, although not enough to keep their leadership position. It is not surprising that Nokia has announced a move away from Symbian. It is surprising that the death of Symbian is so readily predicted before any real sign that the plan B will be successful. By moving to Windows, Elop is betting all his chips in red number 7.

Betting on a losing horse

The signs are not good for Window Phone 7, and it will not help to pair up with a phone manufacturer which many consumers now consider out of touch with what they want.

The initial buzz has been quickly stump out by an advertisement campaign that fails to communicate the value of this new platform.

As Google and Apple have proved now repeated times, the tipping point for a mobile platform is the application developers. While Microsoft brings to this partnership fantastic assets in App Development environment, it joins the battle too late.Why will you write an application for WP7, when you can write it for Android or iPhone?

Getting rid of Symbian

So in summary, Windows Phone 7 is a platform that brings additional license cost, has no consumer pull and it is not adopted widely by OEMs. Nokia will find themselves not only paying the license fee but also doing the leg work on their own of bringing the platform to a good quality level and attracting developers. It will be a ground hog day.

Elop’s strategy heavily depends on WP7 phones selling and selling lots. When (and not if) these sales fail to materialise, he will find himself craving every dollar that Symbian brings to Nokia. Unfortunately Nokia will continue their dependency on a ever less competitive platform, instead of working on a real solution to their problems.


Read more
Marcin Juszkiewicz

Month with Nexus S

During Linaro/Ubuntu platform rally in Dallas I went to Best Buy and bought Nexus S as a phone which has to replace Nokia N900 which I used for over year. It was first time when I paid full price for such device — previously I took phones from operators or had some kind of discount (like DDP one for N900 year ago).

Switching from Nokia N900 to Nexus S was not easy task. First I lost calendar entries when tried to sync contacts to Google account using Mail for Exchange functionality of Maemo. Good that I had a backup… Copying of data from internal storage from one device to another was easy — microUSB cables are good to have thing. And then I took SIM card from N900, put it into Nexus and so far did not took it out yet.

Then came Market — after installing AppBrain application I had all applications, which I selected before or had on N900/Nitroid, installed properly. Then installed some more and removed some, added others etc. Common routine when you change operating system — finding which application suits best.

For Twitter I checked few and now I have official one and Plume installed. First one only to have contacts synced and do all tweeting in second one. For Facebook I use their default app — so far did not found replacement. Best situation was with e-mail client — installed K-9 Mail and added all my IMAP accounts into it. Now my phone tells me when do I have to check for new messages before my desktop one will notice ;D

Basically when it comes to applications Android shines (especially compared to Maemo). So far I found many programs for things which I did not had on N900: TV programme, public transportation guide, ATM finder and so on. And games! Dungeon Defenders, Gun bros and several others… Angry Birds has more levelpacks then Maemo version (but I never was a fan of that game anyway). Lot of things to choose from. Not to mention that installing of software is not so painful as it was on N900. You can use online Market, AppBrain and probably there are some other ways. Ok, I will probably miss APT but so far I am fine with what Android does. The most impressing thing is that during package installation device is not slowing down — it just adds one more entry to notification bar.

Notifications… I like how it is done. One place for icons on status bar which expands to whole screen list of what is going on. Nice stuff. Especially after installing some extra apps which will add there switches, weather informations etc.

Desktop looks different and has lot more customizations possible then hildon-desktop gave. And user can use other launcher then default one (I use ADW Launcher). Then just put widgets, icons, contacts, live wallpapers etc and you will be done. Business calendar which I use now can not be compared to Maemo parody of calendar (this is with most of apps anyway).

Do I miss some applications from Maemo? Yes, I do. Nokia did good job on Contacts and integration of IM/VoIP/Skype accounts. Under Android I did not yet found out how to get it in best possible way. So I have to run separate IM client (IM+ for now), Skype is also external (but contacts are synced into addressbook) and did not yet setup SIP accounts (but this is integrated). Good thing is that after first week of use I was able to use SkypeOut for calling my family in Poland.

But let’s get to hardware. Nexus S is light and small compared to N900. I like it’s look and feel. Screen works nicely for me everywhere. Before buying I was not sure how will I adapt to capacitive touchscreen after 8 years of using resistive ones but there was nothing to adapt to — it just works. Bigger problem is other direction — I need to press my TomTom harder now ;D Other issues? Lack of any kind of LED is a bit annoying. But NoLED helps a bit with it. Also WiFi reception looks worse then N900 had. But this one I need to check one day.

Overall I am satisfied about this change. I have phone which has latest version of popular operating system, have access to application market where there is a problem which app to install instead of “there is no application for this”. For some time I will have system updates provided by Google, then will switch to alternative firmware and will have current software.


All rights reserved © Marcin Juszkiewicz
Month with Nexus S was originally posted on Marcin Juszkiewicz website

Share/Bookmark

Related posts:

  1. Going to Android
  2. Played a bit with Maemo 5 SDK
  3. Calling on Maemo?

Read more
Marcin Juszkiewicz

Over two years ago I was thinking about next cellphone and wrote that it would be something with Windows Mobile. There were comments that I should go for Android which was not on a market yet. In first week of 2009 I switched to Nokia E66 running Symbian. There were apps for this device (I even bought one: ProfiMail) and community existed with lot of tricks, hints, suggestions.

In October I got Nokia N900 discount offer and I decided to take it. Device arrived month later and I got hooked. Finally device which I can use daily for my network activity without having to carry additional cellphone (like it was with Nokia 770 and N810 tablets). Maemo community existed already and I was a part of it. As there were developers already equipped with N900s there was a constant flow of new applications, themes, tweaks and hints. Platform was living. Nokia provided few system updates, some of them even gave some nice new features.

But at same time it was known that amount of love for Nokia N900 at headquarters is near zero. MeeGo was announced just few months after device release so it was known that there will be very limited support level and that some things will never be done (like Ovi Maps with voice navigation).

So I started slowly to look at market to know which way to go for next cellphone. Windows Mobile 6.x was out of question as this is platform which gets out of market now. Windows Phone 7 is fresh, strictly controlled so I do not want to go there — let it first get some devices, applications etc. Symbian? no way — been there already. Ok, Nokia N8 looks nice but it is still Symbian. MeeGo is not yet market ready when it comes to phones and even when mystic N9 will be released then it will not be pure MeeGo but rather some kind of mix of open components from MeeGo + huge set of closed sourced applications written by Nokia. And who knows how long it will be supported…

So I looked into Android. Installed NITDroid on N900 to play with FroYo and it looks and behaves quite good. There are lot of communities (usually around families of devices), custom system images are something normal for popular devices (so if vendor does not support upgrades to newer OS versions then community usually do). Also lot of friends already use Android powered devices (cellphones, tablets etc) so there are lot of hints from them what to choose when it comes to hardware or software.

Which cellphone to choose? I have few candidates:

  • Nexus S – brand new device, Google supported so should get few OS releases, runs latest Android
  • Nexus One – nearly year on market, also Google supported, runs Android 2.2, newest version “should be out in few weeks”
  • HTC Desire – nearly same as Nexus One but this time as official HTC device. Android 2.2, should get at least 2.3 version from HTC
  • HTC Desire HD – hardware similar to previous one but bigger screen
  • HTC Desire Z – Desire + hardware QWERTY keyboard
  • Samsung Galaxy S – Android 2.1 but 2.3 is promised

Which to buy? Nexus S looks good and I will be in US in January…

And this will be my 4th cellphone running Linux…

UPDATE: added Samsung Galaxy S because vendor promised Android 2.3 — but it depends when it will be available.


All rights reserved © Marcin Juszkiewicz
Going to Android was originally posted on Marcin Juszkiewicz website

Share/Bookmark

Related posts:

  1. Is this the end of Maemo5?
  2. MeeGo">Maemo -> MeeGo
  3. Month with Nexus S

Read more
Marcin Juszkiewicz

Some time ago I stopped following Maemo news. For me N900 became “just a phone” which I used for calls, checking email in crappy Modest, browsing web from time to time and to read Twitter (if any application for it works) or Facebook (by web browser cause there are no apps for it).

But recently I got one tweet which pointed me to “State of Maemo” post. For me it looks like Nokia decided to finally abandon sinking ship and leave Nokia N900 users alone. Qt will probably get some updates to show that they care about cross platform support. How many MeeGo Qt apps will work on Maemo5? No one knows probably but one thing is sure — they will have to be recompiled because Harmattan will be hard-float (confirmed by Nokia developer during UDS-N). But for rest community will have to care about.

OK, there was told that there are “ideas about opening various pieces of Maemo source code that are still closed” but what it will be? No one knows. I would like to get Calendar opened but when it will happen I will probably do not have N900 anymore…

And today I read total “please ignore our ,but ignored by us, platform” message:

Last week we spoke with Nokia. We were actively discouraged from developing for Maemo any further. There are lots of things we love about Maemo, including an awesome user community so we’re disappointed to see it EOL’d. It’s frustrating to have put so much effort into an app only to see the platform it’s on be terminated. Whether we reappear on MeeGo — the successor to Maemo — depends in part on Nokia. In the mean time, our conversation with Nokia has led us to deprioritize the update we were working on, though no final decision has been made yet as to whether or not it’ll ship. I’ll keep you posted.

Somebody wants to buy my N900? I am going to move to Android because this looks like a platform where OS vendor care at least on some of devices by providing system upgrades. And there are communities which provide updates for abandoned devices. And no, I do not plan to buy device running MeeGo — enough money spent on Nokia devices.


All rights reserved © Marcin Juszkiewicz
Is this the end of Maemo5? was originally posted on Marcin Juszkiewicz website

Share/Bookmark

Related posts:

  1. Going to Android
  2. MeeGo">Maemo -> MeeGo
  3. System updates repository for Maemo5?

Read more
Marcin Juszkiewicz

Ubuntu One — good or bad?

Today I activated my UbuntuOne account again and enabled mobile service + extra 20GB storage (such set is given free for Canonical people). Now I wonder did it had sense…

On my desktop I am running KDE 4.5.3 under 11.04 ‘natty’ development release. Why is it important? Because there is no client for such combination. It looks like you need to run GNOMEbuntu or Microsoft Windows to have some kind of U1 integration. Otherwise I need to run shell command (or use GTK app) to login.

But ok, I installed all required packages and it connected. Synced Tomboy notes from desktop and Conboy ones from my Nokia N900 so now I have them in sync (without a way to select which one I want where but that’s limit of apps). Then I decided to make use from synchronization of contacts. And here the fun begins… My phone is not supported by Funambol (syncml backend used by Ubuntu One) so sorry — all I can use is one bug on LaunchPad.

So what’s left? Files — good to have 20GB of storage for something. Maybe will start using it one day. Now I spend time mostly at home so wifi/ethernet connection works and I have access to all media on my machines. Other is bookmarks — but only Firefox is supported (by extension) and I switched to Chromium few months ago.

But who knows… maybe it will have some use one day.


All rights reserved © Marcin Juszkiewicz
Ubuntu One — good or bad? was originally posted on Marcin Juszkiewicz website

Share/Bookmark

Related posts:

  1. Nokia N900 discount
  2. Month with Nexus S
  3. N900 arrived

Read more
Marcin Juszkiewicz

I use Qt on my devices since my first LinuxPDA: Sharp Zaurus SL5000 on which I used OpenZaurus with OPIE as primary environment. It was based on Qt/Embedded 2.3.x and was looking ok. UI of most applications work properly in both portrait and landscape modes, adapted to size of fonts (I used smaller then default ones).

Then Zaurus c760 arrived at my place and I did some UI code tweaks to make everything looking better on VGA screen (not that it looked wrong — I just improved few things). At that time I had nearly every Zaurus model in hands and took care to make all looks proper in both orientations.

From time to time I was also playing with 3rdparty applications to adapt them to resolutions higher then QVGA (which was sort of standard in palmtops of that era). Usually loading UI files into Qt Designer and reordering them or adding layouts helped. One of them was Mileage which required adding huge amount of layout elements just to make it look properly (all elements were put as X,Y positions originally).

Some time later I moved to GTK/X11 based environments on portable devices and later my cellphones took PDA place.

But with Nokia N900 I decided to go back to programming with Qt – 4.6 version this time. First was my module player (which I probably never end) and some time later I decided to play a bit with Vexed released by
Paul Romanchenko (rmrfchik on #maemo) where I reorganized UI a bit, added portrait support and did few other tweaks.

But then I switched to ApMeFo and while idea of application is good the UI is disaster:

  • tabs in main window
  • lack of portrait support
  • unusable UI when forced to portrait mode
  • use of non standard button sizes
  • use of non standard font sizes

And sources lacked UI files… So one day I decided that it will be good occasion to learn something new. Author was not responding to my sources request so I launched Qt Designer and started to recreate UI from scratch — using existing sources as information what kind of widgets were used. Took me some time but I got new, a bit improved UI which even worked in portrait mode:

But it still was not what I wanted. It still had tabs and small buttons… First I got rid of tabs:

Rest of functionality was moved to menu and separate window:

I was not too proud of it. OK, it looked better, I even changed some non-UI code but it still was not what I wanted to achieve. But at least I had something what I could give to users for testing.

How does it look now? Let me show not yet published version:

First main window — all buttons are finger friendly. I also grouped them a bit — it is visible in portrait mode which is also great when user want to re-order items.

Dialog to select applications to add got some changes too. It is maybe not conform with UI style guide (OK not under but on right) but it gave me extra line in list widget. Think of multi selection…

As you see (de)activation and folders are now in menu. (De)Activation has also Yes/No requesters :)

Folders window is place which needs lot of work. Only delete works now (also with Yes/No requester).

List of things to do is long as users suggested many things. I probably will not add most of them because so far I did not checked how exactly ApMeFo works but once I will read rest of source code I think that something good will come from it.

And is designing UI simple with Qt? I think that it is — developer does not have to worry what kind of paddings are needed to be used, how to place widgets to make UI conform to style guide rules etc. Once you do design with layout elements application adapts itself to what is available.


All rights reserved © Marcin Juszkiewicz
Is designing UI simple with Qt? was originally posted on Marcin Juszkiewicz website

Share/Bookmark

Related posts:

  1. Switched from Catorise to ApMeFo
  2. N900 — second day
  3. Zaurus line officially ended

Read more
Marcin Juszkiewicz

Maemo5 (which is running on Nokia N900) has application launcher which by default lists all entries in some kind of order. There is a way to move icons but when you have too many of them it becomes not comfortable enough to use.

There are few ways of dealing with it. First was MyMenu application, then Catorise got born and some time later ApMeFo arrived on scene. Few months ago I installed Catorise, hacked it a bit (and got my changes merged) and it was fine. Automatic sorting of applications worked fine, there was a way to force icons to be placed in other categories then default given. Someone even wrote GUI for moving icons from folder to another.

But there was also thing which I started to miss one day — no way to create own categories. Or at least I did not found such one. So I asked on IRC one day and got suggestion to try ApMeFo.

Installed, started GUI and WTF!?! Interface was (still is) disaster. Uninstalled it but promised to get back to it after vacations. And I did. I even keep it installed and use it. But let’s start from beginning.

How did I moved from Catorise to ApMeFo? First made a backup of setup so I could check which application was in which category. Then used ApMeFo to create basic folders and added one app into each of them. Next step was in ViM where I edited all sub menu files to contain entries from Catorise setup, edited order, moved some into other categories.

Now I am waiting for ApMeFo author to return from his vacations as I would like to improve UI a bit but sources present in ‘Extras’ repository are not complete (files are generated from *.ui files saved by Qt Designer).


All rights reserved © Marcin Juszkiewicz
Switched from Catorise to ApMeFo was originally posted on Marcin Juszkiewicz website

Share/Bookmark

Related posts:

  1. Is designing UI simple with Qt?
  2. N900 arrived
  3. N900 — second day

Read more
Marcin Juszkiewicz

I wake up quarter past 6 in the morning. Some time later went to my desktop to check does something happened during night. Usually it means IRC highlights or new emails but today it was something other: network outage.

OK, I told — there are other things to do like buying train tickets, making few calls, breakfast etc. But I returned home 2 hours later and situation did not changed. Cable modem still blinks with “DS” led… After call to isp (UPC) I got information that there are some modernization works in progress and will be ended at the end of hour. But hour later it was still “at the end of current hour”…

As I had to be at work I took my Nokia N900 from pocket and launched X-Chat to give network outage information to my coworkers. And started to think how to fix situation…

Lack of sleeping seats in train forced me to change train so I will take my laptop with me to be in contact during trip. So I had to learn how to use N900 as modem anyway.

So how to do it? Thanks to blog post by Marius Gedminas I had easy way. As I prefer to not have cables hanging and like to have more battery power I had to limit myself to BlueTooth.

Nokia N900 side: installed “bluetooth-dun” package which starts “dund” so “Dial-Up Networking” appears in list of offered services.

Desktop side: BlueDevil detected phone but handles only OBEX and Audio profile ;( Thanks to one of comments on Marius’s blog post I installed “blueman” and used it to connect to N900/DUN service. This allowed me to use NetworkManager to connect to internet.

Laptop side: Also BlueDevil and “blueman” are installed but I did not used them. Instead I altered default routing and got crazy setup: laptop -wifi-> router -ethernet-> desktop -bluetooth-> n900 -gprs-> internet.

Setup works properly. Modem still blinks with “DS” led…


All rights reserved © Marcin Juszkiewicz
Today is GPRS day was originally posted on Marcin Juszkiewicz website

Related posts:

  1. Bluetooth and C760
  2. Things to check with Nokia N900
  3. MeeGo">Maemo -> MeeGo

Read more