scanModem USA Slax 2.6.20

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

 



I have acquired a new Toshiba Laptop.  scanModem
reports to use SLMODEMD-4.1.tar.gz and use

root@darkstar:~# slmodemd -c USA --alsa hw:0,6
SmartLink Soft Modem: version 2.9.11 Feb 15 2007
23:08:19
symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
modem `hw:0,6' created. TTY is `/dev/pts/3'
Use `/dev/ttySL0' as modem device, Ctrl+C for
termination.
error: cannot setup hw params for playback: Invalid
argument

Tried to compile wvstreams + wvdial, but wvdial's
compilation failed because of a missing library.  

Here, I followed suggestions to remove snd oss
modules, but still did not work.  


root@darkstar:~/Modem# lsmod | grep snd_hda_intel
snd_hda_intel          16536  2
snd_hda_codec         160256  1 snd_hda_intel
snd_pcm                68100  3
snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd                    43108  9
snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc          8328  2 snd_hda_intel,snd_pcm
root@darkstar:~/Modem# lsmod | grep oss
snd_seq_oss            29696  0
snd_seq_midi_event      7040  1 snd_seq_oss
snd_seq                46544  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7308  3
snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            39584  1
snd_mixer_oss          14848  2 snd_pcm_oss
snd_pcm                68100  3
snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd                    43108  9
snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
root@darkstar:~/Modem# slmodemd -c USA --alsa modem:0
SmartLink Soft Modem: version 2.9.11 Feb 15 2007
23:08:19
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `modem:0' created. TTY is `/dev/pts/2'
Use `/dev/ttySL0' as modem device, Ctrl+C for
termination.
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
root@darkstar:~/Modem# slmodemd -c USA --alsa modem:1
error: mixer setup: attach hw:1 error: No such device
ALSA lib confmisc.c:848:(snd_func_card_driver) cannot
find card '1'
ALSA lib conf.c:3500:(_snd_config_evaluate) function
snd_func_card_driver returned error: No such device
ALSA lib confmisc.c:397:(snd_func_concat) error
evaluating strings
ALSA lib conf.c:3500:(_snd_config_evaluate) function
snd_func_concat returned error: No such device
ALSA lib confmisc.c:1248:(snd_func_refer) error
evaluating name
ALSA lib conf.c:3500:(_snd_config_evaluate) function
snd_func_refer returned error: No such device
ALSA lib conf.c:3972:(snd_config_expand) Evaluate
error: No such device
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown
PCM cards.pcm.phoneline:CARD=1,DEV=0
error: alsa setup: cannot open playback device
'modem:1': No such device
error: cannot setup device `modem:1'
root@darkstar:~/Modem# slmodemd -c USA --alsa hw:0
error: alsa setup: cannot open playback device 'hw:0':
Device or resource busy
error: cannot setup device `hw:0'
root@darkstar:~/Modem# slmodemd -c USA --alsa hw:0,1
error: alsa setup: cannot open playback device
'hw:0,1': No such file or directory
error: cannot setup device `hw:0,1'
root@darkstar:~/Modem# slmodemd -c USA --alsa hw:0,6
SmartLink Soft Modem: version 2.9.11 Feb 15 2007
23:08:19
symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `hw:0,6' created. TTY is `/dev/pts/2'
Use `/dev/ttySL0' as modem device, Ctrl+C for
termination.
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
root@darkstar:~/Modem# cd cd ..
-bash: cd: cd: No such file or directory
root@darkstar:~/Modem# cd ..
root@darkstar:~# clear
root@darkstar:~# slmodemd -c USA --alsa hw:0,6
SmartLink Soft Modem: version 2.9.11 Feb 15 2007
23:08:19
symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
modem `hw:0,6' created. TTY is `/dev/pts/3'
Use `/dev/ttySL0' as modem device, Ctrl+C for
termination.
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
root@darkstar:~# slmodemd -c USA --alsa hw:0,6
SmartLink Soft Modem: version 2.9.11 Feb 15 2007
23:08:19
symbolic link `/dev/ttySL0' -> `/dev/pts/3' created.
modem `hw:0,6' created. TTY is `/dev/pts/3'
Use `/dev/ttySL0' as modem device, Ctrl+C for
termination.
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument
error: cannot setup hw params for playback: Invalid
argument

tail end of dmesg returns:  
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
hda-intel: invalid format_val, rate=9600, ch=1,
format=2
root@darkstar:~# lsmod | grep oss
snd_seq_oss            29696  0
snd_seq_midi_event      7040  1 snd_seq_oss
snd_seq                46544  5
snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          7308  3
snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            39584  1
snd_mixer_oss          14848  2 snd_pcm_oss
snd_pcm                68100  3
snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd                    43108  9
snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
root@darkstar:~# modprobe -r snd_seq_oss
root@darkstar:~# modprobe -r snd_seq_midi_event
root@darkstar:~# modprobe -r snd_seq
FATAL: Module snd_seq is in use.
root@darkstar:~# modprobe -r snd_seq_device
FATAL: Module snd_seq_device is in use.
root@darkstar:~# modprobe -r snd_pcm_oss
FATAL: Module snd_pcm_oss is in use.
root@darkstar:~# modprobe -r snd_pcm
FATAL: Module snd_pcm is in use.
root@darkstar:~# modprobe -r snd
FATAL: Module snd is in use.
root@darkstar:~# lsmod | grep oss
snd_pcm_oss            39584  1
snd_mixer_oss          14848  2 snd_pcm_oss
snd_pcm                68100  3
snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd                    43108  8
snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
root@darkstar:~# modprobe snd-hda-intel
root@darkstar:~# lsmod | grep oss
snd_pcm_oss            39584  1
snd_mixer_oss          14848  2 snd_pcm_oss
snd_pcm                68100  3
snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd                    43108  8
snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
root@darkstar:~#

Thanks,

Antonio

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 Only plain text email is forwarded by the  DISCUSS@xxxxxxxxxxxxx List Server.
 Do use the following as the email Subject Line:
           SomeName, YourCountry ===================================
 Welcome to SLAX
 The system is up and running now

 Login as root, password is toor
=================================== kernel 2.6.20 
 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,  ===================================
 Welcome to SLAX
 The system is up and running now

 Login as root, password is toor
===================================
Linux version 2.6.20 (root@darkstar) (gcc version 4.1.2) #1 SMP Fri Apr 6 19:11:34 GMT 2007
 scanModem update of:  2007_March_15


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	1179:ff01	Audio device: Intel Corporation 82801G 

 Modem interrupt assignment and sharing: 
 21:       6571          0   IO-APIC-fasteoi   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 ===

ALSAversion 1.0.14rc2
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  1179:ff01 
    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.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:
 	 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          16536  2 
snd_hda_codec         160256  1 snd_hda_intel
snd_pcm                68100  3 snd_pcm_oss,snd_hda_intel,snd_hda_codec
snd                    43108  9 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer
snd_page_alloc          8328  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-00: HDA Generic : HDA Generic : playback 1 : capture 1

	/proc/asound/modules
-------------------------------
 0 snd_hda_intel
	/proc/asound/card0/codec#1
-------------------------------
Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c11040
Subsystem Id: 0x11790001
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

 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:
	 kernel-source-2.6.20


Checking pppd properties:
	-rwxr-xr-x 1 root root 366440 Jun 29  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
asyncmap 0
crtscts
lock
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4

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.
==========================================================

 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:# ALSA modules to support sound modems.  These should be loaded manually
/etc/modprobe.d/blacklist:blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist:blacklist snd-via82xx-modem
     Within any ancient /etc/devfs files:

     Within ancient kernel 2.4.n /etc/module.conf files:

--------- end modem support lines --------

Attachment: 11c1.tgz
Description: 3329791368-11c1.tgz


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

  Powered by Linux