Re: Success/Failure

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

 



Steven,
Please use wvdial to debug your modem, because of its copious diagnostics.
Details, for example, at http://linmodems.technion.ac.il/wvdial.html
Briefly:
slmodemd MUST be running in its own window until you want to stop the modem.
sudo wvdialconf /etc/wvdial.conf    should detect your modem
Edit /etc/wvdial.conf
There are three lines starting with a ;
Remove the ;
Replace <Phone> by the number given to you by your ISP (delete also the < and >
Same for username and password
Add one line
Carrier Check = no
Save and exit editor
This has configured wvdial once for all.
To connect, STILL WITH slmodemd RUNNING,
sudo wvdial

Either it will work, or you write again with all details such as error messages shown by wvdialconf and by wvdial, and send file wvdial.conf AFTER ERASING THE PASSWORD.

Jacques

steven schneiderman wrote:
FAILURE

I downloaded the slmodemd file indicated an installed it. I used the setup command                        "sudo slmodemd -c YOUR_COUNTRY --alsa hw:0,N"
to run slmodemd. I substituted USA for "YOUR_COUNTRY", and 6 for N. 6 appears to be the correct number because typing "cat/proc/asound/pcm " in the command line produces the following result:
00-06: Si3054 Modem : Si3054 Modem : playback 1 : capture 1
00-00: ALC861 Analog : ALC861 Analog : playback 1 : capture 2

So, the command I type in is                                 "sudo slmodemd -c USA --alsa hw:0,6"

This gives me the followind result:
SmartLink Soft Modem: version 2.9.11 Aug  6 2007 22:02:27
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `hw:0,6' created. TTY is `/dev/pts/1'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

But when I try to dial using KPPP or the built in Network option in the system menu, I get this error message:

error: cannot setup hw params for playback: Invalid argument

Also, KPPP says "No Carrier"

The modem doesn't even attempt to dial, and trying to dial again gives the same error message.  Thank you for your help so far and any further help would be much appreciated.



RE:

Steven,


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:
sudo 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.

Try the slmodemd driver and report back SUCCESS/FAILURE.

Regards,

Antonio

On 10/1/07, steven schneiderman <steven.schneiderman@xxxxxxxxxxxxxxxxxx> wrote:
Below is the modemdata.txt file from the scan modem program. My computer is a Toshiba A-105 laptob with an internal modem.



Only plain text email is forwarded by the DISCUSS@xxxxxxxxxxxxx List Server.
Do use the following as the email Subject Line:
SomeName, YourCountry kernel 2.6.20-16-generic
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,
Linux version 2.6.20-16-generic (root@terranova) (gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4)) #2 SMP Sun Sep 23 19:50:39 UTC 2007
scanModem update of: 2007_Sept_24


There are no blacklisted modem drivers in /etc/modprobe* files
USB modem not detected by lsusb


Several modems are supported by drivers with ALSA, the Advanced Linux Sound Architecture software.
Copying ALSA diagnostics to Modem/ALSAsteve.tgz
ALSAversion = 1.0.13

Modem or candidate host audio card have firmware information and diagnostics:

PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:1b.0 8086:27d8 1179:ff10 Audio device: Intel Corporation 82801G

Modem interrupt assignment and sharing:
22: 1015 0 IO-APIC-fasteoi HDA Intel
--- Bootup diagnostics for card in PCI slot 00:1b.0 ----
[ 18.532000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 22 (level, low) -> IRQ 22
[ 18.532000] 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.
Bootup diagnostics lack ALSA data.
and a NEW HDA softmodem controller.

The HDA modem codec file is: /proc/asound/card0/codec#1
-----------------------------------
Codec: Generic 11c1 Si3054
Address: 1
Vendor Id: 0x11c13026
Subsystem Id: 0x11790001
Revision Id: 0x100700

The audio card hosts a softmodem chip with Vendor ID: 0x11c13026

For candidate modem in PCI bus: 00:1b.0
Class 0403: 8086:27d8 Audio device: Intel Corporation 82801G
Primary PCI_id NEW_softmodem_8086:27d8
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:
sudo 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 21912 1
snd_hda_codec 205056 1 snd_hda_intel
snd_pcm 79876 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd 54020 12 snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
snd_page_alloc 10888 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: ALC861 Analog : ALC861 Analog : playback 1 : capture 2

/proc/asound/modules
-------------------------------
0 snd_hda_intel
11c13026
-------------------------------

-------------------------------
Current support status of HDA cards is:
Vendor IDs Chip maker Support type
---------- ---------- -------------
0x14f12bfa Conexant hsfmodem , not slmodemd compatible
0x14f12c06 Conexant hsfmodem , not slmodemd compatible
0x11c1040 AgereSystems snd-hda-intel + slmodemd, support not estabished
All others currently supported
/proc/asound/card0/codec#1
-------------------------------


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



Minimal compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.1
linuc_headers base folder /lib/modules/2.6.20-16-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 files with message including some lack of some FileName.h (stdio.h for example.
Some additional kernel-header files need installation to /usr/include.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:
$ sudo apt-get -s install linux-kernel-devel
While some of the files may be on the install CD, others may have to be found through http://packages.ubuntu.com

For Ubuntu Feisty, additional packages required were:
libc6-dev linux-libc-dev
available through http://packages.ubuntu.com/ , if not on the install CD.
Such packages may have different names for other Linux distributions.
Try installing just the libc6-dev, then test the compile again.


Checking pppd properties:
-rwsr-xr-- 1 root dip 269224 2007-04-04 22:41 /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 eth0:avah
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:
slmodemd created symbolic link /dev/ttySL0:
Within /etc/udev/ files:

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/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 --------


Minnesota West Community and Technical College Student


 Checking for modem support lines:
--------------------------------------
/d
Minnesota West Community and Technical College Student

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

  Powered by Linux