sudo slmodemd -c YOUR_COUNTRY --alsa modem:1,0 should be sudo slmodemd -c YOUR_COUNTRY --alsa modem:1 through modem:1,0 will likly be OK also MarvS scanModem maintainer On Dec 3, 2007 10:31 AM, syafiudin <syafiudin@xxxxxxxxx> wrote: > > > Only plain text email is forwarded by the Discuss@xxxxxxxxxxxxx List Server, > as HTML can contain viruses. Use as the email Subject Line: > YourName, YourCountry kernel 2.6.22-14-generic > With this Subject Line cogent experts will be alerted, and useful case names left in the Archive. > YourCountry will enable Country specific guidance. Your contry's local Linux experts > can be found through: http://www.linux.org/groups/index.html > Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an Internet Provider mail filters. > So in a day, also check the Archived responses at http://www.linmodems.org > -------------------------- System information ---------------------------- > CPU=i686, > Linux version 2.6.22-14-generic (buildd@palmer) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Sun Oct 14 23:05:12 GMT 2007 > scanModem update of: 2007-20-07 > The modem symbolic link is /dev/modem -> ttySL0 > The slmodemd set symbolic link is /dev/ttySL0 -> /dev/pts/1 > > There are no blacklisted modem drivers in /etc/modprobe* files > > Potentially useful modem drivers now loaded are: > snd_via82xx_modem > > > The Advanced Linux Sound Architecture (ALSA) packages providing audio support on your System, > also includes drivers for some modems. High Definition Audio (HDA) cards can themselves host > a softmodem chipset, with both audio+modem supported by a snd-hda-intel driver. > The ALSA diagnostics are written during bootup to /proc/asound/ folders. > > > Modem not detected though HDA card diagnostics, though not excluding > a possible Conexant modem chip impervious to ALSA diagnostics. > Proceeding through alternative possibilties. > > Summary card and chipset information is in: > /proc/asound/cards: > 0 [V8235 ]: VIA8233 - VIA 8235 > VIA 8235 with ALC655 at 0x1400, irq 20 > 1 [modem ]: VIA82XX-MODEM - VIA 82XX modem > VIA 82XX modem at 0x1800, irq 20 > > /proc/asound/pcm: > 01-00: VIA 82XX modem : VIA 82XX modem : playback 1 : capture 1 > 00-01: VIA 8235 : VIA 8235 : playback 1 : capture 1 > 00-00: VIA 8235 : VIA 8235 : playback 4 : capture 1 > > A copy of /proc/asound had been copied to Modem/ALSAroot.tgz > USB modem not detected by lsusb > > For candidate card, firmware information and bootup diagnostics are: > > PCI slot PCI ID SubsystemID Name > ---------- --------- --------- -------------- > 00:11.6 1106:3068 1558:5402 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller > > Modem interrupt assignment and sharing: > 20: 61324 IO-APIC-fasteoi VIA82XX-MODEM, VIA8233 > --- Bootup diagnostics for card in PCI slot 00:11.6 ---- > [ 24.996000] PCI: Enabling device 0000:00:11.6 (0000 -> 0001) > [ 24.996000] ACPI: PCI Interrupt 0000:00:11.6[C] -> Link [ALKC] -> GSI 22 (level, low) -> IRQ 20 > [ 25.000000] PCI: Setting latency timer of device 0000:00:11.6 to 64 > > === Finished modem firmware and bootup diagnostics section. === > === Next deducing cogent software === > > > There is candidate modem software. > > For candidate modem in PCI bus: 00:11.6 > Class 0780: 1106:3068 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller > Primary PCI_id 1106:3068 > Subsystem PCI_id 1558:5402 > Softmodem codec or chipset from diagnostics: MOT66, an LSI/AgereSystems type. > from Archives: > > > This is a NEW softmodem case! Please send the output ModemData.txt > to DISCUSS@xxxxxxxxxxxxx to enrich the Archive and help others! > If further assistance is not needed, please use email Subject: > New Case Only > ------------------------------------------- > 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-via82xx-modem > 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 modem:1,0 > 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-via82xx-modem and audio drivers it depends on, > displayed by: lsmod | grep snd_via82xx_modem > Module Size Used by > ------------------------------------- > snd_via82xx_modem 16264 5 > snd_ac97_codec 100644 2 snd_via82xx,snd_via82xx_modem > snd_pcm 80388 6 snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss > snd 54660 22 snd_via82xx,snd_via82xx_modem,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_seq,snd_timer,snd_rawmidi,snd_seq_device > snd_page_alloc 11400 3 snd_via82xx,snd_via82xx_modem,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 > ------------------------------- > 01-00: VIA 82XX modem : VIA 82XX modem : playback 1 : capture 1 > 00-01: VIA 8235 : VIA 8235 : playback 1 : capture 1 > 00-00: VIA 8235 : VIA 8235 : playback 4 : capture 1 > > /proc/asound/modules > ------------------------------- > 0 snd_via82xx > 1 snd_via82xx_modem > /proc/asound/card1/codec97#0/mc97#1-1+regs > ------------------------------- > 0:7c = 4d4f and 0:7e = 5466 > which were translated from hexadecimal code into: MOT66 > > /proc/asound/card1/codec97#0/mc97#1-1 > ------------------------------- > Extended modem ID: codec=1 LIN1 > > and from the command: > aplay -l | grep -i modem > card 1: modem [VIA 82XX modem], device 0: VIA 82XX modem [VIA 82XX 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.3 > and the compiler used in kernel assembly: 4.1.3 > > > > Minimal compiling resources appear complete: > make utility - /usr/bin/make > Compiler version 4.1 > linuc_headers base folder /lib/modules/2.6.22-14-generic/build > > However some compilations and executable functions may need additional files, > in the FileNames.h (so called kernel "h"eaders) collection installed in /usr/include/ . > For martian_modem, additional required packages are libc6-dev (and for Debian/Ubuntu, linux-libc-dev). The also required headers of package libc6 are commonly installed by default. > > > > If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then > Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev > and any of its dependents, under Ubuntu linux-libc-dev > > If an alternate ethernet connection is available, > $ apt-get update > $ apt-get -s install linux-kernel-devel > will install needed pacakage > For Debian/Ubuntu related distributions, run the following command to display the needed package list: > > Otherwise packages have to be found through http://packages.ubuntu.com > Once downloaded and transferred into a Linux partition, > they can be installed alltogether with: > $ sudo dpkg -i *.deb > > > Checking pppd properties: > -rwsr-xr-- 1 root dip 269256 2007-10-05 02:57 /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 > > Read Modem/YourSystem.txt concerning other COMM channels: eth0 eth1 > Which can interfere with Browser naviagation. > > 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-12-01 22:20 /dev/modem -> ttySL0 > slmodemd created symbolic link /dev/ttySL0: lrwxrwxrwx 1 root root 10 2007-12-01 22:37 /dev/ttySL0 -> /dev/pts/1 > 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/alsa-base:options snd-atiixp-modem index=-2 > /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2 > /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/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 -------- > > >