diff -Nru gammu-1.30.0/ChangeLog gammu-1.31.0/ChangeLog --- gammu-1.30.0/ChangeLog 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/ChangeLog 2011-12-21 13:25:37.000000000 +0000 @@ -19,6 +19,48 @@ ChangeLog ========= +20111221 - 1.31.0 + +[-] * Fixed compilation with latest libusb. +[-] * Improved error handling in SQL backend of SMSD. +[-] * SMSD documentation improvements. +[-] * Indonesian translation updates. + +20111213 - 1.30.92 + +[-] * Improved vCard parser to better handle location for various fields, thanks to Vladimir Serbinenko for initial patch. +[-] * Fixed reading calls from some Nokia phones (bug #1553). +[-] * Improved text mode SMS parsing in AT driver, thanks to Vladimir Serbinenko. +[-] * Use glib's MD5 implementation if available. + +20111129 - 1.30.91 + +[+] * Improved documentation for configuring Gammu. +[-] * Fixed parsing birthday from vCard in some cases. +[+] * Added option not to use configured logging in SMSD inject and monitor (bug #1539). +[+] * Added SMSD configuration LogFacility (bug #1539). +[-] * Fixed reading of data from OBEX phones (LP#891803). +[-] * Fixed double reply detection (bug #1544). +[-] * Increase maximal number of caller groups (bug #1541). +[-] * Cancel all calls on maketerminated call if we don't get call ID. +[-] * Fixed SMSC handling in some cases in SMSD (bug #1547). + +20111107 - 1.30.90 + +[-] * Various documentation improvements. +[-] * Detect Alcatel style reply on CPIN response (bug #1502). +[-] * Fix build on some Win32 systems (bug #1496). +[-] * Make jadmaker handle names with spaces (RaphaĆ«l Droz). +[-] * Display 8-bit messages in hex (Nicolas Pitre). +[-] * Do not use AT+CUSD=2 on some phones (bug #1508). +[-] * Fixed gammu-monitor with Windows service (bug #1515). +[-] * Cleanup of contrib directory. +[-] * Better support for Samsung AT phones (bug #1513). +[-] * Fixed handling of MMS notification SMSes (bug #1530). +[-] * Fixed CPIN reply handling (bug #1532). +[+] * SMSD checks for PIN status just after connect (bug #1532). +[-] * Fixed various MSVC compilation issues. + 20110719 - 1.30.0 [*] * Improved SMSD logging of configuration settings. diff -Nru gammu-1.30.0/cmake/templates/gammu-config.h.cmake gammu-1.31.0/cmake/templates/gammu-config.h.cmake --- gammu-1.30.0/cmake/templates/gammu-config.h.cmake 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/cmake/templates/gammu-config.h.cmake 2011-12-21 13:25:37.000000000 +0000 @@ -137,16 +137,6 @@ */ #cmakedefine GSM_ENABLE_BACKUP -/* Bu default commented: some parts of source are not ready or not tested - * at all (or aren't good tested). Uncomment, if you want them - */ -/*#define DEVELOP*/ - -/* By default disabled. It allows one to make short beep after such things - * like changing logo in phone (like in Logo Manager) - */ -/*#define GSM_ENABLE_BEEP*/ - /* ---------------------- C language specific --------------------------- */ /* Do we have gettext support? */ @@ -373,6 +363,9 @@ # endif #endif +/* spawnv argument type */ +#cmakedefine SPAWNV_ARGUMENT_IS_CONST + /* Path where locales will be installed */ #define LOCALE_PATH "@CMAKE_INSTALL_PREFIX@/@INSTALL_LOC_DIR@" diff -Nru gammu-1.30.0/cmake/templates/gammu.spec.in gammu-1.31.0/cmake/templates/gammu.spec.in --- gammu-1.30.0/cmake/templates/gammu.spec.in 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/cmake/templates/gammu.spec.in 2011-12-21 13:25:37.000000000 +0000 @@ -130,7 +130,15 @@ BuildRequires: unixODBC-devel %endif +%if 0%{?fedora_version} || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora} || 0%{?rhel} +BuildRequires: libgudev1-devel glib2-devel +%else +%if 0%{?mandriva_version} +BuildRequires: libgudev-1.0-devel glib2-devel +%else BuildRequires: libgudev-1_0-devel glib2-devel +%endif +%endif BuildRequires: python-devel @@ -144,7 +152,7 @@ BuildRequires: %{dist_usb_libs} %endif -BuildRequires: gettext cmake pkgconfig +BuildRequires: gettext cmake pkgconfig gcc Source: http://dl.cihar.com/gammu/releases/gammu-%{version}.tar.%{extension} URL: http://wammu.eu/gammu/ @@ -368,6 +376,7 @@ %config /etc/bash_completion.d/gammu %_bindir/gammu %_bindir/gammu-config +%_bindir/gammu-detect %_bindir/jadmaker %_mandir/man1/gammu.1* %_mandir/man1/gammu-config.1* diff -Nru gammu-1.30.0/cmake/valgrind-python.supp gammu-1.31.0/cmake/valgrind-python.supp --- gammu-1.30.0/cmake/valgrind-python.supp 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/cmake/valgrind-python.supp 2011-12-21 13:25:37.000000000 +0000 @@ -1192,6 +1192,127 @@ Leak from crypt Memcheck:Leak fun:malloc + obj:/usr/lib*/libgnutls.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgnutls.so.* + obj:/usr/lib*/libgnutls.so.* + fun:gnutls_global_init +} +{ + Leak from crypt + Memcheck:Leak + fun:malloc + obj:/usr/lib*/libgnutls.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + fun:gcry_control + obj:/usr/lib*/libgnutls.so.* + fun:gnutls_global_init +} +{ + Leak from crypt + Memcheck:Leak + fun:malloc + obj:/usr/lib*/libgnutls.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + fun:gcry_control + obj:/usr/lib*/libgnutls.so.* + fun:gnutls_global_init +} +{ + Leak from crypt + Memcheck:Leak + fun:malloc + obj:/usr/lib*/libgnutls.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + obj:/usr/lib*/libgcrypt.so.* + fun:gcry_control + obj:/usr/lib*/libgnutls.so.* + fun:gnutls_global_init +} +{ + + Memcheck:Leak + fun:malloc + obj:/usr/lib*/libgnutls.so.* + obj:/lib*/libgcrypt.so.* + obj:/lib*/libgcrypt.so.* + fun:gcry_control + obj:/usr/lib*/libgnutls.so.* + fun:gnutls_global_init +} +{ + + Memcheck:Leak + fun:malloc + obj:/usr/lib*/libgnutls.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + fun:gcry_control + obj:/usr/lib*/libgnutls.so* + fun:gnutls_global_init +} +{ + + Memcheck:Leak + fun:malloc + obj:/usr/lib*/libgnutls.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + fun:gcry_control + obj:/usr/lib*/libgnutls.so* + fun:gnutls_global_init +} +{ + + Memcheck:Leak + fun:malloc + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + fun:gcry_control + obj:/usr/lib*/libgnutls.so* + fun:gnutls_global_init +} +{ + + Memcheck:Leak + fun:malloc + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/lib*/libgcrypt.so* + obj:/usr/lib*/libgnutls.so* + obj:/usr/lib*/libgnutls.so* + fun:gnutls_global_init +} +{ + Leak from crypt + Memcheck:Leak + fun:malloc obj:/usr/lib*/libgcrypt.so.* obj:/usr/lib*/libgcrypt.so.* obj:/usr/lib*/libgcrypt.so.* @@ -1505,12 +1626,12 @@ Memcheck:Leak fun:malloc fun:inet_ntoa - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 + obj:/usr/lib*/libcurl-gnutls.so* + obj:/usr/lib*/libcurl-gnutls.so* + obj:/usr/lib*/libcurl-gnutls.so* + obj:/usr/lib*/libcurl-gnutls.so* + obj:/usr/lib*/libcurl-gnutls.so* + obj:/usr/lib*/libcurl-gnutls.so* fun:GSM_ReadHTTPFile } @@ -1519,12 +1640,12 @@ Memcheck:Leak fun:malloc fun:inet_ntoa - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 - obj:/usr/lib*/libcurl-gnutls.so.4.1.0 + obj:/usr/lib*/libcurl-gnutls.so* + obj:/usr/lib*/libcurl-gnutls.so* + obj:/usr/lib*/libcurl-gnutls.so* + obj:/usr/lib*/libcurl-gnutls.so* + obj:/usr/lib*/libcurl-gnutls.so* + obj:/usr/lib*/libcurl-gnutls.so* fun:curl_easy_perform fun:GSM_ReadHTTPFile } @@ -1603,6 +1724,38 @@ fun:_PyImport_GetDynLoadFunc } { + + Memcheck:Leak + fun:malloc + fun:open_path + fun:_dl_map_object + fun:openaux + fun:_dl_catch_error + fun:_dl_map_object_deps + fun:dl_open_worker + fun:_dl_catch_error + fun:_dl_open + fun:dlopen_doit + fun:_dl_catch_error + fun:_dlerror_run + fun:dlopen@@GLIBC_2.2.5 + fun:_PyImport_GetDynLoadFunc +} +{ + + Memcheck:Leak + fun:malloc + fun:add_to_global + fun:dl_open_worker + fun:_dl_catch_error + fun:_dl_open + fun:dlopen_doit + fun:_dl_catch_error + fun:_dlerror_run + fun:dlopen@@GLIBC_2.2.5 + fun:_PyImport_GetDynLoadFunc +} +{ dynload2 Memcheck:Leak fun:malloc @@ -2023,6 +2176,27 @@ fun:_PySys_Init } { + + Memcheck:Leak + fun:malloc + fun:PyStructSequence_InitType + fun:_PyLong_Init +} +{ + + Memcheck:Leak + fun:malloc + fun:PyStructSequence_InitType + fun:Py_InitializeEx +} +{ + + Memcheck:Leak + fun:malloc + fun:fill_free_list + fun:_PyInt_Init +} +{ sysinit Memcheck:Leak fun:malloc @@ -2371,3 +2545,51 @@ fun:PyErr_NewException fun:gammu_create_errors } + +# gettext +{ + gettext + Memcheck:Cond + fun:__GI___strcasecmp_l + fun:__gconv_open + fun:_nl_find_msg + fun:__dcigettext +} +{ + gettext + Memcheck:Value8 + fun:__GI___strcasecmp_l + fun:__gconv_open + fun:_nl_find_msg + fun:__dcigettext +} +{ + sse strcasestr + Memcheck:Cond + fun:__strcasestr_sse42_nonascii +} +{ + sse strcasestr + Memcheck:Value8 + fun:__strcasestr_sse42_nonascii +} +{ + sse strcasestr + Memcheck:Addr8 + fun:__strcasestr_sse42_nonascii +} +{ + sse strcasestr + Memcheck:Cond + fun:__strcasestr_sse42 +} +{ + sse strcasestr + Memcheck:Value8 + fun:__strcasestr_sse42 +} +{ + sse strcasestr + Memcheck:Addr8 + fun:__strcasestr_sse42 +} diff -Nru gammu-1.30.0/CMakeLists.txt gammu-1.31.0/CMakeLists.txt --- gammu-1.30.0/CMakeLists.txt 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/CMakeLists.txt 2011-12-21 13:25:37.000000000 +0000 @@ -43,7 +43,7 @@ endif (CMAKE_CROSSCOMPILING AND MINGW) # Set version -set (GAMMU_VERSION "1.30.0" CACHE INTERNAL "") +set (GAMMU_VERSION "1.31.0" CACHE INTERNAL "") string (REGEX REPLACE "^([0-9]*)\\.([0-9]*)\\.([0-9]*)$" "\\1" "GAMMU_VERSION_MAJOR" "${GAMMU_VERSION}") string (REGEX REPLACE "^([0-9]*)\\.([0-9]*)\\.([0-9]*)$" "\\2" "GAMMU_VERSION_MINOR" "${GAMMU_VERSION}") string (REGEX REPLACE "^([0-9]*)\\.([0-9]*)\\.([0-9]*)$" "\\3" "GAMMU_VERSION_PATCH" "${GAMMU_VERSION}") diff -Nru gammu-1.30.0/contrib/linux-driver/dku2/howto.txt gammu-1.31.0/contrib/linux-driver/dku2/howto.txt --- gammu-1.30.0/contrib/linux-driver/dku2/howto.txt 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/linux-driver/dku2/howto.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,74 +0,0 @@ -From: owner-gammu@fkn.net.pl on behalf of Troy Engel [tengel@fluid.com] -Sent: 16 lutego 2005 00:56 -To: gammu@fkn.net.pl -Subject: dku2/6230 patch, howto - -Marcin asked I post this tiny tarball -- inside you will find the dku2 -kernel 2.6 driver code (from Chris Kemp @ the gnokii project), slightly -patched to include the Nokia 6230 product ID. You will find a patch from -Marcin to gammu-1.00.04 to fix dku2 support. And lastly, a Makefile from -me to build this kernel module in kernel 2.6. - -1) build and install the kernel module -- this is for 2.6 *only*, it -will not work on a 2.4 kernel. The Makefile uses the standard convention -of /usr/src/linux-2.6 as the kernel source home; if you already have -that, simply type "make; make install" and you're done. - -NOTE: if you're on Fedora Core 3 and have no clue how to prepare your -kernel source for building external modules, follow step #1 in my HowTo -for the rt2x00 project on Sourceforge: - - http://sourceforge.net/forum/message.php?msg_id=2959689 - -2) [....removed point 2 - it was about Gammu patch, which is already included] - -3) Compile gammu as normal (./configure; make) - -4) Plug in your 6230, and look in /var/log/messages for the device that -was registered as "FBUS". It should look like this: - - kernel: Nokia FBUS Port: - kernel: Nokia DKU2 1-2:1.10: Nokia 7600/6230 DKU2 driver converter -detected - kernel: usb 1-2: Nokia 7600/6230 DKU2 driver converter now attached -to ttyUSB0 - -NOTE: there are two drivers that fight for the AT side of your Nokia -- -the stock "cdc_acm" driver and the "nokia_dku2" module. So, if cdc_acm -got there first and created ttyACM0, then most likely your 6230 will be -ttyUSB0. If the nokia_dku2 got there first, then most likely your AT -will be ttyUSB0, and the FBUS port ttyUSB1. I've had it happen both ways. - -5) make sure /dev/ttyUSB* is owned by the user running gammu! -chown/chmod it as needed. On my FC3 machine I added the proper -configurations to /etc/security/console.perms to chown it to the logged -in user for me: - - Under this line: =/dev/raw1394 - Add this line: =/dev/ttyACM* /dev/ttyUSB* - - Under this line: 0600 0600 root - Add this line: 0600 0600 root - -Log out and log back in and it will work properly for you forever. - -6) Configure your .gammurc: - - [gammu] - port = /dev/ttyUSB0 - connection = dku2 - -7) run gammu --identify! At this point is should be working. - -I tested --identify, --getfilesystem, --nokiaaddfile, and --backup and -they all appear to be working normally. The kernel module seems to be -rather unstable (locked up my phone once, requiring a battery removal) -so your mileage may vary. It's a first release, so you're kind of -playing with fire a little bit. It does work enough to do a --backup and -get all your data off the phone, which is a good first step. :) - --te - --- -Troy Engel | Systems Engineer -Fluid, Inc | http://www.fluid.com diff -Nru gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.4/configure gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.4/configure --- gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.4/configure 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.4/configure 1970-01-01 00:00:00.000000000 +0000 @@ -1,2199 +0,0 @@ -#! /bin/sh -# Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.59. -# -# Copyright (C) 2003 Free Software Foundation, Inc. -# This configure script is free software; the Free Software Foundation -# gives unlimited permission to copy, distribute and modify it. -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix -fi -DUALCASE=1; export DUALCASE # for MKS sh - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# Work around bugs in pre-3.0 UWIN ksh. -$as_unset ENV MAIL MAILPATH -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - $as_unset $as_var - fi -done - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - - -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" || { - # Find who we are. Look in the path if we contain no path at all - # relative or not. - case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done - - ;; - esac - # We did not find ourselves, most probably we were run as `sh COMMAND' - # in which case we are not to be found in the path. - if test "x$as_myself" = x; then - as_myself=$0 - fi - if test ! -f "$as_myself"; then - { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 - { (exit 1); exit 1; }; } - fi - case $CONFIG_SHELL in - '') - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for as_base in sh bash ksh sh5; do - case $as_dir in - /*) - if ("$as_dir/$as_base" -c ' - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } - CONFIG_SHELL=$as_dir/$as_base - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$0" ${1+"$@"} - fi;; - esac - done -done -;; - esac - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line before each line; the second 'sed' does the real - # work. The second script uses 'N' to pair each line-number line - # with the numbered line, and appends trailing '-' during - # substitution so that $LINENO is not a special case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) - sed '=' <$as_myself | - sed ' - N - s,$,-, - : loop - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, - t loop - s,-$,, - s,^['$as_cr_digits']*\n,, - ' >$as_me.lineno && - chmod +x $as_me.lineno || - { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensible to this). - . ./$as_me.lineno - # Exit status is that of the last command. - exit -} - - -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in - *c*,-n*) ECHO_N= ECHO_C=' -' ECHO_T=' ' ;; - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -esac - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links - as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.file - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -as_executable_p="test -f" - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - -# CDPATH. -$as_unset CDPATH - - -# Name of the host. -# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, -# so uname gets run too. -ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` - -exec 6>&1 - -# -# Initializations. -# -ac_default_prefix=/usr/local -ac_config_libobj_dir=. -cross_compiling=no -subdirs= -MFLAGS= -MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} - -# Maximum number of lines to put in a shell here document. -# This variable seems obsolete. It should probably be removed, and -# only ac_max_sed_lines should be used. -: ${ac_max_here_lines=38} - -# Identity of this package. -PACKAGE_NAME= -PACKAGE_TARNAME= -PACKAGE_VERSION= -PACKAGE_STRING= -PACKAGE_BUGREPORT= - -ac_unique_file="nokia_dku2.c" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SOURCESDIR MODULESDIR LIBOBJS LTLIBOBJS' -ac_subst_files='' - -# Initialize some variables set by options. -ac_init_help= -ac_init_version=false -# The variables have the same names as the options, with -# dashes changed to underlines. -cache_file=/dev/null -exec_prefix=NONE -no_create= -no_recursion= -prefix=NONE -program_prefix=NONE -program_suffix=NONE -program_transform_name=s,x,x, -silent= -site= -srcdir= -verbose= -x_includes=NONE -x_libraries=NONE - -# Installation directory options. -# These are left unexpanded so users can "make install exec_prefix=/foo" -# and all the variables that are supposed to be based on exec_prefix -# by default will actually change. -# Use braces instead of parens because sh, perl, etc. also accept them. -bindir='${exec_prefix}/bin' -sbindir='${exec_prefix}/sbin' -libexecdir='${exec_prefix}/libexec' -datadir='${prefix}/share' -sysconfdir='${prefix}/etc' -sharedstatedir='${prefix}/com' -localstatedir='${prefix}/var' -libdir='${exec_prefix}/lib' -includedir='${prefix}/include' -oldincludedir='/usr/include' -infodir='${prefix}/info' -mandir='${prefix}/man' - -ac_prev= -for ac_option -do - # If the previous option needs an argument, assign it. - if test -n "$ac_prev"; then - eval "$ac_prev=\$ac_option" - ac_prev= - continue - fi - - ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` - - # Accept the important Cygnus configure options, so we can diagnose typos. - - case $ac_option in - - -bindir | --bindir | --bindi | --bind | --bin | --bi) - ac_prev=bindir ;; - -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) - bindir=$ac_optarg ;; - - -build | --build | --buil | --bui | --bu) - ac_prev=build_alias ;; - -build=* | --build=* | --buil=* | --bui=* | --bu=*) - build_alias=$ac_optarg ;; - - -cache-file | --cache-file | --cache-fil | --cache-fi \ - | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) - ac_prev=cache_file ;; - -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ - | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) - cache_file=$ac_optarg ;; - - --config-cache | -C) - cache_file=config.cache ;; - - -datadir | --datadir | --datadi | --datad | --data | --dat | --da) - ac_prev=datadir ;; - -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ - | --da=*) - datadir=$ac_optarg ;; - - -disable-* | --disable-*) - ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/-/_/g'` - eval "enable_$ac_feature=no" ;; - - -enable-* | --enable-*) - ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid feature name: $ac_feature" >&2 - { (exit 1); exit 1; }; } - ac_feature=`echo $ac_feature | sed 's/-/_/g'` - case $ac_option in - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; - *) ac_optarg=yes ;; - esac - eval "enable_$ac_feature='$ac_optarg'" ;; - - -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ - | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ - | --exec | --exe | --ex) - ac_prev=exec_prefix ;; - -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ - | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ - | --exec=* | --exe=* | --ex=*) - exec_prefix=$ac_optarg ;; - - -gas | --gas | --ga | --g) - # Obsolete; use --with-gas. - with_gas=yes ;; - - -help | --help | --hel | --he | -h) - ac_init_help=long ;; - -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) - ac_init_help=recursive ;; - -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) - ac_init_help=short ;; - - -host | --host | --hos | --ho) - ac_prev=host_alias ;; - -host=* | --host=* | --hos=* | --ho=*) - host_alias=$ac_optarg ;; - - -includedir | --includedir | --includedi | --included | --include \ - | --includ | --inclu | --incl | --inc) - ac_prev=includedir ;; - -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ - | --includ=* | --inclu=* | --incl=* | --inc=*) - includedir=$ac_optarg ;; - - -infodir | --infodir | --infodi | --infod | --info | --inf) - ac_prev=infodir ;; - -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) - infodir=$ac_optarg ;; - - -libdir | --libdir | --libdi | --libd) - ac_prev=libdir ;; - -libdir=* | --libdir=* | --libdi=* | --libd=*) - libdir=$ac_optarg ;; - - -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ - | --libexe | --libex | --libe) - ac_prev=libexecdir ;; - -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ - | --libexe=* | --libex=* | --libe=*) - libexecdir=$ac_optarg ;; - - -localstatedir | --localstatedir | --localstatedi | --localstated \ - | --localstate | --localstat | --localsta | --localst \ - | --locals | --local | --loca | --loc | --lo) - ac_prev=localstatedir ;; - -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ - | --localstate=* | --localstat=* | --localsta=* | --localst=* \ - | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) - localstatedir=$ac_optarg ;; - - -mandir | --mandir | --mandi | --mand | --man | --ma | --m) - ac_prev=mandir ;; - -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) - mandir=$ac_optarg ;; - - -nfp | --nfp | --nf) - # Obsolete; use --without-fp. - with_fp=no ;; - - -no-create | --no-create | --no-creat | --no-crea | --no-cre \ - | --no-cr | --no-c | -n) - no_create=yes ;; - - -no-recursion | --no-recursion | --no-recursio | --no-recursi \ - | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) - no_recursion=yes ;; - - -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ - | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ - | --oldin | --oldi | --old | --ol | --o) - ac_prev=oldincludedir ;; - -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ - | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ - | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) - oldincludedir=$ac_optarg ;; - - -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) - ac_prev=prefix ;; - -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) - prefix=$ac_optarg ;; - - -program-prefix | --program-prefix | --program-prefi | --program-pref \ - | --program-pre | --program-pr | --program-p) - ac_prev=program_prefix ;; - -program-prefix=* | --program-prefix=* | --program-prefi=* \ - | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) - program_prefix=$ac_optarg ;; - - -program-suffix | --program-suffix | --program-suffi | --program-suff \ - | --program-suf | --program-su | --program-s) - ac_prev=program_suffix ;; - -program-suffix=* | --program-suffix=* | --program-suffi=* \ - | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) - program_suffix=$ac_optarg ;; - - -program-transform-name | --program-transform-name \ - | --program-transform-nam | --program-transform-na \ - | --program-transform-n | --program-transform- \ - | --program-transform | --program-transfor \ - | --program-transfo | --program-transf \ - | --program-trans | --program-tran \ - | --progr-tra | --program-tr | --program-t) - ac_prev=program_transform_name ;; - -program-transform-name=* | --program-transform-name=* \ - | --program-transform-nam=* | --program-transform-na=* \ - | --program-transform-n=* | --program-transform-=* \ - | --program-transform=* | --program-transfor=* \ - | --program-transfo=* | --program-transf=* \ - | --program-trans=* | --program-tran=* \ - | --progr-tra=* | --program-tr=* | --program-t=*) - program_transform_name=$ac_optarg ;; - - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - silent=yes ;; - - -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) - ac_prev=sbindir ;; - -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ - | --sbi=* | --sb=*) - sbindir=$ac_optarg ;; - - -sharedstatedir | --sharedstatedir | --sharedstatedi \ - | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ - | --sharedst | --shareds | --shared | --share | --shar \ - | --sha | --sh) - ac_prev=sharedstatedir ;; - -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ - | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ - | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ - | --sha=* | --sh=*) - sharedstatedir=$ac_optarg ;; - - -site | --site | --sit) - ac_prev=site ;; - -site=* | --site=* | --sit=*) - site=$ac_optarg ;; - - -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) - ac_prev=srcdir ;; - -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) - srcdir=$ac_optarg ;; - - -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ - | --syscon | --sysco | --sysc | --sys | --sy) - ac_prev=sysconfdir ;; - -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ - | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) - sysconfdir=$ac_optarg ;; - - -target | --target | --targe | --targ | --tar | --ta | --t) - ac_prev=target_alias ;; - -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) - target_alias=$ac_optarg ;; - - -v | -verbose | --verbose | --verbos | --verbo | --verb) - verbose=yes ;; - - -version | --version | --versio | --versi | --vers | -V) - ac_init_version=: ;; - - -with-* | --with-*) - ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package| sed 's/-/_/g'` - case $ac_option in - *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; - *) ac_optarg=yes ;; - esac - eval "with_$ac_package='$ac_optarg'" ;; - - -without-* | --without-*) - ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` - # Reject names that are not valid shell variable names. - expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid package name: $ac_package" >&2 - { (exit 1); exit 1; }; } - ac_package=`echo $ac_package | sed 's/-/_/g'` - eval "with_$ac_package=no" ;; - - --x) - # Obsolete; use --with-x. - with_x=yes ;; - - -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ - | --x-incl | --x-inc | --x-in | --x-i) - ac_prev=x_includes ;; - -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ - | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) - x_includes=$ac_optarg ;; - - -x-libraries | --x-libraries | --x-librarie | --x-librari \ - | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) - ac_prev=x_libraries ;; - -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ - | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) - x_libraries=$ac_optarg ;; - - -*) { echo "$as_me: error: unrecognized option: $ac_option -Try \`$0 --help' for more information." >&2 - { (exit 1); exit 1; }; } - ;; - - *=*) - ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` - # Reject names that are not valid shell variable names. - expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && - { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 - { (exit 1); exit 1; }; } - ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` - eval "$ac_envvar='$ac_optarg'" - export $ac_envvar ;; - - *) - # FIXME: should be removed in autoconf 3.0. - echo "$as_me: WARNING: you should use --build, --host, --target" >&2 - expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && - echo "$as_me: WARNING: invalid host type: $ac_option" >&2 - : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} - ;; - - esac -done - -if test -n "$ac_prev"; then - ac_option=--`echo $ac_prev | sed 's/_/-/g'` - { echo "$as_me: error: missing argument to $ac_option" >&2 - { (exit 1); exit 1; }; } -fi - -# Be sure to have absolute paths. -for ac_var in exec_prefix prefix -do - eval ac_val=$`echo $ac_var` - case $ac_val in - [\\/$]* | ?:[\\/]* | NONE | '' ) ;; - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; };; - esac -done - -# Be sure to have absolute paths. -for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ - localstatedir libdir includedir oldincludedir infodir mandir -do - eval ac_val=$`echo $ac_var` - case $ac_val in - [\\/$]* | ?:[\\/]* ) ;; - *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 - { (exit 1); exit 1; }; };; - esac -done - -# There might be people who depend on the old broken behavior: `$host' -# used to hold the argument of --host etc. -# FIXME: To remove some day. -build=$build_alias -host=$host_alias -target=$target_alias - -# FIXME: To remove some day. -if test "x$host_alias" != x; then - if test "x$build_alias" = x; then - cross_compiling=maybe - echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. - If a cross compiler is detected then cross compile mode will be used." >&2 - elif test "x$build_alias" != "x$host_alias"; then - cross_compiling=yes - fi -fi - -ac_tool_prefix= -test -n "$host_alias" && ac_tool_prefix=$host_alias- - -test "$silent" = yes && exec 6>/dev/null - - -# Find the source files, if location was not specified. -if test -z "$srcdir"; then - ac_srcdir_defaulted=yes - # Try the directory containing this script, then its parent. - ac_confdir=`(dirname "$0") 2>/dev/null || -$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$0" : 'X\(//\)[^/]' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$0" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - srcdir=$ac_confdir - if test ! -r $srcdir/$ac_unique_file; then - srcdir=.. - fi -else - ac_srcdir_defaulted=no -fi -if test ! -r $srcdir/$ac_unique_file; then - if test "$ac_srcdir_defaulted" = yes; then - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 - { (exit 1); exit 1; }; } - else - { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 - { (exit 1); exit 1; }; } - fi -fi -(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || - { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 - { (exit 1); exit 1; }; } -srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` -ac_env_build_alias_set=${build_alias+set} -ac_env_build_alias_value=$build_alias -ac_cv_env_build_alias_set=${build_alias+set} -ac_cv_env_build_alias_value=$build_alias -ac_env_host_alias_set=${host_alias+set} -ac_env_host_alias_value=$host_alias -ac_cv_env_host_alias_set=${host_alias+set} -ac_cv_env_host_alias_value=$host_alias -ac_env_target_alias_set=${target_alias+set} -ac_env_target_alias_value=$target_alias -ac_cv_env_target_alias_set=${target_alias+set} -ac_cv_env_target_alias_value=$target_alias - -# -# Report the --help message. -# -if test "$ac_init_help" = "long"; then - # Omit some internal or obsolete options to make the list less imposing. - # This message is too long to be a string in the A/UX 3.1 sh. - cat <<_ACEOF -\`configure' configures this package to adapt to many kinds of systems. - -Usage: $0 [OPTION]... [VAR=VALUE]... - -To assign environment variables (e.g., CC, CFLAGS...), specify them as -VAR=VALUE. See below for descriptions of some of the useful variables. - -Defaults for the options are specified in brackets. - -Configuration: - -h, --help display this help and exit - --help=short display options specific to this package - --help=recursive display the short help of all the included packages - -V, --version display version information and exit - -q, --quiet, --silent do not print \`checking...' messages - --cache-file=FILE cache test results in FILE [disabled] - -C, --config-cache alias for \`--cache-file=config.cache' - -n, --no-create do not create output files - --srcdir=DIR find the sources in DIR [configure dir or \`..'] - -_ACEOF - - cat <<_ACEOF -Installation directories: - --prefix=PREFIX install architecture-independent files in PREFIX - [$ac_default_prefix] - --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX - [PREFIX] - -By default, \`make install' will install all the files in -\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify -an installation prefix other than \`$ac_default_prefix' using \`--prefix', -for instance \`--prefix=\$HOME'. - -For better control, use the options below. - -Fine tuning of the installation directories: - --bindir=DIR user executables [EPREFIX/bin] - --sbindir=DIR system admin executables [EPREFIX/sbin] - --libexecdir=DIR program executables [EPREFIX/libexec] - --datadir=DIR read-only architecture-independent data [PREFIX/share] - --sysconfdir=DIR read-only single-machine data [PREFIX/etc] - --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] - --localstatedir=DIR modifiable single-machine data [PREFIX/var] - --libdir=DIR object code libraries [EPREFIX/lib] - --includedir=DIR C header files [PREFIX/include] - --oldincludedir=DIR C header files for non-gcc [/usr/include] - --infodir=DIR info documentation [PREFIX/info] - --mandir=DIR man documentation [PREFIX/man] -_ACEOF - - cat <<\_ACEOF -_ACEOF -fi - -if test -n "$ac_init_help"; then - - cat <<\_ACEOF - -Optional Packages: - --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] - --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) - --with-kernsrcdir=dir specifies the kernel sources dir - --with-kernmoddir=dir specifies the kernel modules dir - -_ACEOF -fi - -if test "$ac_init_help" = "recursive"; then - # If there are subdirs, report their specific --help. - ac_popdir=`pwd` - for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue - test -d $ac_dir || continue - ac_builddir=. - -if test "$ac_dir" != .; then - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A "../" for each directory in $ac_dir_suffix. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -else - ac_dir_suffix= ac_top_builddir= -fi - -case $srcdir in - .) # No --srcdir option. We are building in place. - ac_srcdir=. - if test -z "$ac_top_builddir"; then - ac_top_srcdir=. - else - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` - fi ;; - [\\/]* | ?:[\\/]* ) # Absolute path. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; - *) # Relative path. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_builddir$srcdir ;; -esac - -# Do not use `cd foo && pwd` to compute absolute paths, because -# the directories may not exist. -case `pwd` in -.) ac_abs_builddir="$ac_dir";; -*) - case "$ac_dir" in - .) ac_abs_builddir=`pwd`;; - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; - *) ac_abs_builddir=`pwd`/"$ac_dir";; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_top_builddir=${ac_top_builddir}.;; -*) - case ${ac_top_builddir}. in - .) ac_abs_top_builddir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_srcdir=$ac_srcdir;; -*) - case $ac_srcdir in - .) ac_abs_srcdir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_top_srcdir=$ac_top_srcdir;; -*) - case $ac_top_srcdir in - .) ac_abs_top_srcdir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; - esac;; -esac - - cd $ac_dir - # Check for guested configure; otherwise get Cygnus style configure. - if test -f $ac_srcdir/configure.gnu; then - echo - $SHELL $ac_srcdir/configure.gnu --help=recursive - elif test -f $ac_srcdir/configure; then - echo - $SHELL $ac_srcdir/configure --help=recursive - elif test -f $ac_srcdir/configure.ac || - test -f $ac_srcdir/configure.in; then - echo - $ac_configure --help - else - echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 - fi - cd "$ac_popdir" - done -fi - -test -n "$ac_init_help" && exit 0 -if $ac_init_version; then - cat <<\_ACEOF - -Copyright (C) 2003 Free Software Foundation, Inc. -This configure script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it. -_ACEOF - exit 0 -fi -exec 5>config.log -cat >&5 <<_ACEOF -This file contains any messages produced by compilers while -running configure, to aid debugging if configure makes a mistake. - -It was created by $as_me, which was -generated by GNU Autoconf 2.59. Invocation command line was - - $ $0 $@ - -_ACEOF -{ -cat <<_ASUNAME -## --------- ## -## Platform. ## -## --------- ## - -hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` -uname -m = `(uname -m) 2>/dev/null || echo unknown` -uname -r = `(uname -r) 2>/dev/null || echo unknown` -uname -s = `(uname -s) 2>/dev/null || echo unknown` -uname -v = `(uname -v) 2>/dev/null || echo unknown` - -/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` -/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` - -/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` -/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` -/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` -hostinfo = `(hostinfo) 2>/dev/null || echo unknown` -/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` -/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` -/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` - -_ASUNAME - -as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - echo "PATH: $as_dir" -done - -} >&5 - -cat >&5 <<_ACEOF - - -## ----------- ## -## Core tests. ## -## ----------- ## - -_ACEOF - - -# Keep a trace of the command line. -# Strip out --no-create and --no-recursion so they do not pile up. -# Strip out --silent because we don't want to record it for future runs. -# Also quote any args containing shell meta-characters. -# Make two passes to allow for proper duplicate-argument suppression. -ac_configure_args= -ac_configure_args0= -ac_configure_args1= -ac_sep= -ac_must_keep_next=false -for ac_pass in 1 2 -do - for ac_arg - do - case $ac_arg in - -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil) - continue ;; - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) - ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; - esac - case $ac_pass in - 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; - 2) - ac_configure_args1="$ac_configure_args1 '$ac_arg'" - if test $ac_must_keep_next = true; then - ac_must_keep_next=false # Got value, back to normal. - else - case $ac_arg in - *=* | --config-cache | -C | -disable-* | --disable-* \ - | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ - | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ - | -with-* | --with-* | -without-* | --without-* | --x) - case "$ac_configure_args0 " in - "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; - esac - ;; - -* ) ac_must_keep_next=true ;; - esac - fi - ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" - # Get rid of the leading space. - ac_sep=" " - ;; - esac - done -done -$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } -$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } - -# When interrupted or exit'd, cleanup temporary files, and complete -# config.log. We remove comments because anyway the quotes in there -# would cause problems or look ugly. -# WARNING: Be sure not to use single quotes in there, as some shells, -# such as our DU 5.0 friend, will then `close' the trap. -trap 'exit_status=$? - # Save into config.log some information that might help in debugging. - { - echo - - cat <<\_ASBOX -## ---------------- ## -## Cache variables. ## -## ---------------- ## -_ASBOX - echo - # The following way of writing the cache mishandles newlines in values, -{ - (set) 2>&1 | - case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in - *ac_space=\ *) - sed -n \ - "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" - ;; - *) - sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" - ;; - esac; -} - echo - - cat <<\_ASBOX -## ----------------- ## -## Output variables. ## -## ----------------- ## -_ASBOX - echo - for ac_var in $ac_subst_vars - do - eval ac_val=$`echo $ac_var` - echo "$ac_var='"'"'$ac_val'"'"'" - done | sort - echo - - if test -n "$ac_subst_files"; then - cat <<\_ASBOX -## ------------- ## -## Output files. ## -## ------------- ## -_ASBOX - echo - for ac_var in $ac_subst_files - do - eval ac_val=$`echo $ac_var` - echo "$ac_var='"'"'$ac_val'"'"'" - done | sort - echo - fi - - if test -s confdefs.h; then - cat <<\_ASBOX -## ----------- ## -## confdefs.h. ## -## ----------- ## -_ASBOX - echo - sed "/^$/d" confdefs.h | sort - echo - fi - test "$ac_signal" != 0 && - echo "$as_me: caught signal $ac_signal" - echo "$as_me: exit $exit_status" - } >&5 - rm -f core *.core && - rm -rf conftest* confdefs* conf$$* $ac_clean_files && - exit $exit_status - ' 0 -for ac_signal in 1 2 13 15; do - trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal -done -ac_signal=0 - -# confdefs.h avoids OS command line length limits that DEFS can exceed. -rm -rf conftest* confdefs.h -# AIX cpp loses on an empty file, so make sure it contains at least a newline. -echo >confdefs.h - -# Predefined preprocessor variables. - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_NAME "$PACKAGE_NAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_TARNAME "$PACKAGE_TARNAME" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_VERSION "$PACKAGE_VERSION" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_STRING "$PACKAGE_STRING" -_ACEOF - - -cat >>confdefs.h <<_ACEOF -#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" -_ACEOF - - -# Let the site file select an alternate cache file if it wants to. -# Prefer explicitly selected file to automatically selected ones. -if test -z "$CONFIG_SITE"; then - if test "x$prefix" != xNONE; then - CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" - else - CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" - fi -fi -for ac_site_file in $CONFIG_SITE; do - if test -r "$ac_site_file"; then - { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 -echo "$as_me: loading site script $ac_site_file" >&6;} - sed 's/^/| /' "$ac_site_file" >&5 - . "$ac_site_file" - fi -done - -if test -r "$cache_file"; then - # Some versions of bash will fail to source /dev/null (special - # files actually), so we avoid doing that. - if test -f "$cache_file"; then - { echo "$as_me:$LINENO: loading cache $cache_file" >&5 -echo "$as_me: loading cache $cache_file" >&6;} - case $cache_file in - [\\/]* | ?:[\\/]* ) . $cache_file;; - *) . ./$cache_file;; - esac - fi -else - { echo "$as_me:$LINENO: creating cache $cache_file" >&5 -echo "$as_me: creating cache $cache_file" >&6;} - >$cache_file -fi - -# Check that the precious variables saved in the cache have kept the same -# value. -ac_cache_corrupted=false -for ac_var in `(set) 2>&1 | - sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do - eval ac_old_set=\$ac_cv_env_${ac_var}_set - eval ac_new_set=\$ac_env_${ac_var}_set - eval ac_old_val="\$ac_cv_env_${ac_var}_value" - eval ac_new_val="\$ac_env_${ac_var}_value" - case $ac_old_set,$ac_new_set in - set,) - { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,set) - { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 -echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} - ac_cache_corrupted=: ;; - ,);; - *) - if test "x$ac_old_val" != "x$ac_new_val"; then - { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 -echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} - { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 -echo "$as_me: former value: $ac_old_val" >&2;} - { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 -echo "$as_me: current value: $ac_new_val" >&2;} - ac_cache_corrupted=: - fi;; - esac - # Pass precious variables to config.status. - if test "$ac_new_set" = set; then - case $ac_new_val in - *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) - ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; - *) ac_arg=$ac_var=$ac_new_val ;; - esac - case " $ac_configure_args " in - *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. - *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; - esac - fi -done -if $ac_cache_corrupted; then - { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 -echo "$as_me: error: changes in the environment can compromise the build" >&2;} - { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 -echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} - { (exit 1); exit 1; }; } -fi - -ac_ext=c -ac_cpp='$CPP $CPPFLAGS' -ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' -ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' -ac_compiler_gnu=$ac_cv_c_compiler_gnu - - - - - - - - - - - - - - - - - - - -ac_aux_dir= -for ac_dir in ../../config $srcdir/../../config; do - if test -f $ac_dir/install-sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install-sh -c" - break - elif test -f $ac_dir/install.sh; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/install.sh -c" - break - elif test -f $ac_dir/shtool; then - ac_aux_dir=$ac_dir - ac_install_sh="$ac_aux_dir/shtool install -c" - break - fi -done -if test -z "$ac_aux_dir"; then - { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in ../../config $srcdir/../../config" >&5 -echo "$as_me: error: cannot find install-sh or install.sh in ../../config $srcdir/../../config" >&2;} - { (exit 1); exit 1; }; } -fi -ac_config_guess="$SHELL $ac_aux_dir/config.guess" -ac_config_sub="$SHELL $ac_aux_dir/config.sub" -ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. - - -SOURCESDIR="/lib/modules/`uname -r`/build" - -# Check whether --with-kernsrcdir or --without-kernsrcdir was given. -if test "${with_kernsrcdir+set}" = set; then - withval="$with_kernsrcdir" - if test x$withval = xyes; then - { echo "$as_me:$LINENO: WARNING: Usage is: --with-kernsrcdir=dir" >&5 -echo "$as_me: WARNING: Usage is: --with-kernsrcdir=dir" >&2;} - else - SOURCESDIR="$withval" - fi - - -fi; - -MODULESDIR="/lib/modules/`uname -r`" - -# Check whether --with-kernmoddir or --without-kernmoddir was given. -if test "${with_kernmoddir+set}" = set; then - withval="$with_kernmoddir" - if test x$withval = xyes; then - { echo "$as_me:$LINENO: WARNING: Usage is: --with-kermoddir=dir" >&5 -echo "$as_me: WARNING: Usage is: --with-kermoddir=dir" >&2;} - else - MODULESDIR="$withval" - fi - - -fi; - - - - ac_config_files="$ac_config_files Makefile" -cat >confcache <<\_ACEOF -# This file is a shell script that caches the results of configure -# tests run on this system so they can be shared between configure -# scripts and configure runs, see configure's option --config-cache. -# It is not useful on other systems. If it contains results you don't -# want to keep, you may remove or edit it. -# -# config.status only pays attention to the cache file if you give it -# the --recheck option to rerun configure. -# -# `ac_cv_env_foo' variables (set or unset) will be overridden when -# loading this file, other *unset* `ac_cv_foo' will be assigned the -# following values. - -_ACEOF - -# The following way of writing the cache mishandles newlines in values, -# but we know of no workaround that is simple, portable, and efficient. -# So, don't put newlines in cache variables' values. -# Ultrix sh set writes to stderr and can't be redirected directly, -# and sets the high bit in the cache file unless we assign to the vars. -{ - (set) 2>&1 | - case `(ac_space=' '; set | grep ac_space) 2>&1` in - *ac_space=\ *) - # `set' does not quote correctly, so add quotes (double-quote - # substitution turns \\\\ into \\, and sed turns \\ into \). - sed -n \ - "s/'/'\\\\''/g; - s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" - ;; - *) - # `set' quotes correctly as required by POSIX, so do not add quotes. - sed -n \ - "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" - ;; - esac; -} | - sed ' - t clear - : clear - s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ - t end - /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ - : end' >>confcache -if diff $cache_file confcache >/dev/null 2>&1; then :; else - if test -w $cache_file; then - test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" - cat confcache >$cache_file - else - echo "not updating unwritable cache $cache_file" - fi -fi -rm -f confcache - -test "x$prefix" = xNONE && prefix=$ac_default_prefix -# Let make expand exec_prefix. -test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' - -# VPATH may cause trouble with some makes, so we remove $(srcdir), -# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and -# trailing colons and then remove the whole line if VPATH becomes empty -# (actually we leave an empty line to preserve line numbers). -if test "x$srcdir" = x.; then - ac_vpsub='/^[ ]*VPATH[ ]*=/{ -s/:*\$(srcdir):*/:/; -s/:*\${srcdir}:*/:/; -s/:*@srcdir@:*/:/; -s/^\([^=]*=[ ]*\):*/\1/; -s/:*$//; -s/^[^=]*=[ ]*$//; -}' -fi - -# Transform confdefs.h into DEFS. -# Protect against shell expansion while executing Makefile rules. -# Protect against Makefile macro expansion. -# -# If the first sed substitution is executed (which looks for macros that -# take arguments), then we branch to the quote section. Otherwise, -# look for a macro that doesn't take arguments. -cat >confdef2opt.sed <<\_ACEOF -t clear -: clear -s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g -t quote -s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g -t quote -d -: quote -s,[ `~#$^&*(){}\\|;'"<>?],\\&,g -s,\[,\\&,g -s,\],\\&,g -s,\$,$$,g -p -_ACEOF -# We use echo to avoid assuming a particular line-breaking character. -# The extra dot is to prevent the shell from consuming trailing -# line-breaks from the sub-command output. A line-break within -# single-quotes doesn't work because, if this script is created in a -# platform that uses two characters for line-breaks (e.g., DOS), tr -# would break. -ac_LF_and_DOT=`echo; echo .` -DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` -rm -f confdef2opt.sed - - -ac_libobjs= -ac_ltlibobjs= -for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue - # 1. Remove the extension, and $U if already installed. - ac_i=`echo "$ac_i" | - sed 's/\$U\././;s/\.o$//;s/\.obj$//'` - # 2. Add them. - ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" - ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' -done -LIBOBJS=$ac_libobjs - -LTLIBOBJS=$ac_ltlibobjs - - - -: ${CONFIG_STATUS=./config.status} -ac_clean_files_save=$ac_clean_files -ac_clean_files="$ac_clean_files $CONFIG_STATUS" -{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 -echo "$as_me: creating $CONFIG_STATUS" >&6;} -cat >$CONFIG_STATUS <<_ACEOF -#! $SHELL -# Generated by $as_me. -# Run this file to recreate the current configuration. -# Compiler output produced by configure, useful for debugging -# configure, is in config.log if it exists. - -debug=false -ac_cs_recheck=false -ac_cs_silent=false -SHELL=\${CONFIG_SHELL-$SHELL} -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -## --------------------- ## -## M4sh Initialization. ## -## --------------------- ## - -# Be Bourne compatible -if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then - emulate sh - NULLCMD=: - # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which - # is contrary to our usage. Disable this feature. - alias -g '${1+"$@"}'='"$@"' -elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then - set -o posix -fi -DUALCASE=1; export DUALCASE # for MKS sh - -# Support unset when possible. -if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then - as_unset=unset -else - as_unset=false -fi - - -# Work around bugs in pre-3.0 UWIN ksh. -$as_unset ENV MAIL MAILPATH -PS1='$ ' -PS2='> ' -PS4='+ ' - -# NLS nuisances. -for as_var in \ - LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ - LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ - LC_TELEPHONE LC_TIME -do - if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then - eval $as_var=C; export $as_var - else - $as_unset $as_var - fi -done - -# Required to use basename. -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then - as_basename=basename -else - as_basename=false -fi - - -# Name of the executable. -as_me=`$as_basename "$0" || -$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ - X"$0" : 'X\(//\)$' \| \ - X"$0" : 'X\(/\)$' \| \ - . : '\(.\)' 2>/dev/null || -echo X/"$0" | - sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } - /^X\/\(\/\/\)$/{ s//\1/; q; } - /^X\/\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - - -# PATH needs CR, and LINENO needs CR and PATH. -# Avoid depending upon Character Ranges. -as_cr_letters='abcdefghijklmnopqrstuvwxyz' -as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' -as_cr_Letters=$as_cr_letters$as_cr_LETTERS -as_cr_digits='0123456789' -as_cr_alnum=$as_cr_Letters$as_cr_digits - -# The user is always right. -if test "${PATH_SEPARATOR+set}" != set; then - echo "#! /bin/sh" >conf$$.sh - echo "exit 0" >>conf$$.sh - chmod +x conf$$.sh - if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then - PATH_SEPARATOR=';' - else - PATH_SEPARATOR=: - fi - rm -f conf$$.sh -fi - - - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" || { - # Find who we are. Look in the path if we contain no path at all - # relative or not. - case $0 in - *[\\/]* ) as_myself=$0 ;; - *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in $PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break -done - - ;; - esac - # We did not find ourselves, most probably we were run as `sh COMMAND' - # in which case we are not to be found in the path. - if test "x$as_myself" = x; then - as_myself=$0 - fi - if test ! -f "$as_myself"; then - { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 -echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} - { (exit 1); exit 1; }; } - fi - case $CONFIG_SHELL in - '') - as_save_IFS=$IFS; IFS=$PATH_SEPARATOR -for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH -do - IFS=$as_save_IFS - test -z "$as_dir" && as_dir=. - for as_base in sh bash ksh sh5; do - case $as_dir in - /*) - if ("$as_dir/$as_base" -c ' - as_lineno_1=$LINENO - as_lineno_2=$LINENO - as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` - test "x$as_lineno_1" != "x$as_lineno_2" && - test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then - $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } - $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } - CONFIG_SHELL=$as_dir/$as_base - export CONFIG_SHELL - exec "$CONFIG_SHELL" "$0" ${1+"$@"} - fi;; - esac - done -done -;; - esac - - # Create $as_me.lineno as a copy of $as_myself, but with $LINENO - # uniformly replaced by the line number. The first 'sed' inserts a - # line-number line before each line; the second 'sed' does the real - # work. The second script uses 'N' to pair each line-number line - # with the numbered line, and appends trailing '-' during - # substitution so that $LINENO is not a special case at line end. - # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the - # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) - sed '=' <$as_myself | - sed ' - N - s,$,-, - : loop - s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, - t loop - s,-$,, - s,^['$as_cr_digits']*\n,, - ' >$as_me.lineno && - chmod +x $as_me.lineno || - { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 -echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} - { (exit 1); exit 1; }; } - - # Don't try to exec as it changes $[0], causing all sort of problems - # (the dirname of $[0] is not the place where we might find the - # original and so on. Autoconf is especially sensible to this). - . ./$as_me.lineno - # Exit status is that of the last command. - exit -} - - -case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in - *c*,-n*) ECHO_N= ECHO_C=' -' ECHO_T=' ' ;; - *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; - *) ECHO_N= ECHO_C='\c' ECHO_T= ;; -esac - -if expr a : '\(a\)' >/dev/null 2>&1; then - as_expr=expr -else - as_expr=false -fi - -rm -f conf$$ conf$$.exe conf$$.file -echo >conf$$.file -if ln -s conf$$.file conf$$ 2>/dev/null; then - # We could just check for DJGPP; but this test a) works b) is more generic - # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). - if test -f conf$$.exe; then - # Don't use ln at all; we don't have any links - as_ln_s='cp -p' - else - as_ln_s='ln -s' - fi -elif ln conf$$.file conf$$ 2>/dev/null; then - as_ln_s=ln -else - as_ln_s='cp -p' -fi -rm -f conf$$ conf$$.exe conf$$.file - -if mkdir -p . 2>/dev/null; then - as_mkdir_p=: -else - test -d ./-p && rmdir ./-p - as_mkdir_p=false -fi - -as_executable_p="test -f" - -# Sed expression to map a string onto a valid CPP name. -as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" - -# Sed expression to map a string onto a valid variable name. -as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" - - -# IFS -# We need space, tab and new line, in precisely that order. -as_nl=' -' -IFS=" $as_nl" - -# CDPATH. -$as_unset CDPATH - -exec 6>&1 - -# Open the log real soon, to keep \$[0] and so on meaningful, and to -# report actual input values of CONFIG_FILES etc. instead of their -# values after options handling. Logging --version etc. is OK. -exec 5>>config.log -{ - echo - sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX -## Running $as_me. ## -_ASBOX -} >&5 -cat >&5 <<_CSEOF - -This file was extended by $as_me, which was -generated by GNU Autoconf 2.59. Invocation command line was - - CONFIG_FILES = $CONFIG_FILES - CONFIG_HEADERS = $CONFIG_HEADERS - CONFIG_LINKS = $CONFIG_LINKS - CONFIG_COMMANDS = $CONFIG_COMMANDS - $ $0 $@ - -_CSEOF -echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 -echo >&5 -_ACEOF - -# Files that config.status was made for. -if test -n "$ac_config_files"; then - echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_headers"; then - echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_links"; then - echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS -fi - -if test -n "$ac_config_commands"; then - echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS -fi - -cat >>$CONFIG_STATUS <<\_ACEOF - -ac_cs_usage="\ -\`$as_me' instantiates files from templates according to the -current configuration. - -Usage: $0 [OPTIONS] [FILE]... - - -h, --help print this help, then exit - -V, --version print version number, then exit - -q, --quiet do not print progress messages - -d, --debug don't remove temporary files - --recheck update $as_me by reconfiguring in the same conditions - --file=FILE[:TEMPLATE] - instantiate the configuration file FILE - -Configuration files: -$config_files - -Report bugs to ." -_ACEOF - -cat >>$CONFIG_STATUS <<_ACEOF -ac_cs_version="\\ -config.status -configured by $0, generated by GNU Autoconf 2.59, - with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" - -Copyright (C) 2003 Free Software Foundation, Inc. -This config.status script is free software; the Free Software Foundation -gives unlimited permission to copy, distribute and modify it." -srcdir=$srcdir -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF -# If no file are specified by the user, then we need to provide default -# value. By we need to know if files were specified by the user. -ac_need_defaults=: -while test $# != 0 -do - case $1 in - --*=*) - ac_option=`expr "x$1" : 'x\([^=]*\)='` - ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` - ac_shift=: - ;; - -*) - ac_option=$1 - ac_optarg=$2 - ac_shift=shift - ;; - *) # This is not an option, so the user has probably given explicit - # arguments. - ac_option=$1 - ac_need_defaults=false;; - esac - - case $ac_option in - # Handling of the options. -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF - -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) - ac_cs_recheck=: ;; - --version | --vers* | -V ) - echo "$ac_cs_version"; exit 0 ;; - --he | --h) - # Conflict between --help and --header - { { echo "$as_me:$LINENO: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: ambiguous option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; };; - --help | --hel | -h ) - echo "$ac_cs_usage"; exit 0 ;; - --debug | --d* | -d ) - debug=: ;; - --file | --fil | --fi | --f ) - $ac_shift - CONFIG_FILES="$CONFIG_FILES $ac_optarg" - ac_need_defaults=false;; - --header | --heade | --head | --hea ) - $ac_shift - CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" - ac_need_defaults=false;; - -q | -quiet | --quiet | --quie | --qui | --qu | --q \ - | -silent | --silent | --silen | --sile | --sil | --si | --s) - ac_cs_silent=: ;; - - # This is an error. - -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&5 -echo "$as_me: error: unrecognized option: $1 -Try \`$0 --help' for more information." >&2;} - { (exit 1); exit 1; }; } ;; - - *) ac_config_targets="$ac_config_targets $1" ;; - - esac - shift -done - -ac_configure_extra_args= - -if $ac_cs_silent; then - exec 6>/dev/null - ac_configure_extra_args="$ac_configure_extra_args --silent" -fi - -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF -if \$ac_cs_recheck; then - echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 - exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion -fi - -_ACEOF - - - - - -cat >>$CONFIG_STATUS <<\_ACEOF -for ac_config_target in $ac_config_targets -do - case "$ac_config_target" in - # Handling of arguments. - "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; - *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 -echo "$as_me: error: invalid argument: $ac_config_target" >&2;} - { (exit 1); exit 1; }; };; - esac -done - -# If the user did not use the arguments to specify the items to instantiate, -# then the envvar interface is used. Set only those that are not. -# We use the long form for the default assignment because of an extremely -# bizarre bug on SunOS 4.1.3. -if $ac_need_defaults; then - test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files -fi - -# Have a temporary directory for convenience. Make it in the build tree -# simply because there is no reason to put it here, and in addition, -# creating and moving files from /tmp can sometimes cause problems. -# Create a temporary directory, and hook for its removal unless debugging. -$debug || -{ - trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 - trap '{ (exit 1); exit 1; }' 1 2 13 15 -} - -# Create a (secure) tmp directory for tmp files. - -{ - tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && - test -n "$tmp" && test -d "$tmp" -} || -{ - tmp=./confstat$$-$RANDOM - (umask 077 && mkdir $tmp) -} || -{ - echo "$me: cannot create a temporary directory in ." >&2 - { (exit 1); exit 1; } -} - -_ACEOF - -cat >>$CONFIG_STATUS <<_ACEOF - -# -# CONFIG_FILES section. -# - -# No need to generate the scripts if there are no CONFIG_FILES. -# This happens for instance when ./config.status config.h -if test -n "\$CONFIG_FILES"; then - # Protect against being on the right side of a sed subst in config.status. - sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; - s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF -s,@SHELL@,$SHELL,;t t -s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t -s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t -s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t -s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t -s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t -s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t -s,@exec_prefix@,$exec_prefix,;t t -s,@prefix@,$prefix,;t t -s,@program_transform_name@,$program_transform_name,;t t -s,@bindir@,$bindir,;t t -s,@sbindir@,$sbindir,;t t -s,@libexecdir@,$libexecdir,;t t -s,@datadir@,$datadir,;t t -s,@sysconfdir@,$sysconfdir,;t t -s,@sharedstatedir@,$sharedstatedir,;t t -s,@localstatedir@,$localstatedir,;t t -s,@libdir@,$libdir,;t t -s,@includedir@,$includedir,;t t -s,@oldincludedir@,$oldincludedir,;t t -s,@infodir@,$infodir,;t t -s,@mandir@,$mandir,;t t -s,@build_alias@,$build_alias,;t t -s,@host_alias@,$host_alias,;t t -s,@target_alias@,$target_alias,;t t -s,@DEFS@,$DEFS,;t t -s,@ECHO_C@,$ECHO_C,;t t -s,@ECHO_N@,$ECHO_N,;t t -s,@ECHO_T@,$ECHO_T,;t t -s,@LIBS@,$LIBS,;t t -s,@SOURCESDIR@,$SOURCESDIR,;t t -s,@MODULESDIR@,$MODULESDIR,;t t -s,@LIBOBJS@,$LIBOBJS,;t t -s,@LTLIBOBJS@,$LTLIBOBJS,;t t -CEOF - -_ACEOF - - cat >>$CONFIG_STATUS <<\_ACEOF - # Split the substitutions into bite-sized pieces for seds with - # small command number limits, like on Digital OSF/1 and HP-UX. - ac_max_sed_lines=48 - ac_sed_frag=1 # Number of current file. - ac_beg=1 # First line for current file. - ac_end=$ac_max_sed_lines # Line after last line for current file. - ac_more_lines=: - ac_sed_cmds= - while $ac_more_lines; do - if test $ac_beg -gt 1; then - sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - else - sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag - fi - if test ! -s $tmp/subs.frag; then - ac_more_lines=false - else - # The purpose of the label and of the branching condition is to - # speed up the sed processing (if there are no `@' at all, there - # is no need to browse any of the substitutions). - # These are the two extra sed commands mentioned above. - (echo ':t - /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed - if test -z "$ac_sed_cmds"; then - ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" - else - ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" - fi - ac_sed_frag=`expr $ac_sed_frag + 1` - ac_beg=$ac_end - ac_end=`expr $ac_end + $ac_max_sed_lines` - fi - done - if test -z "$ac_sed_cmds"; then - ac_sed_cmds=cat - fi -fi # test -n "$CONFIG_FILES" - -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue - # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". - case $ac_file in - - | *:- | *:-:* ) # input from stdin - cat >$tmp/stdin - ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` - ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; - * ) ac_file_in=$ac_file.in ;; - esac - - # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. - ac_dir=`(dirname "$ac_file") 2>/dev/null || -$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$ac_file" : 'X\(//\)[^/]' \| \ - X"$ac_file" : 'X\(//\)$' \| \ - X"$ac_file" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$ac_file" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - { if $as_mkdir_p; then - mkdir -p "$ac_dir" - else - as_dir="$ac_dir" - as_dirs= - while test ! -d "$as_dir"; do - as_dirs="$as_dir $as_dirs" - as_dir=`(dirname "$as_dir") 2>/dev/null || -$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ - X"$as_dir" : 'X\(//\)[^/]' \| \ - X"$as_dir" : 'X\(//\)$' \| \ - X"$as_dir" : 'X\(/\)' \| \ - . : '\(.\)' 2>/dev/null || -echo X"$as_dir" | - sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } - /^X\(\/\/\)[^/].*/{ s//\1/; q; } - /^X\(\/\/\)$/{ s//\1/; q; } - /^X\(\/\).*/{ s//\1/; q; } - s/.*/./; q'` - done - test ! -n "$as_dirs" || mkdir $as_dirs - fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 -echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} - { (exit 1); exit 1; }; }; } - - ac_builddir=. - -if test "$ac_dir" != .; then - ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` - # A "../" for each directory in $ac_dir_suffix. - ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` -else - ac_dir_suffix= ac_top_builddir= -fi - -case $srcdir in - .) # No --srcdir option. We are building in place. - ac_srcdir=. - if test -z "$ac_top_builddir"; then - ac_top_srcdir=. - else - ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` - fi ;; - [\\/]* | ?:[\\/]* ) # Absolute path. - ac_srcdir=$srcdir$ac_dir_suffix; - ac_top_srcdir=$srcdir ;; - *) # Relative path. - ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix - ac_top_srcdir=$ac_top_builddir$srcdir ;; -esac - -# Do not use `cd foo && pwd` to compute absolute paths, because -# the directories may not exist. -case `pwd` in -.) ac_abs_builddir="$ac_dir";; -*) - case "$ac_dir" in - .) ac_abs_builddir=`pwd`;; - [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; - *) ac_abs_builddir=`pwd`/"$ac_dir";; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_top_builddir=${ac_top_builddir}.;; -*) - case ${ac_top_builddir}. in - .) ac_abs_top_builddir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; - *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_srcdir=$ac_srcdir;; -*) - case $ac_srcdir in - .) ac_abs_srcdir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; - *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; - esac;; -esac -case $ac_abs_builddir in -.) ac_abs_top_srcdir=$ac_top_srcdir;; -*) - case $ac_top_srcdir in - .) ac_abs_top_srcdir=$ac_abs_builddir;; - [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; - *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; - esac;; -esac - - - - # Let's still pretend it is `configure' which instantiates (i.e., don't - # use $as_me), people would be surprised to read: - # /* config.h. Generated by config.status. */ - if test x"$ac_file" = x-; then - configure_input= - else - configure_input="$ac_file. " - fi - configure_input=$configure_input"Generated from `echo $ac_file_in | - sed 's,.*/,,'` by configure." - - # First look for the input files in the build tree, otherwise in the - # src tree. - ac_file_inputs=`IFS=: - for f in $ac_file_in; do - case $f in - -) echo $tmp/stdin ;; - [\\/$]*) - # Absolute (can't be DOS-style, as IFS=:) - test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - echo "$f";; - *) # Relative - if test -f "$f"; then - # Build tree - echo "$f" - elif test -f "$srcdir/$f"; then - # Source tree - echo "$srcdir/$f" - else - # /dev/null tree - { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 -echo "$as_me: error: cannot find input file: $f" >&2;} - { (exit 1); exit 1; }; } - fi;; - esac - done` || { (exit 1); exit 1; } - - if test x"$ac_file" != x-; then - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - rm -f "$ac_file" - fi -_ACEOF -cat >>$CONFIG_STATUS <<_ACEOF - sed "$ac_vpsub -$extrasub -_ACEOF -cat >>$CONFIG_STATUS <<\_ACEOF -:t -/@[a-zA-Z_][a-zA-Z_0-9]*@/!b -s,@configure_input@,$configure_input,;t t -s,@srcdir@,$ac_srcdir,;t t -s,@abs_srcdir@,$ac_abs_srcdir,;t t -s,@top_srcdir@,$ac_top_srcdir,;t t -s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t -s,@builddir@,$ac_builddir,;t t -s,@abs_builddir@,$ac_abs_builddir,;t t -s,@top_builddir@,$ac_top_builddir,;t t -s,@abs_top_builddir@,$ac_abs_top_builddir,;t t -" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out - rm -f $tmp/stdin - if test x"$ac_file" != x-; then - mv $tmp/out $ac_file - else - cat $tmp/out - rm -f $tmp/out - fi - -done -_ACEOF - -cat >>$CONFIG_STATUS <<\_ACEOF - -{ (exit 0); exit 0; } -_ACEOF -chmod +x $CONFIG_STATUS -ac_clean_files=$ac_clean_files_save - - -# configure is writing to config.log, and then calls config.status. -# config.status does its own redirection, appending to config.log. -# Unfortunately, on DOS this fails, as config.log is still kept open -# by configure, so config.status won't be able to write to it; its -# output is simply discarded. So we exec the FD to /dev/null, -# effectively closing config.log, so it can be properly (re)opened and -# appended to by config.status. When coming back to configure, we -# need to make the FD available again. -if test "$no_create" != yes; then - ac_cs_success=: - ac_config_status_args= - test "$silent" = yes && - ac_config_status_args="$ac_config_status_args --quiet" - exec 5>/dev/null - $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false - exec 5>>config.log - # Use ||, not &&, to avoid exiting from the if with $? = 1, which - # would make configure fail if this is the last instruction. - $ac_cs_success || { (exit 1); exit 1; } -fi - - -echo " -Sources located at $SOURCESDIR will be used. -Compiled kernel module will be installed into $MODULESDIR. -Now type: - $ make -to compile the driver, and then become root and type: - # make install -to install the driver. Next step is to: - # modprobe nokia_dku2 -and see the kernel logs to verify whether the driver works. If you have any problems -doing this, consult gnokii FAQ (distributed withing gnokii tarball or online at -http://www.gnokii.org/faq.shtml), gnokii wiki (http://wiki.gnokii.org) or gnokii -users mailing list (http://lists.gnu.org/mailman/listinfo/gnokii-users). -" diff -Nru gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.4/configure.in gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.4/configure.in --- gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.4/configure.in 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.4/configure.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,55 +0,0 @@ -dnl -dnl Copyright (C) 2005 Pawel Kot -dnl Configuration script for nokia_dku2 kernel drivers -dnl -dnl $Id: configure.in,v 1.1 2005/07/10 13:27:05 pkot Exp $ -dnl - -dnl === Some general stuff -AC_INIT(nokia_dku2.c) -AC_CONFIG_AUX_DIR(../../config) - -dnl === Handle custom Linux kernel sources directory -SOURCESDIR="/lib/modules/`uname -r`/build" -AC_ARG_WITH(kernsrcdir, - [ --with-kernsrcdir=dir specifies the kernel sources dir], - [ if test x$withval = xyes; then - AC_MSG_WARN(Usage is: --with-kernsrcdir=dir) - else - SOURCESDIR="$withval" - fi - ] -) - -dnl === Hanlde custom Linux modules directory -MODULESDIR="/lib/modules/`uname -r`" -AC_ARG_WITH(kernmoddir, - [ --with-kernmoddir=dir specifies the kernel modules dir], - [ if test x$withval = xyes; then - AC_MSG_WARN(Usage is: --with-kermoddir=dir) - else - MODULESDIR="$withval" - fi - ] -) - -dnl === Prepare the Makefiles -AC_SUBST(SOURCESDIR) -AC_SUBST(MODULESDIR) -AC_OUTPUT(Makefile) - -dnl === Output the configuration paths and instruction for the next steps -echo " -Sources located at $SOURCESDIR will be used. -Compiled kernel module will be installed into $MODULESDIR. -Now type: - $ make -to compile the driver, and then become root and type: - # make install -to install the driver. Next step is to: - # modprobe nokia_dku2 -and see the kernel logs to verify whether the driver works. If you have any problems -doing this, consult gnokii FAQ (distributed withing gnokii tarball or online at -http://www.gnokii.org/faq.shtml), gnokii wiki (http://wiki.gnokii.org) or gnokii -users mailing list (http://lists.gnu.org/mailman/listinfo/gnokii-users). -" diff -Nru gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.4/Makefile.in gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.4/Makefile.in --- gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.4/Makefile.in 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.4/Makefile.in 1970-01-01 00:00:00.000000000 +0000 @@ -1,33 +0,0 @@ -########################################################################## -# # -# This program is free software; you can redistribute it and/or modify # -# it under the terms of the GNU General Public License as published by # -# the Free Software Foundation; either version 2 of the License, or # -# (at your option) any later version. # -# # -# Copyright (c) 2005 Pawel Kot # -# # -########################################################################## - -MODULE := nokia_dku2 -MODULE_ROOT := @MODULESDIR@/kernel/drivers/usb/serial - -INCLUDE := -I@SOURCESDIR@/include/linux -I@SOURCESDIR@/drivers/usb/serial -CFLAGS := -O2 -DMODULE -D__KERNEL__ ${INCLUDE} - -${MODULE}.o: ${MODULE}.c - -.PHONY: clean - -clean: - @rm -f .*.{cmd,flags} - @rm -f ${MODULE}.o $(VERSION_HEADER) - @rm -fr .tmp_versions - @rm -f *~ - -install: - if ! [ -f ${MODULE}.o ]; then \ - module; \ - fi - install -m 744 -o 0 -g 0 ${MODULE}.o $(MODULE_ROOT) - /sbin/depmod -a diff -Nru gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.4/nokia_dku2.c gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.4/nokia_dku2.c --- gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.4/nokia_dku2.c 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.4/nokia_dku2.c 1970-01-01 00:00:00.000000000 +0000 @@ -1,254 +0,0 @@ -/* - * Nokia DKU2 USB driver - * - * Copyright (C) 2004 - * Author: C Kemp - * - * This program is largely derived from work by the linux-usb group - * and associated source files. Please see the usb/serial files for - * individual credits and copyrights. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * 20.09.2005 - Matthias Blaesing - * Added usb_deregister to exit code - to allow remove and reinsert of module - */ - - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#ifdef CONFIG_USB_SERIAL_DEBUG - static int debug = 1; -#else - static int debug; -#endif - -#include "usb-serial.h" -#include "nokia_dku2.h" - -/* - * Version Information - */ -#define DRIVER_VERSION "v0.2" -#define DRIVER_AUTHOR "C Kemp" -#define DRIVER_DESC "Nokia DKU2 Driver" - -/* Function prototypes */ -static int nokia_startup(struct usb_serial *serial); -static void nokia_shutdown(struct usb_serial *serial); -static void generic_read_bulk_callback(struct urb *urb); -static void generic_write_bulk_callback(struct urb *urb); - -static struct usb_device_id id_table [] = { - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA7600_PRODUCT_ID) }, - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6230_PRODUCT_ID) }, - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6170_PRODUCT_ID) }, - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6670_PRODUCT_ID) }, - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6680_PRODUCT_ID) }, - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6230i_PRODUCT_ID) }, - { } /* Terminating entry */ -}; - -MODULE_DEVICE_TABLE(usb, id_table); - -static struct usb_serial_device_type nokia_device = { - .owner = THIS_MODULE, - .name = "Nokia 7600/6230(i)/6170/66x0 DKU2 driver", - .id_table = id_table, - .num_interrupt_in = 1, - .num_bulk_in = 1, - .num_bulk_out = 1, - .num_ports = 1, - .startup = nokia_startup, - .shutdown = nokia_shutdown, -}; - -/* do some startup allocations not currently performed by usb_serial_probe() */ -static int nokia_startup(struct usb_serial *serial) -{ - struct usb_serial_port *port; - struct usb_endpoint_descriptor *endpoint; - int buffer_size = 0; - - dbg("%s", __FUNCTION__); - - if (serial->interface->altsetting[0].endpoint[0].bEndpointAddress == NOKIA_AT_PORT) { - /* the AT port */ - printk("Nokia AT Port:\n"); - } else if (serial->interface->num_altsetting == 2 && - serial->interface->altsetting[1].endpoint[0].bEndpointAddress == NOKIA_FBUS_PORT) { - printk("Nokia FBUS Port:\n"); - usb_set_interface(serial->dev, 10, 1); - /* The usbserial driver won't have sorted out the endpoints for us so... */ - endpoint = &serial->interface->altsetting[1].endpoint[0]; - port = &serial->port[0]; - port->read_urb = usb_alloc_urb(0); - if (!port->read_urb) - return -1; - - buffer_size = endpoint->wMaxPacketSize; - port->bulk_in_endpointAddress = endpoint->bEndpointAddress; - port->bulk_in_buffer = kmalloc(buffer_size, GFP_KERNEL); - if (!port->bulk_in_buffer) - return -1; - - usb_fill_bulk_urb(port->read_urb, serial->dev, - usb_rcvbulkpipe(serial->dev, - endpoint->bEndpointAddress), - port->bulk_in_buffer, buffer_size, - generic_read_bulk_callback, port); - - endpoint = &serial->interface->altsetting[1].endpoint[1]; - port->write_urb = usb_alloc_urb(0); - if (!port->write_urb) - return -1; - - buffer_size = endpoint->wMaxPacketSize; - port->bulk_out_size = buffer_size; - port->bulk_out_endpointAddress = endpoint->bEndpointAddress; - port->bulk_out_buffer = kmalloc(buffer_size, GFP_KERNEL); - if (!port->bulk_out_buffer) - return -1; - - usb_fill_bulk_urb(port->write_urb, serial->dev, - usb_sndbulkpipe(serial->dev, - endpoint->bEndpointAddress), - port->bulk_out_buffer, buffer_size, - generic_write_bulk_callback, port); - serial->num_bulk_out = 1; - serial->num_bulk_in = 1; - } else - return -1; - - init_waitqueue_head(&serial->port->write_wait); - - return 0; -} - -static void generic_read_bulk_callback(struct urb *urb) -{ - struct usb_serial_port *port = (struct usb_serial_port *)urb->context; - struct usb_serial *serial = get_usb_serial (port, __FUNCTION__); - struct tty_struct *tty; - unsigned char *data = urb->transfer_buffer; - int i; - int result; - - dbg("%s - port %d", __FUNCTION__, port->number); - - if (!serial) { - dbg("%s - bad serial pointer, exiting", __FUNCTION__); - return; - } - - if (urb->status) { - dbg("%s - nonzero read bulk status received: %d", __FUNCTION__, urb->status); - return; - } - - usb_serial_debug_data(__FILE__, __FUNCTION__, urb->actual_length, data); - - tty = port->tty; - if (tty && urb->actual_length) { - for (i = 0; i < urb->actual_length ; ++i) { - /* if we insert more than TTY_FLIPBUF_SIZE characters, we drop them. */ - if (tty->flip.count >= TTY_FLIPBUF_SIZE) { - tty_flip_buffer_push(tty); - } - /* this doesn't actually push the data through unless tty->low_latency is set */ - tty_insert_flip_char(tty, data[i], 0); - } - tty_flip_buffer_push(tty); - } - - /* Continue trying to always read */ - usb_fill_bulk_urb(port->read_urb, serial->dev, - usb_rcvbulkpipe(serial->dev, - port->bulk_in_endpointAddress), - port->read_urb->transfer_buffer, - port->read_urb->transfer_buffer_length, - ((serial->type->read_bulk_callback) ? - serial->type->read_bulk_callback : - generic_read_bulk_callback), port); - result = usb_submit_urb(port->read_urb); - if (result) - err("%s - failed resubmitting read urb, error %d", __FUNCTION__, result); -} - -static void generic_write_bulk_callback(struct urb *urb) -{ - struct usb_serial_port *port = (struct usb_serial_port *)urb->context; - struct usb_serial *serial = get_usb_serial(port, __FUNCTION__); - - dbg("%s - port %d", __FUNCTION__, port->number); - - port->write_busy = 0; - wmb(); - - if (!serial) { - err("%s - null serial pointer, exiting", __FUNCTION__); - return; - } - - if (urb->status) { - dbg("%s - nonzero write bulk status received: %d", __FUNCTION__, urb->status); - } - - queue_task(&port->tqueue, &tq_immediate); - mark_bh(IMMEDIATE_BH); - - return; -} - -static void nokia_shutdown(struct usb_serial *serial) -{ - int i; - - dbg("%s", __FUNCTION__); - - for (i = 0; i < serial->num_ports; ++i) { - if (serial->port[i].private) - kfree(serial->port[i].private); - } -} - -static int __init nokia_init(void) -{ - usb_serial_register (&nokia_device); - - info(DRIVER_VERSION " " DRIVER_AUTHOR); - info(DRIVER_DESC); - - return 0; -} - -static void __exit nokia_exit(void) -{ - usb_deregister(&nokia_driver); - usb_serial_deregister(&nokia_device); -} - -module_init(nokia_init); -module_exit(nokia_exit); - -MODULE_AUTHOR(DRIVER_AUTHOR); -MODULE_DESCRIPTION(DRIVER_DESC); -MODULE_LICENSE("GPL"); - -MODULE_PARM(debug, "i"); -MODULE_PARM_DESC(debug, "Debug enabled or not"); - diff -Nru gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.4/nokia_dku2.h gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.4/nokia_dku2.h --- gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.4/nokia_dku2.h 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.4/nokia_dku2.h 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -/* - * Nokia DKU2 USB driver - * - * Copyright (C) 2004 - * Author: C Kemp - * - * This program is largely derived from work by the linux-usb group - * and associated source files. Please see the usb/serial files for - * individual credits and copyrights. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - */ - -#define NOKIA_VENDOR_ID 0x0421 -#define NOKIA7600_PRODUCT_ID 0x0400 -#define NOKIA6230_PRODUCT_ID 0x040f -#define NOKIA6170_PRODUCT_ID 0x0416 -#define NOKIA6670_PRODUCT_ID 0x041d -#define NOKIA6670_PRODUCT_ID 0x041e -#define NOKIA6230i_PRODUCT_ID 0x0428 - -#define NOKIA_AT_PORT 0x82 -#define NOKIA_FBUS_PORT 0x86 diff -Nru gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.6/Makefile gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.6/Makefile --- gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.6/Makefile 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.6/Makefile 1970-01-01 00:00:00.000000000 +0000 @@ -1,20 +0,0 @@ -ifneq ($(KERNELRELEASE),) -# kbuild part of makefile -EXTRA_CFLAGS += -Idrivers/usb/serial - -obj-$(CONFIG_USB_SERIAL_NOKIA_DKU2) := nokia_dku2.o -else - -# Normal Makefile - -KERNELDIR := /lib/modules/`uname -r`/build -all: - $(MAKE) -C $(KERNELDIR) M=`pwd` CONFIG_USB_SERIAL_NOKIA_DKU2=m modules - -modules_install: - $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install -clean: - $(MAKE) -C $(KERNELDIR) M=`pwd` clean - -endif - diff -Nru gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.6/nokia_dku2.c gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.6/nokia_dku2.c --- gammu-1.30.0/contrib/linux-driver/dku2/kernel_2.6/nokia_dku2.c 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/linux-driver/dku2/kernel_2.6/nokia_dku2.c 1970-01-01 00:00:00.000000000 +0000 @@ -1,143 +0,0 @@ -/* - * Nokia DKU2 USB driver - * - * Copyright (C) 2004 - * Author: C Kemp - * - * This program is largely derived from work by the linux-usb group - * and associated source files. Please see the usb/serial files for - * individual credits and copyrights. - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * 20.09.2005 - Matthias Blaesing - * Added short name to device structure to make driver load into kernel 2.6.13 - * - * 20.09.2005 - Matthias Blaesing - * Added usb_deregister to exit code - to allow remove and reinsert of module - */ - - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - - -#define NOKIA_VENDOR_ID 0x0421 -#define NOKIA7600_PRODUCT_ID 0x0400 -#define NOKIA6230_PRODUCT_ID 0x040f -#define NOKIA6170_PRODUCT_ID 0x0416 -#define NOKIA6670_PRODUCT_ID 0x041d -#define NOKIA6680_PRODUCT_ID 0x041e -#define NOKIA6230i_PRODUCT_ID 0x0428 - -#define NOKIA_AT_PORT 0x82 -#define NOKIA_FBUS_PORT 0x86 - -/* - * Version Information - */ -#define DRIVER_VERSION "v0.2" -#define DRIVER_AUTHOR "C Kemp" -#define DRIVER_DESC "Nokia DKU2 Driver" - -static struct usb_device_id id_table [] = { - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA7600_PRODUCT_ID) }, - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6230_PRODUCT_ID) }, - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6170_PRODUCT_ID) }, - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6670_PRODUCT_ID) }, - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6680_PRODUCT_ID) }, - { USB_DEVICE(NOKIA_VENDOR_ID, NOKIA6230i_PRODUCT_ID) }, - { } /* Terminating entry */ -}; -MODULE_DEVICE_TABLE(usb, id_table); - -/* The only thing which makes this device different from a generic - * device is that we have to set an alternative configuration to make - * the relevant endpoints available. In 2.6 this is really easy... */ -static int nokia_probe(struct usb_serial *serial, - const struct usb_device_id *id) -{ - int retval = -ENODEV; - - if (serial->interface->altsetting[0].endpoint[0].desc.bEndpointAddress == NOKIA_AT_PORT) { - /* the AT port */ - dev_info(&serial->dev->dev, "Nokia AT Port:\n"); - retval = 0; - } else if (serial->interface->num_altsetting == 2 && - serial->interface->altsetting[1].endpoint[0].desc.bEndpointAddress == NOKIA_FBUS_PORT) { - /* the FBUS port */ - dev_info(&serial->dev->dev, "Nokia FBUS Port:\n"); - usb_set_interface(serial->dev, 10, 1); - retval = 0; - } - - return retval; -} - -static struct usb_driver nokia_driver = { - .name = "nokia_dku2", - .probe = usb_serial_probe, - .disconnect = usb_serial_disconnect, - .id_table = id_table, -}; - -static struct usb_serial_driver nokia_serial_driver = { - .driver = { - .owner = THIS_MODULE, - .name = "nokia_dku2", - }, - .description = "Nokia 7600/6230(i)/6170/66x0 DKU2 driver", - .id_table = id_table, -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,26) - .num_interrupt_in = 1, - .num_bulk_in = 1, - .num_bulk_out = 1, - .num_ports = 1, -#endif - .probe = nokia_probe, -}; - -static int __init nokia_init(void) -{ - int retval; - - retval = usb_serial_register(&nokia_serial_driver); - if (retval) - return retval; - - retval = usb_register(&nokia_driver); - if (retval) { - usb_serial_deregister(&nokia_serial_driver); - return retval; - } - - info(DRIVER_VERSION " " DRIVER_AUTHOR); - info(DRIVER_DESC); - - return retval; -} - -static void __exit nokia_exit(void) -{ - usb_deregister(&nokia_driver); - usb_serial_deregister(&nokia_serial_driver); -} - -module_init(nokia_init); -module_exit(nokia_exit); - -MODULE_AUTHOR(DRIVER_AUTHOR); -MODULE_DESCRIPTION(DRIVER_DESC); -MODULE_LICENSE("GPL"); diff -Nru gammu-1.30.0/contrib/other/fax/faxreceive gammu-1.31.0/contrib/other/fax/faxreceive --- gammu-1.30.0/contrib/other/fax/faxreceive 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/other/fax/faxreceive 1970-01-01 00:00:00.000000000 +0000 @@ -1,8 +0,0 @@ -#! /bin/sh -if [ -z "$2" ] -then - echo faxreceive device file - echo example: faxreceive /dev/ttyS1 /home/marcin/faxes - exit 0 -fi -efax -d $1 -or -r "$2%b%d-%H.%I.%S" reply diff -Nru gammu-1.30.0/contrib/other/fax/faxsend gammu-1.31.0/contrib/other/fax/faxsend --- gammu-1.30.0/contrib/other/fax/faxsend 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/other/fax/faxsend 1970-01-01 00:00:00.000000000 +0000 @@ -1,8 +0,0 @@ -#! /bin/sh -if [ -z "$3" ] -then - echo faxsend device number file - echo example: faxsend /dev/ttyS1 123456789 /home/marcin/fax - exit 0 -fi -efax -d $1 -t T$2 $3 diff -Nru gammu-1.30.0/contrib/other/ppp/data gammu-1.31.0/contrib/other/ppp/data --- gammu-1.30.0/contrib/other/ppp/data 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/other/ppp/data 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -#!/bin/sh -./startppp data /dev/ttyS1 123 plusgsm plusgsm 43200 diff -Nru gammu-1.30.0/contrib/other/ppp/gprs gammu-1.31.0/contrib/other/ppp/gprs --- gammu-1.30.0/contrib/other/ppp/gprs 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/other/ppp/gprs 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -#!/bin/sh -./startppp gprs /dev/ttyS1 *99***1# "" "" www.plusgsm.pl diff -Nru gammu-1.30.0/contrib/other/ppp/startppp gammu-1.31.0/contrib/other/ppp/startppp --- gammu-1.30.0/contrib/other/ppp/startppp 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/other/ppp/startppp 1970-01-01 00:00:00.000000000 +0000 @@ -1,97 +0,0 @@ -#!/bin/sh -#version 0.2 -FILENAME="/tmp/chatscripttemp" -if [ -z "$6" ] -then - echo Script for making ppp connections using GSM device - echo Part of Gammu package \(www.mwiacek.com\) - echo - echo startppp data device number user pass 9600/14400/19200/28800/43200 - echo Example: startppp data /dev/ttyS1 123 \"plusgsm\" \"plusgsm\" 14400 - echo 9600 and 14400 use one channel - echo 19200 and 28800 two channels \(HSCSD\) - echo 43200 three channels \(HSCSD\) - echo - echo startppp gprs device number user pass apn - echo Example: startppp gprs /dev/ttyS1 *99***1# \"\" \"\" www.plusgsm.pl - exit 0 -fi -if [ "$1" = "data" ] -then - PHONE_DATA_OUTSPEED="-1" - if [ "$6" = "9600" ] - then - PHONE_DATA_OUTSPEED=1 - fi - if [ "$6" = "14400" ] - then - PHONE_DATA_OUTSPEED=2 - fi - if [ "$6" = "19200" ] - then - PHONE_DATA_OUTSPEED=3 - fi - if [ "$6" = "28800" ] - then - PHONE_DATA_OUTSPEED=4 - fi - if [ "$6" = "43200" ] - then - PHONE_DATA_OUTSPEED=6 - fi - if [ "$PHONE_DATA_OUTSPEED" = "-1" ] - then - echo Unknown speed - exit 0 - fi -# echo ECHO ON > $FILENAME - echo TIMEOUT 10 > $FILENAME - echo ABORT \'\\nBUSY\\r\' >> $FILENAME - echo ABORT \'\\nNO ANSWER\\r\' >> $FILENAME - echo ABORT \'\\nRINGING\\r\\n\\r\\nRINGING\\r\' >> $FILENAME - echo ABORT \'\\nNO CARRIER\\r\' >> $FILENAME - echo \'\' "\\r\\dATZ" >> $FILENAME - echo \'\' "AT+CBST=51,0,1" >> $FILENAME - echo \'\' "AT+CHSN=$PHONE_DATA_OUTSPEED,0,0,0" >> $FILENAME - echo TIMEOUT 10 >> $FILENAME - echo OK ATD$3 >> $FILENAME - echo CONNECT \'\' >> $FILENAME -else - if [ "$1" = "gprs" ] - then -# echo ECHO ON > $FILENAME - echo TIMEOUT 10 > $FILENAME - echo ABORT \'\\nBUSY\\r\' >> $FILENAME - echo ABORT \'\\nNO ANSWER\\r\' >> $FILENAME - echo ABORT \'\\nRINGING\\r\\n\\r\\nRINGING\\r\' >> $FILENAME - echo ABORT \'\\nNO CARRIER\\r\' >> $FILENAME - echo \'\' "\\r\\dATZ" >> $FILENAME - echo OK "AT+CGDCONT=1,\"IP\",\"$6\"" >> $FILENAME - echo TIMEOUT 10 >> $FILENAME - echo OK ATD$3 >> $FILENAME - echo CONNECT \'\' >> $FILENAME - else - echo Unknown bearer - exit 0 - fi -fi -echo Device on $2 calling to $3 -if [ -z "$4" ] -then - USER="" -else - USER="user $4" - echo $USER -fi -if [ -z "$5" ] -then - PASS="" -else - PASS="password $5" - echo $PASS -fi -/usr/sbin/pppd $2 115200 connect "/usr/sbin/chat -v -f $FILENAME" $USER $PASS \ - modem crtscts defaultroute \ - -detach noccp ipcp-accept-local noipdefault \ - mtu 1500 mru 1500 -rm $FILENAME diff -Nru gammu-1.30.0/contrib/other/ppp/statsppp gammu-1.31.0/contrib/other/ppp/statsppp --- gammu-1.30.0/contrib/other/ppp/statsppp 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/other/ppp/statsppp 1970-01-01 00:00:00.000000000 +0000 @@ -1,2 +0,0 @@ -#!/bin/sh -/usr/sbin/pppstats -w 1 -a diff -Nru gammu-1.30.0/contrib/packaging/gentoo/gammu-1.04.0-r1.ebuild gammu-1.31.0/contrib/packaging/gentoo/gammu-1.04.0-r1.ebuild --- gammu-1.30.0/contrib/packaging/gentoo/gammu-1.04.0-r1.ebuild 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/packaging/gentoo/gammu-1.04.0-r1.ebuild 1970-01-01 00:00:00.000000000 +0000 @@ -1,48 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/gammu-1.04.0-r1.ebuild,v 1.1 2006/01/07 13:07:11 mrness Exp $ - -inherit eutils - -MY_MAJOR_VER=${PV:0:3} - -DESCRIPTION="a fork of the gnokii project, a tool to handle your cellular phone" -SRC_URI="http://www.mwiacek.com/zips/gsm/${PN}/stable/${MY_MAJOR_VER/./_}x/${P}.tar.gz" -HOMEPAGE="http://www.gammu.org/wiki/index.php?title=Gammu:Main_Page" - -IUSE="debug bluetooth irda mysql" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -RDEPEND="bluetooth? ( net-wireless/bluez-libs ) - mysql? ( dev-db/mysql )" -DEPEND="${RDEPEND} - irda? ( virtual/os-headers )" - -src_unpack() { - unpack ${A} - - epatch ${FILESDIR}/${P}-devfunc-sock.patch -} - -src_compile() { - local myconf="" - use debug && myconf="${myconf} --enable-debug" - use bluetooth && myconf="${myconf} --with-bluedir=/usr/lib" \ - || myconf="${myconf} --disable-bluetooth" - use mysql || myconf="${myconf} --disable-mysql" - use irda || myconf="${myconf} --disable-irda" - econf \ - --prefix=/usr \ - --enable-cb \ - --enable-7110incoming \ - ${myconf} || die "configure failed" - - emake || die "make failed" -} - -src_install () { - make "DESTDIR=${D}" install || die "install failed" - mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${P}" -} diff -Nru gammu-1.30.0/contrib/packaging/gentoo/readme.txt gammu-1.31.0/contrib/packaging/gentoo/readme.txt --- gammu-1.30.0/contrib/packaging/gentoo/readme.txt 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/packaging/gentoo/readme.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,15 +0,0 @@ -Hi folks, - -1. To install this, create a directory -/usr/local/portage/net-dialup/gammu/files - -2. Copy the gammu-0.85.ebuild to /usr/local/portage/net-dialup/gammu. - -3. ebuild /usr/local/portage/net-dialup/gammu/gammu-0.85.ebuild digest - -4. emerge gammu - -Just install it the way you want. - -Ciao -ST Lim diff -Nru gammu-1.30.0/contrib/packaging/README.Debian gammu-1.31.0/contrib/packaging/README.Debian --- gammu-1.30.0/contrib/packaging/README.Debian 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/packaging/README.Debian 1970-01-01 00:00:00.000000000 +0000 @@ -1,7 +0,0 @@ -Gammu packages are included in Debian (testing versions go to -experimental and stable to unstable). If you want to build Debian -package on your own, you can find packaging in Git repository at - (you can browse it on -). - -# vim: et ts=4 sw=4 sts=4 tw=72 spell spelllang=en_us diff -Nru gammu-1.30.0/contrib/sms/readme gammu-1.31.0/contrib/sms/readme --- gammu-1.30.0/contrib/sms/readme 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/sms/readme 1970-01-01 00:00:00.000000000 +0000 @@ -1,3 +0,0 @@ -This directory contains SMS default alphabet saved in Unicode text file -(charset.txt) and table used for converting chars during saving SMS -with default alphabet (convert.txt) diff -Nru gammu-1.30.0/contrib/sounds/readme gammu-1.31.0/contrib/sounds/readme --- gammu-1.30.0/contrib/sounds/readme 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/sounds/readme 1970-01-01 00:00:00.000000000 +0000 @@ -1,45 +0,0 @@ -In subdirs there are original ringtones and SMS tones -from various Nokia phones. They're saved in special -binary format used in phone's firmware. You can download them to your phone, -if it has downloadable ringtone(s) - use -"gnokii --setbinringtone file [location]". I tested Nokia 6150 5.22 and it was -OK. I hope, that Nokia will not change this format and you will be able to -use it with new phones too (update: 3310 seems to have different format). - -I also noticed, that with Nokia 6150 some ringtones required small changes -(inserting space (0x20 char) after name displayed in phone's menu). -Maximal length of names for this phone is 12 chars (that's why "Moon & clouds" -is only "Moon & cloud", "Mexican Hat Dance" -> "Mexican Dance", -"Piano concerto" -> "Piano concer", "WalzeBrillant" -> "WalzeBrilla") - -I wasn't also to restore Badinerie, Tchaikovsky, -Entertainer, Valkyrie, Four seasons, Auld lang syne, Bumblebee, -Brave Scotland, Liszt, Hungarian, Left Hand -(I had it in the file - it was no problem to save -it), because it was too long (ringtones in phone's firmware in flash -can be infinitely long, downloadable not - frame can be 317 chars long -only)... I had to short name in "Swan Lake" to "Swan" because of it... - -In Get_Cool,Sunny_Walks,Tick tick ringtones there is and error - small -"pyk" on the end. It's not my fault, it was made by Nokia... - -Similiary Hopping-down seems to cut (next Nokia fault ?)... - -PS. I didn't compared many of these ringtones with original phones. -If there are differences, please let me know (my files could be broken too) - -PS2. I tried to understand this format, but I didn't make it at all (too small -free time, etc.). Here are some observations: - -Format is used by 0x40/0x9e and 0x40/0xa0 frames. General format is: - -0x00,0x01,0xa0(0x9e),location,0x00,0xc1,0x01,?,name,0x00,0x00,0x02, -commands and tones?each probably in two bytes?,0x0b - -where: location=0x00,0x01,etc. - name=name in ASCII displayed in menu - -If phone doesn't find 0xc1,0x01,? bytes in 7,8,9 byte, don't display ringtone -name and treat them (if there are next) as ringtone contenst - -Marcin@MWiacek.com diff -Nru gammu-1.30.0/contrib/sounds/ring2.txt gammu-1.31.0/contrib/sounds/ring2.txt --- gammu-1.30.0/contrib/sounds/ring2.txt 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/sounds/ring2.txt 1970-01-01 00:00:00.000000000 +0000 @@ -1,799 +0,0 @@ -http://www.gsmcity.de/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=001084&counterhit=yes -03.09.2001 19:00 - - can i change the original ringtones on 5110? i've heard that - with datasuite u can change the ringtones. pls let me know - regards - -------------------- - ---I'M UNIQUE AND SO IS MY PHONE--- - -- sms,logos,soft,ringtones and many more free -- - - - Posts: 247 | From: Bucharest,Romania | Registered: May 2001 | - IP: - - azywerks - Newbie - - posted 09 June 2001 18:58 - - No. - You can add/change 1 ringtone (Received tone) for a 61XX phone - using Datasuite though. - - aCe - - - IP: - - mrENigma - Moderator - - Member # 4409 - Member Rated: - posted 09 June 2001 19:01 - - - TOO BAD!!!! - IS ANY WAY TO DO THIS? ON ANY NOKIA HANDY??? - -------------------- - ---I'M UNIQUE AND SO IS MY PHONE--- - -- sms,logos,soft,ringtones and many more free -- - - - Posts: 247 | From: Bucharest,Romania | Registered: May 2001 | - IP: - - azywerks - Newbie - - posted 09 June 2001 19:48 - - Except for the downloaded ringtones which is available to most - nokia phones(GSM) except 5110, no. - Maybe if you can understand the two byte(i guess, or was it - four) sequence for the tones notation in the PPM section and - have it manually changed to a tone of your desire then your - probably half way there. - The other half would then be spent on how to get your phone to - accept the new PPM package you've just made without causing - any problems like Contact Service, sim locks, and Network - Access. Heck, I can't even change just the simple "Insert" - from "Insert SIM Card" to tresnI without causing my phone to - display Contact Service. Must have some security data - elsewhere. - - Anyway, we'll keep on trying. - - aCe - - - IP: - - zizo - Freak Poster - - Member # 2631 - Member Rated: - posted 10 June 2001 00:32 - - Hi mrENigma! - U can not change a ringtone on your phone, U have only I think - 2 byte free memory there u can recive one ringtone on it. - Good luck! - -------------------- - /Z - - - Posts: 102 | From: Sweden | Registered: Nov 2000 | IP: - - mrENigma - Moderator - - Member # 4409 - Member Rated: - posted 10 June 2001 20:44 - - even if i erase some of them? 10 originals for one of mine - it's kind a stupid can't do this.... - -------------------- - ---I'M UNIQUE AND SO IS MY PHONE--- - -- sms,logos,soft,ringtones and many more free -- - - - Posts: 247 | From: Bucharest,Romania | Registered: May 2001 | - IP: - - Ice Dragon - Freak Poster - - Member # 3365 - Member Rated: - posted 14 June 2001 03:23 - - - quote: - - Originally posted by mrENigma: - even if i erase some of them? 10 originals for one of mine - it's kind a stupid can't do this.... - - - Well, I have a post of this a while (months) ago. - It's not possible to ADD TONES to the Nokia 5110 but it is - possible to CHANGE TONES on the Nokia 5110. - Well, changing RING TONES is a bit hard but changing ALERT - TONES is relatively easier to do. - Of course us all Nokia users can add ring tones to phone like - the 61xx, 6210, 3210, 33xx, etc. but I bet most of our alert - tones are all the same. - The beep, the standard (which is a dit-dit tone), the special - (which is a dit-dit-dit-dat-dat-dit-dit-dit, which is actually - a Morse code for "SMS"), and the ascending (which is actualy a - Morse code for "connecting people") are the same to all Nokia - phones unless there is one I don't know about. - Anyway, have any of you once experienced when on a crowd when - a SMS message came and most people around you have Nokia - phones (riding a bus for example or on a bar). - Some of us would check their phone if it was for them, like I - did. - So I changed my standard tone which is a dit-dit to dit-dat to - sound differently. And my special tone from - dit-dit-dit-dat-dat-dit-dit-dit to - dat-dit-dit-dit-dat-dit-dit-dit (which sounds like "Who let - the dogs out" with dit-dit-dit at the end). So when I myself - received a message, I know that it's for me coz I only have to - take note of the tone. - Too bad, Viper stopped his research with the NFREE project. I - have been inquiring about the checksums but he's no longer - responding. So I guess I have to do this on my own. - I'm coming up with a software to change the ringtone on the - 5110, just like I came up with the soft for changing the alert - tone on my 5110. Imagine, we have 30 changeable ringtones on - our Nokia, not just the 5110 but also with the 3210, 33xx, - 51xx, 61xx, 62xx, 7110, 82xx, 88xx, etc. - The info about this is not for free of course. Anyone - experimenting with his Nokia can come with a way to change the - fixed ringtones and alert tones on his phone. - BTW, the ringtones can be found on the PPM part of the phone. - Regards... - [ 15 June 2001 06:43: Message edited 1 time, lastly by Ice - Dragon ] - -------------------- - "Keyboard not found. Press F1 to continue." - ICQ#:97427188 - ------------------- - Send me private messages if any, no kinky stuff though. :-) - - - Posts: 171 | From: Bacolod, Philippines | Registered: Feb 2001 - | IP: - - azywerks - Newbie - - posted 14 June 2001 18:05 - - Yo Ice! Could you share with me the search values for the SMS - tones. Pleazzee. - BTW, have you tried changing the words in our PPM package (i.e - "Insert" in Insert SIM card to something else). I've tried - even simply reversing Insert to tresnI so as not to get any - checksum problems but still I get the CS. - Maybe their using a different method of calculation (CRC - perhaps) or they have a compare module elsewhere? - Just wondering, - aCe - - - IP: - - Leeloo - Major Poster - - Member # 2809 - Rate Member posted 16 June 2001 13:31 - - If the ringtones are saved in the ppm pack, and you get cs - when trying to change places of some letters in ppm.....what - happens in the phon when you download a new ringtone ? - does it recalculate the cs for ppm itself ? - I thought these ringtones where saved in a area without any cs - check. - /Leeloo - - - Posts: 46 | From: Sweden | Registered: Dec 2000 | IP: - - azywerks - Newbie - - posted 17 June 2001 20:27 - - The downloaded tones aren't stored in your PPM, they are - stored in your EEPROM. It is in the EEPROM where checksum - recalculation takes place. - The tones that are in the PPM are the static tones (i.e Ring - Ring, Mosquito). - The SMS alert tones on the other hand (according to ICE - DRAGON) are located at the MCU portion of your flash. - Hope this clears up the confusion. - Regards, - aCe - - - IP: - - Ice Dragon - Freak Poster - - Member # 3365 - Member Rated: - posted 03 July 2001 04:11 - - - quote: - - Originally posted by aZyWeRks: - Yo Ice! Could you share with me the search values for the - SMS tones. Pleazzee. - BTW, have you tried changing the words in our PPM package - (i.e "Insert" in Insert SIM card to something else). I've - tried even simply reversing Insert to tresnI so as not to - get any checksum problems but still I get the CS. - Maybe their using a different method of calculation (CRC - perhaps) or they have a compare module elsewhere? - Just wondering, - aCe - - - - Yo aCe! Here's the hex values particularly for the Special and - Ascending alerts tones. - Using flash from a 5110v5.30C: - For Special (morse code for "SMS"): - 5A0C,400C,5A0C,400C,0AFE,5A0C, - 4025,0A01,5A25,400C,5A25,4025, - 0AFE,5A0C,400C,5A0C,400C,5A0C - So it sounds like: - dit-dit-dit dat-dat dit-dit-dit - "5A0C" is a "dit" with a duration of 0C - "5A25" is a "dat" with a duration of 25 - "400C" is a pause with a duration of 0C - "4025" is a pause with a duration of 25 - "0AFE" is.... I don't know what this means, let me know - For Ascending (morse code for "connecting people"): - 5A25,400C,5A0C,0AFE,400C,5A25,400C,5A0C,4025,0A01, - 5A25,400C,5A25,0AFE,400C,5A25,4025, - 5A25,400C,5A0C,4025, - 5A25,400C,5A0C,4025, - 5A0C,4025, - 5A25,400C,5A0C,400C,5A25,400C,5A0C,4025, - 5A25,4025, - 5A0C,400C,5A0C,4025, - 5A25,400C,5A0C,4025, - 5A25,400C,5A25,400C,5A0C,4064 - 5A0C,400C,5A25,400C,5A25,400C,5A0C,4025 - 5A0C,4025 - 5A25,400C,5A25,400C,5A25,4025 - 5A0C,400C,5A25,400C,5A25,400C,5A0C,4025 - 5A0C,400C,5A25,400C,5A0C,400C,5A0C,4025 - 5A0C,4025 - So it sounds like: - dat-dit-dat-dit dat-dat-dat dat-dit dat-dit dit - dat-dit-dat-dit dat dit-dit dat-dit dat-dat-dit - dit-dat-dat-dit dit dat-dat-dat dit-dat-dat-dit - dit-dat-dit-dit dit - Again: - "5A0C" is a "dit" with a duration of 0C - "5A25" is a "dat" with a duration of 25 - "400C" is a pause with a duration of 0C - "4025" is a pause with a duration of 25 - "4064" is a pause with a duration of 64 (long pause) - "0A01" and "0AFE" are.... I don't know what these means, let - me know - Correct me if I'm wrong, I think "0A01" and "0AEF" is a system - pause to let the user interrupt the beeping. for sure, it's - not a checksum. - On other phone models: - Read a full flash from any model of Nokia phone (from 3210, - 33xx, 51xx, 61xx, 62xx, 7110, 82xx, 88xx) and use these search - strings on a hex editor (I use HexWorks): - For alert tones: 8005020A01 - Following hex values after these hex are actual alert tones - For ringtones: 0905020A01 or 0A05020A01 - Hex values following after these hex are not necessarily ring - tones but you can see the names of the ring tones and - following them are their ringtone values. Just see for - yourself what I mean. - Can I ask one-thing? If any of you find these info - interesting, please rate me - Thanks and best regards... - P.S. Oh, about changing the "Insert" to "tresnI" in PPM won't - work. - You see, checksum calculation in PPM is not done by - byte-addition (byte added to another byte) but by - word-addition (two bytes added to the next two bytes). - Let's take "Insert" as an example: - Letter - Hex value - Decimal - I 49 73 - n 6E 110 - s 73 115 - e 65 101 - r 72 114 - t 74 116 - In a byte-to-byte addition, the resulting checksum should be: - hex 275, decimal 629 - And it would be equal to the checksum of "tresnI" - But in a word-to-word addition, checksum is computed in - byte-pairs, therefore taking "In" as one word or hex - equivalent to 496E, decimal 18798 - So if we are to add them in words: - Letters - Hex values - Decimal - In 496E 18798 - se 7365 29541 - rt 7274 29300 - The checksum should be: hex 2F47 or decimal 12103. - Now with "tresnI", the first two letter pair would be "tr" - with a hex equivalent to 7472, decimal 29810. - So if we are to add them in words: - Letters - Hex values - Decimal - tr 7472 29810 - es 6573 25971 - nI 6E49 28233 - The checksum should be: hex 482E or decimal 18478. - Therefore, changing "Insert" to "tresnI" would yield a - "Contact Service" error. - Again, I only ask one favor. If any of you find these info - interesting, please rate me - Cheers... - [ 03 July 2001 04:43: Message edited 1 time, lastly by Ice - Dragon ] - -------------------- - "Keyboard not found. Press F1 to continue." - ICQ#:97427188 - ------------------- - Send me private messages if any, no kinky stuff though. :-) - - - Posts: 171 | From: Bacolod, Philippines | Registered: Feb 2001 - | IP: - - mrENigma - Moderator - - Member # 4409 - Member Rated: - posted 03 July 2001 08:06 - - i'm confuse a little bit, but i think that i learn something. - and when release software to do this pls let me know 'cause i - want to get ride off those stupid ringtones. - thx again and keep in touch. - -------------------- - ---I'M UNIQUE AND SO IS MY PHONE--- - -- sms,logos,soft,ringtones and many more free -- - - - Posts: 247 | From: Bucharest,Romania | Registered: May 2001 | - IP: - - qtboy - Major Poster - - Member # 3427 - Rate Member posted 03 July 2001 13:03 - - yo ice!!! - da bes ka gid migs bah! - pakopyahon mo na lang ko kung matapos na imo - program. hehehe - - - Posts: 46 | From: davao city, philippines | Registered: Feb - 2001 | IP: - - mrENigma - Moderator - - Member # 4409 - Member Rated: - posted 03 July 2001 13:53 - - yo qtboy......... english pls - -------------------- - ---I'M UNIQUE AND SO IS MY PHONE--- - -- sms,logos,soft,ringtones and many more free -- - - - Posts: 247 | From: Bucharest,Romania | Registered: May 2001 | - IP: - - brittnee - Insane Poster - - Member # 2085 - Rate Member posted 03 July 2001 16:06 - - nice job, i would just like to ask if i should have the same - number of dits and dats as to avoid contact service? - salamat - - Posts: 94 | Registered: Sep 2000 | IP: - - Ice Dragon - Freak Poster - - Member # 3365 - Member Rated: - posted 04 July 2001 04:17 - - - quote: - - Originally posted by brittnee: - nice job, i would just like to ask if i should have the same - number of dits and dats as to avoid contact service? - salamat - - - Not necessarily. - Let's take the Standard alert tone (Morse code for "M") as an - example (using the 5110v5.30C flash): - 5519, 400A, 5519, 400A - So it sounds like "dat-dat" - 5519 - is a "dat" with a duration of 19 - 400A - is a pause with a duration of 0C - We could change it to: - 550C, 400A, 5526, 400A - So it sounds like "dit-dat" - Take note that we subtracted hex 0D from the first 5519 and - added it to the second 5519 to compensate the values so we - wont have a contact service message. - Here's a more interesting one. Change the Standard alert tone - (5519,400A, 5519,400A) to something like this: - 5B19, 4005, 4F19, 400F - So it sounds like high-note-dat, low-note-dat - Or to something like: - 4C0C, 4005, 5E25, 400F - So it sounds like low-note-dit, high-note-dat - Notice that we subtracted duration values from the first pause - and add it to the next pause, and so with the first tone to - the second tone. - Sometimes I get an error when I subtract values from the pause - and add it to the tone. Or vice versa. It won't work. - So the following won't work in changing Special alert (morse - code for "SMS"): - 5A0C,400C,5A0C,400C,0AFE,5A0C,4025, - 0A01,5A25,400C,5A25,4025,0AFE, - 5A0C,400C,5A0C,400C,5A0C - That sounds like: - dit-dit-dit dat-dat dit-dit-dit - "5A0C" is a "dit" with a duration of 0C - "5A25" is a "dat" with a duration of 25 - "400C" is a pause with a duration of 0C - "4025" is a pause with a duration of 25 - "0AFE" is.... I don't know what this means, let me know - Into a variation of "Let's go": - 5A0C,4025,5A0C,4025,0AFE, - 5A0C,400C,0A01,5A0C,400C,5A0C,400C,0AFE,5A0C,4025, - 5A0C,4025,5A0C - That sounds like: - dit-dit dit-dit-dit-dit dit-dit - "5A0C" is a "dit" with a duration of 0C - "400C" is a pause with a duration of 0C - "4025" is a pause with a duration of 25 - "0AFE" is.... I don't know what this means, let me know - It wont work because we subtract values from pause and add it - to the tone. - So that's that. I'm still studying the behaviour for the - default ringtones. - Sure I can change some values without incurring a "Contact - Service" but the tones won't make any sense. - Anyway, I would know who reads this forum in my area when I - start hearing a different alert tone around here. - P.S. If you find some info here to be interesting, I only ask - one thing: please rate me - BR - -------------------- - "Keyboard not found. Press F1 to continue." - ICQ#:97427188 - ------------------- - Send me private messages if any, no kinky stuff though. :-) - - - Posts: 171 | From: Bacolod, Philippines | Registered: Feb 2001 - | IP: - - brittnee - Insane Poster - - Member # 2085 - Rate Member posted 04 July 2001 17:16 - - very nice indeed, i've change the alert tone of my 6210, still - looking for the standard tone, but i found the special tone - which is the one i change, thanks a lot!!!! - - Posts: 94 | Registered: Sep 2000 | IP: - - Ice Dragon - Freak Poster - - Member # 3365 - Member Rated: - posted 05 July 2001 03:50 - - - quote: - - Originally posted by brittnee: - very nice indeed, i've change the alert tone of my 6210, - still looking for the standard tone, but i found the special - tone which is the one i change, thanks a lot!!!! - - - - On a 6210: - As always, before tinkering with your phone flash, make a full - backup of your phone flash if you haven't yet. - Let's assume you don't have a full backup of your phone flash. - 1. Read the flash address 00200000 to 00600000. - 2. Copy the \flasher\flash.out to \nk_files\6210full.fls - 3. Use a hex editor (I suggest Hexworks), open the - \nk_files\6210full.fls and do the following to obtain a full - flash without the EEPROM: - WARNING: If you notice the file contains FF00,FF00 from - beginning to end, DO NOT PROCEED because this is a bad read - flash. - 3.1 Go to address 3FC000 (this is equivalent to flash address - 005FC000) - 3.2 Press Shift-Ctrl-Home. This will highlight the data from - offset 00000000 to 003FC000. Release the keys. - 3.3 Press Ctrl-C. This will copy the highlighted data to the - clipboard or memory. - 3.4 Press Ctrl-N. This will create an empty file. - 3.5 Press Ctrl-V. you will be asked "Are you sure you want to - insert?", select "Ok". - This will copy the previously highlighted data to the new - file. - 3.6 Save the file as "my6210.fls" - 4. Make a copy of the flash that contains the alert tones. - 4.1 Still using the hex editor, open the file "my6210.fls" - 4.2 Go to offset 350000. Press Shift-Ctrl-Home. This will - highlight the data from offset 00000000 to 003FC000. Release - the keys. - 4.3 Press Del. You will be asked "Are you sure you want to - delete?". Press "Ok". This will delete the data from 0 to - 350000. - 4.4 Go to offset 10000. Press Shift-Ctrl-End. This will - highlight the data from offset 10000 to the end of file. - 4.5 Press Del. You will be asked "Are you sure you want to - delete?". Press "Ok". This will leave you a 64k data from 0 to - 10000 (which is equivalent to flash address 00550000 to - 00560000). - 4.6 Save the file as \nk_files\6210al.fls - 5. Copy \nk_files\6210al.fls to \nk_files\alert.fls - 6. Open the \nk_files\alert.fls with a hex editor (I use - Hexworks). - 7. Use the search string "8005020A01". - First stop should be the Special alert tone. - You will notice that there's "SMSS.......S.p.e.c.i.a.l" before - it. - Pressing F3 will take you to the next found string. This is - the Standard alert. You will notice that there's - "SMS.......S.t.a.n.d.a.r.d" before it. - Again pressing F3 will take you to the next found string. This - is the Ascending alert. You will notice that there's - "SMSL.......L.o.n.g. .l.o.u.d" before it. - Don't forget when you flash it back, you should use alert.fls - as source and the address should be 00550000. - Assuming you have flashed it back to the correct address and - it shows a "Contact Service", you may have incorrectly - modified your alert tone. If this happens, proceed to number 5. - If you want to flash it back to its original alert tones, - flash it back with 6210al.fls at address 00550000. - But if it still has a Contact Service, flash it back with a - my6210.fls starting from address 00200000. This should restore - your original flash without the EEPROM part. - This procedure is a little bit for advanced flasher users. If - you don't know what you're doing, don't try it out. You have - yourself to blame if something pukes up. - Hmmm... I guess few people are interested in what I'm posting - here. Out of more than 100 readers since my first posting in - this thread, only 2 person rated me. - Oh well, all I'm asking is: rate me please - ----------------- - Misqouted qoutes: - "Don't judge the book without its cover" - "Birds flock together on the same feather" - "Don't cross the bridge when you get there" - "There's no water under the bridge" - -------------------- - "Keyboard not found. Press F1 to continue." - ICQ#:97427188 - ------------------- - Send me private messages if any, no kinky stuff though. :-) - - - Posts: 171 | From: Bacolod, Philippines | Registered: Feb 2001 - | IP: - - nuggie - Junior Member - - Member # 3304 - Member Rated: - posted 05 July 2001 13:34 - - I've tryed to do this like that : - 1.make a full backup 002 to 006 (6210) - 2.edit with hexworkshop and change the SMS alert - 3.try to correct checksums with NK1.2 to avoid Contact Service - 4.put flash back to phone - 5.works fine - Ice Dragon: does point 3 make any sense? - [ 05 July 2001 13:38: Message edited 3 times, lastly by nuggie ] - - - Posts: 27 | From: Westcoast, Poland | Registered: Feb 2001 | - IP: - - Ice Dragon - Freak Poster - - Member # 3365 - Member Rated: - posted 06 July 2001 03:07 - - - quote: - - Originally posted by nuggie: - I've tryed to do this like that : - 1.make a full backup 002 to 006 (6210) - 2.edit with hexworkshop and change the SMS alert - 3.try to correct checksums with NK1.2 to avoid Contact - Service - 4.put flash back to phone - 5.works fine - Ice Dragon: does point 3 make any sense? - - - - Not only "sense" (cents), but also dollars... heh..heh...heh... - I did that already but it always take a long wait to write the - whole modified flash back to the phone. - With a 5110v530C flash, I also tried cutting the first part of - the modified flash (flash address 00200000-00210000), write it - back to the phone, then cut the last part of the modified - flash (002F0000-00300000) back to the phone so it would take a - much lesser time. - The one I posted earlier is also to let our members reader - learn a little bit about the alert and ring tones in the - flash, and the possibility of changing them. Although I - believe that our members here know more than I do. - Cheers to you... and best regards to all - [ 06 July 2001 03:10: Message edited 1 time, lastly by Ice - Dragon ] - -------------------- - "Keyboard not found. Press F1 to continue." - ICQ#:97427188 - ------------------- - Send me private messages if any, no kinky stuff though. :-) - - - Posts: 171 | From: Bacolod, Philippines | Registered: Feb 2001 - | IP: - - aZyWeRks - Freak Poster - - Member # 3170 - Member Rated: - posted 06 July 2001 15:56 - - Man, thanks a lot for the values. I'll try it. - And about the word addition information. I'll try to make a - workaround on this if I have enough time. I've been off the - internet for a time. - Thanks a lot man. You're great. - - Regards, - aCe - -------------------- - http://getit.at/azywerks - - - Posts: 131 | From: I.C., R.P. | Registered: Jan 2001 | IP: - - koloksky - Freak Poster - - Member # 718 posted 07 July 2001 00:26 - - hi, - That is really cool!! thanks IceDragon! - u deserve a - regards - - - Posts: 156 | Registered: Nov 1999 | IP: - - nuggie - Junior Member - - Member # 3304 - Member Rated: - posted 14 July 2001 20:23 - - Ice Dragon: - Look here at the ringtone info. - web page - [ 14 July 2001 20:26: Message edited 2 times, lastly by nuggie - ] - - - Posts: 27 | From: Westcoast, Poland | Registered: Feb 2001 | - IP: - - Rayborg - Newbie - - Member # 5357 - Rate Member posted 19 July 2001 14:37 - - How does it works with a Nokia 3310? - I think there are other HexValues, but IĀ“m not able to find - them! Please help me! - - Posts: 8 | From: Germany | Registered: Jul 2001 | IP: - - Ice Dragon - Freak Poster - - Member # 3365 - Member Rated: - posted 23 July 2001 03:32 - - - quote: - - Originally posted by Rayborg: - How does it works with a Nokia 3310? - I think there are other HexValues, but IĀ“m not able to find - them! Please help me! - - - Still use the search string: "8005020A01". - First stop should be the Special alert tone. - You will notice that previously the tones have 5A0C, 400C, - 5A25, 400C values. With the 3310, it uses the 5B0C, 400C, - 5A25, 400c values. - "5B0C" is a "dit" with a duration of 0C - "5B25" is a "dat" with a duration of 25 - "400C" is a pause with a duration of 0C - "4025" is a pause with a duration of 25 - Pressing F3 will take you to the next found string. This is - the Standard alert. It uses the 5619, 400A, 5618, 400A values. - "5619" is a "dit" with a duration of 19 - "400A" is a pause with a duration of 0A - Again pressing F3 will take you to the next found string. This - is the Ascending alert. It uses the 5B0C, 400C, 5B25, 400C - values. - "5B0C" is a "dit" with a duration of 0C - "5B25" is a "dat" with a duration of 25 - "400C" is a pause with a duration of 0C - "4025" is a pause with a duration of 25 - The alert tones on the 3310 reside in the MCU part of the full - flash. - Best regards and cheers... - [ 23 July 2001 03:45: Message edited 1 time, lastly by Ice - Dragon ] - -------------------- - "Keyboard not found. Press F1 to continue." - ICQ#:97427188 - ------------------- - Send me private messages if any, no kinky stuff though. :-) - - diff -Nru gammu-1.30.0/contrib/sqlreply/c/michal.c gammu-1.31.0/contrib/sqlreply/c/michal.c --- gammu-1.30.0/contrib/sqlreply/c/michal.c 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/sqlreply/c/michal.c 2011-12-21 13:25:37.000000000 +0000 @@ -145,7 +145,11 @@ // } // if (num >= 0) { #ifdef WIN32 - spawnv(_P_NOWAIT, buffe[1], args); +# ifdef SPAWNV_ARGUMENT_IS_CONST + spawnv(_P_NOWAIT, buffe[1], (const char * const*)args); +# else + spawnv(_P_NOWAIT, buffe[1], (char * const*)args); +#endif #else if (fork() == 0) execve(buffe[1], args, NULL); diff -Nru gammu-1.30.0/contrib/sqlreply/CMakeLists.txt gammu-1.31.0/contrib/sqlreply/CMakeLists.txt --- gammu-1.30.0/contrib/sqlreply/CMakeLists.txt 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/contrib/sqlreply/CMakeLists.txt 2011-12-21 13:25:37.000000000 +0000 @@ -4,6 +4,18 @@ # Test for build sqlreply code if (MYSQL_FOUND) + if (WIN32) + check_c_source_compiles(" +#include +int main(){ + const char * const* ptr; + spawnv(_P_NOWAIT, \"foo\", ptr); + return 0; +} +" SPAWNV_ARGUMENT_IS_CONST ) + endif (WIN32) + + add_executable(sqlreply "c/michal.c") target_link_libraries (sqlreply ${MYSQL_LIBRARIES}) include_directories (${MYSQL_INCLUDE_DIR}) diff -Nru gammu-1.30.0/debian/changelog gammu-1.31.0/debian/changelog --- gammu-1.30.0/debian/changelog 2011-11-24 07:31:54.000000000 +0000 +++ gammu-1.31.0/debian/changelog 2011-12-21 13:53:37.000000000 +0000 @@ -1,8 +1,34 @@ -gammu (1.30.0-2build1) precise; urgency=low +gammu (1.31.0-1) unstable; urgency=low - * Rebuild for libmysqlclient transition + * New upstream release. + * Upload to unstable. + + -- Michal Čihař Wed, 21 Dec 2011 14:53:15 +0100 + +gammu (1.30.92-1) experimental; urgency=low + + * New upstream release. + * Use versioned dependency on internal libraries (Closes: #641870). + * Make gammu-doc depend on libjs-sphinxdoc to get all needed + javascript. + * Add patch for new libusb compatibility. + + -- Michal Čihař Tue, 13 Dec 2011 10:54:19 +0100 + +gammu (1.30.91-1) experimental; urgency=low + + * New upstream release. + - Fixes support for some OBEX phones (LP #891803). + * Recommend usb-modeswitch as many of USB modems need it. + * Symlink underscore.js library. + + -- Michal Čihař Tue, 29 Nov 2011 15:15:13 +0100 + +gammu (1.30.90-1) experimental; urgency=low + + * New upstream testing version. - -- Clint Byrum Wed, 23 Nov 2011 23:31:54 -0800 + -- Michal Čihař Mon, 07 Nov 2011 10:50:27 +0100 gammu (1.30.0-2) unstable; urgency=low @@ -14,7 +40,7 @@ * New stable upstream version, upload to unstable. * Build depend on libdbi-dev instead of libdbi0-dev (Closes: #634570). - * Use linux-any instead of listing non-linux arches. + * Use linux-any instead of listing non-linux arches (Closes: #634803). * Add build-arch and build-indep targets. -- Michal Čihař Tue, 19 Jul 2011 11:55:35 +0200 diff -Nru gammu-1.30.0/debian/control gammu-1.31.0/debian/control --- gammu-1.30.0/debian/control 2011-07-22 07:32:59.000000000 +0000 +++ gammu-1.31.0/debian/control 2011-12-21 13:53:37.000000000 +0000 @@ -130,7 +130,7 @@ Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} -Recommends: libgammu-i18n (>= ${source:Version}) +Recommends: libgammu-i18n (>= ${source:Version}), usb-modeswitch Description: mobile phone management library Gammu is command line utility and library to work with mobile phones from many vendors. Support for different models differs, but basic @@ -237,7 +237,7 @@ Package: gammu-doc Architecture: all -Depends: ${misc:Depends}, libjs-jquery, +Depends: ${misc:Depends}, libjs-sphinxdoc Suggests: python-gammu (>= ${source:Version}) Replaces: python-gammu-doc Section: doc diff -Nru gammu-1.30.0/debian/gammu-doc.links gammu-1.31.0/debian/gammu-doc.links --- gammu-1.30.0/debian/gammu-doc.links 2011-07-22 07:32:59.000000000 +0000 +++ gammu-1.31.0/debian/gammu-doc.links 2011-12-21 13:53:37.000000000 +0000 @@ -1 +1,2 @@ -/usr/share/javascript/jquery/jquery.js /usr/share/doc/gammu-doc/html/_static/jquery.js +/usr/share/javascript/sphinxdoc/1.0/jquery.js usr/share/doc/gammu-doc/html/_static/jquery.js +/usr/share/javascript/sphinxdoc/1.0/underscore.js usr/share/doc/gammu-doc/html/_static/underscore.js diff -Nru gammu-1.30.0/debian/rules gammu-1.31.0/debian/rules --- gammu-1.30.0/debian/rules 2011-07-22 07:32:59.000000000 +0000 +++ gammu-1.31.0/debian/rules 2011-12-21 13:53:37.000000000 +0000 @@ -56,6 +56,9 @@ override_dh_auto_clean: rm -rf build-* +override_dh_makeshlibs: + dh_makeshlibs -V + build: build-stamp build-arch: build-stamp build-indep: build-stamp diff -Nru gammu-1.30.0/description-pak gammu-1.31.0/description-pak --- gammu-1.30.0/description-pak 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/description-pak 2011-12-21 13:25:37.000000000 +0000 @@ -1,4 +1,4 @@ -Gammu (Gammu All Mobile Management Utilities) 1.30.0 +Gammu (Gammu All Mobile Management Utilities) 1.31.0 Gammu is a command line utility and library to work with mobile phones from many vendors. Support for different models differs, but basic diff -Nru gammu-1.30.0/docs/man/gammu.1 gammu-1.31.0/docs/man/gammu.1 --- gammu-1.30.0/docs/man/gammu.1 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/docs/man/gammu.1 2011-12-21 13:25:37.000000000 +0000 @@ -1,4 +1,4 @@ -.TH "GAMMU" "1" "July 19, 2011" "1.30.0" "Gammu" +.TH "GAMMU" "1" "December 21, 2011" "1.31.0" "Gammu" .SH NAME gammu \- Does some neat things with your cellular phone or modem. . @@ -50,56 +50,47 @@ .INDENT 0.0 .TP .B \-c, \-\-config -.sp name of configuration file .UNINDENT .INDENT 0.0 .TP .B \-s, \-\-section -.sp section of config file to use, eg. 42 .UNINDENT .INDENT 0.0 .TP .B \-d, \-\-debug -.sp debug level (see \fBLogFormat\fP in \fIgammurc\fP for possible values) .UNINDENT .INDENT 0.0 .TP .B \-f, \-\-debug\-file -.sp file for logging debug messages .UNINDENT .SS Call commands .INDENT 0.0 .TP .B answercall [id] -.sp Answer incoming call. .UNINDENT .INDENT 0.0 .TP .B cancelcall [id] -.sp Cancel incoming call .UNINDENT .INDENT 0.0 .TP .B canceldiverts -. Cancel all existing call diverts. .UNINDENT .INDENT 0.0 .TP .B conferencecall id -.sp Initiates a conference call. .UNINDENT .INDENT 0.0 .TP .B dialvoice number [show|hide] -.sp Make voice call from SIM card line set in phone. .sp \fBshow|hide\fP \- optional parameter whether to disable call number indication. @@ -107,78 +98,64 @@ .INDENT 0.0 .TP .B divert get|set all|busy|noans|outofreach all|voice|fax|data [number timeout] -.sp Manage or display call diverts. .INDENT 7.0 .TP .B \fBget\fP or \fBset\fP -.sp whether to get divert information or to set it. .TP .B \fBall\fP or \fBbusy\fP or \fBnoans\fP or \fBoutofreach\fP -.sp condition when apply divert .TP .B \fBall\fP or \fBvoice\fP or \fBfax\fP or \fBdata\fP -.sp call type when apply divert .TP .B number -. number where to divert .TP .B timeout -. timeout when the diversion will happen .UNINDENT .UNINDENT .INDENT 0.0 .TP .B getussd code -.sp Retrieves USSD information \- dials a service number and reads response. .UNINDENT .INDENT 0.0 .TP .B holdcall id -.sp Holds call. .UNINDENT .INDENT 0.0 .TP .B maketerminatedcall number length [show|hide] -.sp Make voice call from SIM card line set in phone which will be terminated after \fBlength\fP seconds. .UNINDENT .INDENT 0.0 .TP .B senddtmf sequence -.sp Plays DTMF sequence. In some phones available only during calls .UNINDENT .INDENT 0.0 .TP .B splitcall id -.sp Splits call. .UNINDENT .INDENT 0.0 .TP .B switchcall [id] -.sp Switches call. .UNINDENT .INDENT 0.0 .TP .B transfercall [id] -.sp Transfers call. .UNINDENT .INDENT 0.0 .TP .B unholdcall id -.sp Unholds call. .UNINDENT .SS SMS and EMS commands @@ -195,23 +172,18 @@ .INDENT 0.0 .TP .B Nokia Smart Messaging -. used for monochromatic picture images, downloadable profiles, monochromatic operator logos, monochromatic caller logos and monophonic ringtones .TP .B Linked SMS -. both with 8 and 16\-bit identification numbers in headers .TP .B EMS -. this is SMS format used for saving monochromatic images, monophonic ringtones, animations, text formatting and others .TP .B MMS notifications -. contains links where phone should download MMS .TP .B Alcatel logo messages -. proprietary format for logos .UNINDENT .sp @@ -229,22 +201,16 @@ from limited set: .INDENT 0.0 .IP \(bu 2 -. all Latin small and large .IP \(bu 2 -. all digits .IP \(bu 2 -. some Greek .IP \(bu 2 -. some other national .IP \(bu 2 -. some symbols like @\ ! " # & / ( )\ % * + = \- , .\ :\ ; < >\ ? .IP \(bu 2 -. few others .UNINDENT .SS Unicode @@ -252,7 +218,6 @@ With \fIUnicode\fP single SMS can contain at most 70 chars, but these can be any chars including all national and special ones. .IP Warning -. Please note, that some older phones might have problems displaying such message. .RE @@ -277,13 +242,11 @@ .INDENT 0.0 .TP .B deleteallsms folder -.sp Delete all SMS from specified SMS folder. .UNINDENT .INDENT 0.0 .TP .B deletesms folder start [stop] -.sp Delete SMS from phone. See description for \fI\%gammu getsms\fP for info about sms folders naming convention. .sp @@ -292,14 +255,12 @@ .INDENT 0.0 .TP .B displaysms ... (options like in sendsms) -.sp Displays PDU data of encoded SMS messages. It accepts same parameters and behaves same like sendsms. .UNINDENT .INDENT 0.0 .TP .B getallsms \-pbk -.sp Get all SMS from phone. In some phones you will have also SMS templates and info about locations used to save Picture Images. With each sms you will see location. If you want to get such sms from phone alone, use @@ -308,14 +269,12 @@ .INDENT 0.0 .TP .B geteachsms \-pbk -.sp Similiary to \fI\%gammu getallsms\fP. Difference is, that links all concatenated sms .UNINDENT .INDENT 0.0 .TP .B getsms folder start [stop] -.sp Get SMS. .sp Locations are numerated from 1. @@ -334,7 +293,6 @@ .INDENT 0.0 .TP .B getsmsc [start [stop]] -.sp Get SMSC settings from SIM card. .sp Locations are numerated from 1. @@ -342,20 +300,17 @@ .INDENT 0.0 .TP .B getsmsfolders -. Get names for SMS folders in phone .UNINDENT .INDENT 0.0 .TP .B savesms TYPE [type parameters] [type options] [\-folder id] [\-unread] [\-read] [\-unsent] [\-sent] [\-sender number] [\-smsname name] [\-smscset number] [\-smscnumber number] [\-reply] [\-maxsms num] -.sp Saves SMS to phone, see bellow for \fBTYPE\fP options. .INDENT 7.0 .INDENT 3.5 .INDENT 0.0 .TP .B \-smscset number -.sp SMSC number will be taken from phone stored SMSC configuration \fBnumber\fP. .sp Default: 1 @@ -363,19 +318,16 @@ .INDENT 0.0 .TP .B \-smscnumber number -.sp SMSC number .UNINDENT .INDENT 0.0 .TP .B \-reply -. reply SMSC is set .UNINDENT .INDENT 0.0 .TP .B \-folder number -.sp save to specified folder. .sp Folders are numerated from 1. @@ -385,7 +337,6 @@ .INDENT 0.0 .TP .B \-unread -. makes message unread. In some phones (like 6210) you won\(aqt see unread sms envelope after saving such sms. In some phones with internal SMS memory (like 6210) after using it with folder 1 SIM SMS memory will be used @@ -393,38 +344,32 @@ .INDENT 0.0 .TP .B \-read -. makes message read. In some phones with internal SMS memory (like 6210) after using it with folder 1 SIM SMS memory will be used .UNINDENT .INDENT 0.0 .TP .B \-unsent -. makes message unsent .UNINDENT .INDENT 0.0 .TP .B \-sent -. makes message sent .UNINDENT .INDENT 0.0 .TP .B \-smsname name -.sp set message name .UNINDENT .INDENT 0.0 .TP .B \-sender number -.sp set sender number (default: \fBGammu\fP) .UNINDENT .INDENT 0.0 .TP .B \-maxsms num -.sp Limit maximal number of messages which will be created. If there are more messages, Gammu will terminate with failure. .UNINDENT @@ -433,7 +378,6 @@ .INDENT 0.0 .TP .B ANIMATION frames file1 file2... -.sp Save an animation as a SMS. You need to give number of frames and picture for each frame. Each picture can be in any picture format which Gammu supports (B/W bmp, gif, wbmp, nol, nlm...). @@ -441,14 +385,12 @@ .INDENT 0.0 .TP .B BOOKMARK file location -.sp Read WAP bookmark from file created by \fI\%gammu backup\fP command and saves in Nokia format as SMS .UNINDENT .INDENT 0.0 .TP .B CALENDAR file location -.sp Read calendar note from file created by \fI\%gammu backup\fP command and saves in VCALENDAR 1.0 format as SMS. The location identifies position of calendar item to be read in backup file (usually 1, but can be useful in case the backup contains @@ -457,11 +399,9 @@ .INDENT 0.0 .TP .B CALLER file -.sp Save caller logo as sms in Nokia (Smart Messaging) format \- size 72x14, two colors. .IP Warning -. Please note, that it isn\(aqt designed for colour logos available for example in DCT4/TIKU \- you need to put bitmap file there inside phone using filesystem commands. @@ -470,48 +410,40 @@ .INDENT 0.0 .TP .B EMS [\-unicode] [\-16bit] [\-format lcrasbiut] [\-text text] [\-unicodefiletext file] [\-defsound ID] [\-defanimation ID] [\-tone10 file] [\-tone10long file] [\-tone12 file] [\-tone12long file] [\-toneSE file] [\-toneSElong file] [\-fixedbitmap file] [\-variablebitmap file] [\-variablebitmaplong file] [\-animation frames file1 ...] [\-protected number] -.sp Saves EMS sequence. All format specific parameters (like \fI\%-defsound\fP) can be used few times. .INDENT 7.0 .TP .B \-text -. adds text .UNINDENT .INDENT 7.0 .TP .B \-unicodefiletext -. adds text from Unicode file .UNINDENT .INDENT 7.0 .TP .B \-defanimation -. adds default animation with ID specified by user. ID for different phones are different. .UNINDENT .INDENT 7.0 .TP .B \-animation -. adds "frames" frames read from file1, file2, etc. .UNINDENT .INDENT 7.0 .TP .B \-defsound -. adds default sound with ID specified by user. ID for different phones are different. .UNINDENT .INDENT 7.0 .TP .B \-tone10 -. adds IMelody version 1.0 read from RTTL or other compatible file .UNINDENT .INDENT 7.0 .TP .B \-tone10long -. IMelody version 1.0 saved in one of few SMS with UPI. Phones compatible with UPI (like Sony\-Ericsson phones) will read such ringtone as one @@ -519,13 +451,11 @@ .INDENT 7.0 .TP .B \-tone12 -. adds IMelody version 1.2 read from RTTL or other compatible file .UNINDENT .INDENT 7.0 .TP .B \-tone12long -. IMelody version 1.2 saved in one of few SMS with UPI. Phones compatible with UPI (like Sony\-Ericsson phones) will read such ringtone as one @@ -533,37 +463,31 @@ .INDENT 7.0 .TP .B \-toneSE -. adds IMelody in "short" form supported by Sony\-Ericsson phones .UNINDENT .INDENT 7.0 .TP .B \-toneSElong -. add Sony\-Ericsson IMelody saved in one or few SMS with UPI .UNINDENT .INDENT 7.0 .TP .B \-variablebitmap -. bitmap in any size saved in one SMS .UNINDENT .INDENT 7.0 .TP .B \-variablebitmaplong -. bitmap with maximal size 96x128 saved in one or few sms .UNINDENT .INDENT 7.0 .TP .B \-fixedbitmap -. bitmap 16x16 or 32x32 .UNINDENT .INDENT 7.0 .TP .B \-protected -. all ringtones and bitmaps after this parameter (excluding default ringtones and logos) will be "protected" (in phones compatible with ODI like SonyEricsson products it won\(aqt be possible to forward them @@ -572,14 +496,12 @@ .INDENT 7.0 .TP .B \-16bit -. Gammu uses SMS headers with 16\-bit numbers for saving linking info in SMS (it means less chars available for user in each SMS) .UNINDENT .INDENT 7.0 .TP .B \-format lcrasbiut -.sp last text will be formatted. You can use combinations of chars: .TS center; @@ -651,7 +573,6 @@ .INDENT 0.0 .TP .B MMSINDICATOR URL Title Sender -.sp Creates a MMS indication SMS. It contains URL where the actual MMS payload is stored which needs to be SMIL encoded. The phone usually downloads the MMS data using special APN, which does not count to @@ -661,24 +582,20 @@ .INDENT 0.0 .TP .B MMSSETTINGS file location -.sp Saves a message with MMS configuration. The configuration will be read from Gammu backup file from given location. .UNINDENT .INDENT 0.0 .TP .B OPERATOR file [\-netcode netcode] [\-biglogo] -.sp Save operator logo as sms in Nokia (Smart Messaging) format \- size 72x14 in two colors. .INDENT 7.0 .TP .B \-biglogo -. Use 78x21 formatted logo instead of standard 72x14. .UNINDENT .IP Note -. This isn\(aqt designed for colour logos available for example in newer phones \- you need to put bitmap file there inside phone using filesystem commands. @@ -687,7 +604,6 @@ .INDENT 0.0 .TP .B PICTURE file [\-text text] [\-unicode] [\-alcatelbmmi] -.sp Read bitmap from 2 colors file (bmp, nlm, nsl, ngg, nol, wbmp, etc.), format into bitmap in Smart Messaging (72x28, 2 colors, called often Picture Image and saved with text) or Alcatel format and send/save over SMS. @@ -695,11 +611,9 @@ .INDENT 0.0 .TP .B PROFILE [\-name name] [\-bitmap bitmap] [\-ringtone ringtone] -.sp Read ringtone (RTTL) format, bitmap (Picture Image size) and name, format into Smart Messaging profile and send/save as SMS. .IP Warning -. Please note, that this format is abandoned by Nokia and supported by some (older) devices only like Nokia 3310. .RE @@ -707,20 +621,17 @@ .INDENT 0.0 .TP .B RINGTONE file [\-long] [\-scale] -.sp Read RTTL ringtone from file and save as SMS into SIM/phone memory. Ringtone is saved in Nokia (Smart Messaging) format. .INDENT 7.0 .TP .B \-long -. ringtone is saved using Profile style. It can be longer (and saved in 2 SMS), but decoded only by newer phones (like 33xx) .UNINDENT .INDENT 7.0 .TP .B \-scale -. ringtone will have Scale info for each note. It will allow one to edit it correctly later in phone composer (for example, in 33xx) .UNINDENT @@ -728,32 +639,27 @@ .INDENT 0.0 .TP .B SMSTEMPLATE [\-unicode] [\-text text] [\-unicodefiletext file] [\-defsound ID] [\-defanimation ID] [\-tone10 file] [\-tone10long file] [\-tone12 file] [\-tone12long file] [\-toneSE file] [\-toneSElong file] [\-variablebitmap file] [\-variablebitmaplong file] [\-animation frames file1 ...] -.sp Saves a SMS template (for Alcatel phones). .UNINDENT .INDENT 0.0 .TP .B TEXT [\-inputunicode] [\-16bit] [\-flash] [\-len len] [\-autolen len] [\-unicode] [\-enablevoice] [\-disablevoice] [\-enablefax] [\-disablefax] [\-enableemail] [\-disableemail] [\-voidsms] [\-replacemessages ID] [\-replacefile file] [\-text msgtext] [\-textutf8 msgtext] -.sp Take text from stdin (or commandline if \-text specified) and save as text SMS into SIM/phone memory. .INDENT 7.0 .TP .B \-flash -. Class 0 SMS (should be displayed after receiving on recipients\(aq phone display after receiving without entering Inbox) .UNINDENT .INDENT 7.0 .TP .B \-len len -.sp specify, how many chars will be read. When use this option and text will be longer than 1 SMS, will be split into more linked SMS .UNINDENT .INDENT 7.0 .TP .B \-autolen len -.sp specify, how many chars will be read. When use this option and text will be longer than 1 SMS, will be split into more linked SMS.Coding type (SMS default alphabet/Unicode) is set according to @@ -762,53 +668,44 @@ .INDENT 7.0 .TP .B \-enablevoice -. sms will set voice mail indicator. Text will be cut to 1 sms. .UNINDENT .INDENT 7.0 .TP .B \-disablevoice -. sms will not set voice mail indicator. Text will be cut to 1 sms. .UNINDENT .INDENT 7.0 .TP .B \-enablefax -. sms will set fax indicator. Text will be cut to 1 sms. .UNINDENT .INDENT 7.0 .TP .B \-disablefax -. sms will not set fax indicator. Text will be cut to 1 sms. .UNINDENT .INDENT 7.0 .TP .B \-enableemail -. sms will set email indicator. Text will be cut to 1 sms. .UNINDENT .INDENT 7.0 .TP .B \-disableemail -. sms will not set email indicator. Text will be cut to 1 sms. .UNINDENT .INDENT 7.0 .TP .B \-voidsms -. many phones after receiving it won\(aqt display anything, only beep, vibrate or turn on light. Text will be cut to 1 sms. .UNINDENT .INDENT 7.0 .TP .B \-unicode -. SMS will be saved in Unicode format .IP Note -. The \fB~\fP char in SMS text and \fI\%-unicode\fP option (Unicode coding required) can cause text of SMS after \fB~\fP char blink in some phones (like Nokia 33xx). @@ -817,10 +714,8 @@ .INDENT 7.0 .TP .B \-inputunicode -. input text is in Unicode. .IP Note -. You can create Unicode file using WordPad in Windows (during saving select "Unicode Text Document" format). In Unix can use for example YUdit or vim. @@ -829,16 +724,13 @@ .INDENT 7.0 .TP .B \-text -. get text from command line instead of stdin. .UNINDENT .INDENT 7.0 .TP .B \-textutf8 -. get text in UTF\-8 from command line instead of stdin. .IP Note -. Gammu detects your locales and uses by default encoding based on this. Use this option only when you know the input will be in UTF\-8 in all cases. @@ -847,14 +739,12 @@ .INDENT 7.0 .TP .B \-16bit -. Gammu uses SMS headers with 16\-bit numbers for saving linking info in SMS (it means less chars available for user in each SMS) .UNINDENT .INDENT 7.0 .TP .B \-replacemessages ID -.sp \fBID\fP can be 1..7. When you will use option and send more single SMS to one recipient with the same ID, each another SMS will replace each previous with the same ID @@ -862,7 +752,6 @@ .INDENT 7.0 .TP .B \-replacefile file -.sp File with replacement table in unicode (UCS\-2), preferably with byte order mark (BOM). It contains pairs of chars, first one is to replace, second is replacement one. The replacement is done after @@ -882,14 +771,12 @@ .INDENT 0.0 .TP .B TODO file location -.sp Saves a message with a todo entry. The content will be read from any backup format which Gammu supports and from given location. .UNINDENT .INDENT 0.0 .TP .B VCARD10|VCARD21 file SM|ME location [\-nokia] -.sp Read phonebook entry from file created by \fI\%gammu backup\fP command and saves in VCARD 1.0 (only name and default number) or VCARD 2.1 (all entry details with all numbers, text and name) format as SMS. @@ -900,14 +787,12 @@ .INDENT 0.0 .TP .B WAPINDICATOR URL Title -.sp Saves a SMS with a WAP indication for given URL and title. .UNINDENT .INDENT 0.0 .TP .B WAPSETTINGS file location DATA|GPRS -.sp Read WAP settings from file created by \fI\%gammu backup\fP command and saves in Nokia format as SMS .UNINDENT @@ -917,24 +802,20 @@ .INDENT 0.0 .TP .B sendsms TYPE destination [type parameters] [type options] [\-smscset number] [\-smscnumber number] [\-reply] [\-report] [\-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX] [\-save [\-folder number]] -.sp Sends a message to a \fBdestination\fP number, most parameters are same as for \fI\%gammu savesms\fP. .INDENT 7.0 .TP .B \-save -. will also save message which is being sent .UNINDENT .INDENT 7.0 .TP .B \-report -. request delivery report for message .UNINDENT .INDENT 7.0 .TP .B \-validity HOUR|6HOURS|DAY|3DAYS|WEEK|MAX -.sp sets how long will be the message valid (SMSC will the discard the message after this time if it could not deliver it). @@ -943,7 +824,6 @@ .INDENT 0.0 .TP .B setsmsc location number -.sp Set SMSC settings on SIM card. This keeps all SMSC configuration intact, it just changes the SMSC number. .sp @@ -956,46 +836,36 @@ .INDENT 0.0 .TP .B \fBDC\fP -.sp Dialled calls .TP .B \fBMC\fP -.sp Missed calls .TP .B \fBRC\fP -.sp Received calls .TP .B \fBON\fP -.sp Own numbers .TP .B \fBVM\fP -.sp voice mailbox .TP .B \fBSM\fP -.sp SIM phonebook .TP .B \fBME\fP -.sp phone internal phonebook .TP .B \fBFD\fP -.sp fixed dialling .TP .B \fBSL\fP -.sp sent SMS log .UNINDENT .SS Memory commands .INDENT 0.0 .TP .B deleteallmemory DC|MC|RC|ON|VM|SM|ME|MT|FD|SL -.sp Deletes all entries from specified memory type. .sp For memory types description see \fI\%Memory types\fP. @@ -1003,7 +873,6 @@ .INDENT 0.0 .TP .B deletememory DC|MC|RC|ON|VM|SM|ME|MT|FD|SL start [stop] -.sp Deletes entries in specified range from specified memory type. .sp For memory types description see \fI\%Memory types\fP. @@ -1011,7 +880,6 @@ .INDENT 0.0 .TP .B getallmemory DC|MC|RC|ON|VM|SM|ME|MT|FD|SL -.sp Get all memory locations from phone. .sp For memory types description see \fI\%Memory types\fP. @@ -1019,7 +887,6 @@ .INDENT 0.0 .TP .B getmemory DC|MC|RC|ON|VM|SM|ME|MT|FD|SL start [stop [\-nonempty]] -.sp Get memory location from phone. .sp For memory types description see \fI\%Memory types\fP. @@ -1029,13 +896,11 @@ .INDENT 0.0 .TP .B getspeeddial start [stop] -.sp Gets speed dial choices. .UNINDENT .INDENT 0.0 .TP .B searchmemory text -.sp Scans all memory entries for given text. It performs case insensitive substring lookup. You can interrupt searching by pressing \fBCtrl+C\fP. @@ -1048,86 +913,72 @@ .INDENT 0.0 .TP .B addfile folderID name [\-type JAR|BMP|PNG|GIF|JPG|MIDI|WBMP|AMR|3GP|NRT] [\-readonly] [\-protected] [\-system] [\-hidden] [\-newtime] -.sp Add file with specified name to folder with specified folder ID. .INDENT 7.0 .TP .B \-type -. File type was required for filesystem 1 in Nokia phones (current filesystem 2 doesn\(aqt need this). .UNINDENT .INDENT 7.0 .TP .B \-readonly -. Sets the read only attribute. .UNINDENT .INDENT 7.0 .TP .B \-protected -. Sets the protected attribute (file can\(aqt be for example forwarded from phone menu). .UNINDENT .INDENT 7.0 .TP .B \-system -. Sets the system attribute. .UNINDENT .INDENT 7.0 .TP .B \-hidden -. Sets the hidden attribute (file is hidden from phone menu). .UNINDENT .INDENT 7.0 .TP .B \-newtime -. After using it date/time of file modification will be set to moment of uploading. .UNINDENT .UNINDENT .INDENT 0.0 .TP .B addfolder parentfolderID name -.sp Create a folder in phone with specified name in a folder with specified folder ID. .UNINDENT .INDENT 0.0 .TP .B deletefiles fileID -.sp Delete files with given IDs. .UNINDENT .INDENT 0.0 .TP .B deletefolder name -.sp Delete folder with given ID. .UNINDENT .INDENT 0.0 .TP .B getfilefolder fileID, fileID, ... -.sp Retrieve files or all files from folder with given IDs from a phone filesytem. .UNINDENT .INDENT 0.0 .TP .B getfiles fileID, fileID, ... -.sp Retrieve files with given IDs from a phone filesytem. .UNINDENT .INDENT 0.0 .TP .B getfilesystem [\-flatall|\-flat] -.sp Display info about all folders and files in phone memory/memory card. By default there is tree displayed, you can change it: .INDENT 7.0 .TP .B \-flatall -. there are displayed full file/folder details like ID (first parameter in line) .UNINDENT .INDENT 7.0 @@ -1135,24 +986,20 @@ .B \-flat .UNINDENT .IP Note -. In some phones (like N6230) content of some folders (with more files) can be cut (only part of files will be displayed) for example on infrared connection. This is not Gammu issue, but phone firmware problem. .RE .UNINDENT .INDENT 0.0 .TP .B getfilesystemstatus -. Display info filesystem status \- number of bytes available, used or used by some specific content. .UNINDENT .INDENT 0.0 .TP .B getfolderlisting folderID -.sp Display files and folders available in folder with given folder ID. You can get ID\(aqs using getfilesystem \-flatall. .IP Warning -. Please note, that in some phones (like N6230) content of some folders (with more files) can be cut (only part of files will be displayed) for example on infrared connection. This is not Gammu issue, but phone @@ -1162,13 +1009,11 @@ .INDENT 0.0 .TP .B getrootfolders -. Display info about drives available in phone/memory card. .UNINDENT .INDENT 0.0 .TP .B sendfile name -.sp Sends file to a phone. It\(aqs up to phone to decide where to store this file and how to handle it (for example when you send vCard or vCalendar, most of phones will offer you to import it. @@ -1187,7 +1032,6 @@ .INDENT 0.0 .TP .B copybitmap inputfile [outputfile [OPERATOR|PICTURE|STARTUP|CALLER]] -.sp Allow one to convert logos files to another. When give ONLY inputfile, output will be written to stdout using ASCII art. When give output file and format, in some file formats (like NLM) will be set indicator informing about logo type @@ -1196,18 +1040,15 @@ .INDENT 0.0 .TP .B getbitmap TYPE [type options] -.sp Reads bitmap from phone, following types are supported: .INDENT 7.0 .TP .B CALLER location [file] -.sp Get caller group logo from phone. Locations 1\-5. .UNINDENT .INDENT 7.0 .TP .B DEALER -. In some models it\(aqs possible to save dealer welcome note \- text displayed during enabling phone, which can\(aqt be edited from phone menu. Here you can get it. @@ -1215,43 +1056,36 @@ .INDENT 7.0 .TP .B OPERATOR [file] -.sp Get operator logo (picture displayed instead of operator name) from phone. .UNINDENT .INDENT 7.0 .TP .B PICTURE location [file] -.sp Get Picture Image from phone. .UNINDENT .INDENT 7.0 .TP .B STARTUP [file] -.sp Get static startup logo from phone. Allow one to save it in file. .UNINDENT .INDENT 7.0 .TP .B TEXT -. Get startup text from phone. .UNINDENT .UNINDENT .INDENT 0.0 .TP .B setbitmap TYPE [type options] -.sp Sets bitmap in phone, following types are supported: .INDENT 7.0 .TP .B CALLER location [file] -.sp Set caller logo. .UNINDENT .INDENT 7.0 .TP .B COLOUROPERATOR [fileID [netcode]] -.sp Sets color operator logo in phone. .UNINDENT .INDENT 7.0 @@ -1261,13 +1095,11 @@ .INDENT 7.0 .TP .B DEALER text -.sp Sets welcome message configured by dealer, which usually can not be changed in phone menus. .UNINDENT .INDENT 7.0 .TP .B OPERATOR [file [netcode]] -.sp Set operator logo in phone. When won\(aqt give file and netcode, operator logo will be removed from phone. When will give only filename, operator logo will be displayed for your current GSM operator. When you give additionally network @@ -1276,13 +1108,11 @@ .INDENT 7.0 .TP .B PICTURE file location [text] -.sp Sets picture image in phone. .UNINDENT .INDENT 7.0 .TP .B STARTUP file|1|2|3 -.sp Set startup logo in phone. It can be static (then you will have to give file name) or one of predefined animated (only some phones like Nokia 3310 or 3330 supports it, use location 1, 2 or 3 for these). @@ -1290,13 +1120,11 @@ .INDENT 7.0 .TP .B TEXT text -.sp Sets startup text in phone. .UNINDENT .INDENT 7.0 .TP .B WALLPAPER fileID -.sp Sets wallpaper in phone. .UNINDENT .UNINDENT @@ -1312,19 +1140,16 @@ .INDENT 0.0 .TP .B copyringtone source destination [RTTL|BINARY] -.sp Copy source ringtone to destination. .UNINDENT .INDENT 0.0 .TP .B getphoneringtone location [file] -.sp Get one of "default" ringtones and saves into file .UNINDENT .INDENT 0.0 .TP .B getringtone location [file] -.sp Get ringtone from phone in RTTL or BINARY format. .sp Locations are numerated from 1. @@ -1336,32 +1161,27 @@ .INDENT 0.0 .TP .B playringtone file -.sp Play aproximation of ringtone over phone buzzer. File can be in RTTL or BINARY (Nokia DCT3) format. .UNINDENT .INDENT 0.0 .TP .B playsavedringtone number -.sp Play one of built\-in ringtones. This option is available for DCT4 phones. For getting ringtones list use \fI\%gammu getringtoneslist\fP. .UNINDENT .INDENT 0.0 .TP .B setringtone file [\-location location] [\-scale] [\-name name] -.sp Set ringtone in phone. When don\(aqt give location, it will be written "with preview" (in phones supporting this feature like 61xx or 6210). .INDENT 7.0 .TP .B \-scale -. Scale information will be added to each note of RTTL ringtone. It will avoid scale problems available during editing ringtone in composer from phone menu (for example, in Nokia 33xx). .UNINDENT .IP Note -. When use \fB~\fP char in ringtone name, in some phones (like 33xx) name will blink later in phone menus. .RE @@ -1372,48 +1192,40 @@ .INDENT 0.0 .TP .B deletecalendar start [stop] -.sp Deletes selected calendar entries in phone. .UNINDENT .INDENT 0.0 .TP .B getallcalendar -. Retrieves all calendar entries from phone. .UNINDENT .INDENT 0.0 .TP .B getcalendar start [stop] -.sp Retrieves selected calendar entries from phone. .UNINDENT .SS To do list commands .INDENT 0.0 .TP .B deletetodo start [stop] -.sp Deletes selected todo entries in phone. .UNINDENT .INDENT 0.0 .TP .B getalltodo -. Retrieves all todo entries from phone. .UNINDENT .INDENT 0.0 .TP .B gettodo start [stop] -.sp Retrieves selected todo entries from phone. .UNINDENT .SS Notes commands .INDENT 0.0 .TP .B getallnotes -. Reads all notes from the phone. .IP Note -. Not all phones supports this function, especially most Sony Ericsson phones even if they have notes inside phone. .RE @@ -1422,38 +1234,32 @@ .INDENT 0.0 .TP .B getalarm [start] -.sp Get alarm from phone, if no location is specified, 1 is used. .UNINDENT .INDENT 0.0 .TP .B getdatetime -. Get date and time from phone .UNINDENT .INDENT 0.0 .TP .B setalarm hour minute -.sp Sets repeating alarm in phone on selected time. .UNINDENT .INDENT 0.0 .TP .B setdatetime [HH:MM[:SS]] [YYYY/MM/DD] -.sp Set date and time in phone to date and time set in computer. Please note, that this option doesn\(aqt show clock on phone screen. It only set date and time. .IP Note -. You can make such synchronization each time, when will connect your phone and use Gammu. See \fBSynchronizeTime\fP in \fIgammurc\fP for details. .RE .UNINDENT .SS Categories commands .IP Note -. Categories are supported only on few phones (Alcatel). .RE .INDENT 0.0 @@ -1480,7 +1286,6 @@ .INDENT 0.0 .TP .B addnew file [\-yes] [\-memory ME|SM|..] -.sp Adds data written in file created using \fI\%gammu backup\fP command. All things backed up \fI\%gammu backup\fP can be restored (when made backup to Gammu text file). @@ -1498,42 +1303,31 @@ .INDENT 0.0 .TP .B addsms folder file [\-yes] -.sp Adds SMSes from file (format like \fI\%gammu backupsms\fP uses) to selected folder in phone. .UNINDENT .INDENT 0.0 .TP .B backup file [\-yes] -.sp Backup your phone to file. It\(aqs possible to backup (depends on phone and backup format): .INDENT 7.0 .IP \(bu 2 -. phonebook from SIM and phone memory .IP \(bu 2 -. calendar notes .IP \(bu 2 -. SMSC settings .IP \(bu 2 -. operator logo .IP \(bu 2 -. startup (static) logo or startup text .IP \(bu 2 -. WAP bookmarks .IP \(bu 2 -. WAP settings .IP \(bu 2 -. caller logos and groups .IP \(bu 2 -. user ringtones .UNINDENT .sp @@ -1541,31 +1335,31 @@ based on file extension: .INDENT 7.0 .IP \(bu 2 -. \fB.lmb\fP \- Nokia backup, supports contacts, caller logos and startup logo. .IP \(bu 2 -. \fB.vcs\fP \- vCalendar, supports calendar and todo. .IP \(bu 2 -. \fB.vcf\fP \- vCard, supports contacts. .IP \(bu 2 -. \fB.ldif\fP \- LDAP import, supports contacts. .IP \(bu 2 -. \fB.ics\fP \- iCalendar, supports calendar and todo. .IP \(bu 2 -. Any other extension is Gammu backup file and it supports all data mentioned above, see \fIgammu\-backup\fP for more details. .UNINDENT +.sp +By default this command is interactive and asks which items tou want to backup. +.sp +Use \-yes for answering yes to all questions. .UNINDENT .INDENT 0.0 .TP .B backupsms file [\-yes|\-all] -.sp Stores all SMSes from phone to file into \fIgammu\-smsbackup\fP. .sp +By default this command is interactive and asks which folders you want +to backup and whether you want to remove messages from phone afterwards. +.sp Use \-yes for answering yes to all questions (backup all messages and delete them from phone), or \-all to just backup all folders while keeping messages in phone. @@ -1574,7 +1368,6 @@ .TP .B restore file [\-yes] .IP Warning -. Please note that restoring deletes all current content in phone. If you want only to add entries to phone, use \fI\%gammu addnew\fP. .RE @@ -1588,7 +1381,6 @@ .TP .B restoresms file [\-yes] .IP Warning -. Please note that this overwrites existing messages in phone (if it supports it). .RE .sp @@ -1598,20 +1390,17 @@ .INDENT 0.0 .TP .B savefile TYPE [type options] -.sp Converts between various file formats supported by Gammu, following types are supported: .INDENT 7.0 .TP .B BOOKMARK target.url file location -.sp Converts backup format supported by Gammu to vBookmark file. .UNINDENT .INDENT 7.0 .TP .B CALENDAR target.vcs file location -.sp Allows one to convert between various backup formats which gammu supports for calendar events. The file type is guessed (for input file guess is based on extension and file content, for output solely on @@ -1620,7 +1409,6 @@ .INDENT 7.0 .TP .B TODO target.vcs file location -.sp Allows one to convert between various backup formats which gammu supports for todo events. The file type is guessed (for input file guess is based on extension and file content, for output solely on @@ -1629,7 +1417,6 @@ .INDENT 7.0 .TP .B VCARD10|VCARD21 target.vcf file SM|ME location -.sp Allows one to convert between various backup formats which gammu supports for phonebook events. The file type is guessed (for input file guess is based on extension and file content, for output solely on @@ -1643,7 +1430,6 @@ .INDENT 0.0 .TP .B convertbackup source.file output.file -.sp New in version 1.28.94. .sp Converts backup between formats supported by Gammu. Unlike @@ -1658,26 +1444,22 @@ .INDENT 0.0 .TP .B nokiaaddfile TYPE [type options] -.sp Uploads file to phone to specific location for the type: .INDENT 7.0 .TP .B APPLICATION|GAME file [\-readonly] [\-overwrite] [\-overwriteall] -.sp Install the \fB*.jar/*.jad\fP file pair of a midlet in the application or game menu of the phone. You need to specify filename without the jar/jad suffix, both will be added automatically. .INDENT 7.0 .TP .B \-overwrite -. Delete the application\(aqs .jad and .jar files before installing, but doesn\(aqt delete the application data. .UNINDENT .INDENT 7.0 .TP .B \-overwriteall -. Delete the application (same as \fI\%-overwrite\fP) and all it\(aqs data. .UNINDENT @@ -1692,7 +1474,6 @@ .INDENT 0.0 .TP .B nokiaaddplaylists -. Goes through phone memory and generated playlist for all music files found. .sp To manually manage playlists: @@ -1730,7 +1511,6 @@ .INDENT 0.0 .TP .B nokiacomposer file -.sp Show, how to enter RTTL ringtone in composer existing in many Nokia phones (and how should it look like). .UNINDENT @@ -1753,7 +1533,6 @@ .INDENT 0.0 .TP .B nokiagetoperatorname -. 6110.c phones have place for name for one GSM network (of course, with flashing it\(aqs possible to change all names, but Gammu is not flasher ;\-)). You can get this name using this option. @@ -1765,14 +1544,12 @@ .INDENT 0.0 .TP .B nokiagett9 -. This option should display T9 dictionary content from DCT4 phones. .UNINDENT .INDENT 0.0 .TP .B nokiagetvoicerecord location -.sp Get voice record from location and save to WAV file. File is coded using GSM 6.10 codec (available for example in win32). Name of file is like name of voice record in phone. @@ -1782,37 +1559,26 @@ steps: .INDENT 7.0 .IP 1. 4 -. Control Panel .IP 2. 4 -. Add hardware .IP 3. 4 -. click Next .IP 4. 4 -. select "Yes. I have already connected the hardware .IP 5. 4 -. select "Add a new hardware device .IP 6. 4 -. select "Install the hardware that I manually select from a list .IP 7. 4 -. select "Sound, video and game controllers .IP 8. 4 -. select "Audio codecs .IP 9. 4 -. select "windows\esystem32" directory and file "mmdriver.inf .IP 10. 4 -. if You will be asked for file msgsm32.acm, it should unpacked from Windows CD .IP 11. 4 -. now You can be asked if want to install unsigned driver (YES), about select codec configuration (select what you want) and rebotting PC (make it) .UNINDENT .UNINDENT @@ -1823,7 +1589,6 @@ .INDENT 0.0 .TP .B nokianetmonitor test -.sp Takes output or set netmonitor for Nokia DCT3 phones. .IP "See also" .sp @@ -1832,7 +1597,6 @@ there. .RE .IP Note -. test \fB243\fP enables all tests (after using command \fBgammu nokianetmonitor 243\fP in some phones like 6210 or 9210 have to reboot them to see netmonitor menu) @@ -1841,7 +1605,6 @@ .INDENT 0.0 .TP .B nokianetmonitor36 -. Reset counters from netmonitor test 36 in Nokia DCT3 phones. .IP "See also" .sp @@ -1853,16 +1616,13 @@ .INDENT 0.0 .TP .B nokiasecuritycode -. Get/reset to "12345" security code .UNINDENT .INDENT 0.0 .TP .B nokiaselftests -. Perform tests for Nokia DCT3 phones. .IP Note -. EEPROM test can show an error when your phone has an EEPROM in flash (like 82xx/7110/62xx/33xx). The clock test will show an error when the phone doesn?t have an internal battery for the clock (like 3xxx). @@ -1879,49 +1639,37 @@ .INDENT 0.0 .TP .B nokiasetphonemenus -. Enable all (?) possible menus for DCT3 Nokia phones: .INDENT 7.0 .IP 1. 3 -. ALS (Alternative Line Service) option menu .IP 2. 3 -. vibra menu for 3210 .IP 3. 3 -. 3315 features in 3310 5.45 and higher .IP 4. 3 -. two additional games (React and Logic) for 3210 5.31 and higher .IP 5. 3 -. WellMate menu for 6150 .IP 6. 3 -. NetMonitor .UNINDENT .sp and for DCT4: .INDENT 7.0 .IP 1. 3 -. ALS (Alternative Line Service) option menu .IP 2. 3 -. Bluetooth, WAP bookmarks and settings menu, ... (6310i) .IP 3. 3 -. GPRS Always Online .IP 4. 3 -. and others... .UNINDENT .UNINDENT .INDENT 0.0 .TP .B nokiasetvibralevel level -.sp Set vibra power to "level" (given in percent) .UNINDENT .INDENT 0.0 @@ -1936,7 +1684,6 @@ .INDENT 0.0 .TP .B siemensnetmonact netmon_type -.sp Enables network monitor in Siemens phone. Currently known values for type are 1 for full and 2 for simple mode. .UNINDENT @@ -1956,13 +1703,11 @@ .INDENT 0.0 .TP .B listnetworks [country] -.sp Show names/codes of GSM networks known for Gammu .UNINDENT .INDENT 0.0 .TP .B networkinfo -. Show information about network status from the phone. .UNINDENT .INDENT 0.0 @@ -1973,7 +1718,6 @@ .INDENT 0.0 .TP .B deletewapbookmark start [stop] -.sp Delete WAP bookmarks from phone. .sp Locations are numerated from 1. @@ -1989,7 +1733,6 @@ .INDENT 0.0 .TP .B getwapbookmark start [stop] -.sp Get WAP bookmarks from phone. .sp Locations are numerated from 1. @@ -1997,7 +1740,6 @@ .INDENT 0.0 .TP .B getwapsettings start [stop] -.sp Get WAP settings from phone. .sp Locations are numerated from 1. @@ -2027,14 +1769,12 @@ .INDENT 0.0 .TP .B getfmstation start [stop] -.sp Show info about FM stations in phone .UNINDENT .SS Phone information commands .INDENT 0.0 .TP .B battery -. Displays information about battery and power source. .UNINDENT .INDENT 0.0 @@ -2044,7 +1784,6 @@ .INDENT 0.0 .TP .B getlocation -. Gets network information from phone (same as networkinfo) and prints location (latitude and longitude) based on information from \fI\%OpenCellID\fP. @@ -2052,19 +1791,16 @@ .INDENT 0.0 .TP .B getsecuritystatus -. Show, if phone wait for security code (like PIN, PUK, etc.) or not .UNINDENT .INDENT 0.0 .TP .B identify -. Show the most important phone data. .UNINDENT .INDENT 0.0 .TP .B monitor [times] -.sp Retrieves phone status and writes it continuously to standard output. Press \fBCtrl+C\fP to interrupt this command. .sp @@ -2074,19 +1810,14 @@ This command outputs almost all information Gammu supports: .INDENT 7.0 .IP \(bu 2 -. Number of contacts, calendar and todo entries, messages, calls, etc. .IP \(bu 2 -. Signal strength. .IP \(bu 2 -. Battery state. .IP \(bu 2 -. Currently used network. .IP \(bu 2 -. Notifications of incoming messages and calls. .UNINDENT .UNINDENT @@ -2094,7 +1825,6 @@ .INDENT 0.0 .TP .B getcalendarsettings -. Displays calendar settings like first day of week or automatic deleting of old entries. .UNINDENT @@ -2106,7 +1836,6 @@ .TP .B resetphonesettings PHONE|DEV|UIF|ALL|FACTORY .IP Warning -. This will delete user data, be careful. .RE .sp @@ -2114,85 +1843,66 @@ .INDENT 7.0 .TP .B \fBPHONE\fP -.sp Clear phone settings. .TP .B \fBDEV\fP -.sp Clear device settings. .TP .B \fBALL\fP -.sp Clear user settings. .INDENT 7.0 .IP \(bu 2 -. removes or set logos to default .IP \(bu 2 -. set default phonebook and other menu settings .IP \(bu 2 -. clear T9 words, .IP \(bu 2 -. clear call register info .IP \(bu 2 -. set default profiles settings .IP \(bu 2 -. clear user ringtones .UNINDENT .TP .B \fBUIF\fP -.sp Clear user settings and disables hidden menus. .INDENT 7.0 .IP \(bu 2 -. changes like after \fBALL\fP .IP \(bu 2 -. disables netmon and PPS (all "hidden" menus) .UNINDENT .TP .B \fBFACTORY\fP -.sp Reset to factory defaults. .INDENT 7.0 .IP \(bu 2 -. changes like after \fBUIF\fP .IP \(bu 2 -. clear date/time .UNINDENT .UNINDENT .UNINDENT .SS Dumps decoding commands .IP Note -. These commands are available only if Gammu was compiled with debugging options. .RE .INDENT 0.0 .TP .B decodebinarydump file [phonemodel] -.sp Decodes a dump made by Gammu with \fBLogFormat\fP set to \fBbinary\fP. .UNINDENT .INDENT 0.0 .TP .B decodesniff MBUS2|IRDA file [phonemodel] -.sp Allows one to decode sniffs. See \fIDiscovering protocol\fP for more details. .UNINDENT .SS Other commands .INDENT 0.0 .TP .B entersecuritycode PIN|PUK|PIN2|PUK2|PHONE|NETWORK code|\- [newpin|\-] -.sp Allow one to enter security code from PC. When code is \fB\-\fP, it is read from stdin. .sp In case entering PUK, some phones require you to set new PIN as well. @@ -2200,75 +1910,59 @@ .INDENT 0.0 .TP .B presskeysequence mMnNpPuUdD+\-123456789*0#gGrR<>[]hHcCjJfFoOmMdD@ -.sp Press specified key sequence on phone keyboard .INDENT 7.0 .TP .B \fBmM\fP -.sp Menu .TP .B \fBnN\fP -.sp Names key .TP .B \fBpP\fP -.sp Power .TP .B \fBuU\fP -.sp Up .TP .B \fBdD\fP -.sp Down .TP .B \fB+\-\fP -.sp +\- .TP .B \fBgG\fP -.sp Green .TP .B \fBrR\fP -.sp Red .TP .B \fB123456789*0#\fP -.sp numeric keyboard .UNINDENT .UNINDENT .INDENT 0.0 .TP .B reset SOFT|HARD -.sp Make phone reset: .INDENT 7.0 .TP .B \fBSOFT\fP -.sp without asking for PIN .TP .B \fBHARD\fP -.sp with asking for PIN .UNINDENT .IP Note -. Some phones will ask for PIN even with \fBSOFT\fP option. .RE .IP Warning -. Some phones will reset user data on \fBHARD\fP reset. .RE .UNINDENT .INDENT 0.0 .TP .B screenshot filename -.sp Captures phone screenshot and saves it as filename. The extension is automatically appended to filename based on what data phone provides. .UNINDENT @@ -2276,7 +1970,6 @@ .INDENT 0.0 .TP .B batch [file] -.sp Starts Gammu in a batch mode. In this mode you can issue several commands each on one line. Lines starting with # are treated as a comments. @@ -2289,10 +1982,8 @@ .INDENT 0.0 .TP .B searchphone [\-debug] -.sp Attempts to search for a connected phone. .IP Warning -. Please note that this can take a very long time, but in case you have no clue how to configure phone connection, this is a convenient way to find working setup for Gammu. @@ -2301,7 +1992,6 @@ .INDENT 0.0 .TP .B install -. Installs applet for currently configured connection to the phone. .sp You can configure search path for instllation files by @@ -2311,7 +2001,6 @@ .INDENT 0.0 .TP .B checkversion [STABLE] -.sp Checks whether there is newer Gammu version available online (if Gammu has been compiled with CURL). If you pass additional parameter \fBSTABLE\fP, only stable versions will be checked. @@ -2319,20 +2008,17 @@ .INDENT 0.0 .TP .B features -. Print information about compiled in features. .UNINDENT .INDENT 0.0 .TP .B help [topic] -.sp Print help. By default general help is printed, but you can also specify a help category to get more detailed help on some topic. .UNINDENT .INDENT 0.0 .TP .B version -. Print version information and license. .UNINDENT .SH RETURN VALUES @@ -2342,27 +2028,21 @@ .INDENT 0.0 .TP .B 1 -. Out of memory or other critical error. .TP .B 2 -. Invalid command line parameters. .TP .B 3 -. Failed to open file specified on command line. .TP .B 4 -. Program was interrupted. .TP .B 98 -. Gammu library version mismatch. .TP .B 99 -. Functionality has been moved. For example to \fIgammu\-smsd\fP. .UNINDENT .sp @@ -2371,280 +2051,220 @@ .INDENT 0.0 .TP .B 101 -. No error. .TP .B 102 -. Error opening device. Unknown, busy or no permissions. .TP .B 103 -. Error opening device, it is locked. .TP .B 104 -. Error opening device, it doesn\(aqt exist. .TP .B 105 -. Error opening device, it is already opened by other application. .TP .B 106 -. Error opening device, you don\(aqt have permissions. .TP .B 107 -. Error opening device. No required driver in operating system. .TP .B 108 -. Error opening device. Some hardware not connected/wrongly configured. .TP .B 109 -. Error setting device DTR or RTS. .TP .B 110 -. Error setting device speed. Maybe speed not supported. .TP .B 111 -. Error writing to the device. .TP .B 112 -. Error during reading from the device. .TP .B 113 -. Can\(aqt set parity on the device. .TP .B 114 -. No response in specified timeout. Probably phone not connected. .TP .B 115 -. Frame not requested right now. See <\fI\%http://wammu.eu/support/bugs/\fP> for information how to report it. .TP .B 116 -. Unknown response from phone. See <\fI\%http://wammu.eu/support/bugs/\fP> for information how to report it. .TP .B 117 -. Unknown frame. See <\fI\%http://wammu.eu/support/bugs/\fP> for information how to report it. .TP .B 118 -. Unknown connection type string. Check config file. .TP .B 119 -. Unknown model type string. Check config file. .TP .B 120 -. Some functions not available for your system (disabled in config or not implemented). .TP .B 121 -. Function not supported by phone. .TP .B 122 -. Entry is empty. .TP .B 123 -. Security error. Maybe no PIN? .TP .B 124 -. Invalid location. Maybe too high? .TP .B 125 -. Functionality not implemented. You are welcome to help authors with it. .TP .B 126 -. Memory full. .TP .B 127 -. Unknown error. .TP .B 128 -. Can not open specified file. .TP .B 129 -. More memory required... .TP .B 130 -. Operation not allowed by phone. .TP .B 131 -. No SMSC number given. Provide it manually or use the one configured in phone. .TP .B 132 -. You\(aqre inside phone menu (maybe editing?). Leave it and try again. .TP .B 133 -. Phone is not connected. .TP .B 134 -. Function is currently being implemented. If you want to help, please contact authors. .TP .B 135 -. Phone is disabled and connected to charger. .TP .B 136 -. File format not supported by Gammu. .TP .B 137 -. Nobody is perfect, some bug appeared in protocol implementation. Please contact authors. .TP .B 138 -. Transfer was canceled by phone, maybe you pressed cancel on phone. .TP .B 139 -. Phone module need to send another answer frame. .TP .B 140 -. Current connection type doesn\(aqt support called function. .TP .B 141 -. CRC error. .TP .B 142 -. Invalid date or time specified. .TP .B 143 -. Phone memory error, maybe it is read only. .TP .B 144 -. Invalid data given to phone. .TP .B 145 -. File with specified name already exists. .TP .B 146 -. File with specified name doesn\(aqt exist. .TP .B 147 -. You have to give folder name and not file name. .TP .B 148 -. You have to give file name and not folder name. .TP .B 149 -. Can not access SIM card. .TP .B 150 -. Wrong GNAPPLET version in phone. Use version from currently used Gammu. .TP .B 151 -. Only part of folder has been listed. .TP .B 152 -. Folder must be empty. .TP .B 153 -. Data were converted. .TP .B 154 -. Gammu is not configured. .TP .B 155 -. Wrong folder used. .TP .B 156 -. Internal phone error. .TP .B 157 -. Error writing file to disk. .TP .B 158 -. No such section exists. .TP .B 159 -. Using default values. .TP .B 160 -. Corrupted data returned by phone. .TP .B 161 -. Bad feature string in configuration. .TP .B 162 -. Desired functionality has been disabled on compile time. .TP .B 163 -. Bluetooth configuration requires channel option. .TP .B 164 -. Service is not running. .TP .B 165 -. Service configuration is missing. .TP .B 166 -. Command rejected because device was busy. Wait and restart. .TP .B 167 -. Could not connect to the server. .TP .B 168 -. Could not resolve the host name. .TP .B 169 -. Failed to get SMSC number from phone. +.TP +.B 170 +Operation aborted. +.TP +.B 171 +Installation data not found, please consult debug log and/or documentation for more details. +.TP +.B 172 +Entry is read only. .UNINDENT .SH EXAMPLES .SS Configuration @@ -2653,7 +2273,6 @@ \fIgammurc\fP for more details about it. .SS Sending messages .IP Note -. All messages bellow are sent to number 123456, replace it with proper destination. .RE .sp @@ -2712,6 +2331,15 @@ gammu sendsms EMS 123456 \-protected 2 \-variablebitmaplong ala.bmp \-toneSElong axelf.txt \-toneSE ring.txt .ft P .fi +.SS Retrieving USSD replies +.sp +For example for retrieving prepaid card status or retrieving various network info: +.sp +.nf +.ft C +gammu getussd \(aq#555#\(aq +.ft P +.fi .SS Uploading files to Nokia .sp Add Alien to applications in your phone (you need to have files Alien.JAD and Alien.JAR in current directory): diff -Nru gammu-1.30.0/docs/man/gammu-backup.5 gammu-1.31.0/docs/man/gammu-backup.5 --- gammu-1.30.0/docs/man/gammu-backup.5 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/docs/man/gammu-backup.5 2011-12-21 13:25:37.000000000 +0000 @@ -1,4 +1,4 @@ -.TH "GAMMU-BACKUP" "5" "July 19, 2011" "1.30.0" "Gammu" +.TH "GAMMU-BACKUP" "5" "December 21, 2011" "1.31.0" "Gammu" .SH NAME gammu-backup \- gammu(1) backup file format. . diff -Nru gammu-1.30.0/docs/man/gammu-config.1 gammu-1.31.0/docs/man/gammu-config.1 --- gammu-1.30.0/docs/man/gammu-config.1 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/docs/man/gammu-config.1 2011-12-21 13:25:37.000000000 +0000 @@ -1,4 +1,4 @@ -.TH "GAMMU-CONFIG" "1" "July 19, 2011" "1.30.0" "Gammu" +.TH "GAMMU-CONFIG" "1" "December 21, 2011" "1.31.0" "Gammu" .SH NAME gammu-config \- Gammu configurator . @@ -46,19 +46,16 @@ .INDENT 0.0 .TP .B \-h, \-\-help -.sp Show summary of options. .UNINDENT .INDENT 0.0 .TP .B \-f, \-\-force -.sp Force configuring even if config already exists. .UNINDENT .INDENT 0.0 .TP .B \-c, \-\-config CONFIG -.sp Define which configuration file to use. .UNINDENT .SH AUTHOR diff -Nru gammu-1.30.0/docs/man/gammu-detect.1 gammu-1.31.0/docs/man/gammu-detect.1 --- gammu-1.30.0/docs/man/gammu-detect.1 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/docs/man/gammu-detect.1 2011-12-21 13:25:37.000000000 +0000 @@ -1,4 +1,4 @@ -.TH "GAMMU-DETECT" "1" "July 19, 2011" "1.30.0" "Gammu" +.TH "GAMMU-DETECT" "1" "December 21, 2011" "1.31.0" "Gammu" .SH NAME gammu-detect \- Gammu device detection . @@ -43,7 +43,6 @@ .sp Script to detect available devices, which might be suitable for \fIgammu\fP. .IP Note -. This program lists all devices, which might be suitable, it does not do any probing on devices them self. .RE @@ -51,61 +50,50 @@ Currently it supports following devices: .INDENT 0.0 .IP \(bu 2 -. USB devices using udev .IP \(bu 2 -. Serial ports using udev .IP \(bu 2 -. Serial ports on Windows .IP \(bu 2 -. Bluetooth devices using Bluez .UNINDENT .IP Note -. Supported devices depend on platform you are using and compiled in features. You can find out what is actually compiled in by running \fI\%gammu-detect -v\fP. .RE .sp This program follows the usual GNU command line syntax, with long options -starting with two dashes (\fB\-\fP). A summary of options is included below. +starting with two dashes (\fB\-\-\fP). A summary of options is included below. .INDENT 0.0 .TP .B \-h, \-\-help -.sp Show summary of options. .UNINDENT .INDENT 0.0 .TP .B \-d, \-\-debug -.sp Show debugging output for detecting devices. .UNINDENT .INDENT 0.0 .TP .B \-v, \-\-version -.sp Show version information and compiled in features. .UNINDENT .INDENT 0.0 .TP .B \-u, \-\-no\-udev -.sp Disables scanning of udev. .UNINDENT .INDENT 0.0 .TP .B \-b, \-\-no\-bluez -.sp Disables scanning using Bluez. .UNINDENT .INDENT 0.0 .TP .B \-w, \-\-no\-win32\-serial -.sp Disables scanning of Windows serial ports. .UNINDENT .SH OUTPUT @@ -114,7 +102,6 @@ \fIgammurc\fP) with configuration section for every device which might be used with \fIgammu\fP. .IP Note -. You can choose which section to use in \fIgammu\fP by \fIgammu \-s\fP. .RE .sp diff -Nru gammu-1.30.0/docs/man/gammurc.5 gammu-1.31.0/docs/man/gammurc.5 --- gammu-1.30.0/docs/man/gammurc.5 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/docs/man/gammurc.5 2011-12-21 13:25:37.000000000 +0000 @@ -1,4 +1,4 @@ -.TH "GAMMURC" "5" "July 19, 2011" "1.30.0" "Gammu" +.TH "GAMMURC" "5" "December 21, 2011" "1.31.0" "Gammu" .SH NAME gammurc \- gammu(1) configuration file . @@ -36,26 +36,20 @@ searched in following order: .INDENT 0.0 .IP 1. 3 -. \fB$XDG_CONFIG_HOME/gammu/config\fP .IP 2. 3 -. \fB~/.config/gammu/config\fP .IP 3. 3 -. \fB~/.gammurc\fP .IP 4. 3 -. \fB/etc/gammurc\fP .UNINDENT .sp On Microsoft Windows: .INDENT 0.0 .IP 1. 3 -. \fB$PROFILE\eApplication Data\egammurc\fP .IP 2. 3 -. \fB.\egammurc\fP .UNINDENT .SH DESCRIPTION @@ -88,30 +82,24 @@ .INDENT 0.0 .TP .B Connection -. Protocol which will be used to talk to your phone. .sp For Nokia cables you want to use one of following: .INDENT 7.0 .TP .B \fBfbus\fP -.sp serial FBUS connection .TP .B \fBdlr3\fP -.sp DLR\-3 and compatible cables .TP .B \fBdku2\fP -.sp DKU\-2 and compatible cables .TP .B \fBdku5\fP -.sp DKU\-5 and compatible cables .TP .B \fBmbus\fP -.sp serial MBUS connection .UNINDENT .sp @@ -123,7 +111,6 @@ .INDENT 7.0 .TP .B \fBat\fP -.sp generic AT commands based connection .UNINDENT .sp @@ -134,19 +121,15 @@ .INDENT 7.0 .TP .B \fBirdaphonet\fP -.sp Phonet connection for Nokia phones. .TP .B \fBirdaat\fP -.sp AT commands connection for most of phones (this is not supported on Linux). .TP .B \fBirdaobex\fP -.sp OBEX (IrMC or file transfer) connection for most of phones. .TP .B \fBirdagnapbus\fP -.sp GNapplet based connection for Symbian phones, see \fIgnapplet\fP. .UNINDENT .sp @@ -154,32 +137,30 @@ .INDENT 7.0 .TP .B \fBbluephonet\fP -.sp Phonet connection for Nokia phones. .TP .B \fBblueat\fP -.sp AT commands connection for most of phones. .TP .B \fBblueobex\fP -.sp OBEX (IrMC or file transfer) connection for most of phones. .TP .B \fBbluerfgnapbus\fP -.sp GNapplet based connection for Symbian phones, see \fIgnapplet\fP. .TP .B \fBblues60\fP -.sp Connection to Series60 applet in S60 phones, see \fIs60\fP. .sp New in version 1.29.90. .UNINDENT +.IP "See also" +.sp +\fIfaq\-config\fP +.RE .UNINDENT .INDENT 0.0 .TP .B Device -. New in version 1.27.95. .sp Device node or address of phone. It depends on used connection. @@ -204,7 +185,6 @@ .ft P .fi .IP Note -. On Linux systems, you might lack permissions for some device nodes. You might need to be member of some group (eg. \fBplugdev\fP or \fBdialout\fP) or or add special udev rules to enable you access @@ -260,7 +240,6 @@ .ft P .fi .IP Note -. Native IrDA is not supported on Linux, you need to setup virtual serial port for it (eg. \fB/dev/ircomm0\fP) and use it same way as cable. This can be usually achieved by loading modules \fBircomm\-tty\fP and \fBirtty\-sir\fP: @@ -272,11 +251,14 @@ .ft P .fi .RE +.IP "See also" +.sp +\fIfaq\-config\fP +.RE .UNINDENT .INDENT 0.0 .TP .B Port -. Deprecated since version 1.27.95. .sp Alias for \fI\%Device\fP, kept for backward compatibility. @@ -284,7 +266,6 @@ .INDENT 0.0 .TP .B Model -. Do not use this parameter unless really needed! The only use case for this is when Gammu does not know your phone and misdetects it\(aqs features. .sp @@ -294,26 +275,21 @@ .INDENT 7.0 .TP .B \fBobexfs\fP -.sp force using of file browsing service (file system support) .TP .B \fBobexirmc\fP -.sp force using of IrMC service (contacts, calendar and notes support) .TP .B \fBobexnone\fP -.sp none service chosen, this has only limited use for sending file (\fIgammu sendfile\fP command) .TP .B \fBmobex\fP -.sp m\-obex service for Samsung phones .UNINDENT .UNINDENT .INDENT 0.0 .TP .B Use_Locking -. On Posix systems, you might want to lock serial device when it is being used using UUCP\-style lock files. Enabling this option (setting to yes) will make Gammu honor these locks and create it on startup. On most distributions you @@ -326,13 +302,11 @@ .INDENT 0.0 .TP .B SynchronizeTime -. If you want to set time from computer to phone during starting connection. .UNINDENT .INDENT 0.0 .TP .B StartInfo -. This option allow to set, that you want (setting \fByes\fP) to see message on the phone screen or phone should enable light for a moment during starting connection. Phone will not beep during starting connection with this @@ -342,10 +316,8 @@ .INDENT 0.0 .TP .B LogFile -. Path to file where information about communication will be stored. .IP Note -. For most debug levels (excluding \fBerrors\fP) the log file is overwritten on each execution. .RE @@ -353,36 +325,28 @@ .INDENT 0.0 .TP .B LogFormat -. Determines what all will be logged to \fBLogFile\fP. Possible values are: .INDENT 7.0 .TP .B \fBnothing\fP -.sp no debug level .TP .B \fBtext\fP -.sp transmission dump in text format .TP .B \fBtextall\fP -.sp all possible info in text format .TP .B \fBtextalldate\fP -.sp all possible info in text format, with time stamp .TP .B \fBerrors\fP -.sp errors in text format .TP .B \fBerrorsdate\fP -.sp errors in text format, with time stamp .TP .B \fBbinary\fP -.sp transmission dump in binary format .UNINDENT .sp @@ -392,7 +356,6 @@ .INDENT 0.0 .TP .B Features -. Custom features for phone. This can be used as override when values coded in \fBcommon/gsmphones.c\fP are bad or missing. Consult \fBinclude/gammu\-info.h\fP for possible values (all \fBGSM_Feature\fP values @@ -403,7 +366,6 @@ .INDENT 0.0 .TP .B GammuCoding -. Forces using specified codepage (for example \fB1250\fP will force CP\-1250 or \fButf8\fP for UTF\-8). This should not be needed, Gammu detects it according to your locales. @@ -411,7 +373,6 @@ .INDENT 0.0 .TP .B GammuLoc -. Path to directory with localisation files (the directory should contain \fBLANG/LC_MESSAGES/gammu.mo\fP). If gammu is properly installed it should find these files automatically. @@ -420,7 +381,6 @@ .INDENT 0.0 .TP .B DataPath -. Additional path where to search for data files. The default path is configured on build time (and defaults to \fB/usr/share/data/gammu\fP on Unix systems). Currently it is used only for searching files to upload to phone diff -Nru gammu-1.30.0/docs/man/gammu-smsbackup.5 gammu-1.31.0/docs/man/gammu-smsbackup.5 --- gammu-1.30.0/docs/man/gammu-smsbackup.5 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/docs/man/gammu-smsbackup.5 2011-12-21 13:25:37.000000000 +0000 @@ -1,4 +1,4 @@ -.TH "GAMMU-SMSBACKUP" "5" "July 19, 2011" "1.30.0" "Gammu" +.TH "GAMMU-SMSBACKUP" "5" "December 21, 2011" "1.31.0" "Gammu" .SH NAME gammu-smsbackup \- gammu(1) SMS backup file format. . @@ -64,7 +64,6 @@ The text can be split to more lines if it is too long or of original message included new lines. .IP Note -. This is easiest way to get message text, however also the least reliable one, because it is stored in the comments in the file. .RE @@ -74,108 +73,81 @@ .INDENT 0.0 .TP .B \fBSMSC\fP -.sp Text representation of SMSC number, not used by Gammu if \fBSMSCUnicode\fP exists. .TP .B \fBSMSCUnicode\fP -.sp Hex encoded UCS\-2 string with SMSC number. .TP .B \fBClass\fP -.sp Message class. .TP .B \fBSent\fP -.sp Timestamp, when message has been sent. .TP .B \fBPDU\fP -.sp Message type, one of: .INDENT 7.0 .IP \(bu 2 -. \fBDeliver\fP \- received message .IP \(bu 2 -. \fBSubmit\fP \- message to send .IP \(bu 2 -. \fBStatus_Report\fP \- message to send with delivery report .UNINDENT .TP .B \fBDateTime\fP -.sp Timestamp of message (sent or received). .TP .B \fBRejectDuplicates\fP -.sp Whether receiver should reject duplicates. .TP .B \fBReplaceMessage\fP -.sp ID of message to replace. .TP .B \fBMessageReference\fP -.sp Message reference number as generated by network. .TP .B \fBState\fP -.sp State of the message: .INDENT 7.0 .IP \(bu 2 -. \fBRead\fP .IP \(bu 2 -. \fBUnRead\fP .IP \(bu 2 -. \fBSent\fP .IP \(bu 2 -. \fBUnSent\fP .UNINDENT .TP .B \fBNumber\fP -.sp Recipient number. .TP .B \fBName\fP -.sp Name of the message. .TP .B \fBLength\fP -.sp Length of message text. .TP .B \fBCoding\fP -.sp Coding of the message: .INDENT 7.0 .IP \(bu 2 -. \fB8bit\fP \- binary message .IP \(bu 2 -. \fBDefault\fP \- GSM encoding, up to 160 chars in message .IP \(bu 2 -. \fBUnicode\fP \- Unicode encoding, up to 70 chars in message .UNINDENT .TP .B \fBText00\fP ... \fBTextNN\fP -.sp Numbered parts of the message payload. .TP .B \fBFolder\fP -.sp ID of folder where the message was saved. .TP .B \fBUDH\fP -.sp User defined header of the message. .UNINDENT .SH EXAMPLE diff -Nru gammu-1.30.0/docs/man/gammu-smsd.1 gammu-1.31.0/docs/man/gammu-smsd.1 --- gammu-1.30.0/docs/man/gammu-smsd.1 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/docs/man/gammu-smsd.1 2011-12-21 13:25:37.000000000 +0000 @@ -1,4 +1,4 @@ -.TH "GAMMU-SMSD" "1" "July 19, 2011" "1.30.0" "Gammu" +.TH "GAMMU-SMSD" "1" "December 21, 2011" "1.31.0" "Gammu" .SH NAME gammu-smsd \- SMS daemon for Gammu . @@ -53,19 +53,16 @@ .INDENT 0.0 .TP .B \-h, \-\-help -.sp Shows help. .UNINDENT .INDENT 0.0 .TP .B \-v, \-\-version -.sp Shows version information and compiled in features. .UNINDENT .INDENT 0.0 .TP .B \-c, \-\-config=file -.sp Configuration file to use, default is /etc/gammu\-smsdrc, on Windows there is no default and configuration file path has to be always specified. .sp @@ -78,78 +75,76 @@ .INDENT 0.0 .TP .B \-p, \-\-pid=file -.sp Lock file for storing pid, empty for no locking. Not supported on Windows. .UNINDENT .INDENT 0.0 .TP .B \-U, \-\-user=user -.sp Drop daemon privileges to chosed user after starting. .UNINDENT .INDENT 0.0 .TP .B \-G, \-\-group=group -.sp Drop daemon privileges to chosen group after starting. .UNINDENT .INDENT 0.0 .TP .B \-d, \-\-daemon -.sp Daemonize program on startup. Not supported on Windows. .UNINDENT .INDENT 0.0 .TP .B \-i, \-\-install\-service -.sp Installs SMSD as a Windows service. .UNINDENT .INDENT 0.0 .TP .B \-u, \-\-uninstall\-service -.sp Uninstalls SMSD as a Windows service. .UNINDENT .INDENT 0.0 .TP .B \-s, \-\-start\-service -.sp Starts SMSD Windows service. .UNINDENT .INDENT 0.0 .TP .B \-k, \-\-stop\-service -.sp Stops SMSD Windows service. .UNINDENT .INDENT 0.0 .TP .B \-f, \-\-max\-failures=count -.sp Terminate after defined number of failures. Use 0 to not terminate (this is default). .UNINDENT .INDENT 0.0 .TP .B \-X, \-\-suicide=seconds -.sp Kills itself after number of seconds. .UNINDENT .INDENT 0.0 .TP .B \-S, \-\-run\-service -.sp Runs pogram as SMSD Windows service. This should not be used manually, but only Windows Service manager should use this command. .UNINDENT .INDENT 0.0 .TP .B \-n, \-\-service\-name=name -.sp Defines name of a Windows service. Each service requires an unique name, so if you want to run several SMSD instances, you have to name each service differently. Default is "GammuSMSD". .UNINDENT +.INDENT 0.0 +.TP +.B \-l, \-\-use\-log +Use logging as configured in config file (default). +.UNINDENT +.INDENT 0.0 +.TP +.B \-L, \-\-no\-use\-log +Do not use logging as configured in config file. +.UNINDENT .SH EXAMPLES .SS Linux/Unix Examples .sp diff -Nru gammu-1.30.0/docs/man/gammu-smsd-dbi.7 gammu-1.31.0/docs/man/gammu-smsd-dbi.7 --- gammu-1.30.0/docs/man/gammu-smsd-dbi.7 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/docs/man/gammu-smsd-dbi.7 2011-12-21 13:25:37.000000000 +0000 @@ -1,4 +1,4 @@ -.TH "GAMMU-SMSD-DBI" "7" "July 19, 2011" "1.30.0" "Gammu" +.TH "GAMMU-SMSD-DBI" "7" "December 21, 2011" "1.31.0" "Gammu" .SH NAME gammu-smsd-dbi \- gammu-smsd(1) backend using DBI abstraction layer to use any supported database as a message storage . @@ -30,6 +30,7 @@ .. .\" Man page generated from reStructeredText. . +.SH DESCRIPTION .sp DBI backend stores all data in any database supported by \fI\%libdbi\fP, which parameters are defined by configuration (see \fIgammu\-smsdrc\fP for description of @@ -39,29 +40,44 @@ .sp This backend is based on \fIgammu\-smsd\-sql\fP. .IP Note -. The DBI driver is currently not supported on Windows because libdbi library does not support this platform. .RE +.SH CONFIGURATION +.sp +Before running \fIgammu\-smsd\fP you need to create necessary tables in the +database. You can use examples given in database specific backends parts of +this manual to do that. +.sp +The configuration file then can look like: +.sp +.nf +.ft C +[smsd] +service = sql +driver = DBI_DRIVER +host = localhost +.ft P +.fi +.IP "See also" +.sp +\fIgammu\-smsdrc\fP +.RE .SH SUPPORTED DRIVERS .sp For complete list of drivers for \fI\%libdbi\fP see \fI\%libdbi-drivers\fP project. The drivers for example include: .INDENT 0.0 .IP \(bu 2 -. \fBsqlite3\fP \- for SQLite 3 .IP \(bu 2 -. \fBmysql\fP \- for MySQL .IP \(bu 2 -. \fBpgsql\fP \- for PostgeSQL .IP \(bu 2 -. \fBfreetds\fP \- for MS SQL Server or Sybase .UNINDENT -.SH EXAMPLE +.SH CREATING TABLES .sp SQL script for creating tables in SQLite database: .sp @@ -218,7 +234,6 @@ .ft P .fi .IP Note -. You can find the script in \fBdocs/sql/sqlite.sql\fP as well. There are also scripts for other databases in same folder. .RE diff -Nru gammu-1.30.0/docs/man/gammu-smsd-files.7 gammu-1.31.0/docs/man/gammu-smsd-files.7 --- gammu-1.30.0/docs/man/gammu-smsd-files.7 2011-07-19 09:26:34.000000000 +0000 +++ gammu-1.31.0/docs/man/gammu-smsd-files.7 2011-12-21 13:25:37.000000000 +0000 @@ -1,4 +1,4 @@ -.TH "GAMMU-SMSD-FILES" "7" "July 19, 2011" "1.30.0" "Gammu" +.TH "GAMMU-SMSD-FILES" "7" "December 21, 2011" "1.31.0" "Gammu" .SH NAME gammu-smsd-files \- gammu-smsd(1) backend using filesystem as a message storage . @@ -30,6 +30,7 @@ .. .\" Man page generated from reStructeredText. . +.SH DESCRIPTION .sp FILES backend stores all data on a filesystem in folders defined by configuration (see \fIgammu\-smsdrc\fP for description of configuration options). @@ -43,27 +44,21 @@ .INDENT 0.0 .TP .B \fB\fP -.sp date in format \fBYYYYMMDD\fP .TP .B \fB