sl-modem-daemon init.d script looks for information about ALSA modem in wrong place
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sl-modem (Debian) |
Fix Released
|
Unknown
|
|||
sl-modem (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
This is very similar to bug in Jockey (aka Hardware Drivers): https:/
Issue is that /etc/init.
my /proc/asound/cards is:
pecisk@
0 [Intel ]: HDA-Intel - HDA Intel
and aplay -l is:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Headset [Logitech USB Headset], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
So please fix so sl-modem-daemon init.d script would look into aplay -l results, if it's available (alsa-utils package). It is installed by default for almost all Ubuntu and Debian distribution scenarios.
Related branches
Changed in sl-modem: | |
status: | Unknown → Fix Released |
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 alsaload method in init.d script for situation when there is no "modem" string in /proc/asound/cards, but there is such string in aplay -l output. This check then takes row from output, extracts card and subdevice numbers, and create ALSA device address, e.t. "hw:0,6" and passes it to slmodemd as needed.
Patch is for debian/ sl-modem- daemon. init file.