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 --------------
Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server. Do use the following as the email Subject Line: SomeName, YourCountry Ubuntu 7.04 kernel 2.6.20-15-386 This will alert cogent experts, and distinguish cases in the Archives. YourCountry will enable Country Code guidance. Occassionally responses are blocked by an Internet Provider mail filters. So in a day, also check the Archived responses at http://www.linmodems.org . Local Linux experts can be found through: http://www.linux.org/groups/index.html -------------------------- 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 -------------- Writing Smartlink.txt ============ end Smartlink section ===================== Completed candidate modem analyses. The base of the UDEV device file system is: /dev/.udev Versions adequately match for the compiler installed: 4.1.2 and the compiler used in kernel assembly: 4.1.2 Kernel-header resources needed for compiling are not manifestly ready! If compiling is necessary packages must be installed, providing: linux-headers-2.6.20-15-386 Compressed files at: /usr/src/gspca-source.tar.bz2 /usr/src/linux-source-2.6.20.tar.bz2 /usr/src/sl-modem.tar.bz2 Checking pppd properties: -rwsr-xr-- 1 root dip 269224 2007-04-05 05:41 /usr/sbin/pppd In case of an "error 17" "serial loopback" problem, see: http://phep2.technion.ac.il/linmodems/archive-sixth/msg02637.html To enable dialout without Root permission do: $ su - root (not for Ubuntu) sudo chmod a+x /usr/sbin/pppd or under Ubuntu related Linuxes sudo chmod a+x /usr/sbin/pppd Checking settings of: /etc/ppp/options asyncmap 0 noauth crtscts lock hide-password modem proxyarp lcp-echo-interval 30 lcp-echo-failure 4 noipx In case of a message like: Warning: Could not modify /etc/ppp/pap-secrets: Permission denied see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html Don't worry about the following, it is for the experts should trouble shooting be necessary. ========================================================== # start/stop the daemon when the USB modem is connected KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon" Checking for modem support lines: -------------------------------------- /device/modem symbolic link: lrwxrwxrwx 1 root root 6 2007-09-04 19:14 /dev/modem -> ttySL0 slmodemd created symbolic link /dev/ttySL0: lrwxrwxrwx 1 root root 10 2007-09-04 19:41 /dev/ttySL0 -> /dev/pts/5 Within /etc/udev/ files: /etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected /etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon" /etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected /etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon" Within /etc/modprobe.conf files: /etc/modprobe.d/sl-modem-daemon.modutils:install slamr modprobe --ignore-install ungrab-winmodem ; modprobe --ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0) /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2 /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2 /etc/modprobe.d/blacklist-modem:# Uncomment these entries in order to blacklist unwanted modem drivers /etc/modprobe.d/blacklist-modem:blacklist snd-atiixp-modem /etc/modprobe.d/blacklist-modem:blacklist snd-via82xx-modem Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: --------- end modem support lines --------