Michal Čihař - Blog Archives for English

My phone finally can make silent photos

This was feature which I always hate - phone made strange sound when taking photo. Fortunately I'm not alone who hates this and there are several howtos on net which should guide you to do this.

The only way which worked for me at the end was replacing sounds in phone filesystem, so that it plays silent sounds. For Sony-Ericsson K750i with CID 49 BROWN you need specially hacked FAR from SE-tuning.cz and just replace files in filesystem (/tpa/preset/system/sound). Now phone magically makes no sounds when taking photos :-).

Too much to translate

When introducing gettext to Gammu, I hoped that next release will be completely translated to Czech. Unfortunately there is too much to translate and too few free time. After hard work on translating, I got to 27%. That's not much.

Anyway it helped a lot in proofreading some texts and I hope I cleaned up a bit language used in Gammu. Also I introduced several calls to ngettext, what means that plurals in different languages should be now better. But this will only help, if somebody will be interested in translating Gammu. If you have free time, go ahead and improve translation to your language!

What happened on last day of April?

I just looked on server statistics and I was shocked by amount of spam and viruses rejected during last three days. Is there some new virus for Windows which tries random email addresses on all servers it can reach? I didn't analyse those messages, as they are rejected at RCPT time, because sender tries random addresses which do not work on my server. For now I try to reduce them by blacklisting in iptables, but this doesn't seem to help much as IP addresses change too often.

I think that graph shows best what big change has happened:

Mail graphs

Update: It seems to be new Sober variant causing this mess.

Gammu test version 1.10.5

I just released new version of Gammu, you can download it from download server. The biggest reason for this release is compatibility with 2.6.21 kernel. Other changes are:

  • Doxygen documentation improvements.
  • Fix USB serial devices with Linux kernel 2.6.21, we don't use ASYNC IO, so we should not set it.
  • Tell user that he should enter text for SMS.
  • Cleaned up transatable strings.
  • Improve networks listing.
  • Allow networks to be listed by country code.
  • Add flag to SMS folders whether it is outbox.

I currently do not plan further testing release before next stable one, but in case some serious problem is found, this can change.

Kernel 2.6.21 hits Gammu

Since Linux kernel 2.6.21 entered higher release candidates, more people started to report that Gammu has problem on that with connecting over USB cable. First I thought it is some misconfiguration of kernel, but when several same reports appeared, I decided to take a look at it.

As great side effect of this, I found out that I can use snapshots of Debian kernel, where current version (2.6.21-rc7) is available as Debian package. This saved me lot of time, thanks guys!

After installing and booting new kernel, I quickly found out that the problem is not SIGSEGV as many people reported, but SIGIO. After quick look at code, it was obvious that setting file to asynchronous I/O causes this.

Well this is how asynchronous I/O is supposed to work and kernel people implemented it now for (some?) serial drivers. I have no idea why there was attempt to use it in Gammu. The code is not at all ready for this and makes no use of asynchronous I/O. So the fix was quite easy - just to remove this flag from file.

Fix now sits in SVN, impatient users who run kernel 2.6.21 can get SVN snapshot :-). Testing release will follow during next week.

Gammu test version 1.10.4

I just released new version of Gammu, you can download it from download server. The only reason for this release is fixed Windows binary distribution, other changes are:

  • Fix decoding of new style address records in Nokia phones. Thanks to Martin Strigl, see also bug #286.
  • Reorganised documentation a bit.
  • Use correct format strings for IrDA debug messages.
  • Identify Alcatel One Touch 55x.
  • Improve detection of OBEX support.
  • Fixed Windows build.

Gammu test version 1.10.3

I just released new version of Gammu, you can download it from download server. There is quite a lot of changes:

  • Work with AT phones which can not write SMS to ME (bug #282).
  • Increse limits for SMS backups (this requires dynamic allocation).
  • Development switched to Subversion, see README for details.
  • Detect Motorola Bluetooth port (Daniel Gimpelevich).
  • Fixup AT driver to work with Samsung SGH X160.
  • Support for last modified field in vCalendar.
  • Adjust vCalendar entries from SE phones on DST (bug #81).
  • Fix updating of delivery report date in SMSD (thanks to Peter Stuge).
  • Fix format strings for Win32 build.
  • Fix crash when no config exists.
  • Support for MinGW crosscompation with MySQL.
  • Support for MinGW crosscompation with PostgreSQL.
  • MakeTerminatedCall can be now called more times in batch mode.
  • Support for MinGW crosscompation with Gettext.

As I can now build full featured Gammu binary for Windows, the download size increased a lot. If you thing it is too big, I can start to produce two sets of binaries.

Debug packages for Gammu

As I have problem on getting useful reports from Gammu/Wammu crashes, I realised that having debug package for Gammu is good idea. However looking into official documentation didn't reveal how to achieve this. The wiki seems also miss information about this. Well then it must be something obvious. Fortunately I'm not only one who didn't find it on first attempt and dinosaur already wrote about this.

However I still wonder why this didn't get to some official documentation. For now I wrote down this to wiki, so it is easier to find for anybody else.

CIA taken over

When migrating tags from Bazaar to Subversion, I generated lots of commits. When I did that, I didn't realise, that CIA will count all my tagging as commit and I will become most active author and Wammu will read 6th position among most active projects. Anyway this has just happened and maybe it will advertise Wammu a bit.

But don't expect that I or my projects will reappear there in near future ;-).