debian/0000755000000000000000000000000012151215222007157 5ustar debian/rules0000755000000000000000000000211712151215222010240 0ustar #!/usr/bin/make -f export KVERS CVERSION := $(shell dpkg-parsechangelog | grep '^Version:' | cut -d' ' -f2 | cut -d- -f1) %: dh $@ --with dkms override_dh_auto_build: ifeq (i386,$(shell dpkg-architecture -qDEB_BUILD_ARCH)) $(MAKE) SUPPORT_ALSA=1 # Mark slmodemd as not requiring executable stack (LP: #537650) PATH=/usr/sbin:/sbin:$$PATH execstack -c modem/slmodemd # Make 15sl-modem-daemon executable before install: chmod +x debian/15sl-modem-daemon endif override_dh_auto_install: mkdir -p debian/sl-modem-dkms/usr/src/sl-modem-$(CVERSION) # Copy only the driver source to the proper location tar -c --exclude ".svn" modem/modem_defs.h drivers patches ungrab-winmodem | tar x -C debian/sl-modem-dkms/usr/src/sl-modem-$(CVERSION) chmod -R a+r debian/sl-modem-dkms/ override_dh_installchangelogs: dh_installchangelogs Changes override_dh_installdebconf: dh_installdebconf perl debian/setcountries.pl debian/sl-modem-daemon/DEBIAN/templates override_dh_installinit: dh_installinit -n override_dh_installmodules: dh_installmodules --name=sl-modem override_dh_dkms: dh_dkms -V debian/sl-modem-daemon.default0000644000000000000000000000177512151215222013515 0ustar # 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 debian/setcountries.pl0000644000000000000000000000033312151215222012242 0ustar #!/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); debian/source_sl-modem.py0000644000000000000000000000462412151215222012634 0ustar def add_info(report, ui): tags = [] WvDialConf = None Dialup = ui.yesno("Is there a problem with dialup ?") Fax = ui.yesno("Is there a problem with fax ?") if Fax == True: tags.append("fax") SLModemdDevice = command_output(['[ ! -r /etc/default/sl-modem-daemon ] || (. /etc/default/sl-modem-daemon ; echo $SLMODEMD_DEVICE)']) SLModemdOpts = command_output(['[ ! -r /etc/default/sl-modem-daemon ] || (. /etc/default/sl-modem-daemon ; echo $OPTS)']) if (':' in SLModemdDevice) or ('alsa' in SLModemdOpts): ui.information("sl-modem is configured for ALSA mode, yet fax does not work with ALSA mode") # If there isn't a problem with dialup, then abort the bug report: if Dialup != True: raise StopIteration lsmod_out = command_output(['lsmod']) if not 'slusb' in lsmod_out and not 'slamr' in lsmod_out and SLModemdDevice == 'auto': ui.information("SLMODEM_DEVICE is set to auto, and neither slamr nor slusb is loaded, please explicitly set SLMODEM_DEVICE to slamr ( or slusb if you are using a USB modem), and try again before continuing with this bug report.") if Dialup == True: tags.append("dialup") response = ui.yesno("It is recommended to test with wvdial before continuing with this bug report. Did you try dialup using wvdial utility ?") if response == True: WvDialConf = ui.file("Please enter the path to wvdial configuration file, by default it is /etc/wvdial.conf, note that this file will be included in the bug report after removing Username and Password fields") if WvDialConf == None: #user cancelled if os.path.isfile('/etc/wvdial.conf'): WvDialConf = '/etc/wvdial.conf' report.setdefault('Tags', '') report['Tags'] += ' ' + ' '.join(tags) attach_conffiles(report, 'sl-modem-daemon') attach_alsa(report) attach_related_packages(report, [ "sl-modem-dkms" ]) report['Lsmod'] = command_output(['lsmod']) attach_file_if_exists(report, "/var/log/slmodemd/slmodem.log") report['Lspci'] = command_output(['lspci','-vvnn']) report['Lsusb'] = command_output(['lsusb']) attach_file(report, '/proc/version_signature', 'ProcVersionSignature') report['DevNodes'] = command_output(['sh', '-c', 'ls -l /dev/ttySL* /dev/pts/* /dev/slamr* /dev/slusb*']) if Dialup == True and WvDialConf != None: report['WvDialConf'] = command_output(['sed', '-e', '/^\s*\(Password\|Username\)/ d', WvDialConf]) debian/NEWS0000644000000000000000000000104612151215222007657 0ustar sl-modem (2.9.11~20090222-1) unstable; urgency=low Starting with this version, module-assistant support has been removed. Building of slamr and slusb modules can either be done automatically using DKMS, or done manually. Also slamr and slusb devices nodes are not created during package install. They are created automatically when the respective module is loaded. Yet this works only for one modem on the machine. -- أحمد المحمودي (Ahmed El-Mahmoudy) Sun, 19 Jul 2009 17:25:48 +0300 debian/sl-modem-source.lintian-overrides0000644000000000000000000000023312151215222015550 0ustar # sl-modem-source's prerm script is a dummy empty script to fix upgrade # failures from squeeze see #707821 sl-modem-source: maintainer-script-empty prerm debian/sl-modem-daemon.config0000644000000000000000000000055612151215222013332 0ustar #!/bin/sh set -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 debian/sl-modem-dkms.dkms0000644000000000000000000000152412151215222012512 0ustar PACKAGE_NAME="sl-modem" PACKAGE_VERSION="#MODULE_VERSION#" CLEAN="make -C drivers clean; make -C ungrab-winmodem clean" BUILT_MODULE_NAME[0]="slusb" BUILT_MODULE_LOCATION[0]="drivers" MAKE[0]="cd ${dkms_tree}/sl-modem/#MODULE_VERSION#/build; make -C drivers USB=1 KERNEL_DIR=$kernel_source_dir KERNEL_VER=$kernelver; make -C ungrab-winmodem KERNEL_DIR=$kernel_source_dir KERNEL_VER=$kernelver; cd .." DEST_MODULE_LOCATION[0]="/kernel/drivers/misc" BUILT_MODULE_NAME[1]="ungrab-winmodem" BUILT_MODULE_LOCATION[1]="ungrab-winmodem" #MAKE[1]="make -C ungrab-winmodem KERNEL_DIR=$kernel_source_dir KVERS=$kernelver" DEST_MODULE_LOCATION[1]="/kernel/drivers/misc" if grep -q ^CONFIG_X86_32=y $kernel_source_dir/.config; then BUILT_MODULE_NAME[2]="slamr" BUILT_MODULE_LOCATION[2]="drivers" DEST_MODULE_LOCATION[2]="/kernel/drivers/misc" fi AUTOINSTALL="yes" debian/sl-modem-source.prerm0000644000000000000000000000015512151215222013242 0ustar #!/bin/sh set -e # dummy empty prerm script to fix upgrade failures from squeeze # see #707821 #DEBHELPER# debian/15sl-modem-daemon0000644000000000000000000000047412151215222012233 0ustar #!/bin/bash # Based on patches submitted by: Julien Valroff # & "Tim Dijkstra \(tdykstra\)" . /usr/lib/pm-utils/functions case "$1" in thaw|resume) invoke-rc.d sl-modem-daemon start ;; hibernate|suspend) invoke-rc.d sl-modem-daemon stop ;; *) ;; esac exit $? debian/sl-modem-daemon.manpages0000644000000000000000000000002212151215222013644 0ustar debian/slmodemd.8 debian/patches/0000755000000000000000000000000012151215222010606 5ustar debian/patches/remove__devinitdata.diff0000644000000000000000000000106612151215222015453 0ustar Description: Remove __devinitdata, as it is no longer needed, and it causes build failures on 3.8.x kernels Author: Marvin Stodolsky --- a/drivers/amrmo_init.c +++ b/drivers/amrmo_init.c @@ -247,7 +247,7 @@ }; -static struct pci_device_id amrmo_pci_tbl [] __devinitdata = { +static struct pci_device_id amrmo_pci_tbl [] = { {PCI_VENDOR_ID_SILICON, PCI_DEVICE_ID_SL1900, /* SiliconInstr SL1543:3052 */ PCI_ANY_ID, PCI_ANY_ID, 0, 0, SL1543_CARD}, {PCI_VENDOR_ID_MOTOROLA, PCI_DEVICE_ID_SL1900, /* Motorola 1057:3052 */ debian/patches/support_linux3.diff0000644000000000000000000000126412151215222014461 0ustar Description: Support for linux 3.x series in build system Author: أحمد المحمودي (Ahmed El-Mahmoudy) Bug-Debian: http://bugs.debian.org/641151 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -82,7 +82,7 @@ $(RM) ${DESTDIR}/dev/slusb$(minor) ; ) echo -n else -ifeq ($(shell grep 'UTS.*"2\.6' $(KERNEL_DIR)/include/generated/utsrelease.h $(KERNEL_DIR)/include/linux/utsrelease.h $(KERNEL_DIR)/include/linux/version.h 2>/dev/null),) +ifeq ($(shell grep 'UTS.*"\(2\.6\|3\)' $(KERNEL_DIR)/include/generated/utsrelease.h $(KERNEL_DIR)/include/linux/utsrelease.h $(KERNEL_DIR)/include/linux/version.h 2>/dev/null),) slusb-objs:= old_st7554.o obj:=. debian/patches/debug_level.diff0000644000000000000000000000116612151215222013721 0ustar Debug log file is not for end users. Users shall use -l . By: Eduard Bloch --- sl-modem-2.9.9d+e-pre2.orig/modem/modem_debug.c 2008-09-17 10:43:09.000000000 +0200 +++ sl-modem-2.9.9d+e-pre2/modem/modem_debug.c 2008-09-17 10:18:39.000000000 +0200 @@ -57,9 +57,9 @@ #include #include -unsigned int modem_debug_level; -unsigned int modem_debug_logging; -unsigned int dsplibs_debug_level; +unsigned int modem_debug_level=0; +unsigned int modem_debug_logging=0; +unsigned int dsplibs_debug_level=0; static const char *modem_debug_logfile = "/var/log/slmodemd/slmodem.log"; debian/patches/10_drop_privileges.diff0000644000000000000000000000306512151215222015141 0ustar slmodemd privilege dropping patch. By: Ian Jackson, Ubuntu. Index: slmodem-2.9.11-20080817/modem/modem_main.c =================================================================== --- slmodem-2.9.11-20080817.orig/modem/modem_main.c 2008-09-18 08:19:43.000000000 +0200 +++ slmodem-2.9.11-20080817/modem/modem_main.c 2008-09-18 08:20:24.000000000 +0200 @@ -57,6 +57,7 @@ #include #include #include +#include #ifdef SUPPORT_ALSA #define ALSA_PCM_NEW_HW_PARAMS_API 1 @@ -76,6 +77,8 @@ #define DBG(fmt,args...) dprintf("main: " fmt, ##args) +#define SLMODEMD_USER "Slmodemd" + #define CLOSE_COUNT_MAX 100 @@ -936,6 +939,7 @@ struct modem *m; int pty; int ret = 0; + struct passwd *pwd; modem_debug_init(basename(dev_name)); @@ -984,6 +988,30 @@ signal(SIGINT, mark_termination); signal(SIGTERM, mark_termination); +#ifdef SLMODEMD_USER + pwd = getpwnam(SLMODEMD_USER); + if (!pwd) { + ERR("getpwnam " SLMODEMD_USER ": %s\n",strerror(errno)); + exit(-1); + } + + ret = (setgroups(1,&pwd->pw_gid) || + setgid(pwd->pw_gid) || + setuid(pwd->pw_uid)); + if (ret) { + ERR("setgroups or setgid %ld or setuid %ld failed: %s\n", + (long)pwd->pw_gid,(long)pwd->pw_uid,strerror(errno)); + exit(-1); + } + + if (setuid(0) != -1) { + ERR("setuid 0 succeeded after dropping privileges!\n"); + exit(-1); + } + DBG("dropped privileges to %ld.%ld\n", + (long)pwd->pw_gid,(long)pwd->pw_uid); +#endif + INFO("Use `%s' as modem device, Ctrl+C for termination.\n", *link_name ? link_name : m->pty_name); debian/patches/11_logfile.diff0000644000000000000000000000072412151215222013365 0ustar Place debug log in /var/log/slmodem.log. Credit to: Damien BRUCKER --- sl-modem-2.9.10+2.9.9d+e-pre2.orig/modem/modem_debug.c +++ sl-modem-2.9.10+2.9.9d+e-pre2/modem/modem_debug.c @@ -61,7 +61,7 @@ unsigned int modem_debug_logging; unsigned int dsplibs_debug_level; -static const char *modem_debug_logfile = "slmodem.log"; +static const char *modem_debug_logfile = "/var/log/slmodemd/slmodem.log"; static int modem_log_fd; debian/patches/modem_group.diff0000644000000000000000000000260012151215222013753 0ustar Set the default device group to "dialout". By: Eduard Bloch Index: slmodem-2.9.11-20080817/modem/modem_cmdline.c =================================================================== --- slmodem-2.9.11-20080817.orig/modem/modem_cmdline.c 2008-03-29 14:04:16.000000000 +0200 +++ slmodem-2.9.11-20080817/modem/modem_cmdline.c 2008-09-17 15:17:37.000000000 +0200 @@ -74,8 +74,8 @@ unsigned int ring_detector = 0; #endif unsigned int use_alsa = 0; +const char *modem_group = "dialout"; unsigned int use_short_buffer = 0; -const char *modem_group = "uucp"; mode_t modem_perm = 0660; @@ -113,14 +113,14 @@ {'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"}, #ifdef MODEM_CONFIG_RING_DETECTOR {'r',"ringdetector","with internal ring detector (software)"}, #endif {'n',"nortpriority","run with regular priority"}, {'s',"shortbuffer","use short buffer (4 periods length)"}, - {'d',"debug","debug level",OPTIONAL,INTEGER,"0"}, + {'d',"debug","debug level (developers only, for ./sl...)",OPTIONAL,INTEGER,"0"}, {'l',"log","logging mode",OPTIONAL,INTEGER,"5"}, {} }; debian/patches/device_create_changes.diff0000644000000000000000000000361612151215222015720 0ustar Description: Fix device_create call for linux kernel >= 2.6.27 * Also fixed device_create call for linux kernel >= 2.6.25 (two arguments were switched together !!!) * Used proper indentation to make things clear Author: أحمد المحمودي (Ahmed El-Mahmoudy) Bug-Debian: http://bugs.debian.org/651781 Forwarded: yes --- a/drivers/st7554.c +++ b/drivers/st7554.c @@ -219,19 +219,23 @@ #define CLASS_DEVICE_DESTROY(class, dev) class_simple_device_remove(dev) #define CLASS_CREATE(owner, name) class_simple_create(owner, name) static struct class_simple *st7554_class; -#else -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) -#define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest) device_create(class, dev, device, fmt, rest) +#else /* ! FOUND_CLASS_SIMPLE */ +# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) +# if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) +#define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest) device_create(class, device, dev, NULL, fmt, rest) +# else /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27) */ +#define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest) device_create(class, device, dev, fmt, rest) +# endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27) */ #define CLASS_DEVICE_DESTROY(class, dev) device_destroy(class, dev) -#else +# else /* LINUX_VERSION_CODE < KERNEL_VERSION(2,6,25) */ #include #define CLASS_DEVICE_CREATE(class, dev, device, fmt, rest) class_device_create(class, dev, device, fmt, rest) #define CLASS_DEVICE_DESTROY(class, dev) class_device_destroy(class, dev) -#endif +# endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) */ #define CLASS_DESTROY(class) class_destroy(class) #define CLASS_CREATE(owner, name) class_create(owner, name) static struct class *st7554_class; -#endif +#endif /* FOUND_CLASS_SIMPLE */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,37) static DECLARE_MUTEX(open_sem); debian/patches/use_CPPFLAGS.diff0000644000000000000000000000057512151215222013522 0ustar Description: Use CPPFLAGS for building slmodemd Author: أحمد المحمودي (Ahmed El-Mahmoudy) --- a/modem/Makefile +++ b/modem/Makefile @@ -62,7 +62,7 @@ # %.o: %.c .build_profile - $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -o $@ -c $< + $(CC) $(CFLAGS) $(CPPFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -o $@ -c $< dep: generic-dep generic-dep: debian/patches/support_multiarch.diff0000644000000000000000000000076012151215222015227 0ustar Description: Support multiarch include dirs libc6 moved arch dependent headers to multiarch include directory Author: أحمد المحمودي (Ahmed El-Mahmoudy) --- a/modem/Makefile +++ b/modem/Makefile @@ -24,7 +24,7 @@ RM:= rm -f -CFLAGS+= -Wall -g -O -I. -DCONFIG_DEBUG_MODEM +CFLAGS+= -Wall -g -O -I. -DCONFIG_DEBUG_MODEM -I/usr/include/$(shell dpkg-architecture -qDEB_BUILD_MULTIARCH) modem-objs:= \ modem.o modem_datafile.o modem_at.o modem_timer.o \ debian/patches/clean_LFLAGS.diff0000644000000000000000000000150712151215222013555 0ustar Description: Just set LFLAGS to -lasound, also rename it to LDFLAGS Forwarded: yes Author: أحمد المحمودي (Ahmed El-Mahmoudy) --- a/modem/Makefile +++ b/modem/Makefile @@ -41,19 +41,14 @@ ifdef SUPPORT_ALSA CFLAGS+= -DSUPPORT_ALSA=1 -ifeq ($(ARCH64), 0) -LFLAGS+= /usr/lib/libasound.so -else -# LFLAGS+= /usr/lib32/libasound.so , replaced by -l commands search for asound -LFLAGS+= -lasound -endif +LDFLAGS+= -lasound endif slmodemd: - $(CC) -o slmodemd modem_main.o $(all-objs) $(LFLAGS) + $(CC) -o slmodemd modem_main.o $(all-objs) $(LDFLAGS) modem_test: - $(CC) -o modem_test modem_test.o $(all-objs) $(LFLAGS) + $(CC) -o modem_test modem_test.o $(all-objs) $(LDFLAGS) clean: $(RM) slmodemd modem_test modem_main.o modem_cmdline.o modem_test.o $(modem-objs) $(dp-objs) $(sysdep-objs) debian/patches/autoload.diff0000644000000000000000000000160712151215222013254 0ustar Description: Export the right aliases for auto-load on open. Author: Scott James Remnant --- a/drivers/old_st7554.c +++ b/drivers/old_st7554.c @@ -1386,4 +1386,5 @@ MODULE_AUTHOR("Smart Link Ltd."); MODULE_DESCRIPTION("ST7554 USB Smart Link Soft Modem driver."); MODULE_LICENSE("Smart Link Ltd."); +MODULE_ALIAS_CHARDEV_MAJOR(MY_MAJOR); --- a/drivers/st7554.c +++ b/drivers/st7554.c @@ -1442,3 +1442,4 @@ MODULE_DESCRIPTION("ST7554 USB Smart Link Soft Modem driver."); //MODULE_LICENSE("Smart Link Ltd."); MODULE_LICENSE("Dual BSD/GPL"); +MODULE_ALIAS_CHARDEV_MAJOR(243); --- a/drivers/amrmo_init.c +++ b/drivers/amrmo_init.c @@ -741,6 +741,7 @@ MODULE_AUTHOR("Smart Link Ltd."); MODULE_DESCRIPTION("SmartLink HAMR5600,SmartPCI56/561 based modem driver"); MODULE_LICENSE("Smart Link Ltd."); +MODULE_ALIAS_CHARDEV_MAJOR(AMRMO_MAJOR); static int __init amrmo_init(void) debian/patches/08_ungrab_winmodem.diff0000644000000000000000000001335012151215222015126 0ustar Description: Helper module to tell the kernel to keep away from unsupported PCI id numbers. Origin: http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-20090716.tar.gz --- /dev/null +++ b/ungrab-winmodem/Readme.txt @@ -0,0 +1,42 @@ +--------------- + +Ungrab-Winmodem + +--------------- + +This loadable module was written by Sasha Khapyorsky - April 14, 2005 + +Purpose: +======= +Release slmodem devices which have been detected by Linux as if they were true +hardware modems and assigned by Linux to work with the standard serial driver. + +When is it helpful? +=================== +When you see something like: +here the "modprobe slamr debug=3" outout: +slamr: unsupported module, tainting kernel. +slamr: module license 'Smart Link Ltd.' taints kernel. +slamr: SmartLink AMRMO modem. +slamr: device 10b9:5457 is grabbed by driver serial + +or the same after two commands modprobe slamr + dmesg | grep slamr + +Installation: +============= + +You must be root or superuser + +make +make install + +Usage: +====== + +modprobe ungrab-winmodem + +The modprobe command MUST be given BEFORE loading slamr + +This text written by Jacques Goldberg +Questions: discuss@linmodems.org , Subject: ungrab-winmodem --- /dev/null +++ b/ungrab-winmodem/ungrab-winmodem.c @@ -0,0 +1,105 @@ +/* + * Copyright (c) 2005, linmodems.org + * + * 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. + * + * Sasha K (sashak@smlink.com) + * + * ungrab-winmodem.c - try to release softmodem device when grabbed by others. + * + + * 20070505: -Renamed Motorola device 5600 + * http://archives.linmodems.org/26589 + * Marvin Stodolsky (marvin.stodolsky@gmail.com) + * Alvaro Aguirre (alvaro.aguirre@gmail.com) + */ + + +#include +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) +#include +#endif +#include +#include +#include +#include + +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21) +#define pci_find_device pci_get_device +#endif + +#define PCI_DEVICE_ID_ALI5457 0x5457 +#define PCI_DEVICE_ID_ALI5459 0x5459 +#define PCI_DEVICE_ID_ALI545A 0x545A + +#define PCI_VENDOR_ID_SMARTLINK 0x2000 +#define PCI_VENDOR_ID_SMARTLINK_1 0x163c +#define PCI_VENDOR_ID_SMARTLINK_2 0x10a5 +#define PCI_VENDOR_ID_SMARTLINK_3 0x2003 +#define PCI_DEVICE_ID_SL2800 0x2800 +#define PCI_DEVICE_ID_SL1900 0x3052 +#define PCI_DEVICE_ID_ND92XPA 0x8800 /* ND92XPA */ +#define PCI_VENDOR_ID_MOTOROLA 0x1057 /* Motorola */ +#define PCI_VENDOR_ID_SLI1543 0x1543 /* Silicon Inst 1543:3052 sub 1543:3000 */ + + +static struct pci_device_id softmodem_pci_tbl [] = { + /* 1543:3052 */ + {PCI_VENDOR_ID_SLI1543, PCI_DEVICE_ID_SL1900, PCI_ANY_ID, PCI_ANY_ID }, + /* 1057:3052 */ + {PCI_VENDOR_ID_MOTOROLA, PCI_DEVICE_ID_SL1900, PCI_ANY_ID, PCI_ANY_ID }, + /* 163c:3052 */ + {PCI_VENDOR_ID_SMARTLINK_1, PCI_DEVICE_ID_SL1900, PCI_ANY_ID, PCI_ANY_ID }, + /* 10a5:3052 */ + {PCI_VENDOR_ID_SMARTLINK_2, PCI_DEVICE_ID_SL1900, PCI_ANY_ID, PCI_ANY_ID }, + /* 10b9:5459 */ + {PCI_VENDOR_ID_AL, PCI_DEVICE_ID_ALI5459, PCI_ANY_ID, PCI_ANY_ID }, + /* 10b9:5457 */ + {PCI_VENDOR_ID_AL, PCI_DEVICE_ID_ALI5457, PCI_ANY_ID, PCI_ANY_ID }, + /* 10b9:545a */ + {PCI_VENDOR_ID_AL, PCI_DEVICE_ID_ALI545A, PCI_ANY_ID, PCI_ANY_ID }, + /* 2000:2800 */ + {PCI_VENDOR_ID_SMARTLINK, PCI_DEVICE_ID_SL2800, PCI_ANY_ID, PCI_ANY_ID }, + /* 2003:8800 */ + {PCI_VENDOR_ID_SMARTLINK_3, PCI_DEVICE_ID_ND92XPA, PCI_ANY_ID, PCI_ANY_ID }, + /* pctel HSP1688 */ + { 0x134d, 0x2189, PCI_ANY_ID, PCI_ANY_ID }, + /* phillips pci modem */ + { 0x1131, 0x3400, PCI_ANY_ID, PCI_ANY_ID }, + {0,} +}; + + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,13) +#define pci_match_id(tbl, dev) pci_match_device(tbl, dev) +#endif + +static int __init softmodem_release_init(void) +{ + struct pci_dev *dev = NULL; + struct device *reldev; + while ((dev = pci_find_device(PCI_ANY_ID, PCI_ANY_ID, dev)) != NULL) { + if(pci_match_id(softmodem_pci_tbl, dev) && pci_dev_driver(dev) && + (reldev = get_device(&dev->dev)) ) { + printk(KERN_INFO "device %04x:%04x is grabbed by driver %s: try to release\n", + dev->vendor, dev->device, + (reldev&&reldev->driver) ? reldev->driver->name : "unknown"); + device_release_driver(reldev); + put_device(reldev); + } + } + return 0; +} + +static void __exit softmodem_release_exit(void) +{ +} + +module_init(softmodem_release_init); +module_exit(softmodem_release_exit); + +MODULE_AUTHOR("linmodems.org"); +MODULE_DESCRIPTION("No driver - just try release softmodem device"); +MODULE_LICENSE("GPL"); --- /dev/null +++ b/ungrab-winmodem/Makefile @@ -0,0 +1,23 @@ + +KERNEL_VER:=$(shell uname -r) +KERNEL_DIR:=/lib/modules/$(KERNEL_VER)/build +INSTALL_DIR:=/lib/modules/$(KERNEL_VER)/extra + +obj-m := ungrab-winmodem.o + + +all: + $(MAKE) modules -C $(KERNEL_DIR) SUBDIRS=$(shell pwd) + +clean: + $(RM) *.o *.ko *.mod.* .*.cmd *~ + $(RM) -r .tmp_versions + +install: all + install -D -m 644 ungrab-winmodem.ko $(INSTALL_DIR)/ungrab-winmodem.ko + /sbin/depmod -a +uninstall: + modprobe -r ungrab-winmodem ; echo -n + $(RM) $(INSTALL_DIR)/ungrab-winmodem.ko + /sbin/depmod -a + --- /dev/null +++ b/ungrab-winmodem/updates.txt @@ -0,0 +1,10 @@ + +20082701 - Support for Motorola chipset 1057:3052 retained, and Silicon Instr. 1543:3052 added. +After testing support removed for 1053:3000, Broadcom and vendor=11d4 Analog Devices Inc (Motorola proxy) removed. +Marv Stodolsky + +20090716 - Thanks to Philippe Vouters +#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,21) +#define pci_find_device pci_get_device +#endif + debian/patches/arch64.diff0000644000000000000000000000072612151215222012534 0ustar Description: Better arch detection logic Author: أحمد المحمودي (Ahmed El-Mahmoudy) Bug-Debian: http://bugs.debian.org/651780 Forwarded: yes --- a/drivers/Makefile +++ b/drivers/Makefile @@ -28,7 +28,11 @@ EXTRA_CFLAGS = -I$(obj) -I$(obj)/../modem $(FOUND_CLASS_SIMPLE) +ifdef CONFIG_X86_32 +ARCH64:=0 +else ARCH64:=$(shell uname -m | sed -e '/amd64/s//x86_64/' | grep -c x86_64) +endif ifeq ($(ARCH64), 0) obj-m:= slamr.o debian/patches/12_ulimit_warn.diff0000644000000000000000000000271112151215222014275 0ustar Patch that checks the current limit and makes slmodemd warn & die if the limit is judged to be too low (< 8 MB). By: Corey Hickey Index: sl-modem-2.9.11~20080817/modem/modem_main.c =================================================================== --- sl-modem-2.9.11~20080817.orig/modem/modem_main.c 2009-02-25 16:14:25.000000000 +0200 +++ sl-modem-2.9.11~20080817/modem/modem_main.c 2009-02-25 16:19:11.000000000 +0200 @@ -53,6 +53,8 @@ #include #include #include +#include +#include #include #include #include @@ -78,6 +80,8 @@ #define SLMODEMD_USER "Slmodemd" +#define LOCKED_MEM_MIN_KB (8UL * 1024) +#define LOCKED_MEM_MIN (LOCKED_MEM_MIN_KB * 1024) #define CLOSE_COUNT_MAX 100 @@ -989,6 +993,22 @@ signal(SIGTERM, mark_termination); #ifdef SLMODEMD_USER + if (need_realtime) { + struct rlimit limit; + if (getrlimit(RLIMIT_MEMLOCK, &limit)) { + ERR("getrlimit failed to read RLIMIT_MEMLOCK\n"); + exit(-1); + } + if (limit.rlim_cur != RLIM_INFINITY && + limit.rlim_cur < LOCKED_MEM_MIN) { + ERR("locked memory limit too low:\n"); + ERR("need %lu bytes, have %lu bytes\n", LOCKED_MEM_MIN, + (unsigned long)limit.rlim_cur); + ERR("try 'ulimit -l %lu'\n", LOCKED_MEM_MIN_KB); + exit(-1); + } + } + pwd = getpwnam(SLMODEMD_USER); if (!pwd) { ERR("getpwnam " SLMODEMD_USER ": %s\n",strerror(errno)); debian/patches/01_Makefile.diff0000644000000000000000000000375412151215222013466 0ustar Cleanup to not loose the user-specified version string and blindly try include modversions.h By: Eduard Bloch Index: sl-modem-2.9.11~20090222/Makefile =================================================================== --- sl-modem-2.9.11~20090222.orig/Makefile 2008-03-29 14:04:16.000000000 +0200 +++ sl-modem-2.9.11~20090222/Makefile 2009-02-26 08:37:16.000000000 +0200 @@ -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 modem: Index: sl-modem-2.9.11~20090222/drivers/Makefile =================================================================== --- sl-modem-2.9.11~20090222.orig/drivers/Makefile 2009-02-23 00:20:58.000000000 +0200 +++ sl-modem-2.9.11~20090222/drivers/Makefile 2009-02-26 08:37:16.000000000 +0200 @@ -45,8 +45,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 @@ -80,9 +86,9 @@ 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 $(FOUND_CLASS_SIMPLE) +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` $(FOUND_CLASS_SIMPLE) all: $(obj-m) debian/patches/series0000644000000000000000000000044412151215222012025 0ustar 01_Makefile.diff modem_group.diff 08_ungrab_winmodem.diff 10_drop_privileges.diff 11_logfile.diff debug_level.diff 12_ulimit_warn.diff autoload.diff support_multiarch.diff clean_LFLAGS.diff support_linux3.diff device_create_changes.diff arch64.diff use_CPPFLAGS.diff remove__devinitdata.diff debian/sl-modem-daemon.bug-control0000644000000000000000000000003612151215222014311 0ustar package-status: sl-modem-dkms debian/control0000644000000000000000000000554112151215222010567 0ustar Source: sl-modem Section: non-free/misc Priority: optional Maintainer: أحمد المحمودي (Ahmed El-Mahmoudy) Uploaders: Maurizio Avogadro , Rolf Leggewie Build-Depends: debhelper (>= 9), bzip2, libasound2-dev (>> 1.0.6), po-debconf, execstack, dkms (>= 2.1.1.2-1~) Standards-Version: 3.9.4 Homepage: http://linmodems.technion.ac.il/packages/smartlink/ Vcs-Git: git://anonscm.debian.org/collab-maint/sl-modem.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/sl-modem.git XS-Autobuild: yes Package: sl-modem-dkms Section: non-free/kernel Architecture: i386 amd64 Depends: ${misc:Depends}, libc6-dev, linux-headers-686 | linux-headers-amd64 | linux-headers-generic | linux-headers Replaces: sl-modem-source (<< 2.9.11~20110321-7) Breaks: sl-modem-source (<< 2.9.11~20110321-7) 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 DKMS. Package: sl-modem-daemon Architecture: i386 Depends: ${misc:Depends}, ${shlibs:Depends}, debconf | debconf-2.0, adduser, alsa-utils Provides: slmodem Conflicts: sl-modem-modules Breaks: sl-modem-source (<< 2.9.11~20080817) 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 snd-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-dkms package. Package: sl-modem-source Architecture: all Depends: ${misc:Depends}, sl-modem-dkms Section: non-free/oldlibs Priority: extra Description: SmartLink software modem driver (dummy transitional package) 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 DKMS. . This is a dummy transitional package that will ensure a proper upgrade path. This package may be safely removed after upgrading. debian/compat0000644000000000000000000000000212151215222010355 0ustar 9 debian/source/0000755000000000000000000000000012151215222010457 5ustar debian/source/format0000644000000000000000000000001412151215222011665 0ustar 3.0 (quilt) debian/sl-modem-dkms.postinst0000644000000000000000000000164312151215222013441 0ustar #!/bin/sh set -e #DEBHELPER# daemon_stop () { if [ -e /var/run/slmodemd.pid ] ; then invoke-rc.d sl-modem-daemon stop || true sleep 1 fi } case "$1" in configure) if [ -x /usr/lib/dkms/common.postinst ]; then # Check if slmodemd is running: if [ -e /var/run/slmodemd.pid ] ; then SLMODEMD_RUNNING=1 fi # If either slamr or slusb module is actually in use, stop slmodemd, and # remove the respective module: for module in slamr slusb ; do if grep -q "$module" /proc/modules 2>/dev/null ; then daemon_stop rmmod $module || true fi done modprobe slamr 2>/dev/null || modprobe slusb 2>/dev/null || true # If slmodemd was running and we are upgrading, then restart slmodemd: if [ -n "$SLMODEMD_RUNNING" -a -n "$2" ]; then invoke-rc.d sl-modem-daemon restart || true fi fi ;; esac debian/slmodemd.80000644000000000000000000000274312151215222011062 0ustar .TH slmodemd "8" "October 23 2005" "2.9.9" "User Commands" .SH NAME slmodemd \- manual page for SmartLink Soft Modem daemon .SH SYNOPSIS .B slmodemd [\fIoption\fR...] [\fIdevice\fR] .SH DESCRIPTION This is Smart Link Soft Modem for Linux and provides full-featured 56K Voice Fax Modem. .P \fBdevice\fR name of modem device (default `/dev/slamr0') .TP \fB\-h\fR, \fB\-u\fR,\fB\-\-help\fR, \fB\-\-usage\fR usage info .TP \fB\-v\fR, \fB\-\-version\fR show version and exit .TP \fB\-c\fR, \fB\-\-country\fR=\fIVAL\fR default modem country name (default `USA') .TP \fB\-\-countrylist\fR show list of supported countries .TP \fB\-a\fR, \fB\-\-alsa\fR ALSA mode (see README for howto) .TP \fB\-g\fR, \fB\-\-group\fR=\fIVAL\fR Modem TTY group (default `dialout') .TP \fB\-p\fR, \fB\-\-perm\fR=\fIVAL\fR Modem TTY permission (default `0660') .TP \fB\-r\fR, \fB\-\-ringdetector\fR with internal ring detector (software) .TP \fB\-n\fR, \fB\-\-nortpriority\fR run with regular priority .TP \fB\-d\fR, \fB\-\-debug\fR=\fIVAL\fR debug level, prints log mesages to stderr (0 \- 12, default `0') .TP \fB\-l\fR, \fB\-\-log\fR=\fIVAL\fR logging mode, prints log messages to log file (0 \- 12, default `5') .SH FILES .TP \fB/etc/default/sl-modem-daemon\fR configuration file .TP \fB/etc/init.d/sl-modem-daemon\fR daemon start\-stop\-script .SH AUTHOR slmodend was written by Sasha K . .PP This manual page was written by Erik Schanze , for the Debian project (but may be used by others). debian/changelog0000644000000000000000000011725112151215222011040 0ustar sl-modem (2.9.11~20110321-9) unstable; urgency=low * debian/sl-modem-source.prerm: Add dummy empty prerm script to work aroundupgrade failures from squeeze. Thanks to Andreas Beckmann (Closes: #707821) * Added remove__devinitdata.diff patch (also refreshed 08_ungrab_winmodem.diff) to remove __devinitdata, as it is no longer needed, and it causes build failures on 3.8.x kernels. Thanks to Marvin Stodolsky * debian/control: + Changed sl-modem-dkms Section to non-free/kernel + Remove obsolete DMUA field. + Bumped Standards-Version to 3.9.4 + Use canonical URIs in VCS-* fields. * Build sl-modem-daemon for i386 arch only. amd64 users will need to enable multiarch & install sl-modem-daemon:i386 (Closes: #709404, #710144) * debian/sl-modem-dkms.lintian-overrides: Removed spelling-error-in-binary lintian override, it is unused ! * debian/sl-modem-source.lintian-overrides: Added lintian override for sl-modem-source's dummy empty prerm script -- أحمد المحمودي (Ahmed El-Mahmoudy) Tue, 28 May 2013 22:57:20 +0200 sl-modem (2.9.11~20110321-8) unstable; urgency=low * debian/sl-modem-dkms.postinst: Guard rmmod with trailing '|| true' Thanks to Andreas Beckmann (Closes: #674005) * Check early if slmodemd was running (before probably stopping it in case of upgrades) * debian/copyright: Remove duplicate Copyright field. * Added use_CPPFLAGS.diff patch to use CPPFLAGS for building slmodemd. * debian/patches/clean_LFLAGs.diff: Rename LFLAGS to LDFLAGS -- أحمد المحمودي (Ahmed El-Mahmoudy) Sat, 26 May 2012 22:09:24 +0200 sl-modem (2.9.11~20110321-7) unstable; urgency=low * Added Dutch debconf templates translation. Thanks to Jeroen Schot (Closes: #654759) * debian/control: + Updated Standards-Version to 3.9.3 + Set priority of sl-modem-source to extra. * Bumped compat level to 9 * debian/copyright: Updated copyright format & years. * Rename sl-modem-source to sl-modem-dkms. Also added sl-modem-source as a dummy transitional package. (Closes: #656407) * Added Polish debconf translation. Thanks to Michał Kułach (Closes: #666780) * Automatic reformatting for PO files. * debian/rules: Remove -s switch from dh call, not needed anymore. * debian/*.lintian-overrides: Refresh lintian overrides for spelling errors. -- أحمد المحمودي (Ahmed El-Mahmoudy) Tue, 17 Apr 2012 17:16:00 +0200 sl-modem (2.9.11~20110321-6) unstable; urgency=low * debian/sl-modem-source.dkms: Conditionally build slamr for 32-bit archs only. This is possible since dkms.conf is actually sourced by a shell script. Thanks to Ben Hutchings * debian/control: sl-modem-source is made available for amd64 arch -- أحمد المحمودي (Ahmed El-Mahmoudy) Sat, 17 Dec 2011 09:29:13 +0200 sl-modem (2.9.11~20110321-5) unstable; urgency=low * Added Brazilian Portuguese debconf templates translation (Closes: #648844) * Added device_create_changes.diff patch to fix device_create call for linux kernel >= 2.6.27 (Closes: #651781) * Added arch64.diff patch to enhance architecture detection login in Makefile. Thanks to Ben Hutchings (Closes: #651780) * debian/copyright: Updated copyright format & years. -- أحمد المحمودي (Ahmed El-Mahmoudy) Tue, 13 Dec 2011 20:21:32 +0200 sl-modem (2.9.11~20110321-4) unstable; urgency=low * Added support_linux3.diff patch to support for linux 3.x series in build system. (Closes: 641151) Thanks to Ben Hutchings -- أحمد المحمودي (Ahmed El-Mahmoudy) Mon, 12 Sep 2011 16:19:12 +0200 sl-modem (2.9.11~20110321-3) unstable; urgency=low * Added clean_LFLAGS.diff patch to remove logic for LFLAGS setting (just set it to -lasound2) -- أحمد المحمودي (Ahmed El-Mahmoudy) Thu, 28 Jul 2011 14:27:47 +0200 sl-modem (2.9.11~20110321-2) unstable; urgency=low * Added support_multiarch.diff patch to support multiarch include dirs, since libc6 moved arch dependent headers to multiarch include directory. -- أحمد المحمودي (Ahmed El-Mahmoudy) Wed, 27 Jul 2011 19:25:59 +0200 sl-modem (2.9.11~20110321-1) unstable; urgency=low * New upstream release * Removed patches that got applied upstream: ioctl.diff, semaphore.diff * Refreshed autoload.diff patch * Bumped compat level to 8 * debian/control: Bumped Standards-Version to 3.9.2, no changes needed * Use DKMS debhelper script + Renamed debian/dkms.conf.in to debian/sl-modem-source.dkms, also replaced #VERSION# with #MODULE_VERSION# + debian/control: - Added dkms >= 2.1.1.2-1~ to build-deps - Removed dkms from Recommends, since dh_dkms will add it to Depends. + debian/rules: - Use DKMS debhelper addon - override dh_dkms to invocate -V option. + Removed debian/sl-modem-source.prerm + debian/sl-modem-source.postinst: Removed DKMS invocation, as it will be added by dh_dkms. * debian/sl-modem-source.lintian-overrides: Updated path in override. -- أحمد المحمودي (Ahmed El-Mahmoudy) Thu, 14 Apr 2011 16:52:32 +0200 sl-modem (2.9.11~20100718-4) unstable; urgency=low * Added Indonesian translation (Closes: #608557) * Added alsa-utils to sl-modem-daemon Depends (LP: #706236) * Added ioctl.diff patch (from Gentoo) to fix compilation of slamr module with kernel 2.6.36 and later (Closes: #613906) (LP: #737650) * Added semaphore.diff patch to fix compilation of slusb module with kernel 2.6.37 * Remove leading ./ from lintian override -- أحمد المحمودي (Ahmed El-Mahmoudy) Sat, 19 Mar 2011 17:02:27 +0200 sl-modem (2.9.11~20100718-3) unstable; urgency=low * Add /usr/sbin:/sbin to PATH before calling execstack (Closes: #608367) -- أحمد المحمودي (Ahmed El-Mahmoudy) Thu, 30 Dec 2010 17:50:05 +0200 sl-modem (2.9.11~20100718-2) unstable; urgency=low * debian/sl-modem-daemon.init: Run 'aplay -l' with LC_ALL=C to fix modem detection with non-English locales (Closes: #594775) (LP: #626231), patch submitted by: Milan Bouchet-Valat * debian/control: Bumped Standards-Version to 3.9.1, no changes needed. -- أحمد المحمودي (Ahmed El-Mahmoudy) Sun, 29 Aug 2010 23:59:01 +0200 sl-modem (2.9.11~20100718-1) unstable; urgency=low * New upstream release. * debian/watch: Fixed mangling to get a proper orig tarball * Removed 2.6.33.diff patch as it got applied upstream. * debian/copyright: Replaced empty lines in license text with ' .' -- أحمد المحمودي (Ahmed El-Mahmoudy) Mon, 19 Jul 2010 10:24:18 +0300 sl-modem (2.9.11~20100303-5) unstable; urgency=low * debian/sl-modem-daemon.bug-*: Added reportbug customization and script files. * debian/rules: put sequence to run before any option (for compatibility with debhelper v8) * Update Danish translation (Closes: #586239) * debian/source_sl-modem.py: Enhance apport hook + Add output of: ls -l /dev/ttySL* /dev/pts/* /dev/slamr* /dev/slusb + Interacts with user to specify the problem. + Check for ALSA mode if problem is with fax. + Ask to test with WvDial if problem is with dialup, also attach wvdial conf file (if it exists). * debian/control: + Bumped Standards-Version to 3.9.0 + sl-modem-source (<< 2.9.11~20080817) moved from Conflicts to Breaks -- أحمد المحمودي (Ahmed El-Mahmoudy) Sat, 10 Jul 2010 14:22:38 +0300 sl-modem (2.9.11~20100303-4) unstable; urgency=low * Updated to ungrab-winmodem 20090716 from upstream. Credits to Harald Jenny for the heads up. * Added patch 2.6.33.diff, to use path of utsrelease.h for linux kernels >= 2.6.33 Credits to Harald Jenny for the heads up * debian/source_sl-modem.py, debian/sl-modem-daemon.install: Added an apport hook. -- أحمد المحمودي (Ahmed El-Mahmoudy) Tue, 15 Jun 2010 10:28:35 +0300 sl-modem (2.9.11~20100303-3) unstable; urgency=low * debian/control, debian/copyright: Updated my email address * Update Spanish translations (Closes: #577050) * sl-modem-daemon.postinst: Remove /etc/modprobe.d/sl-modem-daemon.modutils on upgrade/install (Closes: #579825). -- أحمد المحمودي (Ahmed El-Mahmoudy) Sat, 08 May 2010 19:26:20 +0300 sl-modem (2.9.11~20100303-2) unstable; urgency=low * debian/control: + Really remove quilt from sl-modem-source's Depends + Add execstack to Build-Deps * debian/rules: Mark slmodemd as not requiring executable stack (LP: #537650) -- أحمد المحمودي (Ahmed El-Mahmoudy) Tue, 16 Mar 2010 22:44:51 +0200 sl-modem (2.9.11~20100303-1) unstable; urgency=low * New upstream release. + Fixes NO CARRIER issue with linux kernel >= 2.6.31 * Dropped 2.6.31.diff patch, as it got applied upstream. * Refreshed debian/sl-modem-source.lintian-overrides * debian/control: Added DM-Upload-Allowed field. * Only include modem/modem_defs.h in sl-modem-source * debian/rules: add -s switch to dh to correctly build on amd64 archs. -- أحمد المحمودي (Ahmed El-Mahmoudy) Sun, 14 Mar 2010 13:03:39 +0200 sl-modem (2.9.11~20090222-3) unstable; urgency=low [ Rolf Leggewie ] * debian/control: - add myself to Uploaders - update description for sl-modem-daemon package. (LP: #109620) - request the package to be autobuilt (adjust debian/copyright accordingly) - drop kernel-package from Recommends, we use dkms - move linux-headers from Recommends to Depends and make more robust - stop to provide sl-modem-modules-new which has been unused for years now * debian/patches: add autoload.diff patch from Ubuntu (Ubuntu should be able to go back to sync mode now) [ أحمد المحمودي (Ahmed El-Mahmoudy) ] * debian/control: - sl-modem-source conflicts with sl-modem-daemon version 2.9.11~20080817 and earlier (LP: #520890) - Bump Standards-Version to 3.8.4 * debian/sl-modem-daemon.init: Fix error message when slamr is not found (LP: #42991) * debian/sl-modem-source.postinst: use DKMS-provided logic instead of maintaining our own (LP: #497149) -- أحمد المحمودي (Ahmed El-Mahmoudy) Sun, 14 Feb 2010 21:27:04 +0200 sl-modem (2.9.11~20090222-2) unstable; urgency=low * Switch to 3.0 (quilt) source format. * Removed debian/sl-modem-daemon.dirs * Added debian/sl-modem-daemon.preinst to remove obsolete sl-modem-daemon.modutils conf file. (from Ubuntu although for a different purpose) * Added debian/sl-modem-daemon.lintian-overrides * Install sl-modem.conf using dh_installmodules * debian/dkms.conf.in: Use 'cd' instead of popd & pushd * debian/control: + s/Alsa/ALSA in extended description. + Bumped Standards-Version to 3.8.3 * Added 2.6.31.diff patch to fix FTBFS with kernels >= 2.6.31 (Closes: #563823) * debian/sl-modem-daemon.init: + Added $remote_fs to Required-Start & Required-Stop + Added sl-modem-daemon to Provides * debian/NEWS: Use regular paragraphs rather than asterisks. -- أحمد المحمودي (Ahmed El-Mahmoudy) Sat, 09 Jan 2010 20:18:53 +0200 sl-modem (2.9.11~20090222-1) unstable; urgency=low * New upstream release. * Refreshed patch: 01_Makefile.diff * Removed patches that were merged upstream: 02_dial_string_size.diff, 03_Makefile_2.6.12.4.diff, 05_st7554_license.diff, README.diff, 06_slmodem-class-simple-to-class-meins.diff, kernel-ver.diff, fortify_source.diff, class_device.diff * Remove support for module-assistant + debian/rules: - Remove binary-modules, kdist_clean & kdist_config targets and the variables/includes associated with them (including AGE, k & SUBLEVEL variables). - Remove lines that create/install /usr/src/sl-modem.tar.bz2 from install target. + debian/control for sl-modem-source target: - Remove module-assistant, debhelper, bzip2, quilt from Depends field. - Remove mention of module-assistant from extended description. - Added: Provides: sl-modem-modules, sl-modem-modules-new + sl-modem-daemon.README.Debian: Remove mention of module-assistant. + debian/README.Debian: - Removed mention of module-assistant & make-kpkg. - Rephrased the paragraph about manual building of modules. + Merge sl-modem-modules-_KVERS_.postinst.modules.in into sl-modem-source.postinst: - Use invoke-rc.d instead of directly running sl-modem-daemon init script. - Remove sl-modem-modules-_KVERS_.postinst.modules.in - Removed code that creates slamr and slusb devices. - Renamed daemon-stop function to daemon_stop to remove bashism. + Remove sl-modem-source.dirs * Removed debian/hotplug * debian/rules: simplified rules file * Removed debian/control.modules.in * Updated Japanese translation (Closes: #518603). * Rename sl-modem-daemon.modutils to sl-modem.conf (Closes: #519672). * debian/copyright: converted to machine readable format. * Merge changes from Ubuntu: + debian/patches/autoload.diff: Patch drivers to export the right aliases for auto-load on open. + Hence remove alias lines from sl-modem.conf. * debian/control: + Added Vcs-* fields. + Bump Standards-Version to 3.8.2, no changes needed + Build-Depend on debhelper >= 7.0.50~ to support override targets. + Build-Depend on quilt >= 7.0.50~ to support dh --with quilt * debian/compat, debian/control: Upgraded to debhelper 7 * debian/sl-modem.conf: add entries for slusb loading. * Added debian/sl-modem-source.lintian-overrides, debian/sl-modem-daemon.manpages and debian/NEWS -- أحمد المحمودي (Ahmed El-Mahmoudy) Sun, 19 Jul 2009 13:51:53 +0300 sl-modem (2.9.11~20080817-4) unstable; urgency=low * Added libc6-dev to sl-modem-source's Depends: field. * debian/patches/*.diff: add contributor info. * debian/sl-modem-daemon.init (change from Ubuntu): Also check for modems which are subdevices, and thus only expose themselves in "aplay -l", not in /proc/asound/cards. Thanks to Peteris Krisjanis for the patch! (Closes: #517055). * Added 12_ulimit_warn.diff from Corey Hickey, that checks the current limit and makes slmodemd warn & die if the limit is judged to be too low (< 8 MB). (Closes: #511996) * Added 13_slusb.diff patch to enable support for slusb module. * debian/dkms.conf.in: + Added USB=1 in make[0] field to enable compilation of slusb module. + Added fields for slusb module. * debian/sl-modem-daemon.config: use set -e instead of passing -e to the shell on the #! line. * Provide pm-utils hook script to restart slmodem daemon on resume: + Added debian/15sl-modem-daemon + debian/rules: install debian/15sl-modem-daemon in /usr/lib/pm-utils/sleep.d Based on patches submitted by: Julien Valroff , "Tim Dijkstra \(tdykstra\)" (Closes: #411851). -- أحمد المحمودي (Ahmed El-Mahmoudy) Thu, 5 Mar 2009 19:22:44 +0200 sl-modem (2.9.11~20080817-3) unstable; urgency=low * debian/sl-modem-daemon.postinst: moved line to add Slmodemd user to be before lines that install directories for that user. (Closes: #514699) -- أحمد المحمودي (Ahmed El-Mahmoudy) Sun, 8 Feb 2009 19:22:44 +0200 sl-modem (2.9.11~20080817-2) unstable; urgency=low * Modified home dir of Slmodemd to /var/log/slmodemd. (Closes: #507340) * Added support for DKMS: + debian/control: added dkms to sl-modem-source's Recommends field. + debian/control: updated long description for sl-modem-source. + Added debian/dkms.conf.in. + debian/rules: copy dkms.conf.in to debian/sl-modem-source/usr/src/modules/sl-modem/dkms.conf + Added sl-modem-source.prerm and sl-modem-source.postinst * debian/postinst: create /var/lib/slmodem with proper permissions. (Closes: #421867) * debian/prerm: remove /var/lib/slmodem on uninstall. * debian/control: + Add ${misc:Depends} to Depends field for sl-modem-daemon and sl-modem-source. + Add quilt to sl-modem-source's Depends field. (Closes: #512332) + Added Homepage field. * Added descriptions to patch files. * Remove 04_sregs_init.diff patch as it turned to be obsoleted since 2.9.9e-pre1a. * Added set -e to maintainer scripts. * sl-modem-daemon.templates: changed the extended description. * Translation updates: Arabic, Basque, Russian, Swedish, Italian, Czech, German, Portuguese, French, Spanish (Closes: #513326, #513378, #513603, #513333, #513704, #513713, #513966, #514280, #514355). * Added translations: Vietnamese, Slovak (Closes: #513802, #514387). -- أحمد المحمودي (Ahmed El-Mahmoudy) Sun, 7 Feb 2009 19:22:44 +0200 sl-modem (2.9.11~20080817-1) unstable; urgency=medium * New upstream release. (Closes: #354908, #489289, #457637, LP: #144090, #269855) * Adopting sl-modem. (Closes: #471888) * Removed the following patches since they are applied upstream: + patch to define URB_ASYNC_UNLINK if not set + patch that adds alternative MODULE_PARM function (module_param) + patch removing the inclusion of config.h + patch making a biarch build with lib32 package versions + patches fixing buils with kernel versions 2.6.16, 2.6.18 and 2.6.26 * Remove cmd.patch and pcireg.patch as they are applied upstream. * Used quilt patch system. + Moved slmodem-class-simple-to-class-meins.diff to debian/patches/ + 01_Makefile.diff: Makefile cleanup to not loose the user-specified kernel version string. + modem_group.diff: set the default device group to "dialout". + 02_dial_string_size.diff: enlarge dial string buffer to 128 bytes + 03_Makefile_2.6.12.4.diff: workaround in drivers/Makefile for a kernel 2.4 check accidentialy matching 2.6.12.4. + 04_sregs_init.diff + 05_st7554_license.diff: changed the MODULE_LICENSE string to "Dual BSD/GPL" since the license is actually a BSD license clone. + 06_slmodem-class-simple-to-class-meins.diff: patch for class/simple_class transition. + 08_ungrab_winmodem.diff: helper module to tell the kernel to keep away from unsupported PCI id numbers. + 10_drop_privileges.diff: slmodemd privilege dropping patch. + 11_logfile.diff: place debug log in /var/log/slmodem.log. + kernel-ver.diff: workaround for pre-2.6.18 kernels. + README.diff: Dropped the TROUBLESHOOTING section from README and adapted the feedback section, mentioned the transfer of the modem business to Conexant. + debug_level.diff: debug log file is not for end users. Users shall use -l . * Added fortify_source.diff patch to fix FTBFS with -D_FORTIFY_SOURCE=2 compile flag. * Synch'ed ungrab-winmodem.c from http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem-20080126.tar.gz. * Remove debian/control.backup* as I don't see any use for them. * Update Standards-Version to 3.8.0. * Added watch file. * debian/rules: slusb support ends at 2.6.24, hence add a check for kernel sublevel, to prevent the attempt to install non-existing slusb.ko. Thanks to Maurizio Avogadro for the suggestion. * Translation updates: Swedish, German, Basque, French, Italian, Czech, Portuguese, Finnish, Japanese and Russian (Closes: #501038, #501043, #501065, #501102, #501108, #501213, #501225, #501701, #501632, #501593). * New translation: Arabic (Closes: #501196). * debian/control: Added Maurizio Avogadro to Uploaders field. * debian/sl-modem-daemon.init: changes from Ubuntu + sl-modem-daemon initscript waits for aplay (from alsa-utils) to report the card, as it appears in /proc/asound/cards before it is actually available to slmodemd. This extra check defeats this race. + Remove hard and soft ulimits for locked-in-core memory. This daemon unfortunately needs quite a bit of memory and it needs to be in core because it's doing the real-time modem DSP. This deals with LP: #144468 and probably other bugs too. [Maurizio Avogadro] * debian/rules: removed code to append extra lines to modprobe.d file, since they are statically appended in debian/sl-modem-daemon.modutils. * The init script can now modprobe even if the slamr module has been blacklisted. * Modified 11_logfile.diff: Fixed the log path as the slmodemd daemon runs as unprivileged user and didn't have write permissions on /var/log. * Added class_device.diff patch: since 2.6.25 class_device_add() and class_device_destroy() has been renamed, modified st7554.c accordingly. * Removed obsolete /etc/modutils file. * Small enhancements to the modprobe.d file: + verify device permissions on module install + modprobe cleans /dev on module remove * Added some troubleshooting info to README.Debian. -- أحمد المحمودي (Ahmed El-Mahmoudy) Sat, 10 Oct 2008 17:32:22 +0200 sl-modem (2.9.9d+e-pre2-12) unstable; urgency=medium * Orphaning package * Fixed build on recent kernels, patch from Benh (closes: #475205) * Calling depmod in postinst of the module package (closes: #465544) * New translation: Spanish (closes: #498034) * Translation update: Swedish (closes: #488182) -- Eduard Bloch Sun, 07 Sep 2008 23:00:06 +0200 sl-modem (2.9.9d+e-pre2-11.1) unstable; urgency=low * Non-maintainer upload to fix pending l10n issues. * Debconf translations: - Portuguese. Closes: #435298 - Galician. Closes: #481803 - Russian. Closes: #482080 - Basque. Closes: #482340 - Czech. Closes: #482434 - Finnish. Closes: #482437 * [Lintian] Run debconf-updatepo in the clean target * [Lintian] No longer ignore erros from "make clean" -- Christian Perrier Sat, 17 May 2008 14:47:32 +0200 sl-modem (2.9.9d+e-pre2-11) unstable; urgency=high * Working around broken "grep -v" return code in the init script (bug#454690) * changed gcc-4.1-multilib build-dep on amd64 to gcc-multilib -- Eduard Bloch Thu, 13 Dec 2007 22:28:12 +0100 sl-modem (2.9.9d+e-pre2-10) unstable; urgency=low * Merge with 2.9.9d+e-pre2-7etch2 (closes: #411395, #412120) * explicite Build-Dep on gcc-4.1-multilib [amd64] * Installing slmodemd(8) manpage into sl-modem-daemon and conflicting with previous versions of sl-modem-source (closes: #420796) * removing sl-modem-daemon.rules after a checksum check. They are not used anymore by the Debian package's source after sysfs/udev features have been disabled. Send thanks to GPL symbol "protection" lovers (closes: #418919) * slmodemd privilege dropping patch (Ian Jackson, Ubuntu, closes: #415569), also added adduser to dependencies * suppressing modprobe messages caused by expected failures while probing driver availability and a better info message on amd64. -- Eduard Bloch Tue, 01 May 2007 12:00:06 +0200 sl-modem (2.9.9d+e-pre2-9) unstable; urgency=low * amd64 support, making a biarch build with lib32 package versions (closes: #395196) -- Eduard Bloch Tue, 13 Feb 2007 01:06:39 +0100 sl-modem (2.9.9d+e-pre2-8) unstable; urgency=medium * removed the inclusion of config.h, deprecated and not available in kernel 2.6.19 (closes: #402488) * updated of the French translation (closes: #401283) and Japanese translation (closes: #400749) * workaround for kernel-ver with pre-2.6.18 kernels (closes: #397406) * using the name sl-modem-daemon in init script help (closes: #348976) * Dropped the TROUBLESHOOTING section from README (the FAQ has not been available anyway) and adapted the feedback section, mentioned the transfer of the modem business to Conexant (closes: #321515) * debug log file is not for end users. Users shall use -l . Dumping relevant data to debug log is OK, creating this in the local dir is also OK. Made that clear in the help message. (closes: #402705, #335370, #402704) * added LSB info to init script * not including 2.9.9d+e-pre2-7etch* changes -- Eduard Bloch Mon, 11 Dec 2006 20:15:50 +0100 sl-modem (2.9.9d+e-pre2-7etch2) testing-proposed-updates; urgency=low * Updated fr.po and jp.po taken from version 2.9.9d+e-pre2-8 -- Eduard Bloch Tue, 6 Mar 2007 23:12:49 +0100 sl-modem (2.9.9d+e-pre2-7etch1) testing-proposed-updates; urgency=low * t-p-u upload only * de.po updates by Helge Kreutzmann * it.po (NEW) bei Luca Monducci -- Eduard Bloch Mon, 5 Mar 2007 23:27:16 +0100 sl-modem (2.9.9d+e-pre2-7) unstable; urgency=low * Fixes to build with kernel 2.6.18 (USB removal, closes: 390308) * cs.po update (Miroslav Jezbera, closes: #389257) * templates fixes, making country list translateable (closes: #377820) -- Eduard Bloch Fri, 13 Oct 2006 19:06:44 +0200 sl-modem (2.9.9d+e-pre2-6) unstable; urgency=low * alternative MODULE_PARM function (module_param) used on 2.6.x kernels (closes: #377561) * removed executable bits from the udev rules file * set a proper debconf dialog title, the old contents should actually be in the text, updated de.po and half-updated those translation where basic syntax was understandable -- Eduard Bloch Mon, 10 Jul 2006 12:24:25 +0200 sl-modem (2.9.9d+e-pre2-5) unstable; urgency=low * Fix for module compilation with 2.6.16, condition around line drivers/st7554.c:1160 (closes: #358267) -- Eduard Bloch Sun, 16 Apr 2006 08:23:47 +0200 sl-modem (2.9.9d+e-pre2-4) unstable; urgency=medium * replaced amrmo_init.c with the version from http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20051101.tar.gz which has basically the superset of our changes (plus two additional modem IDs) but zeroes out the class* method calls since they are "protected" by GPL-enforcing kernel macros now (closes: #354216) * the above change effectively disables the udev functionality. Send your complaints to kernel developers if you need it. Or suggest a better solution. For now, a oneliner in /etc/modprobe.d/sl-modem-daemon.modutils creates /dev/slamr0. * workaround to fix device files that got the wrong owner (660 instead of root) during the major number transition in July 2005 -- Eduard Bloch Sat, 25 Feb 2006 19:45:42 +0100 sl-modem (2.9.9d+e-pre2-3) unstable; urgency=medium * changed NAME setting for slusb in udev rules * fixed slamr class_device_create call (closes: #349305), thanks to Gasper Zejn et al. -- Eduard Bloch Tue, 07 Feb 2006 15:44:02 +0100 sl-modem (2.9.9d+e-pre2-2) unstable; urgency=low * added helper module from http://phep2.technion.ac.il/linmodems/packages/smartlink/ungrab-winmodem.tar.gz to tell the kernel to keep away from unsupported PCI id numbers, installed with slamr and pre-installed via modprobe.d script -- Eduard Bloch Sun, 15 Jan 2006 17:48:36 +0100 sl-modem (2.9.9d+e-pre2-1) unstable; urgency=low * New upstream pre-release (closes: #327588) * added sv.po from Daniel Nylander (closes: #330436) * slmodemd.1 manpage from Erik Schanze (closes: #335369) * defining URB_ASYNC_UNLINK if not set, needed by recent kernels * applied patch for class/simple_class transition from Gentoo lists with some fixes (closes: #325799) * changed the MODULE_LICENSE string to "Dual BSD/GPL" since the license is actually a BSD license clone (closes: #327545) * not including the old hotplug script, merged its code into the init script and added an udev rules file to run it. Needs real testing with a Smartlink USB modem which I do not have (closes: #338740) * disabled the "PCI device grabbing warning" code which caused OOpses on 2.6.15 -- Eduard Bloch Sun, 15 Jan 2006 14:49:45 +0100 sl-modem (2.9.9d-7) unstable; urgency=low * added alternative debconf-2.0 dependency * http://dev.gentoo.org/~genstef/files/slmodem-class-simple-to-class.diff added with few modifications though does not solve #325799 yet * added patch http://linmodems.technion.ac.il/archive-fifth/msg02217.html which AFAICS basically ignores the PCI ID collision caused by the kernel source bugs #303844 and #322028 (closes: #321061). Should be fixed in the kernel, though. -- Eduard Bloch Mon, 26 Sep 2005 23:59:25 +0200 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 debian/sl-modem-daemon.install0000644000000000000000000000020612151215222013523 0ustar modem/slmodemd usr/sbin/ debian/15sl-modem-daemon usr/lib/pm-utils/sleep.d/ debian/source_sl-modem.py usr/share/apport/package-hooks/ debian/sl-modem-daemon.postrm0000644000000000000000000000030412151215222013400 0ustar #!/bin/sh set -e case "$1" in purge) update-rc.d -f sl-modem-daemon remove > /dev/null 2>&1 # Remove log directory rm -rf /var/log/slmodemd ;; esac #DEBHELPER# exit 0 debian/sl-modem-daemon.rules0000644000000000000000000000026112151215222013210 0ustar # start/stop the daemon when the USB modem is connected # # this file does not need to be executable KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon" debian/sl-modem-daemon.lintian-overrides0000644000000000000000000000075712151215222015526 0ustar # The spelling errors are in the upstream binary blob modem/dsplibs.o, which # cannot be fixed as the original author of this binary blob (Smart Link) # stopped supporting the software. sl-modem-daemon: spelling-error-in-binary usr/sbin/slmodemd Recieved Received sl-modem-daemon: spelling-error-in-binary usr/sbin/slmodemd posible possible sl-modem-daemon: spelling-error-in-binary usr/sbin/slmodemd choosen chosen sl-modem-daemon: spelling-error-in-binary usr/sbin/slmodemd treshold threshold debian/sl-modem-dkms.lintian-overrides0000644000000000000000000000026512151215222015213 0ustar # This file is actually a patch for a C code, not a license file. sl-modem-dkms: extra-license-file usr/src/sl-modem-2.9.11~20110321/patches/sldiffs-20090222/05_st7554_license.diff debian/sl-modem-daemon.postinst0000644000000000000000000000321312151215222013741 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule # Reset country setting 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 # We don't use udev anymore, let's get rid of the old rules if test -r /etc/udev/sl-modem-daemon.rules; then rm /etc/udev/sl-modem-daemon.rules fi if test -L /etc/udev/rules.d/030_sl-modem-daemon.rules ; then rm /etc/udev/rules.d/030_sl-modem-daemon.rules fi # Remove old modutils file test -r /etc/modutils/sl-modem-daemon.modutils && rm /etc/modutils/sl-modem-daemon.modutils test -r /etc/modprobe.d/sl-modem-daemon.modutils && rm /etc/modprobe.d/sl-modem-daemon.modutils case "$1" in configure) # Create user and group adduser --system --home /var/log/slmodemd --no-create-home --group \ --gecos 'Smart Link Modem Server' --force-badname \ Slmodemd # Create the data directory with right permissions install -d -oSlmodemd -gadm -m0755 /var/lib/slmodem # Create the log directory with right permissions install -d -oSlmodemd -gadm -m0750 /var/log/slmodemd # Older versions of sl-modem used to set home dir of Slmoded to /, so we # fix that during upgrade: if dpkg --compare-versions "$2" lt "2.9.11~20080817-2" ; then usermod --home /var/log/slmodemd Slmodemd fi ;; esac 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 debian/sl-modem-daemon.bug-script0000644000000000000000000000370112151215222014137 0ustar #!/bin/bash WvDialConf=/etc/wvdial.conf Fax= Dialup= yesno "Is there a problem with dialup ? [y/N] " nop [ $REPLY = "nop" ] || Dialup=1 yesno "Is there a problem with fax ? [y/N] " nop [ $REPLY = "nop" ] || Fax=1 if [ $Fax ]; then [ ! -r /etc/default/sl-modem-daemon ] || . /etc/default/sl-modem-daemon # Check if sl-modem is configured for ALSA mode: if echo $SLMODEMD_DEVICE | grep : > /dev/null \ || echo $OPTS | grep alsa > /dev/null; then printf "\nsl-modem is configured for ALSA mode, yet fax does not work with ALSA mode\n\n" [ -z $Dialup ] || exit 1; fi if ! lsmod | grep '\(slamr\|slusb\)' > /dev/null \ && [ $SLMODEMD_DEVICE = "auto" ]; then printf \ " SLMODEM_DEVICE is set to auto, and neither slamr nor slusb is loaded, please explicitly set SLMODEM_DEVICE to slamr ( or slusb if you are using a USB modem), and try again before continuing with this bug report. " fi fi if [ $Dialup ]; then printf "\nIt is recommended to test with wvdial before continuing with this bug report\n" yesno "Did you try dialup using wvdial utility ? [y/N] " nop if [ $REPLY = "yep" ]; then printf \ " Please enter the path to wvdial configuration file, by default it is /etc/wvdial.conf, note that this file will be included in the bug report after removing Username and Password fields " read [ -z $REPLY ] || [ ! -r $REPLY ] || WvDialConf=$REPLY fi fi [ -z $Dialup ] || echo "Problem with dialup" >&3 [ -z $Fax ] || echo "Problem with fax" >&3 for f in /proc/version_signature /etc/default/sl-modem-daemon /proc/asound/* /var/log/slmodem.log; do echo ============ $f =============== cat $f done >&3 for c in 'lspci -vvnn' 'lsmod' 'lsusb' \ 'ls -l /dev/ttySL* /dev/pts/* /dev/slamr* /dev/slusb*'; do echo ============ "$c" =============== $c done >&3 if [ $Dialup -a -r $WvDialConf ]; then echo ============ WvDial Conf =============== >&3 sed -e '/^\s*\(Password\|Username\)/ d' $WvDialConf >&3 fi debian/sl-modem-daemon.preinst0000644000000000000000000000067412151215222013552 0ustar #!/bin/sh set -e if [ "$1" = install ] || [ "$1" = upgrade ]; then if [ -e "/etc/modprobe.d/sl-modem-daemon.modutils" ]; then if [ "`md5sum \"/etc/modprobe.d/sl-modem-daemon.modutils\" | sed -e \"s/ .*//\"`" = \ "`dpkg-query -W -f='${Conffiles}' sl-modem-daemon | sed -n -e \"\\\\' /etc/modprobe.d/sl-modem-daemon.modutils's/.* //p\"`" ] then rm -f "/etc/modprobe.d/sl-modem-daemon.modutils" fi fi fi #DEBHELPER# debian/sl-modem-daemon.prerm0000644000000000000000000000042412151215222013204 0ustar #!/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 case "$1" in remove) rm -rf /var/lib/slmodem ;; esac #DEBHELPER# debian/copyright0000644000000000000000000000465212151215222011121 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Upstream-Name: slmodem Upstream-Contact: Marvin Stodolsky Source: http://linmodems.technion.ac.il/packages/smartlink/ Comment: This package ships two 32-bit binary blobs (modem/dsplibs.o and drivers/amrlibs.o) for which no source is provided. Consequently, the package is in non-free in Debian. Sl-Modem is released under BSD and there should not be any legal issues with autobuilding the package. cf. http://lists.debian.org/debian-devel-announce/2006/11/msg00012.html Files: debian/* Copyright: 2003-2008 Eduard Bloch 2008-2012 أحمد المحمودي (Ahmed El-Mahmoudy) 2010 Rolf Leggewie License: BSD-3-clause Files: * Copyright: 2002, Smart Link Ltd. License: BSD-3-clause License: BSD-3-clause 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. debian/README.Debian0000644000000000000000000000402412151215222011220 0ustar 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-dkms, which provides the source for the kernel modules If your system got DKMS, then the final modules from sl-modem-dkms are automatically built and there is no need to go in the following section. -- أحمد المحمودي (Ahmed El-Mahmoudy) Sat, 21 Oct 2008 17:32:22 +0200 To manually build the final modules from sl-modem-dkms, change to the /usr/src/sl-modem- directory and build 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-dkms 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 Troubleshooting --------------- If the modem seems to respond to AT commands but fails to connect, the reason could be that ACPI disabled its interrupt during the boot process. Try to look in your dmesg: if you'll find a line like this ACPI: PCI interrupt for device 0000:00:1f.6 disabled verify with lspci -n that the device matches your modem. If it matches you're very likely experiencing this issue: the kernel has loaded the slamr module at boot, before the interrupt was disabled. A workaround consists in blacklisting the slamr module - please see modprobe.conf (5) - thus avoiding automatic module load at boot: the initscript will care module loading later. -- Maurizio Avogadro Fri, 03 Oct 2008 15:23:53 +0100 debian/sl-modem-dkms.docs0000644000000000000000000000000712151215222012477 0ustar README debian/sl-modem-daemon.README.Debian0000644000000000000000000000307112151215222014176 0ustar 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-dkms package (see its README.Debian for details). 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 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, 13 Apr 2007 18:51:51 +0200 debian/sl-modem-daemon.init0000644000000000000000000001625012151215222013026 0ustar #!/bin/sh # ### BEGIN INIT INFO # Provides: softmodem sl-modem-daemon # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Required-Start: $local_fs $remote_fs # Required-Stop: $local_fs $remote_fs # Short-Description: Setup the SmartLink modem daemon # Description: Starts the modem daemon emulating a serial device and # links the result to /dev/modem. ### END INIT INFO 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 aplay_grep_line; unset proc_grep; # first check for situation when there is modem subdevice (aplay -l output have "(M|m)odem" string, and /proc/asound/cards doesn't). # this one doesn't need modprobe (modem is part of sound card chip) if ! proc_grep=$(grep -i "\[Modem " /proc/asound/cards) ; then # if there is aplay output, get card and device numbers and form SLMODEMD_DEVICE as hw:a,b if aplay_grep=$(LC_ALL=C aplay -l | egrep '^card [0-9].*(M|m)odem') ; then aplay_grep_line=$(echo "$aplay_grep" | sed -r 's/^card ([[:digit:]]+).*device ([[:digit:]]+).*$/\1 \2/') # Let's configure subdevice if [ -n "$aplay_grep_line" ] ; then set $aplay_grep_line # This one needs hw as prefix ALSADEVPREFIX="hw" SLMODEMD_DEVICE="$ALSADEVPREFIX:$1,$2" ALSA=yes return 0 fi # if there is no aplay and proc output, try to modprobe and then check for modem cards again else # first check to not do unneccessary modprobe calls. Some people even put # it into the kernel image for x in $driverlist ; do $modprobe $x 2>/dev/null ; done for start_reps in `seq 100` ; do test -e /proc/asound/cards && proc_grep=$(grep -i "\[Modem " -i /proc/asound/cards) && (LC_ALL=C aplay -l | egrep '^card [0-9]*\: Modem ' >/dev/null) && break sleep 0.1 done fi fi # if we got proc_grep (already existed or from previous if), let's use it to form SLMODEMD_DEVICE as modem:a if [ -n "$proc_grep" ] ; then # ALSA driver is loaded, use it set $proc_grep 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 2>&1 | grep -q not.found ; then alsaload; else SLMODEMD_DEVICE=slamr0 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 if uname -a | grep -q x86_64 ; then echo "Only access through ALSA is available on amd64 but slamr driver was chosen!" echo "Make sure that an ALSA driver for your chipset is available and is loaded" echo "and that access to SmartLink modem components is supported by it." exit 1 fi # installed as module so just load it or bail out if MODPROBE_OPTIONS="" $modprobe slamr 2>&1 | grep -q not.found ; then echo "SmartLink modem driver not available for this Kernel. Please read README.Debian" echo "or try to install the package sl-modem-dkms. Exiting..." exit 1 fi fi } start() { echo -n "Starting SmartLink Modem driver for: $SLMODEMD_DEVICE" ulimit -Hl unlimited; ulimit -Sl unlimited 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. Consider udev action too. case "$1$ACTION" in start) config start ;; add) ALSA="" # slusb via udev part if [ "$DEVICE" ] ; then SLMODEMD_DEVICE="$DEVICE" else SLMODEMD_DEVICE="$DEVNAME" fi if [ -r "$SLMODEMD_DEVICE" ] then # check if $GROUP really exists if getent group $GROUP > /dev/null; then chmod 660 "$SLMODEMD_DEVICE" chown root:$GROUP "$SLMODEMD_DEVICE" fi else exit 1 fi start ;; stop|remove) stop ;; restart|reload|force-reload) stop config start ;; status) status ;; *) echo "Usage: /etc/init.d/sl-modem-daemon {start|stop|restart|status}" exit 1 esac debian/sl-modem-daemon.templates0000644000000000000000000000077012151215222014061 0ustar Template: sl-modem-daemon/country Type: select Choices: _list_ _Default: USA [ Enter the country (in uppercase and in English) where your language is mostly spoken, for example FRANCE for French ] # Translators: Enter the country (in uppercase and in English) where your # language is mostly spoken, for example FRANCE for French or GERMANY for # German _Description: Location of the modem: Indicate the country in which your modem is located. Please select the telephone system used in your country. debian/watch0000644000000000000000000000017212151215222010210 0ustar version=3 opts="uversionmangle=s/-/~/" \ http://linmodems.technion.ac.il/packages/smartlink/slmodem-([\d.-]+)\.tar\.gz debian/sl-modem-daemon.sl-modem.modprobe0000644000000000000000000000133712151215222015406 0ustar install slamr /sbin/modprobe -qb ungrab-winmodem; /sbin/modprobe --ignore-install slamr; test -e /dev/slamr0 && (chmod 660 /dev/slamr0 && chgrp dialout /dev/slamr0) || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0) remove slamr /sbin/modprobe --remove --ignore-remove slamr; test -e /dev/slamr0 && /bin/rm -f /dev/slamr0 2>/dev/null install slusb /sbin/modprobe -qb ungrab-winmodem; /sbin/modprobe --ignore-install slusb; test -e /dev/slusb0 && (chmod 660 /dev/slusb0 && chgrp dialout /dev/slusb0) || (/bin/mknod -m 660 /dev/slusb0 c 243 0 2>/dev/null && chgrp dialout /dev/slusb0) remove slusb /sbin/modprobe --remove --ignore-remove slusb; test -e /dev/slusb0 && /bin/rm -f /dev/slusb0 2>/dev/null debian/po/0000755000000000000000000000000012151215222007575 5ustar debian/po/eu.po0000644000000000000000000000333312151215222010550 0ustar # translation of sl-modem-eu.po to Euskara # xabier bilbao , 2008. # Piarres Beobide , 2008, 2009. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the sl-modem package. msgid "" msgstr "" "Project-Id-Version: sl-modem-eu\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-01-28 14:50+0100\n" "Last-Translator: Piarres Beobide \n" "Language-Team: Euskara \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: KBabel 1.11.4\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "SPAIN" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Modemaren kokalekua:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Zehaztu modem-a kokaturik dagoen estatua. Mesedez hautatu zure estatuan " "erabiltzen den telefono-sistema." debian/po/nl.po0000644000000000000000000000321312151215222010545 0ustar # Dutch translation of sl-modem debconf templates. # Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the sl-modem package. # Jeroen Schot , 2012. # msgid "" msgstr "" "Project-Id-Version: sl-modem 2.9.11~20110321-6\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2012-01-05 16:11+0100\n" "Last-Translator: Jeroen Schot \n" "Language-Team: Debian l10n Dutch \n" "Language: nl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "NETHERLANDS" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Lokatie van de moden:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Geef aan in welk land uw modem zich bevind. Kies het telefoonsysteem dat in " "uw land wordt gebruikt." debian/po/POTFILES.in0000644000000000000000000000006412151215222011352 0ustar [type: gettext/rfc822deb] sl-modem-daemon.templates debian/po/de.po0000644000000000000000000000354612151215222010535 0ustar # Translation of sl-modem debconf templates to German # Copyright (C) Eduard Bloch # Copyright (C) Helge Kreutzmann , 2007, 2008. # This file is distributed under the same license as the caudium package. # # Thomas Mueller , 2009. msgid "" msgstr "" "Project-Id-Version: de\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-01-28 10:20+0100\n" "Last-Translator: Thomas Mueller \n" "Language-Team: deutsch \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "" "GERMANY [ Geben Sie den Namen des Landes ein (in Großbuchstaben und auf " "Englisch), in dem Ihre Sprache hauptsächlich gesprochen wird. Z.B. GERMANY " "für Deutsch." #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Standort des Modems:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Geben Sie an, in welchem Land sich Ihr Modem befindet. Bitte wählen Sie das " "Telefon-System Ihres Landes aus." debian/po/pl.po0000644000000000000000000000334212151215222010552 0ustar # Translation of sl-modem debconf templates to Polish. # Copyright (C) 2009 # This file is distributed under the same license as the sl-modem package. # # Michał Kułach , 2012. msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2012-04-01 20:57+0200\n" "Last-Translator: Michał Kułach \n" "Language-Team: Polish \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Language: pl\n" "X-Generator: Lokalize 1.2\n" "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 " "|| n%100>=20) ? 1 : 2);\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "POLAND" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Położenie modemu:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Proszę wybrać kraj położenia modemu. Proszę wybrać system telefoniczny " "używany w kraju użytkownika." debian/po/fi.po0000644000000000000000000000311212151215222010530 0ustar msgid "" msgstr "" "Project-Id-Version: sl-modem\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2008-10-09 20:24+0200\n" "Last-Translator: Esko Arajärvi \n" "Language-Team: Finnish \n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Finnish\n" "X-Poedit-Country: FINLAND\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "FINLAND" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Modeemin sijainti:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 #, fuzzy #| msgid "" #| "In which country is your modem located? Please select the telephone " #| "system used in your country." msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Missä maassa modeemi sijaitsee? Valitse maassa käytetty puhelinjärjestelmä." #~ msgid "USA" #~ msgstr "FINLAND" debian/po/es.po0000644000000000000000000000503512151215222010547 0ustar # sl-modem po-debconf translation to Spanish # Copyright (C) 2008, 2010 Software in the Public Interest # This file is distributed under the same license as the sl-modem package. # # Changes: # - Initial translation # Maximiliano Marin Bustos , 2008 # # - Updates # Francisco Javier Cuadrado , 2010 # # Traductores, si no conocen el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas y normas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: sl-modem 2.9.11~20100303-2\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2010-03-30 12:32+0100\n" "Last-Translator: Francisco Javier Cuadrado \n" "Language-Team: Debian l10n Spanish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "SPAIN" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Ubicación del módem:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Indique el país en el que está instalado su módem. Por favor, seleccione el " "sistema telefónico utilizado en su país." #~ msgid "USA" #~ msgstr "SPAIN" debian/po/sv.po0000644000000000000000000000376412151215222010577 0ustar # translation of sl-modem_2.9.9d+e-pre2-11.1_sv.po to swedish # 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. # # Martin Bagge , 2008. msgid "" msgstr "" "Project-Id-Version: sl-modem_2.9.9d+e-pre2-11.1_sv\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-01-31 13:33+0100\n" "Last-Translator: Martin Bagge \n" "Language-Team: swedish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "SWEDEN" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Plats för modemet:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "Välj det telefonsystem som används i det land modemet befinner sig." #~ msgid "USA" #~ msgstr "USA" debian/po/sk.po0000644000000000000000000000314712151215222010557 0ustar # Slovak debconf translation of sl-modem # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the sl-modem package. # Ivan Masár , 2009. # msgid "" msgstr "" "Project-Id-Version: sl-modem\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-02-07 00:14+0100\n" "Last-Translator: Ivan Masár \n" "Language-Team: Slovak \n" "Language: sk\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "SLOVENSKO" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Kde sa modem nachádza:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Zadajte krajinu, kde sa nachádza váš modem. Prosím, vyberte telefónny " "systém, ktorý sa vo vašej krajine používa." debian/po/templates.pot0000644000000000000000000000264312151215222012324 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the sl-modem package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+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 #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" debian/po/ja.po0000644000000000000000000000430112151215222010525 0ustar # # 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: 2.9.11~20080817-4\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-03-07 12:20+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "" "JAPAN [ 例えばフランス語の場合は FRANCE というように、良く話されている言語 の" "国を (英語、アルファベット大文字で) 入力してください ]" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "モデムの設置場所:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "モデムが設置されている国を大文字のアルファベットで指定してください (例: " "JAPAN)。あなたの国で利用されている電話通信システムを選んでください。" debian/po/pt.po0000644000000000000000000000326712151215222010570 0ustar # translation of sl-modem debconf to Portuguese # Copyright (C) 2007 the sl-modem's copyright holder # This file is distributed under the same license as the sl-modem package. # # Américo Monteiro , 2007, 2008, 2009. msgid "" msgstr "" "Project-Id-Version: sl-modem 2.9.11~20080817-2\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-01-28 07:44+0000\n" "Last-Translator: Américo Monteiro \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "PORTUGAL" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Localização do modem:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Indique o país em que o seu modem está localizado. Por favor seleccione o " "sistema telefónico usado no seu país." debian/po/gl.po0000644000000000000000000000330712151215222010542 0ustar # Galician translation of sl-modem's debconf templates # This file is distributed under the same license as the sl-modem package. # Jacobo Tarrio , 2008. # msgid "" msgstr "" "Project-Id-Version: sl-modem\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2008-05-18 17:33+0100\n" "Last-Translator: Jacobo Tarrio \n" "Language-Team: Galician \n" "Language: gl\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "SPAIN" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Ubicación do módem:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 #, fuzzy #| msgid "" #| "In which country is your modem located? Please select the telephone " #| "system used in your country." msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "¿En que país está situado o seu módem? Escolla o sistema telefónico " "empregado no seu país." #~ msgid "USA" #~ msgstr "SPAIN" debian/po/da.po0000644000000000000000000000335312151215222010525 0ustar # Danish translation sl-modem. # Copyright (C) 2010 sl-modem & nedenstående oversættere. # This file is distributed under the same license as the sl-modem package. # Morten Brix Pedersen , 2004. # Joe Hansen , 2010. # msgid "" msgstr "" "Project-Id-Version: sl-modem\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2010-06-17 17:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "" "USA [ Indtast landet (med store bogstaver og på engelsk) hvor dit sprog er " "mest udbredt, for eksempel FRANCE for fransk ]" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Placering af modemmet:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "I hvilket land er dette modem placeret? Vælg telefonsystemet brugt i dit " "land." debian/po/pt_BR.po0000644000000000000000000000333512151215222011147 0ustar # sl-modem Brazilian Portuguese translation. # Copyright (C) 2010 sl-modem COPYRIGHT HOLDER # This file is distributed under the same license as the sl-modem package. # Marco Juliano e Silva , 2011. # msgid "" msgstr "" "Project-Id-Version: sl-modem 2.9.11~20110321-4\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2011-11-09 08:58-0200\n" "Last-Translator: Marco Juliano e Silva \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n!=1);\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "" "BRAZIL" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Localização do modem:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Indique o país no qual seu modem está localizado. Por favor, selecione o " "sistema de telefonia usado em seu país." debian/po/vi.po0000644000000000000000000000324512151215222010557 0ustar # Vietnamese translation for SLModem. # Copyright © 2009 Free Software Foundation, Inc. # Clytie Siddall , 2009. # msgid "" msgstr "" "Project-Id-Version: sl-modem 2.9.11~20080817-2\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-02-01 23:16+1030\n" "Last-Translator: Clytie Siddall \n" "Language-Team: Vietnamese \n" "Language: vi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Generator: LocFactoryEditor 1.8\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "VIETNAM" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Vị trí của bộ điều giải:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Ngụ ý bộ điều giải (modem) của bạn ở quốc gia nào. Hãy chọn hệ thống điện " "thoại dùng trong nước này." debian/po/ru.po0000644000000000000000000000356512151215222010574 0ustar # translation of ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the sl-modem package. # # Yuri Kozlov , 2008. msgid "" msgstr "" "Project-Id-Version: sl-modem 2.9.11~20080817-2\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-01-29 19:31+0300\n" "Last-Translator: Sergey Alyoshin \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "RUSSIA" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Местонахождение модема:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Указывает страну, в которой находится модем. Выберите систему телефонии, " "используемую в вашей стране." debian/po/id.po0000644000000000000000000000304512151215222010533 0ustar msgid "" msgstr "" "Project-Id-Version: sl-modem\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: \n" "Last-Translator: Mahyuddin Susanto \n" "Language-Team: Debian Indonesia Translator \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Indonesian\n" "X-Poedit-Country: INDONESIA\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "USA [ Enter the country (in uppercase and in English) where your language is mostly spoken, for example FRANCE for French ]" msgstr "USA [masukkan negara (dalam huruf besar dan dalam bahasa Inggris) dimana bahasa anda diucapkan, contoh FRANCE untuk Perancis]" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Lokasi modem:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Indicate the country in which your modem is located. Please select the telephone system used in your country." msgstr "Tunjukkan negara modem anda berada. Silakan pilih sistem telepon yang digunakan di negara anda" debian/po/cs.po0000644000000000000000000000373712151215222010554 0ustar # # 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: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-01-31 17:08+0100\n" "Last-Translator: Miroslav Kure \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "CZECH REPUBLIC" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Geografická poloha modemu:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Vyberte zemi, ve které je tento modem umístěn. Vyberte prosím telefonní " "systém používaný ve vaší zemi." #~ msgid "USA" #~ msgstr "USA" #~ msgid "_list_" #~ msgstr "_list_" debian/po/fr.po0000644000000000000000000000332212151215222010544 0ustar # Translation of sl-modem debconf templates to French # Copyright (c) 2008 Jean-Luc Coulon (f5ibh) # This file is distributed under the same licence as the sl-modem package. # # Jean-Luc Coulon (f5ibh) , 2009. # msgid "" msgstr "" "Project-Id-Version: sl-modem 2.9.11\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-02-06 16:49+0100\n" "Last-Translator: Jean-Luc Coulon (f5ibh) \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "FRANCE" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Emplacement du modem :" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Veuillez indiquer le pays dans lequel se trouve votre modem. Vous devriez " "choisir le système téléphonique en usage dans votre pays." debian/po/ar.po0000644000000000000000000000337412151215222010546 0ustar # translation of ar.po to Arabic # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the sl-modem package. # # Ossama M. Khayat , 2008, 2009. msgid "" msgstr "" "Project-Id-Version: ar\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-01-28 10:23+0300\n" "Last-Translator: Ossama M. Khayat \n" "Language-Team: Arabic \n" "Language: ar\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=4; plural=(n == 1? 0 : (n == 2? 1 : (n <= 10? 2 : " "3)))\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "KUWAIT" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "موضع المودم:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "حدد الدولية التي يوجد فيها جهاز المودم الخاص بك. رجاء اختر نظام الهاتف " "المستخدم في دولتك." debian/po/it.po0000644000000000000000000000324612151215222010556 0ustar # Italian (it) translation of debconf templates for sl-modem # Copyright (C) 2007 Free Software Foundation, Inc. # This file is distributed under the same license as the sl-modem package. # Luca Monducci , 2007 - 2009. # msgid "" msgstr "" "Project-Id-Version: sl-modem 2.9.11~20080817-2 italian debconf templates\n" "Report-Msgid-Bugs-To: sl-modem@packages.debian.org\n" "POT-Creation-Date: 2009-01-28 06:51+0200\n" "PO-Revision-Date: 2009-01-31 14:52+0100\n" "Last-Translator: Luca Monducci \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: select #. Default #: ../sl-modem-daemon.templates:1001 msgid "" "USA [ Enter the country (in uppercase and in English) where your language is " "mostly spoken, for example FRANCE for French ]" msgstr "ITALY" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "Location of the modem:" msgstr "Ubicazione del modem:" #. Type: select #. Description #. Translators: Enter the country (in uppercase and in English) where your #. language is mostly spoken, for example FRANCE for French or GERMANY for #. German #: ../sl-modem-daemon.templates:1002 msgid "" "Indicate the country in which your modem is located. Please select the " "telephone system used in your country." msgstr "" "Inserire in quale paese è situato il modem. Scegliere il sistema telefonico " "usato nel proprio paese."