[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-03-09 Thread Bug Watch Updater
** Changed in: sl-modem (Debian) Status: Unknown => Fix Released -- sl-modem-daemon init.d script looks for information about ALSA modem in wrong place https://bugs.launchpad.net/bugs/298424 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-25 Thread Martin Pitt
** Bug watch added: Debian Bug tracker #517055 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517055 ** Also affects: sl-modem (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517055 Importance: Unknown Status: Unknown -- sl-modem-daemon init.d script looks for inf

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-25 Thread Launchpad Bug Tracker
This bug was fixed in the package sl-modem - 2.9.11~20080817-3ubuntu1 --- sl-modem (2.9.11~20080817-3ubuntu1) jaunty; urgency=low * debian/sl-modem-daemon.init: Also check for modems which are subdevices, and thus only expose themselves in "aplay -l", not in /proc/asound/car

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-25 Thread Martin Pitt
Uploaded and sent to Debian. ** Changed in: sl-modem (Ubuntu) Status: Incomplete => Fix Committed -- sl-modem-daemon init.d script looks for information about ALSA modem in wrong place https://bugs.launchpad.net/bugs/298424 You received this bug notification because you are a member of U

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-23 Thread Peteris Krisjanis
For third time, it shall be be perfect :) Ok, here I attach patch which I got from diffing my current init.d script with 2.9.11-20080817-3. I also put right indentation (4 spaces, as original does). However, I also attach my working init.d script in a case if there are again problem with this pat

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-23 Thread Peteris Krisjanis
** Attachment added: "Working version of sl-modem-daemon init.d script" http://launchpadlibrarian.net/23011539/sl-modem-daemon.working.init -- sl-modem-daemon init.d script looks for information about ALSA modem in wrong place https://bugs.launchpad.net/bugs/298424 You received this bug noti

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-23 Thread Martin Pitt
Peteris, sorry, the patch doesn't apply at all against current Jaunty. Can you please attach your current, tested init script or rework the patch to apply against 2.9.11~20080817-3? Please also don't change the indentation (you used 3 spaces, original one uses 4). The patch looks good now, thanks

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-20 Thread Brian Murray
Looking at the attachments in this bug report, I noticed that "sl-modem- daemon.init.patch" was not flagged as a patch. A patch contains changes to an Ubuntu package that will resolve a bug and this attachment is one! Subsequently, I've checked the patch flag for it. In the future when submitting

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-19 Thread Peteris Krisjanis
Hi Martin, There is requested new patch. Tried to implement all your suggestions, and in the way rewrote almost all alsaload. For me it now looks more compact and makes more sense. Tested it, works for both ALSA and slamr scenarios (can't test slmodemd modem:x scenario though). Bear with me, as it

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-18 Thread Martin Pitt
Some comments: - Please don't call egrep and aplay -l twice. Do it once, save it in $output, and just use the variable. - I suspect that it also greps /proc/asound/cards further down. Please move that upwards and reuse the grep result. - echo $output -> echo "$output", to avoid automatic bash

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-16 Thread Peteris Krisjanis
Updated patch, fixed one bug, which created wrong device for slmodemd to run. This works as it should. ** Attachment added: "sl-modem-daemon.init.patch" http://launchpadlibrarian.net/22697702/sl-modem-daemon.init.patch -- sl-modem-daemon init.d script looks for information about ALSA modem in

[Bug 298424] Re: sl-modem-daemon init.d script looks for information about ALSA modem in wrong place

2009-02-16 Thread Peteris Krisjanis
I have to correct my statement in this bug report :) Actually, script works right, but only when modem is as major device. It doesn't look for modems as subdevices of cards. For that, /proc/asound/cards won't show you any information, but aplay -l will. Therefore I added additional check in alsalo