Package: mtkbabel
Version: 0.8-1
Severity: normal
Tags: patch
The Transystem GPS Trip Recorder 747A+ has 4 MByte log memory.
$ lsusb -d 0e8d:3329
Bus 003 Device 010: ID 0e8d:3329 MediaTek Inc.
$ mtkbabel -p /dev/ttyACM0
MTK Test OK
MTK Firmware: Version: 1, Release: AXN_1.0-B_1.3_C01, Model ID: 0006
[...]
Model ID 0006 is not identified as special device. That is why
mtkbabel uses the default value of 2 MByte if one reads all the log
memory (command line option -a).
With my patch the whole 4 MByte are read.
Thomas
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.29.1-200904251 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages mtkbabel depends on:
ii libdevice-serialport-perl 1.04-2+b1 emulation of Win32::SerialPort for
ii libtimedate-perl 1.1600-9 Time and date functions for Perl
mtkbabel recommends no packages.
mtkbabel suggests no packages.
-- no debconf information
diff -Naur orig/mtkbabel thomas/mtkbabel
--- orig/mtkbabel 2009-04-29 21:01:47.000000000 +0000
+++ thomas/mtkbabel 2009-04-29 21:05:49.000000000 +0000
@@ -1668,6 +1668,7 @@
return( 8 * 1024 * 1024 / 8) if ($model == 0x5202); # 757/ZI v2 8 Mbit = 1 Mb
return(32 * 1024 * 1024 / 8) if ($model == 0x8300); # Qstartz BT-1200 32 Mbit = 4 Mb
return(32 * 1024 * 1024 / 8) if ($model == 0x0008); # Pentagram PathFinder P 3106
+ return(32 * 1024 * 1024 / 8) if ($model == 0x0006); # 747 A+ GPS Trip Recorder
# 0x0051 i-Blue 737, Qstartz 810, Polaris iBT-GPS, Holux M1000
# 0x0002 Qstartz 815
# 0x001b i-Blue 747