Here's the changelog entry: 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: #626231) (LP: #626231), patch submitted by: Milan Bouchet-Valat <nalimilan@club.fr> * debian/control: Bumped Standards-Version to 3.9.1, no changes needed. Please find the debdiff attached. Please CC me on replies, since I am not subscribed to the list. Thanks... -- أحمد المحمودي (Ahmed El-Mahmoudy) Digital design engineer GPG KeyID: 0xEDDDA1B7 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7
diff --git a/debian/changelog b/debian/changelog index 2b497fc..9407773 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +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: #626231) (LP: #626231), patch + submitted by: Milan Bouchet-Valat <nalimilan@club.fr> + * debian/control: Bumped Standards-Version to 3.9.1, no changes needed. + + -- أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org> Sun, 29 Aug 2010 23:59:01 +0200 + sl-modem (2.9.11~20100718-1) unstable; urgency=low * New upstream release. diff --git a/debian/control b/debian/control index d55469f..6fca7d7 100644 --- a/debian/control +++ b/debian/control @@ -4,7 +4,7 @@ Priority: optional Maintainer: أحمد المحمودي (Ahmed El-Mahmoudy) <aelmahmoudy@sabily.org> Uploaders: Maurizio Avogadro <mavoga@gmail.com>, Rolf Leggewie <foss@rolf.leggewie.biz> Build-Depends: debhelper (>= 7.0.50~), bzip2, libasound2-dev (>> 1.0.6) [i386], lib32asound2-dev [amd64], libc6-dev-i386 [amd64] | lib32c-dev [amd64], gcc-multilib [amd64], po-debconf, execstack -Standards-Version: 3.9.0 +Standards-Version: 3.9.1 DM-Upload-Allowed: yes Homepage: http://linmodems.technion.ac.il/packages/smartlink/ Vcs-Git: git://git.debian.org/git/collab-maint/sl-modem.git diff --git a/debian/sl-modem-daemon.init b/debian/sl-modem-daemon.init index 11c8bab..4fa777a 100644 --- a/debian/sl-modem-daemon.init +++ b/debian/sl-modem-daemon.init @@ -43,7 +43,7 @@ alsaload() { 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=$(aplay -l | egrep '^card [0-9].*(M|m)odem') ; then + 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 @@ -63,7 +63,7 @@ alsaload() { 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) && (aplay -l | egrep '^card [0-9]*\: Modem ' >/dev/null) && break + 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
Attachment:
signature.asc
Description: Digital signature