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.24-23-generic With this Subject Line cogent experts will be alerted, and useful case names left in the Archive. YourCountry will enable Country specific guidance. Linux experts in YourCountry can be found through: http://www.linux.org/groups/index.html. They will know your Country's modem code, which may be essential for dialup service. 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.24-23-generic (buildd@palmer) (gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3)) #1 SMP Thu Nov 27 18:44:42 UTC 2008 scanModem update of: 2009_02_04 There are no blacklisted modem drivers in /etc/modprobe* files Potentially useful modem drivers now loaded are: snd_via82xx_modem Attached USB devices are: ID 13fe:1d00 Kingston Technology Company Inc. DataTraveler 2.0 1GB Flash Drive ID 04b8:0848 Seiko Epson Corp. If a cellphone is not detected, see http://ubuntuforums.org/archive/index.php/t-878554.html If a USB modem or cellphone is attached and was not detected, please provide available information in your request to discuss@xxxxxxxxxxxxx For candidate card in slot 00:07.6, firmware information and bootup diagnostics are: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 00:07.6 1106:3068 1631:3003 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller Modem interrupt assignment and sharing: 10: 480 IO-APIC-fasteoi VIA82XX-MODEM, VIA686A --- Bootup diagnostics for card in PCI slot 00:07.6 ---- [ 61.641336] ACPI: PCI Interrupt 0000:00:07.6[C] -> GSI 10 (level, low) -> IRQ 10 [ 61.641869] PCI: Setting latency timer of device 0000:00:07.6 to 64 ===== Advanced Linux Sound Architecture (ALSA) diagnostics ===== The ALSA packages provide audio support and also drivers for some modems. ALSA diagnostics are written during bootup to /proc/asound/ folders. The ALSA verion is 1.0.16 The modem cards detected by "aplay -l" are: card 1: modem [VIA 82XX modem], device 0: VIA 82XX modem [VIA 82XX modem] The /proc/asound/pcm file reports: ----------------------- 01-00: VIA 82XX modem : VIA 82XX modem : playback 1 : capture 1 00-00: VIA 82C686A/B rev50 : VIA 82C686A/B rev50 : playback 1 : capture 1 about /proc/asound/cards: ------------------------ 0 [rev50 ]: VIA686A - VIA 82C686A/B rev50 VIA 82C686A/B rev50 with STAC9756,57 at 0xd800, irq 10 1 [modem ]: VIA82XX-MODEM - VIA 82XX modem VIA 82XX modem at 0xdc00, irq 10 Modem firmware information is in /proc/asound/card1/codec97#0/mc97#1-1 ----------------------------------------------- Extended modem ID: codec=1 LIN1 Lines in: /proc/asound/card1/codec97#0/mc97#1-1+regs ------------------------------- 0:7c = 5349 and 0:7e = 4c22 are translated from hexadecimal code into the modem chip identifier: SIL22 The driver snd-via82xx-modem with its dependent drivers: snd_via82xx_modem 16264 0 snd_ac97_codec 101028 2 snd_via82xx,snd_via82xx_modem snd_pcm 78596 4 snd_via82xx,snd_via82xx_modem,snd_pcm_oss,snd_ac97_codec snd 56996 19 snd_via82xx,snd_via82xx_modem,snd_pcm_oss,snd_ac97_codec,snd_mixer_oss,snd_mpu401_uart,snd_pcm,snd_seq_dummy,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device snd_page_alloc 11400 3 snd_via82xx,snd_via82xx_modem,snd_pcm ---------- provide modem + audio support. === Finished firmware and bootup diagnostics, next deducing cogent software. === Predictive diagnostics for card in bus 00:07.6: Modem chipset detected on NAME="Communication controller: VIA Technologies, Inc. AC'97 Modem Controller " CLASS=0780 PCIDEV=1106:3068 SUBSYS=1631:3003 IRQ=10 SOFT=1106:3068.MC97 CodecDiagnosed=SIL22 CodecClass=SIL IDENT=slmodemd Driver=snd-via82xx-modem For candidate modem in: 00:07.6 0780 Communication controller: VIA Technologies, Inc. AC'97 Modem Controller Primary device ID: 1106:3068 Subsystem PCI_id 1631:3003 Softmodem codec or chipset from diagnostics: SIL22, a Smartlink 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 ------------------------------------------- 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.2.tar.gz having a compiled slmodemd. Unpack under Linux with: $ tar zxf SLMODEMD.gcc4.2.tar.gz and read instructions therein. But briefly, the modem is setup with command: sudo slmodemd -c YOUR_COUNTRY --alsa modem:1 reporting dynamic creation of ports: /dev/ttySL0 --> /dev/pts/N , with N some number Read DOCs/Smartlink.txt and Modem/DOCs/YourSystem.txt for follow through guidance. ----------------end Softmodem section -------------- Writing DOCs/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.2.4 and the compiler used in kernel assembly: 4.2.4 The patch utility is needed and is needed for compiling ALSA drivers, and possibly others. Minimal compiling resources appear complete: make utility - /usr/bin/make Compiler version 4.2 linuc_headers base folder /lib/modules/2.6.24-23-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 needed. The also required headers of package libc6 are commonly installed by default. Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev packages, for kernels 2.6.24 and later versions. In not included on your install CD, search for them at http://packages.ubuntu.com or comparable Repository for other Linux distros. When compiling ALSA drivers, the utility "patch" will also be needed. 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 packages. 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-04 20:57 /usr/sbin/pppd In case of an "error 17" "serial loopback" problem, see: http://linmodems.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 experts should trouble shooting be necessary. ========================================================== Checking for modem support lines: -------------------------------------- /device/modem symbolic link: slmodemd created symbolic link /dev/ttySL0: Within /etc/udev/ files: Within /etc/modprobe.conf files: /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 /etc/modprobe.d/alsa-base:options snd-atiixp-modem index=-2 /etc/modprobe.d/alsa-base:options snd-via82xx-modem index=-2 Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: --------- end modem support lines --------