Using ALSA 1.0.14.rc3, and slmodemd extracted from SLMODEMD.gcc4.tar.gz Check the modem : [root@localhost user]# aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem] Subdevices: 0/1 Subdevice #0: subdevice #0 [root@localhost user]# cat /proc/asound/card0/codec#1 Codec: Generic 11c1 Si3054 Address: 1 Vendor Id: 0x11c11040 Subsystem Id: 0x11c10001 Revision Id: 0x100200 Run the modem with : [root@localhost user]# slmodemd -c INDONESIA --alsa hw:0,6 SmartLink Soft Modem: version 2.9.11 Mar 13 2006 18:27:33 symbolic link `/dev/ttySL0' -> `/dev/pts/4' created. modem `hw:0,6' created. TTY is `/dev/pts/4' Use `/dev/ttySL0' as modem device, Ctrl+C for termination. Using wvdial to check it : [root@localhost ~]# wvdialconf /etc/wvdial.conf Scanning your serial ports for a modem. Port Scan<*1>: S0 S1 S2 S3 WvModem<*1>: Cannot get information for serial port. ttySL0<*1>: ATQ0 V1 E1 -- OK ttySL0<*1>: ATQ0 V1 E1 Z -- OK ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem ttySL0<*1>: Speed 4800: AT -- OK ttySL0<*1>: Speed 9600: AT -- OK ttySL0<*1>: Speed 19200: AT -- OK ttySL0<*1>: Speed 38400: AT -- OK ttySL0<*1>: Speed 57600: AT -- OK ttySL0<*1>: Speed 115200: AT -- OK ttySL0<*1>: Speed 230400: AT -- OK ttySL0<*1>: Speed 460800: AT -- OK ttySL0<*1>: Max speed is 460800; that should be safe. ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK Found a modem on /dev/ttySL0. Modem configuration written to /etc/wvdial.conf. ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0" But with KPPP will bring NO CARRIER error, and : SmartLink Soft Modem: version 2.9.11 Mar 13 2006 18:27:33 symbolic link `/dev/ttySL0' -> `/dev/pts/4' created. modem `hw:0,6' created. TTY is `/dev/pts/4' Use `/dev/ttySL0' as modem device, Ctrl+C for termination. error: period size 48 is not supported by playback (64). What I can do next to make the modem works ? If it is Agere modem and need patch, where I can get the patch ? Thank you Mr. Marv. Cheers, Jusuf
Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server. Do use the following as the email Subject Line: SomeName, YourCountry PCLinuxOS release 2007 (PCLinuxOS) for i586 Kernel 2.6.18.6.tex1 on a Dual-processor i686 / kernel 2.6.18.6.tex1 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 ---------------------------- PCLinuxOS release 2007 (PCLinuxOS) for i586 Kernel 2.6.18.6.tex1 on a Dual-processor i686 / Linux version 2.6.18.6.tex1 (vaughan@localhost) (gcc version 4.1.1 20060724 (prerelease) (4.1.1-4pclos2007)) #1 SMP Sat Feb 24 11:16:45 WST 2007 scanModem update of: 2006_December_25 The modem symbolic link is /dev/modem -> /dev/ttySL0 USB modem not detected by lsusb Modem or host audio card candidates have firmware information: PCI slot PCI ID SubsystemID Name ---------- --------- --------- -------------- 00:1b.0 8086:27d8 14c0:0021 Audio device: Intel Corporation 82801G Modem interrupt assignment and sharing: 21: 2013 0 IO-APIC-level HDA Intel --- Bootup diagnositcs for card in PCI slot 00:1b.0 ---- ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 21 PCI: Setting latency timer of device 0000:00:1b.0 to 64 === Finished modem firmware and bootup diagnostics section. === === Next deducing cogent software === 8086:27d8 is a High Definition Audio card, possibly hosting a soft modem. There may be novel modem chipset information within the /proc/asound/ files. They have been copied and packed into a file: Modem/11c1.tgz Please send 11c1.tgz to the scanModem maintainer: Marvin.Stodolsky@xxxxxxxxx For candidate modem in PCI bus: 00:1b.0 Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G Primary PCI_id 8086:27d8 Subsystem PCI_id 14c0:0021 Softmodem codec or Vendor from diagnostics: 11c1, an AgereSystems type. from Archives: 11c1, an AgereSystems type. 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.tar.gz having a compiled slmodemd. Unpack under Linux with: $ tar zxf SLMODEMD.gcc4.tar.gz and read instructions therein. But briefly, the modem is setup with command: 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 242744 1 snd_pcm 78852 2 snd_pcm_oss,snd_hda_intel snd_page_alloc 9960 2 snd_hda_intel,snd_pcm snd 55848 11 snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_pcm,snd_timer 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-02: ALC883 Analog : ALC883 Analog : capture 2 00-01: ALC883 Digital : ALC883 Digital : playback 1 00-00: ALC883 Analog : ALC883 Analog : playback 1 : capture 2 /proc/asound/modules ------------------------------- 0 snd_hda_intel /proc/asound/card0/codec#1 ------------------------------- Codec: Generic 11c1 Si3054 Address: 1 Vendor Id: 0x11c11040 Subsystem Id: 0x11c10001 Revision Id: 0x100200 ------------------------------- Current support status of HDA cards is: Vendor IDs Chip maker Support type ---------- ---------- ------------- 0x14f12bfa Conexant hsfmodem , not slmodemd compatible 0x11c13026 AgereSystems snd-hda-intel, slmodemd supported 0x11c11040 AgereSystems " " , patch needed 0x11c13055 AgereSystems " " , " 0x163c3055 Smartlink " " , " 0x163c3155 " " " , " 0x10573055 Motorola " " , " 0x10573155 " " " , "" as of October 2006. and from the command: aplay -l | grep -i modem card 0: Intel [HDA Intel], device 6: Si3054 Modem [Si3054 Modem] ----------------end Softmodem section -------------- Writing Intel.txt Writing Smartlink.txt ============ end Smartlink section ===================== Completed candidate modem analyses. The base of the UDEV device file system is: /dev/.udev /dev/.udevdb Versions adequately match for the compiler installed: 4.1.1 and the compiler used in kernel assembly: 4.1.1 Kernel-header resources needed for compiling are not manifestly ready! If compiling is necessary packages must be installed, providing: kernel-source-2.6.18.6.tex1 Checking pppd properties: -rwsr-xr-t 1 root root 304536 Nov 7 2006 /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) chmod a+x /usr/sbin/pppd or under Ubuntu related Linuxes chmod a+x /usr/sbin/pppd Checking settings of: /etc/ppp/options lock noauth noipdefault usepeerdns Read Modem/YourSystem.txt concerning other COMM channels: eth0 Which can interfere with Browser naviagation. Don't worry about the following, it is for the experts should trouble shooting be necessary. ========================================================== Checking for modem support lines: -------------------------------------- /device/modem symbolic link: lrwxrwxrwx 1 root root 11 May 12 05:09 /dev/modem -> /dev/ttySL0 slmodemd created symbolic link /dev/ttySL0: Within /etc/udev/ files: /etc/udev/rules.d/50-mdk.rules:# UDEV rule for modems /etc/udev/rules.d/50-mdk.rules:# creates symlink /dev/modem and takes care of permissions /etc/udev/rules.d/50-mdk.rules:KERNEL=="ttyLTM[0-9]", NAME="%k", MODE="0660", GROUP="uucp", SYMLINK+="modem" /etc/udev/rules.d/50-mdk.rules:KERNEL=="slusb[0-9]", NAME="%k", MODE="0660", GROUP="uucp", SYMLINK+="modem" /etc/udev/rules.d/50-mdk.rules:KERNEL=="ttySL[0-9]", NAME="%k", MODE="0660", GROUP="uucp", SYMLINK+="modem" /etc/udev/rules.d/50-mdk.rules:KERNEL=="ttySHCF[0-9]", NAME="%k", MODE="0660", GROUP="uucp", SYMLINK+="modem" Within /etc/modprobe.conf files: Within any ancient /etc/devfs files: Within ancient kernel 2.4.n /etc/module.conf files: --------- end modem support lines --------