Re: scanmodem-SuSE 10.2 SmartLink

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

 



slmodemd + alsa will not work with your modem.  You do  need slamr module.  You will have to download
http://linmodems.technion.ac.il/packages/smartlink/slmodem-2.9.11-20061021.tar.gz
and
http://linmodems.technion.ac.il/packages/smartlink/ungrab-winmodem.tar.gz

Kernel headers and kernel sources need to be present as the line below 
begin/*QUOTE*/

Kernel-header resources needed for compiling are not manifestly ready!
If compressed resources are present, expand and then configure them following DriverCompiling.txt
They may have to be installed.

 The following packages should be installed to support compiling and modem testing:
  make, glibc-devel, gcc-3.3 , libasound2-dev, wvdial and kernel-source-2.6.18.2-34-bigsmp 
  SuSE 9.0 and later has pre-compiled drivers supporting the following modem chipsets:
     Intel HaM and 536ep
     Conexant HSF (but not the HCF)
     Lucent/AgereSystems ltmodem (Digital Siggnal Processing type)
     IBM wmave
     Smart Link soft modems
end/*QUOTE*/ 

Regards,

Antonio 

----- Original Message ----
From: Bill Wierbinski <wierbinski@xxxxxxxxxx>
To: discuss@xxxxxxxxxxxxx; timadsl <weirbint@xxxxxxxxxxxxxxxx>
Sent: Tuesday, January 2, 2007 9:56:52 PM
Subject: scanmodem-SuSE 10.2 SmartLink

attached is ModemData.txt file
 
I upgraded from SuSE 9.3 Professional to OpenSuSE 10.2 this week.
SuSE has removed slamr module from the code, and recommends using alsa.
 
Here is the text regarding slamr:
wjw:/etc/init.d # modprobe slamr
FATAL: Module slamr not found.
wjw:/etc/init.d # dmesg |grep slamr
 
Here is text (with debug on) for slmodemd.
hw:1 does not setup the pseudo link to ttySL0, so I am using hw:0
There "IS" dialtone, but WvDial reports none (see below)
There are several alsa mixers... none of which can I find a switch for 
on-hook/off-hook (see below)

I think the problem is not with the configuration of slmodemd, but the 
sound card itself... I say that because of this error message:
    error: rate 9600 is not supported by capture (48000).



wjw-linux:/etc/init.d # slmodemd --alsa -d hw:0
error: mixer setup: Off-hook switch not found for card hw:0
<393.792927> main: alsa setup: cannot setup mixer: No such device
SmartLink Soft Modem: version 2.9.11 Oct 25 2005 00:13:50
<393.794081> SmartLink Soft Modem: version 2.9.11 Oct 25 2005 00:13:50
<393.794124> hw:0: startup modem...
<393.794274> hw:0: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `hw:0' created. TTY is `/dev/pts/2'
<393.795923> open file: /var/lib/slmodem/data.hw:0...
<393.798025> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<396.455532> main: termios changed.
<396.455562> hw:0: update termios...
<396.556231> hw:0: run cmd: ATM1
<396.556264> main: alsa_ioctl: cmd 8, arg 0...
<396.556276> hw:0: modem report result: 0 (OK)
<396.677076> hw:0: run cmd: ATDT5290027
<396.677113> hw:0: modem dial: T5290027...
<396.677124> hw:0: modem_dial_start...
<396.677178> hw:0: modem_start..
<396.677189> hw:0: modem set state: 1 --> 2...
<396.677200> hw:0: new state: DP_ESTAB
<396.677210> main: alsa_ioctl: cmd 8, arg 3...
<396.677220> hw:0: modem set hook: 0 --> 1...
<396.677231> main: alsa_ioctl: cmd 2, arg 1...
<396.677242> main: alsa_ioctl: cmd 11, arg 0...
<396.677352> main: alsa_ioctl: cmd 4, arg 2580...
<396.677363> main: alsa_ioctl: cmd 7, arg 30...
<396.677373> main: alsa_start...
Hardware PCM card 0 'VIA 8237' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 9600
  exact rate   : 9600 (9600/1)
  msbits       : 16
  buffer_size  : 1536
  period_size  : 48
  period_time  : 5000
  tick_time    : 4000
  tstamp_mode  : NONE
  period_step  : 1
  sleep_min    : 0
  avail_min    : 4
  xfer_align   : 4
  start_threshold  : 2147483647
  stop_threshold   : 1536
  silence_threshold: 0
  silence_size : 0
  boundary     : 1610612736
error: rate 9600 is not supported by capture (48000).
<396.678260> err: hw:0: modem start = -1: cannot start device.
<396.678272> hw:0: modem_stop..
<396.678281> hw:0: modem set hook: 1 --> 0...
<396.678291> main: alsa_ioctl: cmd 2, arg 0...
<396.678301> main: alsa_ioctl: cmd 8, arg 0...
<396.678316 > hw:0: modem set state: 2 --> 1...
<396.678327> hw:0: new state: MODEM_IDLE
<396.678336> hw:0: modem report result: 3 (NO CARRIER)
<396.678353> hw:0: modem report result: 4 (ERROR)

 Thanks for your help,
TIM

DO use the following line as the email Subject Line, to alert cogent experts:
      scanModem, 
Welcome to openSUSE 10.2 (i586) - Kernel  kernel 2.6.18.2-34-bigsmp
 Occassionally reponses are blocked by an Internet Provider mail filters.
 So do in a day also check the Archived responses at DISCUSS@xxxxxxxxxxxxx
Code updated on:  2005_Dec_26
------------ --------------  System information ------------------------
 
Welcome to openSUSE 10.2 (i586) - Kernel 
 on System with processor: i686
 currently under kernel:   2.6.18.2-34-bigsmp
   /proc/bus/usb/devices file not present, barring USB modem query.  


 The kernel was assembled with compiler:  4.1.2
 with current System compiler GCC=4.1.2
Modem candidates are at PCI_buses:  00:0b.0
    
Providing detail for device at  00:0b.0
  with vendor-ID:device-ID
        ----:----
Class 0703: 163c:3052   Modem: Smart Link Ltd. SmartLink SmartPCI562 56K Modem (rev 04) (prog-if 00 [Generic])
  SubSystem 163c:3052  Smart Link Ltd. SmartLink SmartPCI562 56K Modem
    Flags: bus master, stepping, medium devsel, latency 32, IRQ 169
 Checking for IRQ 169 sharing with modem.

  
                  -----PCI_IDs-------                    --CompilerVer- 
    Feature List:  Primary  Subsystem Distr  KernelVer   kernel default  CPU
 ./scanModem test 163c:3052 163c:3052 SuSE 2.6.18.2-34-bigsmp  4.1.2 4.1.2    i686
      
 Information on several modem chipset providers is provided below,
 because ambiguities remain on the correct choice of supporting software.
            
 == Checking PCI IDs through modem chip suppliers ==

 SmartLink at http://www.smlink.com/ owns vendor IDs 163c, 2000, 2003, and 2004
 The official download site is:  http://www.smlink.com/main/index1.php?ln=en&main_id=40 ,
 with slmodem-2.9.10 and later releases only licensed for Smartlink chipsets.
 
 A series maintaining a much broader license for other chipset support,
 can be downloaded from http://linmodems.technion.ac.il/packages/smartlink/  
 Though not always needed, download the files: 
   slmodem-CurrentVersion.tar.gz - provides the most general code package.
   slmodemd-CurrentVersion.tar.gz - provides a compiled slmodemd 
   ungrab-winmodem.tar.gz  -  may be needed for usage with slamr. 
Details on their usage are in Slmodem.txt, Slmodem-ALSA.txt and    http://linmodems.technion.ac.il/slmodem-serial.html  
   

  ======= PCI_ID checking completed ====== 
 Update=2005_Dec_26
A PCMCIA CardBus is not detected on this System.

 The kernel-2.6.18.2-34-bigsmp was compiled with CONFIG_REGPARM, providing more compact and faster code.


    /usr/bin/gcc -> gcc-4.1
Adequate match of gcc versions of the compiler and kernel. 
Checking for kernel-headers needed for compiling.
Checking /usr/src/ for compressed compressed headers or kernel-source

Kernel-header resources needed for compiling are not manifestly ready!
If compressed resources are present, expand and then configure them following DriverCompiling.txt
They may have to be installed.
Within your Linux distributions' installation CD or online resource (and mirrows), search for :
  Distribution  PackageName            OnLine
  ----------------------------------------------------------------------
 Debian          kernel-headers-2.6.18.2-34-bigsmp        http://www.debian.org/distrib/packages or install CD
 Ubuntu         linux-headers-2.6.18.2-34-bigsmp        http://http://packages.ubuntu.com/ or install CD
 Xandros
                        kernel-kbuild-3.6 are additionally required by  Debian, Ubuntu and Xandros
 Mandrake     kernel-source-2.6.18.2-34-bigsmp       If not present on install CDs search
     http://mirror.switch.ch/ftp/mirror/mandrake/official/10.0/i586/Mandrake/RPMS/ 
    http://rpms.mandrakeclub.com/rpms/mandrake/official/LByName.html, or other mirrors.
  SuSE        kernel-source-2.6.18.2-34-bigsmp         , kernels are named k_deflt
  FedoraCore4  kernel-devel-2.6.18.2-34-bigsmp or kernel-smp-devel-2.6.18.2-34-bigsmp on install CD1 or CD4
One of which must be installed if compiling drivers to match kernel 2.6.18.2-34-bigsmp proves necessary.
Within the output Modem/ folder, read CompilingDrivers.txt for details.
   

 Modem symbolic link is:  /dev/modem -> /dev/ttySL0

   
For information on modem port creation under the UDEV device file system see:
   http://linmodems.technion.ac.il/archive-fourth/msg03299.html  for Conexnant modems
   http://linmodems.technion.ac.il/archive-fifth/msg01177.html  for Lucent/Agere DSP modems
   
The following information blocks just query some ppp support items.

====================================================
   grep -rs ppp /etc/modprobe.*
-------------------------------------
/etc/modprobe.conf:# ppp over ethernet
/etc/modprobe.conf:# the kernel 2.2 uses pppox
/etc/modprobe.conf:# the kernel 2.4 uses pppoe
/etc/modprobe.conf:alias char-major-108      ppp_generic
/etc/modprobe.conf:alias char-major-144      pppoe
/etc/modprobe.conf:alias net-pf-24           pppoe
/etc/modprobe.conf:# the kernel 2.2 uses ppp.o as ppp driver,
/etc/modprobe.conf:# the kernel 2.4 uses ppp_generic.o
/etc/modprobe.conf:alias ppp0                ppp_generic
/etc/modprobe.conf:alias ppp1                ppp_generic
/etc/modprobe.conf:alias tty-ldisc-3         ppp_async
/etc/modprobe.conf:alias ppp-compress-18          ppp_mppe
/etc/modprobe.conf:alias ppp-compress-21          bsd_comp
/etc/modprobe.conf:alias ppp-compress-24          ppp_deflate
/etc/modprobe.conf:alias ppp-compress-26          ppp_deflate
/etc/modprobe.conf.rpmsave:# ppp over ethernet
/etc/modprobe.conf.rpmsave:# the kernel 2.2 uses pppox
/etc/modprobe.conf.rpmsave:# the kernel 2.4 uses pppoe
/etc/modprobe.conf.rpmsave:alias char-major-108      ppp_generic
/etc/modprobe.conf.rpmsave:alias char-major-144      pppoe
/etc/modprobe.conf.rpmsave:alias net-pf-24           pppoe
/etc/modprobe.conf.rpmsave:# the kernel 2.2 uses ppp.o as ppp driver,
/etc/modprobe.conf.rpmsave:# the kernel 2.4 uses ppp_generic.o
/etc/modprobe.conf.rpmsave:alias ppp0                ppp_generic
/etc/modprobe.conf.rpmsave:alias ppp1                ppp_generic
/etc/modprobe.conf.rpmsave:alias tty-ldisc-3         ppp_async
/etc/modprobe.conf.rpmsave:alias ppp-compress-18          ppp_mppe
/etc/modprobe.conf.rpmsave:alias ppp-compress-21          bsd_comp
/etc/modprobe.conf.rpmsave:alias ppp-compress-24          ppp_deflate
/etc/modprobe.conf.rpmsave:alias ppp-compress-26          ppp_deflate
-------------------------------------
 Resident PPP support modules are properly uncompressed .
 COMM services are not active
DEVPPP=crw-rw---- 1 root root 108, 0 2006-11-25 07:17 /dev/ppp

  The current modem symbolic link is: /dev/modem -> /dev/ttySL0
  The ports /dev/ttyS0 or 1,2,3 are for standard Controller chip modems


 No devfsd.conf file found, indicated absense of the devfsd daemon package
 for device file system (devfs) symbolic link support.

DEVFSD=
 ---- dmesg queries -------
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK0] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 3 4 6 7 10 11 12) *0, disabled.
ACPI: PCI Interrupt Link [ALKA] (IRQs 20) *0, disabled.
ACPI: PCI Interrupt Link [ALKB] (IRQs 21) *0, disabled.
ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *0, disabled.
ACPI: PCI Interrupt Link [ALKD] (IRQs 23) *0, disabled.
  IO window: disabled.
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16ac)
apm: overridden by ACPI.
audit: initializing netlink socket (disabled)
Time: acpi_pm clocksource has been installed.
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
hda: DMA disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled
ACPI: PCI interrupt for device 0000:00:11.5 disabled

  pppd version 2.4.2 may not be fully compatible with 2.6.8 kernel releases.
  If an initial CONNECT is achieved without PPP being subsequently established,
  drop back to a 2.4.1 version.  This has worked for PCTEL AMR modem users,
  supported by the http://www.smlink.com  slmodem software.
  Check pppd version with:
    pppd --version
  See  http://linmodems.technion.ac.il/archive-fourth/msg03167.html
    

 The following packages should be installed to support compiling and modem testing:
  make, glibc-devel, gcc-3.3 , libasound2-dev, wvdial and kernel-source-2.6.18.2-34-bigsmp 
  SuSE 9.0 and later has pre-compiled drivers supporting the following modem chipsets:
     Intel HaM and 536ep
     Conexant HSF (but not the HCF)
     Lucent/AgereSystems ltmodem (Digital Siggnal Processing type)
     IBM wmave
     Smart Link soft modems
  Unfortunately only the  Intel HaM and 536ep are on the  3 CD Personal set, pending an update.
  Locations on the 6 CD Professional set are:
     CD4/suse/i586/smartlink-softmodem-2.7.9-89.i586.rpm  - the slmodemd daemon
     CD3/suse/i586/km_smartlink-softmodem-2.7.9-89.i586.rpm - slmodem driver compiling
     CD4/suse/i586/hsfmodem-5.03.27mbsibeta02122600-92.i586.rpm - softmodem configuration
     CD4/suse/i586/km_hsfmodem-5.03.27mbsibeta02122600-92.i586.rpm -softmodem driver code
        installation report -  http://linmodems.technion.ac.il/archive-fourth/msg00350.html
     CD4/suse/i586/ltmodem-8.26a-54.i586.rpm - a patch from SuSE may be needed for function
        installation report - http://linmodems.technion.ac.il/archive-fourth/msg00458.html
     CD4/suse/i586/Intel-536ep-4.51-200.i586.rpm
     CD4/suse/i586/Intel-v92ham-4.51-244.i586.rpm
     CD4/suse/i586/mwavem-1.0.4-110.i586.rpm
Some pre-compiled SuSE 9.0 packages for the 2.4.21-99-default kernel are available at:
      http://linmodems.technion.ac.il/packages/SuSE-9.0/
  including AgereSoftModem and the Intel537 modems

  IMPORTANT - The kernel-source-144/README.SuSE informs that the pre-assembled kernel-headers installed
  from the 9.0 kernel-source-99 have some flaws.  Upgrading to a later kernel, such as 2.4.21-144 with matching kernel-source is the simplest may of avoiding problems.
  
  SuSE 9.1 comes with a SmartLink slamr.ko driver installed,
  aiding identification of softmodem codecs by:
    dmesg | grep slamr
 
  For the 9.1 Personal (single CD installation) winmodem packages
  have be downloaded from the SuSE 9.1 repository
  Should compiling drivers may be necessary,  the following additional packages
  will have to be downloaded and installed:
      make, glibc-devel, gcc-3.3.3 and kernel-source.
  The kernel-headers are co-installed with the kernel-source.
  Thus subsequent driver compiling does Not require additional preparations.





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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

  Powered by Linux