Michal Čihař - Archives

Gammu test version 1.25.90

While being on DebConf 9 I managed to do some work on Gammu, the famous tool for getting access to data in cell phones. The greatest feature of this release is reducing memory consumption by 800 MiB. Other code changes are much smaller, but there is also another important change - I now use Git for development, you can git clone git://gitorious.org/gammu/mainline.git.

Full list of changes:

  • Fixed getting firmware revision on AT phones (bug #951).
  • Added support for home/work mobile number (bug #952).
  • Fixed handling of error response for security status in AT.
  • Fixed segfault on systems with very low memory limits.
  • Development now goes on in Git repository, please check README.
  • 6510 driver now dynamically allocates memory for file caches, what reduces Gammu memory usage by 800 MiB.
  • Added testcases for AT+CNMI replies.
  • Fixed range parsing in AT engine.
  • Added reconnect support in PostgreSQL driver in SMSD.
  • Gammu debug level no longer can be controlled separately in SMSD.
  • Fix loop when Nokia phone does not allow to access files (bug #954).

You can download from usual place: http://cihar.com/gammu/,

Debian users will find packages in experimental soon, SUSE, Fedora and Mandriva users can check experimental repository in OpenSuse Build Service.

Moving to Git

After losing some data from svn, because I just did not have the latest backup and I only had data in local copy, I decided to finally migrate to Git.

For now the repositories are hosted on gitorious:

The svn server will stay there for some time, but I want to get rid of it in future.

PS: Translations from Pootle are now directly commited to separate Git repository under user data which he used to register in Pootle. I'll merge this repository time to time to mainlines.

Time of changes in Debian?

It looks like some things will be changing in Debian in next months. The most known thing which is already widespread know is switching to time based freeze cycles, what should make us synchronised with Ubuntu LTS release cycles. This gives advantage of sharing work done on security support, because both distribution will be quite similar code base.

The other thing which we saw today is new website proposal. From what I could see in the audience, it has been accepted quite positively, so maybe Debian will finally have nice looking website in (near?) future. The discussion showed up that also somebody else is working on that, so we will have even two competing proposals. I just hope it will not end up in some huge flamewar :-).

Windows 7 compatible? What?

Well I really love these automatic test and "rewards". Today, Wammu has just received the "Windows 7 Compatible" award on ForteDownloads.com. Wow.

But as far as I know, it has some problems on Windows Vista with permissions and I doubt it will be better on Windows 7. Is anybody actually using these systems? I don't.

MySQL way of repairing tables

This is just a small rant about issue which did hit me today. One of MyISAM tables on my database server has been crashed. Well you can expect that kind of thing after a hardware failure. I did start REPAIR TABLE and nothing happened for quite a long time.

Finally I managed to look into the logs and found this jewel:

[ERROR] /usr/sbin/mysqld: Disk is full writing '/tmp/STwW9hIc' (Errcode: 28). Waiting for someone to free space... Retry in 60 secs

Well MySQL, nobody else is not using this vserver and the /tmp is a ram filesystem. So if you filled it up, nobody is going to make space for you there and you will wait for ages.

Maybe continuous waiting is not the right idea...

I love Spanish Railways

I never thought I will have such big trouble to buy train tickets online. Some hints for anybody who has not managed it so far:

  • Do not even try to register in English, it will fail for some obscure reason.
  • Once the thing has failed, it has so broken javascript that you have to reload it.
  • Relax your spam filters, otherwise you will not get any mail from them.
  • If you have only one credit card, you might be lost. Mine did not work and I had to use another one.
  • Be patient, when your third payment attempt ended nowhere.
  • If you are not sure whether you booked or not, you can find existing bookings under Mis viajes / Impresión.

But finally I have the tickets from Caceres to Barcelona. I'm going to manage rest on the way.

Try our future additions

As the mid term evaluation is close, our students should have something working. And why not to share their results with all our users?

So I hacked up their current state of work on our demo server, feel free to try them:

Please note that messages are present only in English language for now, so you might get some errors if using another language.

Midterm evaluation for GSoC

So now it comes. Students are supposed to show what they managed to do so far and we should evaluate their projects and recommend Google (not) to send first part of money to them.

As far as I can see, most projects are quite in a good shape, even though we were afraid a bit about the progress several weeks ago.

However not all my students are active. One OpenSUSE project (Synchronization with Mobile Devices by Peter Somlo) did not actually start because student found time to look at it this week. A bit different case is Alexander Rutkowski with Tracking mechanism for phpMyAdmin, because he completely failed to reply to any of my mails.

I hope other students will complete their projects successfully and phpMyAdmin will greatly benefit from their work in future.

Gammu stable version 1.25.0

Gammu 1.25.0 is out! It does not bring any new outstanding features, just lot of bugfixes, especially in SMS decoding.

Full list of changes:

  • Retry on timeout of usb transfer (bug #940).
  • Disable AT OBEX for Motorola PEBL U6 (bug #939).
  • Disable AT OBEX for Samsung J700 (bug #948).
  • Empty memory entry has length 0 (bug #947).
  • Handle some more fields from Nokia phonebook (bug #946), thanks to Will Sowerbutts.
  • Fix distutils build (bug #916).
  • Detect when phone does not support ATE1 (bug #918).
  • Do not use OBEX on Motorola L7 (bug #912).
  • Reinclude full SMS text in comments in backup (bug #905).
  • Disable AT OBEX for Samsung J750 and J700 (bug #856).
  • Avoid shadowing C++ bool definition (bug #920).
  • Do not disable CLIP for all SE phones.
  • Add ID for Nokia 1209.
  • Catch busy error from Nokia phones (bug #932, thanks to Walter Doekes).
  • Fix code problems caught by GCC 4.5.
  • Compile static libraries with -fPIC (they might be later linked into shared ones) (bug #909).
  • Handle own number error code in 6510 driver (bug #910).
  • Add ID for Nokia 5220 (bug #910).
  • Handle SMSC error code in 6510 driver (bug #910).
  • Disable gcc warnings about non literal format strings (bug #901).
  • Add more fuzzy logic to detect bad encoding from phone (bug #874).
  • Add ID for Nokia 7500 and Nokia 7210s.
  • Improve searching for Bluetooth stack on OS X.
  • Fix ctype compile time warnings on NetBSD (bug #908).
  • Nokia 3110c has SMS on filesystem (bug #904).
  • Add ID for Nokia 5130 (bug #911).
  • Faster reading of Nokia filesystem.
  • New PDU decoder which properly parses PDU data.
  • AT driver uses new PDU decoder.
  • 6510 driver uses new PDU decoder and understands most formats of filesystem Nokia SMS messages (bug #911).
  • Fix checking for MPBR (bug #873).
  • Fix reading of calls with wrong timestamp (bug #872).
  • Increase timeout for IrDA phonet (bug #867).
  • Better detect some weird phone states (bug #866).
  • Fix handling of caller group in Python bindings (bug #870).
  • Correctly detect empty entries from Motorola.
  • Better error reporting from at-charset test.
  • smsd-inject now shows ID of injected message.
  • Fix decoding of date in Nokia phonebooks (bug #876).
  • Fix detection of SMS message memories in AT (bug #875).
  • Improve documentation for savefile (bug #893).
  • Add stricter check for DBI version (bug #894).

You can download from usual place: http://cihar.com/gammu/.

Debian users will find packages in unstable soon, SUSE, Fedora and Mandriva users can check repository in OpenSuse Build Service and Ubuntu in my PPA.