--- sl-modem-2.9.10+2.9.9d.orig/Makefile +++ sl-modem-2.9.10+2.9.9d/Makefile @@ -13,11 +13,15 @@ # ########################################################################### -KERNEL_DIR:=/lib/modules/$(shell uname -r)/build +KERNEL_DIR?=/lib/modules/$(shell uname -r)/build # tools INSTALL:=install - +# Definitions +MODULES_DIR = /lib/modules/$(KVERS)/misc +MODEM_DEV := ttySL0 +MODEM_LINK := modem +MODULES_CONF:= /etc/modules.conf all: modem drivers modem: --- sl-modem-2.9.10+2.9.9d.orig/drivers/Makefile +++ sl-modem-2.9.10+2.9.9d/drivers/Makefile @@ -28,8 +28,14 @@ ifndef KERNELRELEASE ifndef KERNEL_VER + +KVERS?=$(shell ./kernel-ver) + + + all install uninstall: kernel-ver - $(MAKE) $@ KERNEL_VER=$(shell ./kernel-ver) + $(MAKE) $@ KERNEL_VER=$(KVERS) +# $(MAKE) $@ KERNEL_VER=$(shell ./kernel-ver) install: install-devices uninstall: remove-devices @@ -55,13 +61,15 @@ $(RM) ${DESTDIR}/dev/slusb$(minor) ; ) echo -n else -ifeq ($(findstring 2.4,$(KERNEL_VER)),2.4) + +ifeq ($(shell grep 'UTS.*"2\.6' $(KERNEL_DIR)/include/linux/version.h),) slusb-objs:= old_st7554.o obj:=. -module-dir:=${DESTDIR}/lib/modules/$(KERNEL_VER)/misc +module-dir ?= ${DESTDIR}/lib/modules/$(KERNEL_VER)/misc + -CFLAGS:= -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB -DMODVERSIONS --include $(KERNEL_DIR)/include/linux/modversions.h -I$(KERNEL_DIR)/include +CFLAGS:= -Wall -pipe -O3 -fomit-frame-pointer -D__KERNEL__ -DMODULE -DEXPORT_SYMTAB `test -f $(KERNEL_DIR)/include/linux/modversions.h && echo -DMODVERSIONS --include $(KERNEL_DIR)/include/linux/modversions.h -I$(KERNEL_DIR)/include` all: $(obj-m) --- sl-modem-2.9.10+2.9.9d.orig/modem/modem.c +++ sl-modem-2.9.10+2.9.9d/modem/modem.c @@ -1598,10 +1598,11 @@ return 0; } +static int sregs_init(unsigned char sregs[]); int modem_reset(struct modem *m) { - static int sregs_init(unsigned char sregs[]); +// static int sregs_init(unsigned char sregs[]); MODEM_DBG("modem reset...\n"); if(m->state != STATE_MODEM_IDLE) modem_hup(m,1); --- sl-modem-2.9.10+2.9.9d.orig/modem/modem.h +++ sl-modem-2.9.10+2.9.9d/modem/modem.h @@ -296,7 +296,7 @@ void *cid; #endif /* dialer */ - char dial_string[32]; + char dial_string[128]; /* escape counter */ unsigned escape_count; unsigned long last_esc_check; --- sl-modem-2.9.10+2.9.9d.orig/modem/modem_cmdline.c +++ sl-modem-2.9.10+2.9.9d/modem/modem_cmdline.c @@ -71,7 +71,7 @@ const char *modem_alsa_dev_name = "modem:1"; unsigned int need_realtime = 1; unsigned int use_alsa = 0; -const char *modem_group = "uucp"; +const char *modem_group = "dialout"; mode_t modem_perm = 0660; @@ -105,7 +105,7 @@ {'c',"country","default modem country name",MANDATORY,STRING,"USA"}, { 0 ,"countrylist","show list of supported countries"}, {'a',"alsa","ALSA mode (see README for howto)"}, - {'g',"group","Modem TTY group",MANDATORY,STRING,"uucp"}, + {'g',"group","Modem TTY group",MANDATORY,STRING,"dialout"}, {'p',"perm","Modem TTY permission",MANDATORY,INTEGER,"0660"}, {'n',"nortpriority","run with regular priority"}, {'d',"debug","debug level",OPTIONAL,INTEGER,"0"}, --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-modules-_KVERS_.postinst.modules.in +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-modules-_KVERS_.postinst.modules.in @@ -0,0 +1,87 @@ +#! /bin/bash +# postinst script for sl-modem + +daemon-stop () { + if [ -e /var/run/slmodemd.pid ] ; then + /etc/init.d/sl-modem-daemon stop || true + sleep 1 + fi +} + +mkdev () +{ + local cleanup majo + + perms="660" + owner="root:dialout" + + # look for nodes with the old major number, also whether the old files to + # exist at all + majo=`stat -c %t /dev/$1$2 2>/dev/null` + + if test "$majo" = 212 || test "$majo" = 213 ; then + mv -f /dev/$1$2 /dev/$1$2.tmp + cleanup="$cleanup /dev/$1$2.tmp" + perms="--reference=/dev/$1$2.tmp" + owner="--reference=/dev/$1$2.tmp" + fi + + if test -z "$majo" ; then + mknod /dev/$1$2 c $3 $2 + chmod $perms /dev/$1$2 + chown $perms /dev/$1$2 + fi + + rm -f $cleanup +} + + + +case "$1" in + configure) + # old DEVFS hack should be done by module post-install now + # test -c /dev/ttySL0 || mknod -m 666 /dev/ttySL0 c 212 0 || true + + update-devfsd 2>/dev/null || true + update-modules 2>/dev/null || true + + for x in 0 1 2 3; do + mkdev slamr $x 242 + mkdev slusb $x 243 + done + + for module in slamr slusb ; do + if grep -q "$module" /proc/modules 2>/dev/null ; then + daemon-stop + rmmod $module + fi + done + modprobe slamr 2>/dev/null || modprobe slusb 2>/dev/null || true + if test -x /usr/sbin/slmodemd ; then + if ! [ -e /var/run/slmodemd.pid ] ; then + /etc/init.d/sl-modem-daemon start || true + else + # restart on upgrades + if test -n "$2" ; then + /etc/init.d/sl-modem-daemon restart || true + fi + fi + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + + --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-daemon.init +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-daemon.init @@ -0,0 +1,186 @@ +#!/bin/sh +# + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/slmodemd +NAME=slmodemd +PIDFILE=/var/run/$NAME.pid +DESC="SmartLink modem daemon" +modprobe="$(cat /proc/sys/kernel/modprobe 2>/dev/null || echo modprobe)" + +test -x $DAEMON || exit 0 + +# there may be old options there... +test -r /etc/default/slmodemd && . /etc/default/slmodemd + +# but most likely they are here +test -r /etc/default/sl-modem-daemon && . /etc/default/sl-modem-daemon + +ALSADEVPREFIX=modem +driverlist="snd-intel8x0m snd-via82xx-modem snd-atiixp-modem" + +# must match the names in /proc/modules with the underscores etc., includes slamr too +unloadllist="snd_intel8x0m snd_via82xx_modem snd_atiixp_modem slamr" + +alsaload() { + + unset line; + + # first check to not do unneccessary modprobe calls. Some people even put + # it into the kernel image + + if ! line=$(grep -i "\[Modem " /proc/asound/cards 2>/dev/null) ; then + for x in $driverlist ; do $modprobe $x 2>/dev/null ; done + + for start_reps in `seq 100` ; do + test -e /proc/asound/cards && line=$(grep -i "\[Modem " -i /proc/asound/cards) && break + sleep 0.1 + done + fi + + if test "$line" ; then + # ALSA driver is loaded, use it + + set $line + SLMODEMD_DEVICE=$ALSADEVPREFIX:$1 + ALSA=yes + return 0 + fi + + return 1 +} + +config() { + if test "$DONTSTART" = 1 ; then + test "$BEQUIET" = 1 || echo "Not starting $DESC (options not set in /etc/default/slmodemd)" + exit 0 + fi + + if test "$SLMODEMD_COUNTRY" ; then + OPTS="$OPTS -c $SLMODEMD_COUNTRY" + fi + + ALSA=`echo $SLMODEMD_DEVICE | grep :` + + if [ "`echo $SLMODEMD_DEVICE | grep auto`" ] ; then + + # carefully look for signs of loaded drivers + if grep -i "\[Modem " -i /proc/asound/cards ; then + # already loaded, just pick up the device there + alsaload; + else + # ALSA not loaded yet, try the smartlink driver first, then try ALSA + # though (forced loading) + if grep -q 'slamr\..*o' /lib/modules/`uname -r`/modules.dep ; + then + if $modprobe slamr ; then + SLMODEMD_DEVICE=slamr0 + else + alsaload; + fi + else + alsaload; + fi + fi + fi + + if [ "$ALSA" ] ; then + # either detected or choosed by user, the driver must already be loaded + # and the device name be picked up before + + OPTS=" --alsa $OPTS $SLMODEMD_DEVICE" + + else + + if test "$SLMODEMD_DEVICE" ; then + OPTS="$OPTS /dev/$SLMODEMD_DEVICE" + fi + + # installed as module so just load it or bail out + if ! $modprobe slamr ; then + echo "SmartLink modem driver not available for this Kernel. Please read README.Debian" + echo "or try to install the package sl-modem-modules-`uname -r`. Exiting..." + exit 1 + fi + fi +} + +start() { + + config + + echo -n "Starting SmartLink Modem driver for: $SLMODEMD_DEVICE" + start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background --quiet -- $OPTS + RETVAL=$? + if [ "$RETVAL" = 0 ] && [ "$NOSYMLINK" != 1 ] ; then + echo "." + echo "Creating /dev/modem symlink, pointing to: /dev/ttySL0." + ln -sf ttySL0 /dev/modem + fi +} + +stop() { + echo -n "Shutting down SmartLink Modem driver normally" + RETVAL=0 + if [ "`pidof $NAME`" ] ; then + if start-stop-daemon --stop --quiet --pidfile $PIDFILE --exec $DAEMON --retry 1 ; then + echo . + else + echo " probably failed." + echo "Trying it the hard way (send SIGKILL all $NAME processes): " + killall -KILL $NAME || RETVAL=1 + fi + else + echo " ... no $NAME daemon running." + fi + test "$RETVAL" -ne 0 || rm -f "$PIDFILE" + echo -n "Unloading modem driver from kernel ... " + msg="none found." + for x in $unloadllist ; do + if grep -l -q "^$x " /proc/modules ; then + $modprobe -r $x 2>/dev/null && msg="$x." || msg="failed." + fi + done + echo $msg +} + +status() { + echo -n "Status of $DESC: " + if [ ! -r "$PIDFILE" ]; then + echo "$NAME is not running." + exit 3 + fi + if read pid < "$PIDFILE" && ps -p "$pid" > /dev/null 2>&1; then + echo "$NAME is running." + exit 0 + else + echo "$NAME is not running but $PIDFILE exists." + exit 1 + fi +} + +# See how we were called. +case "$1" in + + start) + start + ;; + + stop) + stop + ;; + + restart|reload|force-reload) + stop + start + ;; + + status) + status + ;; + + *) + echo "Usage: /etc/init.d/$NAME {start|stop|restart|status}" + exit 1 +esac + --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-source.dirs +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-source.dirs @@ -0,0 +1 @@ +usr/src/modules/sl-modem/debian --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-daemon.postrm +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-daemon.postrm @@ -0,0 +1,12 @@ +#!/bin/sh + +case "$1" in + purge) + update-rc.d -f sl-modem-daemon remove > /dev/null 2>&1 + + ;; +esac + +#DEBHELPER# + +exit 0 --- sl-modem-2.9.10+2.9.9d.orig/debian/hotplug +++ sl-modem-2.9.10+2.9.9d/debian/hotplug @@ -0,0 +1,62 @@ +#!/bin/sh + +# SmartLink USB modem hotplug integration +# Eduard Bloch , 2004 +# +# If you have good ideas how to extend it to detect multiple modems, +# please tell me! + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/sbin/slmodemd +NAME=slmodemd +PIDFILE=/var/run/$NAME.usb.pid + +if ! test -x $DAEMON ; then + echo "Please install sl-modem-daemon!" +fi + +# You need to define options there there +test -r /etc/default/slmodemd && . /etc/default/slmodemd + +# or here +test -r /etc/default/sl-modem-daemon && . /etc/default/sl-modem-daemon + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +export PATH + +test -r /etc/default/sl-modem-daemon && . /etc/default/sl-modem-daemon + +mkdev () +{ + if test ! -e /dev/$1$2; then + mknod -m 660 /dev/$1$2 c $3 $2 + chown root:dialout /dev/$1$2 + fi +} + +mkdev slusb 0 213 + +case "$ACTION" in + add) + start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON --make-pidfile --background --quiet -- $OPTS /dev/slusb0 -c "$SLMODEMD_COUNTRY" + RETVAL=$? + if [ "$RETVAL" = 0 -a "$NOSYMLINK" != 1 ] ; then + echo "Creating /dev/modem symlink, pointing to: /dev/ttySL0." + ln -sf ttySL0 /dev/modem + fi + + ;; + remove) + start-stop-daemon --stop --pidfile $PIDFILE --exec $DAEMON --quiet && rm -f $PIDFILE + # the not-so-nice termination method + if test -r $PIDFILE ; then + pid=`cat $PIDFILE` + if test "$pid" -a -e /proc/$pid ; then + kill -9 $pid && rm $PIDFILE + fi + fi + ;; +esac + +exit 0 + --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-daemon.modutils +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-daemon.modutils @@ -0,0 +1,3 @@ +alias char-major-243 slusb +alias char-major-242 slamr + --- sl-modem-2.9.10+2.9.9d.orig/debian/control.modules.in +++ sl-modem-2.9.10+2.9.9d/debian/control.modules.in @@ -0,0 +1,19 @@ +Source: sl-modem +Section: non-free/net +Priority: optional +Maintainer: Eduard Bloch +Build-Depends: debhelper (>> 3.0.0) +Standards-Version: 3.5.8 + +Package: sl-modem-modules-_KVERS_ +Architecture: any +Provides: sl-modem-modules-new +Replaces: sl-modem-modules +Description: Smart Link modem modules for Linux (kernel _KVERS_) + This package contains the driver modules for the Smart Link software modem. + They are compiled as loadable kernel modules for Linux kernel _KVERS_. + . + If you have compiled your own kernel, you will most likely need to build + your own sl-modem-modules. The sl-modem-source package has been + provided for use with the Debian kernel-package utility to produce a version + of sl-modem-module for your kernel. --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-daemon.postinst +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-daemon.postinst @@ -0,0 +1,22 @@ +#!/bin/sh + +. /usr/share/debconf/confmodule + +db_get sl-modem-daemon/country || true + +if test -n "$RET" ; then + perl -pe "s,^SLMODEMD_COUNTRY.*,SLMODEMD_COUNTRY=$RET," -i /etc/default/sl-modem-daemon +fi + +if [ -x "/etc/init.d/sl-modem-daemon" ]; then + update-rc.d sl-modem-daemon defaults 12 >/dev/null + if [ -x /usr/sbin/invoke-rc.d ]; then + invoke-rc.d sl-modem-daemon start || true + else + /etc/init.d/sl-modem-daemon start || true + fi +fi + +#DEBHELPER# + +exit 0 --- sl-modem-2.9.10+2.9.9d.orig/debian/control.backup.2 +++ sl-modem-2.9.10+2.9.9d/debian/control.backup.2 @@ -0,0 +1,16 @@ +Source: sl-modem +Section: misc +Priority: optional +Maintainer: Eduard Bloch +Standards-Version: 3.5.8 + +Package: sl-modem-source +Architecture: all +Depends: make +Recommends: kernel-package +Description: Smart Link Soft Modem - driver building source + This package contains source code for the software modems produced by + Smart Link Ltd. It supports PCI and USB models. + . + Module packages can be built for the custom kernel package either by hand or + using kernel-package. --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-daemon.prerm +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-daemon.prerm @@ -0,0 +1,10 @@ +#!/bin/sh +set -e +if [ -x "/etc/init.d/sl-modem-daemon" ]; then + if [ -x /usr/sbin/invoke-rc.d ] ; then + invoke-rc.d sl-modem-daemon stop || true + else + /etc/init.d/sl-modem-daemon stop || true + fi +fi +#DEBHELPER# --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-daemon.README.Debian +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-daemon.README.Debian @@ -0,0 +1,37 @@ +sl-modem-daemon for Debian +-------------------------- + +The driver daemon needs kernel modules to access the hardware. This can +be done either with the kernel driver provided by SmartLink or trough +ALSA in recent kernel versions. The SmartLink driver needs to be +compiled as additional module (which requires kernel headers for your +kernel version), but should work more stable and provide more features. + +By default, the init script is configured to detect the available driver +(see /etc/default/sl-modem-daemon) and run the daemon for the first +available modem(compatbile). If you wish to specify the device manually, +edit the config file. + +To use SmartLink modules, create the drivers package using the separate +sl-modem-source package (see its README.Debian for details). Usually, +you can simply run "m-a a-i sl-modem" if module-assistant is installed +on your system. + +When done, use "dpkg-reconfigure sl-modem-daemon -plow" to choose your +contry or edit the file /etc/defaults/sl-modem-daemon manually. + +To use ALSA modules, make sure that you have a recent kernel (>= 2.6.4) and +the intel8x0m module available. If the driver is not detected by the +init script, edit the file /etc/defaults/sl-modem-daemon script and set +the SLMODEMD_DEVICE to the ALSA conventional device name ('hw:0' or +'hw:1' for instance) + +Why is sl-modem-daemon in non-free? +----------------------------------- + +Because one part of the driver source is not available. Instead, a +precompiled binary object is provided (probably to protect the +Intellectual Property of the vendor). If you don't like it, feel free to +buy a conventional external modem. + + -- Eduard Bloch -- Fri, 21 May 2004 13:47:06 +0200 --- sl-modem-2.9.10+2.9.9d.orig/debian/cmd.patch +++ sl-modem-2.9.10+2.9.9d/debian/cmd.patch @@ -0,0 +1,44 @@ +Index: slmodem/modem/modem_cmdline.c +=================================================================== +RCS file: /cvsroot/linsmart/mlite/slmodem/modem/modem_cmdline.c,v +retrieving revision 1.15 +diff -u -b -B -r1.15 modem_cmdline.c +--- slmodem/modem/modem_cmdline.c 1 Jun 2004 15:21:55 -0000 1.15 ++++ slmodem/modem/modem_cmdline.c 13 Jul 2004 15:22:48 -0000 +@@ -66,7 +66,8 @@ + extern unsigned int modem_debug_logging; + + /* config parameters */ +-const char *modem_dev_name = "/dev/slamr0"; ++const char *modem_dev_name = NULL; ++const char *modem_default_dev_name = "/dev/slamr0"; + const char *modem_alsa_dev_name = "hw:1"; + unsigned int need_realtime = 1; + unsigned int use_alsa = 0; +@@ -119,7 +120,7 @@ + struct opt *opt; + PR_INFO("Usage: %s [option...] \n" + "Where 'device' is name of modem device (default `%s')\n" +- " and 'option' may be:\n", prog_name, modem_dev_name); ++ " and 'option' may be:\n", prog_name, modem_default_dev_name); + for (opt = opt_list ; opt->name ; opt++ ) { + int n = 0; + if(opt->ch) +@@ -237,7 +238,6 @@ + PR_INFO("ALSA support is not compiled in (see README for howto).\n"); + exit(1); + #endif +- modem_dev_name = modem_alsa_dev_name; + use_alsa = 1; + } + if(opt_list[OPT_GROUP].found) +@@ -261,6 +261,9 @@ + if(opt_list[OPT_LOG].arg_val && + (val= strtol(opt_list[OPT_LOG].arg_val,NULL,0)) > 0 ) + modem_debug_logging = val; ++ } ++ if(!modem_dev_name) { ++ modem_dev_name = use_alsa ? modem_alsa_dev_name : modem_default_dev_name; + } + } + --- sl-modem-2.9.10+2.9.9d.orig/debian/copyright +++ sl-modem-2.9.10+2.9.9d/debian/copyright @@ -0,0 +1,50 @@ +This package was debianized by Eduard Bloch on +Sun, 16 Mar 2003 16:37:46 +0100. + +It was downloaded from +http://linmodems.technion.ac.il/packages/smartlink/ or +http://www.smlink.com/main/down/ . + +Upstream Authors: + +Smart Link Ltd. + + - Sasha Khapyorsky (sashak@smlink.com) + - Seva (seva@smlink.com) + - Alex Raer + +Copyright: + +/* + * + * Copyright (c) 2002, Smart Link Ltd. + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials provided + * with the distribution. + * 3. Neither the name of the Smart Link Ltd. nor the names of its + * contributors may be used to endorse or promote products derived + * from this software without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS + * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT + * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR + * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT + * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT + * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, + * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY + * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + */ + --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-daemon.default +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-daemon.default @@ -0,0 +1,46 @@ +# NOTE: settings in /etc/defautls/slmodemd are used too + +# set this to 1 to never run the daemon from the init script +# you can set it if you have an USB device, than the init script won't +# be started at boot (but when the USB device is plugged on) +DONTSTART=0 + +# This is the default configuration for the slmodem driver daemon +# running on Debian systems. +# +# Edit device node and country code here ... +# +# possible country codes are: +# +# USA +# GERMANY +# BELGIUM +# etc. +# +# use 'slmodemd --countrylist' to check out other countries +# +# +#SLMODEMD_DEVICE=slamr0 +#SLMODEMD_COUNTRY=GERMANY + +SLMODEMD_DEVICE=auto +SLMODEMD_COUNTRY=USA + +# +# Additional options for slmodemd, see "slmodemd -h" output for details. +# Do NOT set country or device name here! + +OPTS="" + +# force the start of the daemon even if old type modules seem to be +# installed (set it to 1) + +FORCESTART=0 + +# set this to not see any hints of the init script on startup + +# BEQUIET=1 + +# set this to not create the /dev/modem symlink + +# NOSYMLINK=1 --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-daemon.dirs +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-daemon.dirs @@ -0,0 +1,3 @@ +usr/sbin +etc/modutils +etc/modprobe.d --- sl-modem-2.9.10+2.9.9d.orig/debian/changelog +++ sl-modem-2.9.10+2.9.9d/debian/changelog @@ -0,0 +1,282 @@ +sl-modem (2.9.10+2.9.9d-6ubuntu1) breezy; urgency=low + + * The "I don't wanna talk about it" release + + This upload actually corresponds to Debian's 2.9.9d-6, resolving + the redistributability issue. Thanks to Matthew Garrett for + pointing out my stupidity. + + -- Daniel T Chen Thu, 22 Sep 2005 00:19:49 -0700 + +sl-modem (2.9.9d-6) unstable; urgency=low + + * applied gcc-4.0 fixes from Sasha Khapyorsky, dropped gcc-3.4 workarounds + + -- Eduard Bloch Mon, 15 Aug 2005 17:11:40 +0200 + +sl-modem (2.9.9d-5) unstable; urgency=low + + * workaround in drivers/Makefile for a kernel 2.4 check accidentialy + matching 2.6.12.4 (closes: #322223) + + -- Eduard Bloch Sat, 6 Aug 2005 20:38:12 +0200 + +sl-modem (2.9.9d-4) unstable; urgency=low + + * the "Lesson I: never trust ALSA's procfs entries" release + * no longer relies on /proc/asound/[Mm]odem link, instead parses + /proc/asound/cards + * rewrote parts of the init script to put all recent extensions into a + proper control flow + * fixed a bashism in debian/sl-modem-daemon.postinst + + -- Eduard Bloch Sat, 6 Aug 2005 17:01:07 +0200 + +sl-modem (2.9.9d-3) unstable; urgency=medium + + * extended modprobe calls in the init script to try non-Intel drivers for + mainboard chipsets (closes: #320620) + * fixed a bashism in the init script + * removed the hard kernel-image-* dependency from the modules contol + file (closes: #321570) + + -- Eduard Bloch Sat, 06 Aug 2005 15:23:13 +0200 + +sl-modem (2.9.9d-2) unstable; urgency=low + + * changed the ALSA device name from hw: to modem: because weird device + driver using additional filters applied only then (closes: #320190). + In addition, set the build dependency on a recent libasound2 version to + enforce the upgrade. + + -- Eduard Bloch Thu, 28 Jul 2005 12:15:58 +0200 + +sl-modem (2.9.9d-1) unstable; urgency=low + + * New upstream release + + moves the device major numbers to the 24x range (closes: #264359) + * replaced the mkdev hacks in init script etc. with only one in the postinst + of modules that also fixes the major numbers of the device files. Also + make sure they don't make the script fail on insane /dev filesystems + (udev, closes: #297666) + * init script patch from Stephen Gildea to + improve the start/stop behaviour and ALSA detection (closes: #312884) + * removed the dependency on recent modules or kernel. There are too many + ways to make the daemon work and a modern kernel (2.6.12) provides enough + support to make it work without special cludges using the packaging + system (closes: #319604) + * added bzip2 to dependencies (closes: #312152) + * Japanese translation by Hideki Yamane (closes: #281074) + * defaulting to gcc-3.3 for the daemon unless someone fixes the few errors + * various lintian fixes, removing the init script in postrm now (arrrg) + + -- Eduard Bloch Thu, 28 Jul 2005 09:50:21 +0200 + +sl-modem (2.9.9a-1) unstable; urgency=medium + + * New upstream release (linmodems fork with patches for kernel 2.6.10, + closes: #288362) + * modules postinst script now sleeps one second after stoppind the daemon + (to give the driver time to shutdown sth. or so, closes: #258821) + + -- Eduard Bloch Wed, 2 Feb 2005 20:44:59 +0100 + +sl-modem (2.9.9-2) unstable; urgency=medium + + * Fix override disparity + * TODO! fixen restart teilchen da + + -- Eduard Bloch Mon, 6 Sep 2004 18:18:39 +0200 + +sl-modem (2.9.9-1) unstable; urgency=medium + + * New upstream release + + sysfs support (closes: #240710) + + may solve Bug#260474 + * Upstream patch to fix get the ALSA device name correctly (closes: #268952) + + -- Eduard Bloch Mon, 06 Sep 2004 18:17:31 +0200 + +sl-modem (2.9.8-2) unstable; urgency=high + + * Added cs.po from Miroslav Jezbera (closes: #260359) + * Changes by karlheg@pdx.edu: + - Patch modem/modem.h to enlarge dial string buffer to 128 bytes. Some + dial strings that include calling card numbers can be longer than the + previously allowed 32 characters, causing them to be truncated. + - Add libasound2-dev to Build-Depends in debian/control + + -- Eduard Bloch Mon, 23 Aug 2004 11:38:13 +0200 + +sl-modem (2.9.8-1) unstable; urgency=low + + * New upstream release (closes: #255714) + * postinst hook to reload modules, a phantom modprobe freeze appeared + otherwise + + -- Eduard Bloch Mon, 28 Jun 2004 23:41:55 +0200 + +sl-modem (2.9.7-2) unstable; urgency=low + + * source package depends on debhelper (closes: #251608) + * loads the ALSA module with the correct name (closes: #252623) + * fallback to the command "modprobe" if the module auto-loading is disabled + in the kernel + * more explite package descriptions, explaining the relationship between + the daemon and low-level drivers + + -- Eduard Bloch Fri, 21 May 2004 15:39:13 +0200 + +sl-modem (2.9.7-1) unstable; urgency=low + + * New upstream release (closes: #249810) + * modified the init script to be more smart on autodetection. The existance + of the ALSA driver is checked not only by looking at modules now + (closes: #246950) + * added dependency on kernel-image-2.6 in the hope that people will install + a recent kernel (since versioned Provides: are not possible) as + alternative to the source package or installed modules (closes: #247476) + + -- Eduard Bloch Fri, 21 May 2004 13:38:10 +0200 + +sl-modem (2.9.6-5) unstable; urgency=medium + + * moved sl-modem-source back to non-free (overlooked one object file, sorry) + * changed the /dev/modem device symlink to /dev/ttySL0 in the init script + (closes: #243614) + * ALSA support, enabled with : in SLMODEMD_DEVICE (closes: #240305) + * README.Debian improvements: ALSA mode documentation, explicit note why + sl-modem is non-free (closes: Bug#242241) + * (fixed in -4): using , as RegExp delimiter when setting the country + value (closes: #241210) + * first experimental hotplug agent for one USB modem + + -- Eduard Bloch Wed, 14 Apr 2004 10:23:41 +0200 + +sl-modem (2.9.6-4) unstable; urgency=medium + + * the driver source contents were not included in the previos version + because of wrong tar options + * Danish template translation by Morten Brix Pedersen + (closes: #241040) + * added [ ] in the modules postinst (this is not Perl ;-) + + -- Eduard Bloch Mon, 29 Mar 2004 01:10:06 +0200 + +sl-modem (2.9.6-3) unstable; urgency=low + + * relaxed read permissions in the tarball + * restarting sl-modem-daemon after modules installation + * extra check for beeing not reconfigured in the config script to not + overwrite the selection on initial installation (closes: #239692) + * french debconf translation by Jean-Luc Coulon (closes: #238745) + + -- Eduard Bloch Sun, 29 Feb 2004 21:03:54 +0100 + +sl-modem (2.9.6-2) unstable; urgency=low + + * finally droped the old 2.7.10 source, removed all crappy workarounds + * debconf integration to select the country + * changed the virtual dependency to make sure that people get the new source + on upgrade and do not keep old driver versions installed + * corrected the /dev/ path of SLMODEMD_DEVICE + * set the default device group to "dialout" (Closes: #235455) + * fixed typos in the init script (Closes: #235454) + * moved section to "non-free/net" (it is a modem driver, after all), and + "contrib/net" for modules (-source) packages (the kernel part is free + software) + + -- Eduard Bloch Sat, 28 Feb 2004 13:16:31 +0100 + +sl-modem (2.9.6-1) unstable; urgency=low + + * New upstream release (closes: #234010 and clarifies issues brought up by + license nit-pickers) + * Installs the .ko files on linux 2.6.x (closes: #231204) + * Hiding unhelpfull error messages - if they appear, the command was + deliberate (closes: #232102) + * corrected README.Debian to mention .bz2 instead of .gz (closes: #233231) + * better README.Debian for the -daemon package (closes: #233242) + * finaly merged upstream suggested init script with my old version, now + including /etc/defaults/slmodemd along with /etc/defaults/sl-modem-daemon + (closes: #230200, #233244) + + -- Eduard Bloch Sat, 28 Feb 2004 10:12:17 +0100 + +sl-modem (2.9.5-1) unstable; urgency=low + + * New upstream release + * Providing "slmodem" from the source package. Not the perfect solution but + a working one, helping users that look for wrong keywords (closes: #228416) + * debian/rules and Makefile cleanup to not loose the user-specified kernel + version string and blindly try include modversions.h (solves #228841 as-is + but shows the missing support for kernel 2.6.0 in the old driver branch) + + -- Eduard Bloch Wed, 21 Jan 2004 14:26:01 +0100 + +sl-modem (2.9.4-1) unstable; urgency=low + + * New upstream release + * Fixed installation order and paths, thanks to Dorneles Treméa + ; also review and fixes of the county.dat + installation hook and the module postinst hook, separating for different + driver branches (closes: #218619, #218005) + * Help request: I do not have hardware to test the drivers from the new + branch. Your chance to become comaintainer if you have hardware supported + by the new driver branch. + * init script improvements, proper default file + + -- Eduard Bloch Fri, 9 Jan 2004 14:26:02 +0100 + +sl-modem (2.9.1-1) unstable; urgency=low + + * new upstream release + * new package: sl-modem-daemon + * 2.7.10 version included in the Debian diff + + -- Eduard Bloch Sat, 4 Oct 2003 18:43:00 +0200 + +sl-modem (2.7.14+2.7.10-4) unstable; urgency=low + + * adaptation to module-assistant + * purged useless objects from 2.7.10 source + + -- Eduard Bloch Sun, 7 Sep 2003 03:47:18 +0200 + +sl-modem (2.7.14+2.7.10-3) unstable; urgency=low + + * Doing extra clean in 2.7.10 before using it; otherwise, it won't be + cleaned later + + -- Eduard Bloch Sat, 6 Sep 2003 16:01:09 +0200 + +sl-modem (2.7.14+2.7.10-2) unstable; urgency=low + + * binary/rules wrapper was a very bad idea; replaced it with the script + symlinks the best source files into the build directory + * sorted source files in the correct directories + + -- Eduard Bloch Sat, 6 Sep 2003 02:54:30 +0200 + +sl-modem (2.7.14+2.7.10-1) unstable; urgency=low + + * Merged version 2.7.10 into the package and implemented the selection of + the right source using the PCI Id table from linmodems.org people + (Closes: #197693) + + -- Eduard Bloch Sun, 31 Aug 2003 23:13:37 +0200 + +sl-modem (2.7.14-1) unstable; urgency=low + + * New upstream release + * Variable target path for generated packages, closes: #192449 + + -- Eduard Bloch Mon, 9 Jun 2003 14:04:57 +0200 + +sl-modem (2.7.10-1) unstable; urgency=low + + * Initial Release, closes: #185032 + * Workaround with on-the-fly device node creation to work with devfs since + the main object is closed-source and compiled without devfs support + + -- Eduard Bloch Sun, 21 Mar 2003 14:37:46 +0100 + --- sl-modem-2.9.10+2.9.9d.orig/debian/control +++ sl-modem-2.9.10+2.9.9d/debian/control @@ -0,0 +1,40 @@ +Source: sl-modem +Section: non-free/misc +Priority: optional +Maintainer: Eduard Bloch +Build-Depends: debhelper (>=4), bzip2, libasound2-dev (>> 1.0.6) +Standards-Version: 3.6.2.1 + +Package: sl-modem-source +Architecture: i386 +Depends: module-assistant, debhelper, bzip2 +Recommends: kernel-package +Description: SmartLink software modem driver - module building source + This package contains source code for the low-level drivers for the + software modems produced by Smart Link Ltd. It supports PCI and USB models. + . + In addition to this package, you will need the package sl-modem-daemon + which implements the application part of the driver. + . + Module packages can be built for the custom kernel package either by hand or + using the module-assistant tool. + +Package: sl-modem-daemon +Architecture: i386 +Depends: ${shlibs:Depends}, debconf +Provides: slmodem +Conflicts: sl-modem-modules +Description: SmartLink software modem daemon + The SmartLink modem daemon is the application part of the + driver for recent modems produced by Smart Link Ltd. + . + This package replaces (along with hardware access drivers) the old + driver generation (2.7.x) which consisted of kernel modules only. + . + It needs a kernel driver to access the hardware. This can be either + recent ALSA (shipped with a newer kernel (>=2.6.4) with Alsa support + and intel8x0m module) which is sufficient for basic operation and + data/Internet connection, or the SmartLink kernel driver which is + provided by separate packages which you can build using the source from + the sl-modem-source package. + --- sl-modem-2.9.10+2.9.9d.orig/debian/control.backup +++ sl-modem-2.9.10+2.9.9d/debian/control.backup @@ -0,0 +1,13 @@ +Source: sl-modem +Section: misc +Priority: optional +Maintainer: Eduard Bloch +Standards-Version: 3.5.8 + +Package: sl-modem-source +Architecture: all +Depends: make +Description: Smart Link Soft Modem - driver building source + This package provides the source code for the sl-modem kernel modules. + The sl-modem package is also required in order to make use of these + modules. Kernel source is required to compile these modules. --- sl-modem-2.9.10+2.9.9d.orig/debian/setcountries.pl +++ sl-modem-2.9.10+2.9.9d/debian/setcountries.pl @@ -0,0 +1,13 @@ +#!/usr/bin/perl + +chomp( $list=`modem/slmodemd --countrylist 2>&1`); +$list =~s/\w+: //g; +$list =~s/\n/, /g; +open(t, "+<".$ARGV[0]); +@cont=; +seek(t,0,0); +for(@cont) { + $_=~s/_list_/$list/; + print t $_; +} +close(t); --- sl-modem-2.9.10+2.9.9d.orig/debian/compat +++ sl-modem-2.9.10+2.9.9d/debian/compat @@ -0,0 +1 @@ +4 --- sl-modem-2.9.10+2.9.9d.orig/debian/rules +++ sl-modem-2.9.10+2.9.9d/debian/rules @@ -0,0 +1,137 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 by Joey Hess. +# +# This version is for a hypothetical package that can build a kernel modules +# architecture-dependant package via make-kpkg, as well as an +# architecture-independent module source package, and other packages +# either dep/indep for things like common files or userspace components +# needed for the kernel modules. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +export KVERS + +k = $(shell echo $(KVERS) | grep -q ^2.6 && echo k) + +build-indep: +build-arch: build-arch-stamp +build-arch-stamp: + dh_testdir + cd modem ; $(MAKE) SUPPORT_ALSA=1 + touch build-arch-stamp + +build: build-arch +configure: + +clean: + dh_testdir + dh_testroot + rm -f build-arch-stamp build-indep-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean SUPPORT_ALSA=1 + -cd modem; $(MAKE) clean SUPPORT_ALSA=1 + dh_clean + +install: DH_OPTIONS= +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Create the directories to install the source into +# dh_installdirs -psl-modem-source usr/src/modules/sl-modem/latest usr/src/modules/sl-modem/debian +# dh_installdirs -psl-modem-daemon + + # Copy only the driver source to the proper location + tar -c --exclude ".svn" modem/*.h drivers patches | tar x -C debian/sl-modem-source/usr/src/modules/sl-modem/ + # Copy the needed debian/ pieces to the proper location + cd debian ; cp control compat *_KVERS_* *.modules.in rules changelog copyright sl-modem-source/usr/src/modules/sl-modem/debian + chmod -R a+r debian/sl-modem-source/ + cd debian/sl-modem-source/usr/src && tar c modules | bzip2 -9 > sl-modem.tar.bz2 && rm -rf modules + cp modem/slmodemd debian/sl-modem-daemon/usr/sbin/ + cp debian/sl-modem-daemon.modutils debian/sl-modem-daemon/etc/modutils + cp debian/sl-modem-daemon.modutils debian/sl-modem-daemon/etc/modprobe.d + dh_installdocs -psl-modem-source debian/README.Debian README + dh_installdocs -psl-modem-daemon + dh_install + +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installchangelogs -a Changes + dh_installdirs -psl-modem-daemon /etc/hotplug/usb + install -m 755 debian/hotplug debian/sl-modem-daemon/etc/hotplug/usb/slusb + dh_installdocs -a + dh_installexamples -a +# dh_install -a +# dh_installmenu -a + dh_installdebconf -a + perl debian/setcountries.pl debian/sl-modem-daemon/DEBIAN/templates +# dh_installlogrotate -a +# dh_installemacsen -a +# dh_installpam -a +# dh_installmime -a + dh_installinit -a -n +# dh_installcron -a +# dh_installinfo -a + dh_installman -a + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a +# dh_python -a +# dh_makeshlibs -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-arch binary-indep + + +# prefix of the target package name +PACKAGE=sl-modem-modules +# modifieable for experiments or debugging m-a +MA_DIR ?= /usr/share/modass +# load generic variable handling +-include $(MA_DIR)/include/generic.make +# load default rules +-include $(MA_DIR)/include/common-rules.make + +binary-modules: + dh_clean -k + dh_installdirs lib/modules/$(KVERS)/misc usr/lib/sl-modem + if ! test -e drivers/Makefile ; then echo "Please update the package, extract the tarball!"; exit 1 ; fi + $(MAKE) -C drivers KERNEL_DIR=$(KSRC) KVERS=$(KVERS) + cp drivers/slusb.$ko drivers/slamr.$ko debian/$(PKGNAME)/lib/modules/$(KVERS)/misc + dh_installdocs + dh_installchangelogs + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol -- -v$(VERSION) + dh_md5sums + dh_builddeb --destdir=$(DEB_DESTDIR) + +kdist_clean: clean + $(MAKE) -C drivers clean + +kdist_config: prep-deb-files + +.PHONY: build clean binary-indep binary-arch binary install configure binary-modules kdist kdist_config kdist_image kdist_clean configure --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-daemon.templates +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-daemon.templates @@ -0,0 +1,6 @@ +Template: sl-modem-daemon/country +Type: select +_Choices: _list_ +Default: USA +_Description: In which country is your modem located? + Please select the telephone system used in your country. --- sl-modem-2.9.10+2.9.9d.orig/debian/po/da.po +++ sl-modem-2.9.10+2.9.9d/debian/po/da.po @@ -0,0 +1,42 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: sl-modem\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-28 12:11+0200\n" +"PO-Revision-Date: 2004-03-30 13:11+0200\n" +"Last-Translator: Morten Brix Pedersen \n" +"Language-Team: Danish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../sl-modem-daemon.templates:3 +msgid "_list_" +msgstr "_list_" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "In which country is your modem located?" +msgstr "I hvilket land er dette modem placeret?" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "Please select the telephone system used in your country." +msgstr "Vælg telefonsystemet brugt i dit land." --- sl-modem-2.9.10+2.9.9d.orig/debian/po/cs.po +++ sl-modem-2.9.10+2.9.9d/debian/po/cs.po @@ -0,0 +1,42 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: sl-modem\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-28 12:11+0200\n" +"PO-Revision-Date: 2004-07-19 21:18+0200\n" +"Last-Translator: Miroslav Jezbera \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-2\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../sl-modem-daemon.templates:3 +msgid "_list_" +msgstr "_list_" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "In which country is your modem located?" +msgstr "Ve které zemi je tento modem pou¾íván?" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "Please select the telephone system used in your country." +msgstr "Vyberte prosím telefonní systém pou¾ívaný ve va¹í zemi." --- sl-modem-2.9.10+2.9.9d.orig/debian/po/ja.po +++ sl-modem-2.9.10+2.9.9d/debian/po/ja.po @@ -0,0 +1,43 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +# +msgid "" +msgstr "" +"Project-Id-Version: sl-modem 2.9.9-1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-28 12:11+0200\n" +"PO-Revision-Date: 2004-11-06 03:12+0900\n" +"Last-Translator: Hideki Yamane \n" +"Language-Team: Japanese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=EUC-JP\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../sl-modem-daemon.templates:3 +msgid "_list_" +msgstr "_list_" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "In which country is your modem located?" +msgstr "¥â¥Ç¥à¤¬ÇÛÃÖ¤µ¤ì¤Æ¤¤¤ë¤Î¤Ï¤É¤Î¹ñ¤Ç¤¹¤«?" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "Please select the telephone system used in your country." +msgstr "¤¢¤Ê¤¿¤Î¹ñ¤Ç»È¤ï¤ì¤Æ¤¤¤ëÄÌ¿®¥·¥¹¥Æ¥à¤òÁª¤Ó¤Þ¤¹¡£" --- sl-modem-2.9.10+2.9.9d.orig/debian/po/de.po +++ sl-modem-2.9.10+2.9.9d/debian/po/de.po @@ -0,0 +1,42 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-28 12:11+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Eduard Bloch \n" +"Language-Team: Debian L10N German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../sl-modem-daemon.templates:3 +msgid "_list_" +msgstr "_list_" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "In which country is your modem located?" +msgstr "In welchem Land befindet sich ihr Modem?" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "Please select the telephone system used in your country." +msgstr "Bitte wählen Sie das Telefon-System ihres Landes aus." --- sl-modem-2.9.10+2.9.9d.orig/debian/po/fr.po +++ sl-modem-2.9.10+2.9.9d/debian/po/fr.po @@ -0,0 +1,42 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: sl-modem 2.9.6\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-28 12:11+0200\n" +"PO-Revision-Date: 2004-03-15 17:03+0100\n" +"Last-Translator: Jean-Luc Coulon (f5ibh) \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../sl-modem-daemon.templates:3 +msgid "_list_" +msgstr "_list_" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "In which country is your modem located?" +msgstr "Pays où se trouve le modem :" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "Please select the telephone system used in your country." +msgstr "Veuillez choisir le système téléphonique en usage dans votre pays." --- sl-modem-2.9.10+2.9.9d.orig/debian/po/templates.pot +++ sl-modem-2.9.10+2.9.9d/debian/po/templates.pot @@ -0,0 +1,43 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-28 12:11+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: select +#. Choices +#: ../sl-modem-daemon.templates:3 +msgid "_list_" +msgstr "" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "In which country is your modem located?" +msgstr "" + +#. Type: select +#. Description +#: ../sl-modem-daemon.templates:5 +msgid "Please select the telephone system used in your country." +msgstr "" --- sl-modem-2.9.10+2.9.9d.orig/debian/po/POTFILES.in +++ sl-modem-2.9.10+2.9.9d/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] sl-modem-daemon.templates --- sl-modem-2.9.10+2.9.9d.orig/debian/sl-modem-daemon.config +++ sl-modem-2.9.10+2.9.9d/debian/sl-modem-daemon.config @@ -0,0 +1,14 @@ +#!/bin/sh -e + +. /usr/share/debconf/confmodule + +test -r /etc/default/sl-modem-daemon && . /etc/default/sl-modem-daemon + +if test -n "$SLMODEMD_COUNTRY" && test -n "$DEBCONF_RECONFIGURE"; then + #set the default if the old config file exists + db_set sl-modem-daemon/country "$SLMODEMD_COUNTRY" || true +fi + +db_input medium sl-modem-daemon/country || true +db_go + --- sl-modem-2.9.10+2.9.9d.orig/debian/README.Debian +++ sl-modem-2.9.10+2.9.9d/debian/README.Debian @@ -0,0 +1,54 @@ +sl-modem for Debian +------------------- + +Please see README for a description of the sl-modem software. + +The Debian sl-modem source package provides the package sl-modem-source, which +provides the source for the kernel modules + +To get the final modules from sl-modem-source, follow these instructions: + +a) First, update the local source directory. If you use + module-assistant, running "m-a clean sl-modem" should be enough. + Otherwise, change to /usr/src and extract the driver source executing: + + tar jxvf sl-modem.tar.bz2 + +b) Next, build and install the driver using one of the following ways: + + - For already compiled kernel (eg. the currently running) with the + module-assistant tool: + + module-assistant auto-install sl-modem-source + + - Using the make-kpkg(1) command provided by the kernel-package Debian + package. This will produce a corresponding sl-modem-modules package for + the Debian kernel-image package that you are using. This is "the Debian + way". See the "modules_image" section of the make-kpkg(1) man page. When + done, you can install the resulting sl-modem-x.y.z*.deb with dpkg. + + - Doing make-kpkg's job by hand, changing to /usr/src/modules/sl-modem and + executing: + + debian/rules kdist KVERS=`uname -r` KSRC=/usr/src/kernel-headers-`uname -r` + + This assumes that you are building a modules package for the currently + running kernel (uname -r) and the associated kernel-headers package is + installed (eg. kernel-headers-2.4.20-bf2.4). + + - Changing to the /usr/src/modules/sl-modem/ directory and building as + the README file instructs using "make; make install". This will build + and install a module specific to the system you are building on and is + not under control of the packaging system. + +Why is sl-modem-source in non-free? +----------------------------------- + +Because one part of the driver source is not available. Instead, a +precompiled binary object is provided (probably to protect the +Intellectual Property of the vendor). If you don't like it, feel free to +use the ALSA driver which is based on the publicly available +specification. Though, some features are not supported there (no +ability to detect ring, speaker does not work, etc.). + + -- Eduard Bloch Wed, 14 Apr 2004 11:23:41 +0200