Re: soft modem

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

 



Marco

Unload all the driver packages except the slmodemd.
To get Your_Country syntax, do
$ slmodemd --countrylist
Then setup your modem with
$ sudo slmodemd -c YOUR_COUNTRY --alsa hw:0,6
for example:
$ sudo slmodemd -c ITALY --alsa hw:0,6
Leave slmodemd running.

Then open a 2nd TAB or console
$ wvdialconf  /etc/wvdial.conf
should report finding the modem.
Browse the wvdial.txt in the SLMODEMD folder. Then edit with
$ sudo gedit   /etc/wvdial.conf
Afterward, dialout with
$ sudo wvdial

MarvS


On 10/5/07, Marco Cimmino <cimmino.marco@xxxxxxxxx> wrote:
> I've installed tons of modules: slmodem, hsf and agrsm, for now none of
> them works.
> I've re-run scanmode with root privilege and attached everything.
>
> I read that suggest smartlink drivers? Can be true?
>
> bye
> Marco
>
>  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.22-12-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.22-12-generic (buildd@vernadsky) (gcc version 4.1.3 20070831 (prerelease) (Ubuntu 4.1.2-16ubuntu1)) #1 SMP Sun Sep 23 18:11:30 GMT 2007
>  scanModem update of:  2007_Sept_24
> The modem symbolic link is /dev/modem -> ttySL0
>
>  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/ALSAroot.tgz
> ALSAversion = 1.0.14
>
> Modem or candidate host audio card have firmware information and diagnostics:
>
>  PCI slot       PCI ID          SubsystemID     Name
>  ----------     ---------       ---------       --------------
>  00:1b.0        8086:284b       14c0:0023       Audio device: Intel Corporation 82801H
>
>  Modem interrupt assignment and sharing:
>  23:       3878       3756   IO-APIC-fasteoi   HDA Intel
>  --- Bootup diagnostics for card in PCI slot 00:1b.0 ----
> [   17.236000] ACPI: PCI Interrupt 0000:00:1b.0[A] -> GSI 20 (level, low) -> IRQ 23
> [   17.236000] PCI: Setting latency timer of device 0000:00:1b.0 to 64
>
>  === Finished modem firmware and bootup diagnostics section. ===
>  === Next deducing cogent software ===
>
> 8086:284b 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: Motorola Si3054
> Address: 1
> Vendor Id: 0x10573055
> Subsystem Id: 0x10573055
> Revision Id: 0x100700
>
>  The audio card hosts a softmodem chip with Vendor ID:  0x10573055
>
>  For candidate modem in PCI bus:  00:1b.0
>    Class 0403: 8086:284b Audio device: Intel Corporation 82801H
>       Primary PCI_id  NEW_softmodem_8086:284b
>  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         267428  1
> snd_pcm                80388  2 snd_hda_intel,snd_pcm_oss
> snd                    54660  11 snd_hda_intel,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: ALC268 Analog : ALC268 Analog : playback 1 : capture 2
>
>         /proc/asound/modules
> -------------------------------
>  0 snd_hda_intel
>         10573055
> -------------------------------
>
> -------------------------------
> 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
> scheda 0: Intel [HDA Intel], dispositivo 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.3
>              and the compiler used in kernel assembly: 4.1.3
>
>
>
>  Minimal compiling resources appear complete:
>    make utility - /usr/bin/make
>    Compiler version 4.1
>    linuc_headers base folder /lib/modules/2.6.22-12-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 265088 2007-05-15 12:42 /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
> Which can interfere with Browser naviagation.
>
>  Don't worry about the following, it is for the experts
>  should trouble shooting be necessary.
> ==========================================================
>
> # start/stop the daemon when the USB modem is connected
> KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
>  Checking for modem support lines:
>  --------------------------------------
>      /device/modem symbolic link:   lrwxrwxrwx 1 root root 6 2007-10-05 11:48 /dev/modem -> ttySL0
> slmodemd created symbolic link /dev/ttySL0:
>      Within /etc/udev/ files:
> /etc/udev/rules.d/00-hsf.rules:KERNEL=="ttySHSF0", SYMLINK="modem"
> /etc/udev/rules.d/030_sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
> /etc/udev/rules.d/030_sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
> /etc/udev/sl-modem-daemon.rules:# start/stop the daemon when the USB modem is connected
> /etc/udev/sl-modem-daemon.rules:KERNEL=="slusb[0-9]*", GROUP="dialout", RUN+="/etc/init.d/sl-modem-daemon"
>      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/hsf.conflicts:install snd-via82xx-modem /bin/true # temporarily disabled by hsf - conflicts with hsfmc97via
> /etc/modprobe.d/hsf.conflicts:install snd-atiixp-modem /bin/true # temporarily disabled by hsf - conflicts with hsfmc97ati
> /etc/modprobe.d/sl-modem-daemon.modutils:install slamr modprobe --ignore-install ungrab-winmodem ;  modprobe --ignore-install slamr; test -e /dev/slamr0 || (/bin/mknod -m 660 /dev/slamr0 c 242 0 2>/dev/null && chgrp dialout /dev/slamr0)
> /etc/modprobe.d/hsf:alias /dev/modem /dev/ttySHSF
> /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:
> /etc/devfs/conf.d/hsf.conf:LOOKUP       ^(ttySHSF[0-9]|modem$) EXECUTE nice /sbin/modprobe /dev/ttySHSF
> /etc/devfs/conf.d/hsf.conf:REGISTER     ^ttySHSF0$ CFUNCTION GLOBAL symlink $devname modem
> /etc/devfs/conf.d/hsf.conf:UNREGISTER   ^ttySHSF0$ CFUNCTION GLOBAL unlink modem
>      Within ancient kernel 2.4.n /etc/module.conf files:
>
> --------- end modem support lines --------
>
>
>
>

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

  Powered by Linux