Re: snd-hda-intel problem Re: ANKUR,INDIA kernel 2.6.28-15-generic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On Sun, Sep 20, 2009 at 11:06:29AM -0400, Marvin Stodolsky wrote:
> Please do incorporate anything from that diagnostic section of my
> scanModem section into  /etc/init.d/sl-modem-daemon
> that might improve the daemon script's parsing.   There was also one
> case where the User system had two different audio cards.
> The scanModem diagnostics were not adequate in that case, and I had to
> use a copy of the /proc/asound to figure out the port.
---end quoted text---

  Do you think that this code is enough:

    PCM=/proc/asound/pcm
    HDAmodem=$(grep -i Modem $PCM | grep "00-0[1-9]: " 2>/dev/null)
    if test "$HDAmodem" ; then
      Driver=snd-hda-intel
      DRIVER=snd_hda_intel
      # cases hw:0,1 and hw:0,6  thus far observed
      cA=$(grep -i Modem $PCM | cut -b4)
      cM=$(grep -i Modem $PCM | cut -b5)
      SLMODEMD_DEVICE=hw:$cA,$cM
    fi

-- 
 ‎أحمد المحمودي (Ahmed El-Mahmoudy)
  Digital design engineer
 GPG KeyID: 0xEDDDA1B7 (@ subkeys.pgp.net)
 GPG Fingerprint: 8206 A196 2084 7E6D 0DF8  B176 BC19 6A94 EDDD A1B7

[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux