layoutElementContent.uuid: 105285
layoutElementContent.uuid: 105282
Nicholas Herriot

Hi my name is Nicholas Herriot and I work for Vodafone Group Research and Development. This area of the website is dedicated to Linux for the Mobile. We also hope to be adding API's that will be relevant to certain mobile devices running a version of the Linux OS and seeding with Linux applications where possible.

Our goal is to provide a feedback mechanism for the Linux community and provide information and help around Linux on the mobile. Please read the blog and let me know you thoughts and ideas.

 

ntrack is on track!



Over the past year Linux OS distributions have been going through rapid changes in how network connectivity has been managed.

This in part is due to the boom Linux seen in Netbooks. All of a sudden it became important to get connected with Linux. In general much of my effort has been to help out in this area.

Unfortunately we have seen a number of problems crop up however due to how successful open source software has become. Open Source normally works like a meritocracy - best software wins! Unlike proprietary software where a dominant player can block other potentially innovative solutions.

But in this instance, a change made for a perfectly good and technical reason effected all users of the betavine mobile connect software running on the Ubuntu Linux distribution. In simple terms, applications requiring network connectivity would query a Network Manager about the network state. This would make it easy and lightweight for an app to discover connectivity. On Ubunutu this was a design decision made by the cool Network Manager team.

The downside however was that even if the betavine software successfully creates a data connection with a 3G USB modem - the rest of the applications running on a Ubunutu Linux OS would be unaware of that connection.
From a user perspective it's a failed app, a failed connection and an un-happy user.

The OS community have since implemented a Modem Manager API. Which we are helping with and built our app to that 'modem manager' interface. But the issue has never been far from my mind....

I was alerted by a friend from Warp about a potential solution by Alexander Sack called Ntrack . He has written a small lightweight and easy to use library for application developers which reports on network connectivity by looking for changes to the network route reported by the OS. Brilliant idea! Meaning that app's can easily find out network connectivity state. Leaving the job of connecting to what ever app is delivering that service to you - be it Network Manager or even a specific proprietary solution.

I have to say we at betavine have started experimenting with the application. If it's adopted by the community it would play a perfect role in allowing a far more open and free playing field for native applications written by third parties to provide that type of service. In my mind that's what open source is all about - giving choice back to the user.

Regards, Nicholas Herriot.

posted by nherriot  |  View comments (0)  |  Add comment

Betavine Modem Manager for Moblin



Well it looks like we are rather late with this software package but we finally got round to creating a build unique for Moblin 2.1.

The package was actually ready in early January, but as ever, something else that's deemed business critical pops up. So the JFDI card get's played!

OK so what's new with this? It's a re-spin of version 2 which has been packaged with two dependencies not available on the Moblin repository. It's got support for some of the new datacards being shipped in Vodafone world wide. It's got some minor fixes that happen on deployment with certain Linux permissions. This was actually reported with some users of the Fedora Linux distro but nobody could ever reproduce the bug... Now we can.... And it's fixed! So thanks to our Open Source community for reporting, testing and helping with the user groups problem on our forums.

OK this time we have built a small shell script to do the install. We are going live with a few pages on Moblin and how to use the app.
This will have a manual setup page for the die-hard amongst you (from my experience it seems to be the debian guys who just love to get back to basics!).

We have also taken the liberty of chatting with our Moblin/Intel friends to make sure this package goes onto their app-store. So downloading and installing should be even easier for newbies! Now that's good news for a Linux advocates!

OK, so how to you get it now while we build the pages! If you have 'wget' on your moblin device, which was on our 2.1 test machines just cut'n'past the following line on your terminal window.


wget http://www.betavine.net/repo/packages/moblin/vmc_moblin2_install.sh -q -O /tmp/vmc_moblin2_install.sh && /bin/bash /tmp/vmc_moblin2_install.sh



Ensure you input your password when the script executes. That's it!

To run the app, restart your machine, insert your datacard with a valid SIM, then go to your 'applications' icon. From your applications icon go to the internet tab and click on the Vodafone logo.



Die-Hard Please Make it Difficult

And now the hard way for the die-hard!

You can get the package file here.

You will need to untar the package...


>mkdir /betavine
>tar -zxvf /tmp/Packages2_20.tar.gz -C ~/betavine/



Install dependencies with YUM


>sudo yum install gnome-python2-libegg moblin-lsb ppp python-twisted lockdev



Install the packages within your betavine directory that you just created:


>cd betavine
>sudo rpm -ivh usb_modeswitch*.rpm
>sudo rpm -ivh ozerocdoff*.rpm
>sudo rpm -ivh pytz-2008i-6.moblin.noarch.rpm
>sudo rpm -ivh pyserial-2.4-1.moblin.noarch.rpm
>sudo rpm -ivh libwvstreams-4.5.1-6.fc11.i586.rpm
>sudo rpm -ivh wvdial-1.60-8.fc11.i586.rpm
>sudo rpm -ivh vodafone-mobile-connect-2.20.01-1.noarch.rpm




You will also need to give your user some new group privileges on this particular flavour of Linux.
So add 'lock' and 'dialout' to your user by doing:


>sudo /usr/sbin/usermod -a -G lock <your user name>
>sudo /usr/sbin/usermod -a -G dialout <your user name>



Finally, either login as yourself again or restart your machine.
Once the machine is restarted place your datacard into the USB port and start the app which should have an icon inside your applications menu -> internet tab.

It would be good to know how people find this release since it's still only using version 2.x technology.
Nevertheless, if you want 50+ datacard support this gives you it.


Kind regards, Nicholas Herriot.
posted by nherriot  |  View comments (1)  |  Add comment

Linux Kernel - Features vs Speed



Anyone following the rapid rate of change for the Linux Kernal version 2.6.32 I think will agree it is truly astounding. The work that is going into this single piece of software is nothing short of 'incredible'. Not only to it's rate of change, but it's inclusion of features, complexity and hardware support.

Before I get the the meat of my blog I'll summaries what is current and hip in the kernel at the minute:
1) Intel engineers are talking about changing the way pre-fetching works to increase performance by as much as 8%. In other words compiling not for space as previously but for speed.
2) Kroah-Hartman is looking at how to tag patches to increase work flow.
3) There is some talk about including legacy LIRC (Linux Infrared Remote Control) into the mainstream kernel. This was traditional provided by external drivers.
4) Those clever guys at DELL have proposed a new character device interface. Thus no more problems with device naming being inconsistent (e.g. on one machine a PCIA Ethernet card being named 'eth0' while another named 'eth1'.
5) Fast symbol resolution by some great work from Alan Jenkins. Thus a faster booting machine. And I thought it was fast already...
6) Para-visualization improvements for kernel-based virtual machines -KVM -Of which I won't go into details.
7) A fix for Linx Out Of Memory killer. This could take a blog in itself, but the fix basically changes where the Null page is stored in memory. Hence stopping a NULL pointer exception calling malicious software being called if referenced.

But all this great work seems to come at a price. It seems that the current 'big issue' facing the kernel is 'speed'. The performance of the kernel compared to previous 2.6 versions is down by 5-10% depending on what bench mark you use. It seems to be part of a trend that has a few people worried. To address this and help to get a handle on the issue the Kernel hackers have included in the /tools directory new benchmarking capabilities called 'pref bench'.
I guess the worry is that with Linux starting to go on to smarbooks, mobiles and netbooks nobody wants to see this issue have a negative impact on how Linux runs on small low powered devices.

For more info on all this have a look at kernelpodcast.org.
posted by nherriot  |  View comments (0)  |  Add comment

another app store

Watching the BBC Click program on Sunday night I was amazed to see a report on the new app-store that has been launched.

Firstly, amazed to see that the BBC-Click team thought it worthy enough to be on prime time. It's another App-store right? Well not quite, what makes them different is that they claim to be platform independent. They don't push one technology, or hardware platform. Even so, it's great to see this type of web service get visibility on prime time TV.

Now into the detail. Appboy does seem to be totally independent. They support Android, Blackberry, Palm-Pre, and i-phone. That's 50% of their supported app's Linux based! Who would have predicted that 2 years ago!!!

They also sign post and direct users efficiently around the site. Easy to see new apps, add your ideas, vote on apps, and select them.

The site is written with Ruby, another Open Source success story and runs on a platform developed and promoted by getsatisfaction.com.

So it now looks like there are two places on the net that are independent of plaform where you can upload your app's. Betavine and Appboy. Appboy, however have a remuneration path for developers which we do not.

I'd like to here from others if they think Betavine should go down a commercial route and remunerate developers for app's on the site. Drop a line and let me know.

You can go here for a look at Appboy.


Regards, Nicholas Herriot.




posted by nherriot  |  View comments (1)  |  Add comment

Betavine Modem Manager

Betavine are now releasing a version 3 of there Modem Manager. Presently we now have a version which works with Ubuntu 9.04 and 9.10 (with updates!).

So what's new? Everything, but it still looks mostly the same! This version has now been re-architected. Utilizing a base layer to control messaging, database access, modem communication, modem inter working via plugins and communication with Network Manager via dbus. We have done this by integrating our UI with Wader-core - an open source component built by warp (great work from those warp guys on this - check them out on Google!). On top of this we have changed and added to the warp-core to allow proper inter working with different Network Operators - so it will work out the box with most operator networks. There is back end work for multi-part SMS, a proper database for storing and retrieving SMS and Contacts list and some work around ZYB.

We also have a D-Bus API to allow other applications to utilise the Modem Managers ability to send and receive plain old SMS - great when you just don't want to create a network connection to send and receive a message.

The UI now communicates with our core via D-Bus, it still is written in Python (we do love our Python plugins!), it now has many small improvements taken from direct feedback from 'you' the community and testing with colleagues from the Betavine gang!

Our iconography is polished, statistics are now stored properly in our sql database. We simplified our usage stats, improved diagnostics and preferences - now stored in gconf - integrate seamlessly with evolution, it's hot plug-able, we allow storing of messages in the database or the SIM and our usual thorough integration with PUK - PIN.... Believe it or not we even tested with an O2 SIM! Betavine truly are pushing the boundaries in terms of Open Source software contributed to the community by a Network Operator....

Presently we have tested the software with 4 modems. So the software is in Alpha. We are looking for other advanced Ubuntu Linux users and developers to test and feedback with our alpha release. Our plan is to get as much feedback on the software due to the number of major changes.
We are also hoping to get community help on integrating the number of dongles that are currently out there. Again we will be using the Python Plugin interface to allow any Linux fan-boy to contribute to the project.

So what's next - Betavine will be expanding it's developer section allowing people clear instructions on how to build - develop and create apps using the API, instructions on how to create plugins with the frame work for people in Networks with little or no support, and also proper integration with the Moblin repositories and / or Garage...

You can get the alpha release from here. It contains 5 packages which need to be installed in order using:

>sudo dkpg -i 'package-name'


You need to install in the order - ozerocdoff, usb-modeswitch, python-messaging, wader-core and wader-vmc.

You may find that you have dependencies not met, but since we have not create a repo for this you can use the >sudo apt-get -f to cause synaptic package manager to download the needed dependencies. You can then continue with your install.

The new version will not destroy your old VMC, it's completely independent. To start from the command line use: >wader-vmc
This package as I mentioned before will work on Ubuntu 9.04 and 9.10 as long as you update your packages. It's got plugins verified and working with Huawei K3520, E172, Ericsson MD 300 but it should work with most Huawei devices.


Well we are hoping for lots of feedback with this version. In the next 4 months we are going to be integrating a whole load of cool new features so be sure to check back on us! :-)


Kind regards, Nicholas Herriot.
posted by nherriot  |  View comments (4)  |  Add comment
layoutElementContent.uuid: 105281

Recent forum posts

huawei K3565 can connect to skyp...

denis,


Hello everyone. I need very quick help otherwise I will have to switch back to windows so any help is much much appreciated. thanks in advance I will try to describe my problem step by step I installed vmc and umtsmon as well (suggestion from opensuse forums). At first I couldnt connect at all because in the shop they have me wrong apn. I discovered its PPBUNDLE.INTERNET. Now I can connect, the modems blue light keeps lighting. I try skype and it connects and works perfectly. however firefox doesn't work at all. It says its offline and file-work offline doesnt work. Oddly, yesterday I managed to connect properly. I just opened knetwork manager and with all the details it worked. But today it doesn't even try to connect. I am really puzzled and frustrated, looked everywhere and there seems to be no answer. I found a few people with a similar problem on this forum but no one really replied to them thanks everyone who tries to help denis

more...

Re: VMC Fails to start - Debian ...

estens,


found the resolution... i downloaded the python-pyasn1 package for my distribution and everything started working fine.

more...

Re: K3565 - PAY-G - Linux Kubunt...

keith,


Hi, i have posted this problem also so any help is appreciated. Regards Keith

more...
layoutElementContent.uuid: 105283

Recent blog comments

VMC for Acer Aspire!

piraz,


Thanks for your kind reply Nicolas, I really hope you will get some insight during the weekend on my issue! I tried time and again in the forums..but that is as far as I got: the dongle switches according to lsusb, but it is still detected as storage . Some users report that the issue may have to to with Linpus Lite reduced capability...but there must be a way forward, right? Thanks for your support!

more...

VMC for Acer Aspire!

nherriot,


Hi, it's been noted. We are aware that the last release was way back in 2009 for this machine. I can't make any promises in getting a fix for this particular modem as we are now at a stage that we can't support all flavours of Linux. Currently we have 6 distros and 4 netbooks! :-( .... We are probably going to get one more round of software updates by April for the Netbooks then start withdrawing support for any new modems. I'll fire my AA1 up this weekend and see what I can do. You could try forums, see if anyone else has managed to fix udev or hal rules for this device? Once again, sorry for our poor response time. We are actually an R&D activity and so are not dimensioned correctly to deal with support issues currently. Kind regards, Nicholas.

more...

VMC for Acer Aspire!

piraz,


Hi there. Still no success installing Vodafone-Huawei k3765 using the VMC from betavine aaone repository. I have Linpus Linux Lite 1.0.7 E. Searching the formus but knowing little about linux I modified the usb_modeswitch.config file to get from 12d1:1520 to 12d1:1465, but this does not solve the problems: the lsusb output shows the switching, but still modem not detected! An update of the VMC for aaone to fix this would be very appreciated! I have tried to use my Nokia 6120 classic as a modem...but same prob. Thanks!

more...
layoutElementContent.uuid: 105568 Document Name CONTACT_ME Document UUID 105569

Contact me

Linux Barcode!

information icon

You can get the .mobi version of the Linux blog from the embedded QR code. Please feedback via our forum, or comment on my blog if you have problems on a particular handset.

My Mobile Blog

Bookmark Buttons

information icon

Select a bookmark button from a popular site below to get the Betavine Linux Blog. Remember to comment if you feel the urge!

Linked In Below

information icon

Get my profile on Linked in

View Nicholas Herriot's profile on LinkedIn

Betavine Member

information icon

Get my profile on Betavine

layoutElementContent.uuid: 52b29555-4ba5-4cc5-ad69-d388a1d42b96 Document Name BV_DEVELOPER_MOBILE_LINUX_LINKS Document UUID 3a1e1e37-dfca-4e00-a8cb-a135aecad6b4

Linux Resources

Linux Initiatives

Handset Manufacturers

Mobile Internet Device (MIDs)

Embedded Linux Sites

Mobile Desktop Environments

Open Source

Mobile Linux Stacks

Linux Distributions

Mobile Linux Sites

Linux GUI Library

Other Resource Links

layoutElementContent.uuid: 105284

Blog posts

ntrack is on track!

nherriot,


Over the past year Linux OS distributions have been going through rapid changes in how network connectivity has been managed. This in part is due to the boom Linux seen in Netbooks. All of a sudden it became important to get connected with Linux. In general much of my effort has been to help out in this area. Unfortunately we have seen a number of problems crop up however due to how successful open source software has become. Open Source normally works like a meritocracy - best software wins! Unlike proprietary software where a dominant player can block other potentially innovative solutions. But in this instance, a change made for a perfectly good and technical reason effected all users of the betavine mobile connect software running on the Ubuntu Linux distribution. In simple terms, applications requiring network connectivity would query a Network Manager about the network state. This would make it easy and lightweight for an app to discover connectivity. On Ubunutu this was a design decision made by the cool Network Manager team. The downside however was that even if the betavine software successfully creates a data connection with a 3G USB modem - the rest of the applications running on a Ubunutu Linux OS would be unaware of that connection. From a user perspective it's a failed app, a failed connection and an un-happy user. The OS community have since implemented a Modem Manager API. Which we are helping with and built our app to that 'modem manager' interface. But the issue has never been far from my mind.... I was alerted by a friend from Warp about a potential solution by Alexander Sack called Ntrack . He has written a small lightweight and easy to use library for application developers which reports on network connectivity by looking for changes to the network route reported by the OS. Brilliant idea! Meaning that app's can easily find out network connectivity state. Leaving the job of connecting to what ever app is delivering that service to you - be it Network Manager or even a specific proprietary solution. I have to say we at betavine have started experimenting with the application. If it's adopted by the community it would play a perfect role in allowing a far more open and free playing field for native applications written by third parties to provide that type of service. In my mind that's what open source is all about - giving choice back to the user. Regards, Nicholas Herriot.

more...

Betavine Modem Manager for Moblin

nherriot,


Well it looks like we are rather late with this software package but we finally got round to creating a build unique for Moblin 2.1. The package was actually ready in early January, but as ever, something else that's deemed business critical pops up. So the JFDI card get's played! OK so what's new with this? It's a re-spin of version 2 which has been packaged with two dependencies not available on the Moblin repository. It's got support for some of the new datacards being shipped in Vodafone world wide. It's got some minor fixes that happen on deployment with certain Linux permissions. This was actually reported with some users of the Fedora Linux distro but nobody could ever reproduce the bug... Now we can.... And it's fixed! So thanks to our Open Source community for reporting, testing and helping with the user groups problem on our forums. OK this time we have built a small shell script to do the install. We are going live with a few pages on Moblin and how to use the app. This will have a manual setup page for the die-hard amongst you (from my experience it seems to be the debian guys who just love to get back to basics!). We have also taken the liberty of chatting with our Moblin/Intel friends to make sure this package goes onto their app-store. So downloading and installing should be even easier for newbies! Now that's good news for a Linux advocates! OK, so how to you get it now while we build the pages! If you have 'wget' on your moblin device, which was on our 2.1 test machines just cut'n'past the following line on your terminal window. wget http://www.betavine.net/repo/packages/moblin/vmc_moblin2_install.sh -q -O /tmp/vmc_moblin2_install.sh && /bin/bash /tmp/vmc_moblin2_install.sh Ensure you input your password when the script executes. That's it! To run the app, restart your machine, insert your datacard with a valid SIM, then go to your 'applications' icon. From your applications icon go to the internet tab and click on the Vodafone logo. Die-Hard Please Make it Difficult And now the hard way for the die-hard! You can get the package file here. You will need to untar the package... >mkdir /betavine >tar -zxvf /tmp/Packages2_20.tar.gz -C ~/betavine/ Install dependencies with YUM >sudo yum install gnome-python2-libegg moblin-lsb ppp python-twisted lockdev Install the packages within your betavine directory that you just created: >cd betavine >sudo rpm -ivh usb_modeswitch*.rpm >sudo rpm -ivh ozerocdoff*.rpm >sudo rpm -ivh pytz-2008i-6.moblin.noarch.rpm >sudo rpm -ivh pyserial-2.4-1.moblin.noarch.rpm >sudo rpm -ivh libwvstreams-4.5.1-6.fc11.i586.rpm >sudo rpm -ivh wvdial-1.60-8.fc11.i586.rpm >sudo rpm -ivh vodafone-mobile-connect-2.20.01-1.noarch.rpm You will also need to give your user some new group privileges on this particular flavour of Linux. So add 'lock' and 'dialout' to your user by doing: >sudo /usr/sbin/usermod -a -G lock <your user name> >sudo /usr/sbin/usermod -a -G dialout <your user name> Finally, either login as yourself again or restart your machine. Once the machine is restarted place your datacard into the USB port and start the app which should have an icon inside your applications menu -> internet tab. It would be good to know how people find this release since it's still only using version 2.x technology. Nevertheless, if you want 50+ datacard support this gives you it. Kind regards, Nicholas Herriot.

more...

Linux Kernel - Features vs Speed

nherriot,


Anyone following the rapid rate of change for the Linux Kernal version 2.6.32 I think will agree it is truly astounding. The work that is going into this single piece of software is nothing short of 'incredible'. Not only to it's rate of change, but it's inclusion of features, complexity and hardware support. Before I get the the meat of my blog I'll summaries what is current and hip in the kernel at the minute: 1) Intel engineers are talking about changing the way pre-fetching works to increase performance by as much as 8%. In other words compiling not for space as previously but for speed. 2) Kroah-Hartman is looking at how to tag patches to increase work flow. 3) There is some talk about including legacy LIRC (Linux Infrared Remote Control) into the mainstream kernel. This was traditional provided by external drivers. 4) Those clever guys at DELL have proposed a new character device interface. Thus no more problems with device naming being inconsistent (e.g. on one machine a PCIA Ethernet card being named 'eth0' while another named 'eth1'. 5) Fast symbol resolution by some great work from Alan Jenkins. Thus a faster booting machine. And I thought it was fast already... 6) Para-visualization improvements for kernel-based virtual machines -KVM -Of which I won't go into details. 7) A fix for Linx Out Of Memory killer. This could take a blog in itself, but the fix basically changes where the Null page is stored in memory. Hence stopping a NULL pointer exception calling malicious software being called if referenced. But all this great work seems to come at a price. It seems that the current 'big issue' facing the kernel is 'speed'. The performance of the kernel compared to previous 2.6 versions is down by 5-10% depending on what bench mark you use. It seems to be part of a trend that has a few people worried. To address this and help to get a handle on the issue the Kernel hackers have included in the /tools directory new benchmarking capabilities called 'pref bench'. I guess the worry is that with Linux starting to go on to smarbooks, mobiles and netbooks nobody wants to see this issue have a negative impact on how Linux runs on small low powered devices. For more info on all this have a look at kernelpodcast.org.

more...
Go to blog