Re: scanModem Slax kernel-2.6.24.5

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

 



root@slax:/etc/rc.d# wvdialconf /etc/wvtest.txt
Editing `/etc/wvtest.txt'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>.
root@slax:/etc/rc.d# ls /dev/tt
Display all 327 possibilities? (y or n)
root@slax:/etc/rc.d# ls /dev/ttyAGS3
/dev/ttyAGS3
root@slax:/etc/rc.d# ln -s /dev/ttyAGS3 /dev/SAGR
ln: creating symbolic link `/dev/SAGR': File exists
root@slax:/etc/rc.d# ln -s /dev/ttyAGS3 /dev/modem
ln: creating symbolic link `/dev/modem': File exists
root@slax:/etc/rc.d# wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>.
root@slax:/etc/rc.d#

On 5/23/08, Marvin Stodolsky <marvin.stodolsky@xxxxxxxxx> wrote:
> root@slax:/tmp/agrsm# modprobe agrserial
> creates  /dev/ttyAGS3
> which will not be found by wvdialconf
>
> So
> # ln -s /dev/ttyAGS3 /dev/SAGR
> # ln -s /dev/ttyAGS3 /dev/modem
>
> Then
> # wvdialconf  /etc/wvdial.conf
>
> MarvS
>
> On Fri, May 23, 2008 at 1:05 PM, Antonio Olivares
> <olivares14031@xxxxxxxxx> wrote:
>> Only plain text email is forwarded by the Discuss@xxxxxxxxxxxxx List
>> Server,
>>  as HTML can contain viruses. Use as the email Subject Line:
>>  YourName, YourCountry
>>
>> [1;32m===============================================================================
>> [0;39m
>>  [1;32m Welcome to Slax 6.0.7  [0;39m
>>
>> [1;32m===============================================================================
>> [0;39m
>>
>>  [1;29mThe system is up and running now. [0;29m
>>
>>  Login as " [1;29mroot [0;29m" with password " [1;29mtoor [0;29m",
>> both without quotes, lowercase.
>>  If you're new to Slax, visit http://www.slax.org/ for more info.
>>
>>  [1;29mAfter you login, try the following commands: [0;29m
>>
>>  mc ....... to start Midnight Commander (edit/copy/move/create/delete
>> files)
>>  startx ... to run Xwindow system with KDE in VESA mode 1024x768 at 75Hz
>>  xconf .... to autoconfigure your graphics card for better performance
>>
>>  [1;29mOther commands you may find useful (for experts only!): [0;29m
>>
>>  activate ..... to insert (install) Slax module into the system on the fly
>>  deactivate ... to remove (uninstall) Slax module from the root filesystem
>>  mkfileswap ... to create a special file on your harddisk for virtual RAM
>>
>>  [1;32m When finished, use "poweroff" or "reboot" command and wait
>> until it completes  [0;39m
>>
>> [1;32m===============================================================================
>> [0;39m kernel 2.6.24.5
>>  With this Subject Line cogent experts will be alerted, and useful
>> case names left in the Archive.
>>  YourCountry will enable Country specific guidance. Your contry's
>> local Linux experts
>>  can be found through: http://www.linux.org/groups/index.html.
>>  They will know your Country's modem code, which may be essential for
>> dialup service.
>>  Responses from Discuss@xxxxxxxxxxxxx are sometimes blocked by an
>> Internet Provider mail filters.
>>  So in a day, also check the Archived responses at
>> http://www.linmodems.org
>>  -------------------------- System information
>> ----------------------------
>>  CPU=i686,
>>
>> [1;32m===============================================================================
>> [0;39m
>>  [1;32m Welcome to Slax 6.0.7  [0;39m
>>
>> [1;32m===============================================================================
>> [0;39m
>>
>>  [1;29mThe system is up and running now. [0;29m
>>
>>  Login as " [1;29mroot [0;29m" with password " [1;29mtoor [0;29m",
>> both without quotes, lowercase.
>>  If you're new to Slax, visit http://www.slax.org/ for more info.
>>
>>  [1;29mAfter you login, try the following commands: [0;29m
>>
>>  mc ....... to start Midnight Commander (edit/copy/move/create/delete
>> files)
>>  startx ... to run Xwindow system with KDE in VESA mode 1024x768 at 75Hz
>>  xconf .... to autoconfigure your graphics card for better performance
>>
>>  [1;29mOther commands you may find useful (for experts only!): [0;29m
>>
>>  activate ..... to insert (install) Slax module into the system on the fly
>>  deactivate ... to remove (uninstall) Slax module from the root filesystem
>>  mkfileswap ... to create a special file on your harddisk for virtual RAM
>>
>>  [1;32m When finished, use "poweroff" or "reboot" command and wait
>> until it completes  [0;39m
>>
>> [1;32m===============================================================================
>> [0;39m
>>  Linux version 2.6.24.5 (root@slax) (gcc version 4.2.3) #1 SMP Wed Apr
>> 23 11:54:07 GMT 2008
>>  scanModem update of: 2008_05_02
>>
>>  Blacklisted modem driver lines in /etc/modprobe* files are:
>>  /etc/modprobe.d/blacklist:blacklist snd-atiixp-modem
>>  /etc/modprobe.d/blacklist:blacklist snd-via82xx-modem
>>  /etc/modprobe.d/blacklist:blacklist snd-intel8x0m
>>
>>  Attached USB devices are:
>>  ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
>>  ID 046d:c041 Logitech, Inc.
>>
>>  USB modems not recognized
>>  For candidate card in slot 02:01.0, firmware information and bootup
>> diagnostics are:
>>  PCI slot PCI ID SubsystemID Name
>>  ---------- --------- --------- --------------
>>  02:01.0 11c1:048c 11c1:044c Communication controller: Agere Systems
>> V.92 56K WinModem
>>
>>  Modem interrupt assignment and sharing:
>>  ===================================
>>  The modem interrupt (IRQ) is 255 . IRQs of 0 or 255 are not functional!!
>>  The CPU cannot control the modem until this situation is corrected!!
>>  Possible corrections are:
>>  1) Within the boot up BIOS, change from a Windows to a non-PNP/Other
>> Operating System type.
>>  Instructions for accessing BIOS are at:
>>  http://linmodems.technion.ac.il/resources.html within: Additional
>> Resourcces.
>>  2a) Add an option "pci=routeirq" to the kernel boot up line.
>>  Here is an example paragraph from /boot/grub/menu.lst :
>>  title Ubuntu, kernel 2.6.15-26-686
>>  root (hd0,6)
>>  kernel /boot/vmlinuz-2.6.15-26-686 root=/dev/hda7 ro pci=routeirq
>>  initrd /boot/initrd.img-2.6.15-26-686
>>  savedefault
>>  2b) Same as above, but use "pollirq" instead of "pci=routeirq".
>>  3) Within some BIOS setups, IRQ assignments can be changed.
>>  4) On non-laptop systems, moving the modem card to another slot has
>> helped.
>>  5) Sometimes upgrading the kernel changes IRQ assignment.
>>  =====================================
>>
>>  --- Bootup diagnostics for card in PCI slot 02:01.0 ----
>>
>>  === Finished firmware and bootup diagnostics, next deducing cogent
>> software. ===
>>
>>  Predictive diagnostics for card in bus 02:01.0:
>>  Modem chipset detected on
>>  CLASS="Class 0780: 11c1:048c"
>>  NAME="Communication controller: Agere Systems V.92 56K WinModem "
>>  SUBSYS=11c1:044c
>>  PCIDEV=11c1:048c
>>  IRQ=255
>>  IDENT=Agere.SV2P
>>
>>  For candidate modem in: 02:01.0
>>  Class 0780: 11c1:048c Communication controller: Agere Systems V.92
>> 56K WinModem
>>  Primary device ID: 11c1:048c
>>  Support type needed or chipset: Agere.SV2P
>>
>>
>>  ----------------end Softmodem section --------------
>>
>>  Vendor 11c1 is Lucent Technologies with modem technology now under LSI
>> Inc.
>>  Their Linux code developer/maintainer is Soumyendu Sarkar. Support
>> for a chipset and its
>>  continued maintenance is only initiated at the request of a major
>> chipset buyer,
>>  or comparable sponsor. Several different modem chipset types are
>> produced:
>>  with varying support under Linux.
>>  Device ID Support Name Comment
>>  --------- ------------- ----------- -----------------------------
>>  0480 serial drivers Venus controller chipset 1673JV7
>>  0440-045d martian Mars/Apollo DSP (digital signal processing) chipsets
>>  0462 none 56K.V90/ADSL Wildwire
>>  048d none SV2P soft modem
>>  048(c or f) AGRSM SV2P soft modem
>>  0600 none soft modem, very few in the field.
>>  0620 AGRSM Pinball soft modem, in some HP desktop PCs
>>  062(1-3) none SV92PP,Pinball soft modem, in some HP desktop PCs
>>
>>  martian - At
>> http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/
>>
>>  AGRSM - At http://linmodems.technion.ac.il/packages/ltmodem/sv92/
>>  the agrsm-20080203.tar.gz
>>  The suse-10-2a.tar.gz has newer Agere/LSI code, but there are
>> compiling problems with newer kernels/
>>
>>  From http://linmodems.technion.ac.il/packages/ltmodem/sv92/ download
>> agrsm-20080203.tar.gz
>>  The suse-10-2a.tar.gz thereat has newer Agere/LSI code,
>>  but there are compiling problems with newer kernels/
>>  Read Agrsm.txt
>>
>>  -------------- end Agere Systems section -------------------
>>
>>  Completed candidate modem analyses.
>>
>>  The base of the UDEV device file system is: /dev/.udev
>>
>>  Versions adequately match for the compiler installed: 4.2.3
>>  and the compiler used in kernel assembly: 4.2.3
>>
>>
>>
>>  Minimal compiling resources appear complete:
>>  make utility - /usr/bin/make
>>  Compiler version 4.2
>>  linuc_headers base folder /lib/modules/2.6.24.5/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. When compiling ALSA
>> drivers, the utility "patch" will also be needed.
>>
>>
>>
>>  If a driver compilation fails, with message including some lack of
>> some FileName.h (stdio.h for example), then
>>  Some additional kernel-header files need installation to
>> /usr/include. The minimal additional packages are libc6-dev
>>  and any of its dependents, under Ubuntu linux-libc-dev
>>
>>  If an alternate ethernet connection is available,
>>  $ apt-get update
>>  $ apt-get -s install linux-kernel-devel
>>  will install needed package
>>  For Debian/Ubuntu related distributions, run the following command to
>> display the needed package list:
>>
>>  Otherwise packages have to be found through http://packages.ubuntu.com
>>  Once downloaded and transferred into a Linux partition,
>>  they can be installed alltogether with:
>>  $ sudo dpkg -i *.deb
>>
>>
>>  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://linmodems.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:
>>  /etc/udev/rules.d/50-udev-default.rules:KERNEL=="mwave",
>> NAME="modems/mwave", GROUP="uucp"
>>  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 --------
>>
>>
>>
>>
>> This is from the thread in slax forum:
>>
>> http://www.slax.org/forum.php?action=view&parentID=12147
>>
>> I am trying to help this person get the modem setup and working, I can
>> compile the drivers, but the modem is not identified, neither by
>> wvdial nor kppp :(
>>
>> I downloaded the tar file and extracted it and applied the instructions:
>>
>> root@slax:/tmp# tar -zxvf agrsm-20080203.tar.gz
>> agrsm/
>> agrsm/agrsm_core.o
>> agrsm/agrmodemlib.o
>> agrsm/agrsm_howto.txt
>> agrsm/README
>> agrsm/agr.h
>> agrsm/lib.c
>> agrsm/ReadmeUpdate.txt
>> agrsm/agrsoftmodem.c
>> agrsm/8250.h
>> agrsm/agrmodem.h
>> agrsm/agrsm.rules
>> agrsm/linuxif.h
>> agrsm/Makefile
>> agrsm/.#Readme.1st
>> agrsm/LICENSE
>> agrsm/serial26.c
>> root@slax:/tmp# cd ag
>> agrsm/                 agrsm-20080203.tar.gz
>> root@slax:/tmp# cd agrsm
>> root@slax:/tmp/agrsm# cat README
>> Please note that this software is distributed under the Agere Systems Soft
>> Modem End User SOFTWARE LICENSE AGREEMENT, which can be found in the file
>> LICENSE, included in this package
>>
>> Please note that this version of the driver is intended to work Mandrake
>> 10.1
>> having Linux kernel version 2.6.8.1-10mdk*.
>>
>> INSTALLING THE AGERE SOFT MODEM DRIVER VERSION 2.1.40.3.Mandrake
>> from the sandard driver package ( zip / tar.gz archieve)
>>
>> Step 1
>> Uninstall any older version of the Agere soft modem driver by running
>> "make uninstall" from the directory containing the previously installed
>> Agere softmodem driver.
>>
>> Step 2
>> To install the Agere soft modem driver in LINUX, extract the driver
>> package
>> (unzip /tar -xzvf) in a directory under Linux and run "make module" and
>> then
>> "make install" from the command prompt.  This will install both the Agere
>> soft
>> modem controller driver agrmodem.ko and the Modem serial interface driver
>> agrserial.ko.
>> To install the modem driver you must be logged in as root.
>>
>> Step 3
>> To use Agere soft modem using KPPP choose "/dev/modem" as the modem
>> device.
>>
>> To use the Agere soft modem, you can configure "minicom" for the modem
>> device.
>> Enter "minicom -s" at the command prompt.
>> Choose "Serial Port Setup"
>> For "Serial Device" choose "/dev/modem"
>> Save settings as default (dfl) and start using the modem with minicom.
>>
>> UNINSTALLING THE MODEM DRIVER
>>
>> Following are the steps to follow to uninstall the Agere soft modem driver
>> for
>> Linux.
>>
>> Step 1
>> To uninstall the Agere soft modem driver in LINUX, you can run "make
>> uninstall"
>> from the command prompt. To uninstall the modem driver you must be logged
>> in as
>> root.
>>
>>
>>
>> root@slax:/tmp/agrsm# make module
>> make: *** No rule to make target `module'.  Stop.
>> root@slax:/tmp/agrsm# make all
>> make -C /lib/modules/2.6.24.5/build SUBDIRS=/tmp/agrsm modules
>> make[1]: Entering directory `/usr/src/linux-2.6.24.5'
>>
>>  WARNING: Symbol version dump /usr/src/linux-2.6.24.5/Module.symvers
>>           is missing; modules will have no dependencies and modversions.
>>
>>  CC [M]  /tmp/agrsm/agrsoftmodem.o
>>  CC [M]  /tmp/agrsm/lib.o
>> /tmp/agrsm/lib.c: In function 'agr_pci_find_device':
>> /tmp/agrsm/lib.c:134: warning: 'pci_find_device' is deprecated
>> (declared at include/linux/pci.h:492)
>> /tmp/agrsm/lib.c: In function 'x_pcibios_read_config_byte':
>> /tmp/agrsm/lib.c:145: warning: 'pci_find_slot' is deprecated (declared
>> at include/linux/pci.h:493)
>> /tmp/agrsm/lib.c: In function 'x_pcibios_read_config_word':
>> /tmp/agrsm/lib.c:148: warning: 'pci_find_slot' is deprecated (declared
>> at include/linux/pci.h:493)
>> /tmp/agrsm/lib.c: In function 'x_pcibios_read_config_dword':
>> /tmp/agrsm/lib.c:151: warning: 'pci_find_slot' is deprecated (declared
>> at include/linux/pci.h:493)
>> /tmp/agrsm/lib.c: In function 'x_pcibios_write_config_byte':
>> /tmp/agrsm/lib.c:154: warning: 'pci_find_slot' is deprecated (declared
>> at include/linux/pci.h:493)
>> /tmp/agrsm/lib.c: In function 'x_pcibios_write_config_word':
>> /tmp/agrsm/lib.c:157: warning: 'pci_find_slot' is deprecated (declared
>> at include/linux/pci.h:493)
>> /tmp/agrsm/lib.c: In function 'x_pcibios_write_config_dword':
>> /tmp/agrsm/lib.c:160: warning: 'pci_find_slot' is deprecated (declared
>> at include/linux/pci.h:493)
>>  CC [M]  /tmp/agrsm/serial26.o
>> /tmp/agrsm/serial26.c: In function 'serial8250_get_mctrl':
>> /tmp/agrsm/serial26.c:1371: warning: unused variable 'flags'
>> /tmp/agrsm/serial26.c: In function 'serial8250_config_port':
>> /tmp/agrsm/serial26.c:2039: warning: unused variable 'ret'
>> /tmp/agrsm/serial26.c: At top level:
>> /tmp/agrsm/serial26.c:2131: warning: initialization from incompatible
>> pointer type
>> /tmp/agrsm/serial26.c:2132: warning: initialization from incompatible
>> pointer type
>> /tmp/agrsm/serial26.c:1922: warning: 'serial8250_request_rsa_resource'
>> defined but not used
>>  LD [M]  /tmp/agrsm/agrmodem.o
>>  LD [M]  /tmp/agrsm/agrserial.o
>>  Building modules, stage 2.
>>  MODPOST 2 modules
>>  CC      /tmp/agrsm/agrmodem.mod.o
>>  LD [M]  /tmp/agrsm/agrmodem.ko
>>  CC      /tmp/agrsm/agrserial.mod.o
>>  LD [M]  /tmp/agrsm/agrserial.ko
>> make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
>> root@slax:/tmp/agrsm# make install
>> make -C /lib/modules/2.6.24.5/build M="/tmp/agrsm" modules_install
>> make[1]: Entering directory `/usr/src/linux-2.6.24.5'
>>  INSTALL /tmp/agrsm/agrmodem.ko
>>  INSTALL /tmp/agrsm/agrserial.ko
>>  DEPMOD  2.6.24.5
>> make[1]: Leaving directory `/usr/src/linux-2.6.24.5'
>> if ! /sbin/modprobe -nq agrmodem.ko ; then /sbin/depmod -a; fi
>> root@slax:/tmp/agrsm# ls /lib/modules/2.6.24.5/extra/
>> agrmodem.ko   agrserial.ko
>> root@slax:/tmp/agrsm# ls /lib/modules/2.6.24.5/extra/ -l
>> total 1428
>> -rw-r--r-- 1 root root 1433200 May 23 11:56 agrmodem.ko
>> -rw-r--r-- 1 root root   17694 May 23 11:56 agrserial.ko
>> root@slax:/tmp/agrsm# depmod -a
>> root@slax:/tmp/agrsm# modprobe agrmodem
>> agrmodem.h      agrmodem.ko     agrmodem.mod.c  agrmodem.mod.o
>> agrmodem.o      agrmodemlib.o
>> root@slax:/tmp/agrsm# modprobe agrmodem
>> root@slax:/tmp/agrsm# modprobe agrserial
>> root@slax:/tmp/agrsm# wvdi
>> wvdial      wvdialconf
>> root@slax:/tmp/agrsm# wvdialconf /etc/wvtest.txt
>> Editing `/etc/wvtest.txt'.
>>
>> Scanning your serial ports for a modem.
>>
>> ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
>> ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
>> ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
>> Modem Port Scan<*1>: S1   S2   S3
>>
>>
>> Sorry, no modem was detected!  Is it in use by another program?
>> Did you configure it properly with setserial?
>>
>> Please read the FAQ at http://open.nit.ca/wiki/?WvDial
>>
>> If you still have problems, send mail to <wvdial-list@xxxxxxxxxxxx>.
>> root@slax:/tmp/agrsm# lsmod | grep agr
>> agrserial              14912  0
>> agrmodem             1188580  1 agrserial
>> root@slax:/tmp/agrsm#
>>
>> I wanted to create a slax module for the agrsm code to support these
>> modems for other users, but I have not successfully gotten wvdial to
>> find the modem port.  Is there something else that I should do to get
>> them working and help out ShadowTek?
>>
>> I do not have experience with this modem at this point.
>>
>> Thanks,
>>
>> Antonio
>>
>

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

  Powered by Linux