Re: Fwd: update to alsa-1.0.14 fixes snd-hda intel problem

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

 



Andrey  Its good news that the snd-hda-intel update to  ALSA 1.0.14, madeyour dial outfunctional.
With respect to the the frequent aborts,1) Check that the COUNTRY setting is appropriate
2) read /etc/ppp/options about decreasing the MTU (maximal transfer unit)which helps for noisy lines
3)  you can  test with a  +MS=90added to Init2 , which compensates for some bad implementatioons ofthe default MS=92If that doesn't help, try instead  +MS=34
Also read Jacques PostInstall HowTo at http://limodems.technion.ac.il
MarvS

On 9/13/07, Andrey Patyuchenko <andrey.patyuchenko@xxxxxxxxx> wrote:> Dear Marvin,>> thank you for your reply. After downloading, compiling and installing of> ALSA 1.0.14, I've got the modem working, but encounter error in> functioning which origin is unclear to me. Please, look through the> following log file with my comments:>> // I launch dialup session in Ubuntu right after the boot:>> dryu@joybook:~$ sudo wvdial> --> WvDial: Internet dialer version 1.56> --> Cannot get information for serial port.> --> Initializing modem.> --> Sending: ATZ> ATZ> OK> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0> OK> --> Modem initialized.> --> Sending: ATDT822539222> --> Waiting for carrier.> ATDT822539222> CONNECT 33333> --> Carrier detected.  Waiting for prompt.> ~[7f]}#@!}!}/} }4}"}&} }*} } }%}&[0e]}=[17]N}'}"}(}"$e~> --> PPP negotiation detected.> --> Starting pppd at Thu Sep 13 16:44:45 2007> --> Pid of pppd: 5639> --> Using interface ppp0> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> local  IP address 89.190.254.21> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> remote IP address 89.190.254.254> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> primary   DNS address 217.168.64.2> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> secondary DNS address 195.232.88.17> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]>> // I am connected now, and can use internet. But within several minutes> (time varies) I've got modem hanging up connection unexpectedtly:>> --> Connect time 2.5 minutes.> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> pppd: пїЅ[08][06][08]пїЅ[05][06][08]> --> Disconnecting at Thu Sep 13 16:47:23 2007> --> The PPP daemon has died: A modem hung up the phone (exit code = 16)> --> man pppd explains pppd error codes in more detail.> --> Try again and look into /var/log/messages and the wvdial and pppd man> pages for more information.> --> Auto Reconnect will be attempted in 5 seconds>> // consequent reconnection attempts will fail to initialize the modem:>> --> Cannot get information for serial port.> --> Initializing modem.> --> Sending: ATZ> --> Sending: ATQ0> --> Re-Sending: ATZ> --> Modem not responding.> --> Cannot get information for serial port.> --> Initializing modem.> --> Sending: ATZ> --> Sending: ATQ0> --> Re-Sending: ATZ> --> Modem not responding.> --> Disconnecting at Thu Sep 13 16:47:45 2007>> // modem won't be initialized untill I restart slmodemd. After restart of> slmodemd,> // I have the following in log when trying to use my dialup connection> again:>> dryu@joybook:~$ sudo wvdial> --> WvDial: Internet dialer version 1.56> --> Cannot get information for serial port.> --> Initializing modem.> --> Sending: ATZ> ATZ> OK> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0> OK> --> Modem initialized.> --> Sending: ATDT822539222> --> Waiting for carrier.> ATDT822539222> --> Timed out while dialing.  Trying again.> --> Sending: ATDT822539222> --> Waiting for carrier.> --> Timed out while dialing.  Trying again.> --> Sending: ATDT822539222> --> Waiting for carrier.> --> Timed out while dialing.  Trying again.> --> Sending: ATDT822539222> --> Waiting for carrier.>> That's it. Modem isn't possible to use since then. After Ubuntu restart,> this behavior repeats - I connect, use internet for few minutes,> unexpectedtly disconnects, not possible to use modem in this Ubuntu> session. And also I must notice, that my modem is completely silenced - I> can hear no sounds coming from it, which is irritating.>> Is possible, could you please reply me with comments on this? Thank you> very much for your assistance.>> -A>>> On Wed, 12 Sep 2007 06:04:18 +0400, Marvin Stodolsky> <marvin.stodolsky@xxxxxxxxx> wrote:>> > Andrey,> >> > Be sure that the dialout is started with "sudo"> > $ sudo wvdial> > as accessing COMM hardware is SUID root> >> > Presuming that sudo is used and  "Carrier Check = no" is present in> > the wvdial.conf,> > the remaining option is to update your snd-hda-intel + its dependent> > driver set.> > First try the alsa-1.0.14 resources.  If that doesn't suffice also try> > the working alsa-1.0.15.> >> > Keeping up with the diverse chipsets under the umbrella of> > snd-hda-intel is a running task for the maintainer.> >> > If you don't get service with newer snd-hda-intel then, start slmodemd> > with:> > $ sudo slmodemd -c RUSSIA --alsa --log --debug=2 hw:0,6> > In the 2nd console run the> > $ sudo wvdial> > and send me the log file after the failure.> > I'll forward with comments to the ALSA maintainer> >> > MarvS> >> >> > ---------- Forwarded message ----------> > From: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>> > Date: Sep 4, 2007 7:51 PM> > Subject: update to alsa-1.0.14 fixes snd-hda intel problem> > To: Linmodems <discuss@xxxxxxxxxxxxx>> >> >> > This report relates how an update to alsa-1.0.14 cured a snd-hda-intel> > problem.  This is worth trying for those of you still having similar> > troubles.> > Instructions for doing the update are below too.> >> > ---------- Forwarded message ----------> > From: Bernhard Bauer <Bernhard-Bauer@xxxxxx>> > Date: Sep 4, 2007 1:59 PM> > Subject: Modem works> > To: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>> >> >> > Hi,> >> > now I have installed alsa-1.0.14 on my Asus laptop with hda-intel> > based card and my winmodem works.> >> > I'm sending this message and the modemData to you via the> > motorola-modem internet-connection.> >> > This is the output:> >> > sudo slmodemd -c GERMANY --alsa hw:0,6> > SmartLink Soft Modem: version 2.9.11 Aug  6 2007 22:02:27> > symbolic link `/dev/ttySL0' -> `/dev/pts/5' created.> > modem `hw:0,6' created. TTY is `/dev/pts/5'> > Use `/dev/ttySL0' as modem device, Ctrl+C for termination.> >> > destroyer@destroyerlap:~/wichtiges/linux/alsa$ sudo wvdial> > --> WvDial: Internet dialer version 1.56> > --> Cannot get information for serial port.> > --> Initializing modem.> > --> Sending: ATZ> > ATZ> > OK> > --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0> > ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0> > OK> > --> Modem initialized.> > --> Sending: ATDT0191771> > --> Waiting for carrier.> > ATDT0191771> > CONNECT 49333> > --> Carrier detected.  Waiting for prompt.> > ~[7f]}#@!}!i} }8}"}&} }*} } }#}$@#}%}&t[11][01]p}'}"}(}"oQ~> > --> PPP negotiation detected.> > --> Starting pppd at Tue Sep  4 19:44:44 2007> > --> Pid of pppd: 14901> > --> Using interface ppp0> > --> pppd: �[08][06][08]�[04][06][08]> > --> pppd: �[08][06][08]�[04][06][08]> > --> pppd: �[08][06][08]�[04][06][08]> > --> pppd: �[08][06][08]�[04][06][08]> > --> local  IP address 89.51.181.198> > --> pppd: �[08][06][08]�[04][06][08]> > --> remote IP address 62.104.218.38> > --> pppd: �[08][06][08]�[04][06][08]> > --> primary   DNS address 62.104.191.241> > --> pppd: �[08][06][08]�[04][06][08]> > --> secondary DNS address 62.104.196.134> > --> pppd: �[08][06][08]�[04][06][08]> > -------- Original-Nachricht --------> >> Datum: Fri, 24 Aug 2007 01:33:45 -0400> >> Von: "Marvin Stodolsky" <marvin.stodolsky@xxxxxxxxx>> >> An: "Bernhard Bauer" <Bernhard-Bauer@xxxxxx>> >> Betreff: Fwd: Replacing snd-hda-intel and its dependent modules> >> >> Bernhard,> >>> >> RE: [  789.308000] hda-intel: invalid format_val, rate=9600, ch=1,> >> format=2> >>> >> Follow the instructions below.> >> You have to replace your 1.0.13 alsa driver set with version 1.0.14a> >> with sources at http://www.alsa-project.org/main/index.php/Main_Page> >> The 1.0.14 snd-hda-intel + dependent drivers have the fix for rate=9600> >> problem> >>> >> MarvS> >>> >> ---------- Forwarded message ----------> >> From: Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx>> >> Date: May 30, 2007 8:31 AM> >> Subject: Replacing snd-hda-intel and its dependent modules> >> To: ste <ste@xxxxxxxxxxxxxxxxx>, Linmodems <discuss@xxxxxxxxxxxxx>> >>> >>> >> Ste,> >>> >> A set of several drivers which snd-hda-intel depends on also has to be> >> replaced> >> Here is the procedure for ALSA release 1.0.2, and could be similarly> >> followed for say 1.0.14rc3> >>> >> >From http://www.alsa-project.org/   get the version 1.0.2 driver> >> and lib packages.  Make a folder, say alsa/.> >> $ mkdir alsa> >>  Unpack both packages in the alsa/ folder> >> $ tar jxf alsa*.tar.bz2> >> will unpack both.> >>> >> To compile the driver set, move into the driver folder:> >> $ cd alsa-driver-1.0.12> >> Look around:> >> $ ls> >> $ make clean> >>> >> Make a transient (must be redone after a reboot) definition> >> HEADERS=/lib/modules/2.6.20-15-generic/build> >> Check with> >> $ ls $HEADERS> >> the base of the linux-headers folder should be displayed> >>> >> Do the configuration with with the following command on ONE LINE:> >> $ ./configure --with-kernel=$HEADERS   --with-build=$HEADERS> >> --with-cards=hda-intel> >> If the configuration is successful, the driver set will be compiled> >> with:> >> $ make> >> Do nothing in the alsa-lib-1.0.12/  folder.  But it is used during> >> the compile.> >>> >> The new driver set is displayed by:> >> $ ls modules> >> and installed by> >> $ sudo make install> >>> >> THen reboot to have the new drivers used. as the existing set usually> >> cannot be unloaded.> >>> >> MarvS> >>> > =========> > Bernhards new System information follows:> >> > --------------------------  System information> > ----------------------------> > CPU=i686,  Ubuntu 7.04> > Linux version 2.6.20-15-386 (root@palmer) (gcc version 4.1.2 (Ubuntu> > 4.1.2-0ubuntu4)) #2 Sun Apr 15 07:34:00 UTC 2007> >  scanModem update of:  2007_June_19> > The modem symbolic link is /dev/modem -> ttySL0> > The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/5> >> > ALSAversion 1.0.14> > USB modem not detected by lsusb> >> > Modem or host audio card candidates have firmware information:> >> >  PCI slot       PCI ID          SubsystemID     Name> >  ----------     ---------       ---------       --------------> >  00:10.1        10de:026c       1043:1367       Audio device: nVidia> > Corporation MCP51> > High Definition Audio> >> >  Modem interrupt assignment and sharing:> >  22:     184060   IO-APIC-fasteoi   HDA Intel> >> >  --- Bootup diagnositcs for card in PCI slot 00:10.1 ----> > [   47.019210] ACPI: PCI Interrupt 0000:00:10.1[B] -> Link [LAZA] ->> > GSI 21 (level, low) -> IRQ 22> > [   47.019234] PCI: Setting latency timer of device 0000:00:10.1 to 64> >> >  === Finished modem firmware and bootup diagnostics section. ===> >  === Next deducing cogent software ===> >> > 10de:026c is a High Definition Audio card, possibly hosting a soft modem.> > HDAmodemChip=0x0573055> >  For candidate modem in PCI bus:  00:10.1> >    Class 0403: 10de:026c Audio device: nVidia Corporation MCP51 High> > Definition Audio> >       Primary PCI_id  10de:026c> >     Subsystem PCI_id  1043:1367> >     Softmodem codec or Vendor from diagnostics:> >                               from    Archives: Motorola_Si3054> >                         The HDA card softmodem chip is 0x0573055> >> >  Lacking a dsp (digital signal processing) chip, the modem is a software> >  intensive or "softmodem" type. Its primary controller manages the> > traffic> >  with the CPU. But the software needed is specified in the Subsystem.> >  -----------------------------------------> > Support type needed or chipset: slmodemd> >> >  An ALSA (Advanced Linux Sound Architecture) modem driver:  snd-hda-intel> >  provides Low Level support enabling contact with the modem hardware.> >  For all BUT Conexant chip soft modems (using hsfmodem software)> >  complementary High Level support is through a Smartlink utility:> > slmodemd> >> >  Download from http://linmodems.technion.ac.il/packages/smartlink/> >  the package SLMODEMD.gcc4.1.tar.gz having a compiled slmodemd. Unpack> > under Linux with:> >         $ tar zxf SLMODEMD.gcc4.1.tar.gz> >  and read instructions therein. But briefly, the modem is setup with> > command:> >         sudo slmodemd -c YOUR_COUNTRY --alsa hw:0,6> >  reporting dynamic creation of ports:> >         /dev/ttySL0 --> /dev/pts/N   , with N some number> >  Read Smartlink.txt and Modem/YourSystem.txt for follow through guidance.> >> >  Already loaded into the kernel is snd-hda-intel and audio drivers it> > depends on,> >  displayed by:  lsmod | grep snd_hda_intel> > Module                  Size  Used by> > -------------------------------------> > snd_hda_intel         261144  5> > snd_pcm                77832  4 snd_hda_intel,snd_pcm_oss> > snd                    54276  16> > snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_seq,snd_timer,snd_seq_device> > snd_page_alloc         10376  2 snd_hda_intel,snd_pcm> >> >> > The diagnostic outputs for this softmodem section have their raw> > information in> > folders and text files under /proc/asound/ which you can browse. The> > information> > is from files:> >         /proc/asound/pcm> > -------------------------------> > 00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1> > 00-01: ALC861 Digital : ALC861 Digital : playback 1> > 00-00: ALC861 Analog : ALC861 Analog : playback 1 : capture 2> >> >         /proc/asound/modules> > -------------------------------> >  0 snd_hda_intel> > and from the command:> >         aplay -l | grep -i modem> > Karte 0: NVidia [HDA NVidia], GerÀt 6: Si3054 Modem [Si3054 Modem]> >> > ----------------end Softmodem section -------------->>>> --> Sincerely,> Andrey Patyuchenko>

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

  Powered by Linux