John,
Marv knows much more than I do so he is to be trusted.
I would immediately apologise for my mistake of believing that there is
no via82 modem function in your machine if you had not reported that
issue with the connector.
A modem chip in your computer can either be mounted on a PCI card with
the phone connector on the card as you describe to be the case for your
Agere modem. Or it can be part of a multifunction chip, in your case so
called AC'97 modem. In that case the rest of the chip serves the sound
(and very often games) at the same time. The multifunction chip can be
mounted on a PCI card but then you should have found a second modem
connector on the card (if it exists) with the small jacks for sound
connection. Or the multifunction chip can be mounted on the main board
of the computer but then you should see another phone connector
somewhere on the box (face, back, frame).
How old is this computer???
In any case Marv's recommendation was excellent since you have observed
that martian_dev is loaded when the software for a via82xxx modem is not
loaded, and also the actual driver program martian_modem is running.
Among possibilities, something may be set wrongly by the automatic start
script(s).
What I would try, but it is likely wiser to wait for further advice from
Marv, would thus be:
-to stop martian_modem with the command sudo kill -9 891
replacing 891 but whatever comes at the same place from command
ps ax | grep martian
891 ? Ssl 0:00 /usr/sbin/martian_modem --syslog --daemon
-to unload martian_dev with command sudo rmmod martian_dev
-to check again with sudo ps ax | grep martian that nothing decided to
restart martian_modem
-to check with sudo lsmod that martian_dev has indeed been unloaded
-to fresh load again martian_dev with sudo modprobe martian_dev
-to fresh start martian_modem with sudo /usr/sbin/martian_modem
--syslog --daemon
-to verify ls -l /dev/ttySM* that the port /dev/ttySM0 has been created
-to try again to run wvdial
By the way why is there a Stypid Mode = 1 in your /etc/wvdial.conf ?
This was relevant some 10 years ago for a few Internet Service Providers
only, and may fool the login procedure, albeit not before the remote
modem will have answered which is not yet your case.
Last issue for this round, may be related to the age of your computer.
Do you have a double boot wit Windows? Do you know how to inspect your
BIOS at boot time (no need to have Windows for that)? If you do, please
navigate, not changing anything yet, to see if there is an option about
"operating system" being Windows or Other, or an option about PnP being
enabled or not?
Jacques
On 02/23/2011 06:27 AM, John Smithson wrote:
Dear Jacques and Marvin
Thank you for your emails.
I checked lsmod first and I could see that snd-via82xx-modem was in.
Also Martian_dev was not in.
I then blacklisted:
snd-via82xx-modem and
snd-atiixp-modem
as instructed by MarvS, retested and got the same result i.e. invalid
dial command and disconnected.
As you can see below Martian_dev came in after the blacklisting.
I can only see one physical modem (Agere in PCI slot) in the PC. The
board does not appear to have a telephone connector at all.
The modem works fine if I start the PC into Windows.
No Jacques I did not edit the dmesg text file - just as created by
ScanModem!
Regards, John
Here follows the results of what Jacques asked me to do:
jonathan@jonathan-desktop:~$ lsmod
Module Size Used by
nls_utf8 1069 1
nls_iso8859_1 3249 1
nls_cp437 4919 1
isofs 29250 1
vfat 8933 1
fat 47767 1 vfat
binfmt_misc 6587 1
fbcon 35102 71
tileblit 2031 1 fbcon
font 7557 1 fbcon
bitblit 4707 1 fbcon
softcursor 1189 1 bitblit
vga16fb 11385 0
vgastate 8961 1 vga16fb
snd_via82xx 20058 2
gameport 9089 1 snd_via82xx
snd_ac97_codec 100646 1 snd_via82xx
ac97_bus 1002 1 snd_ac97_codec
snd_pcm_oss 35308 0
snd_mixer_oss 13746 1 snd_pcm_oss
snd_pcm 70694 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
snd_page_alloc 7076 2 snd_via82xx,snd_pcm
snd_mpu401_uart 5617 1 snd_via82xx
snd_seq_dummy 1338 0
snd_seq_oss 26722 0
snd_seq_midi 4557 0
snd_rawmidi 19056 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 6003 2 snd_seq_oss,snd_seq_midi
snd_seq 47263 6
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
radeon 676897 3
snd_timer 19098 2 snd_pcm,snd_seq
snd_seq_device 5700 5
snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
ttm 49943 1 radeon
drm_kms_helper 29329 1 radeon
ppdev 5259 0
snd 54180 15
snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
drm 162409 5 radeon,ttm,drm_kms_helper
i2c_algo_bit 5028 1 radeon
amd64_agp 7165 1
k8temp 3152 0
parport_pc 25962 1
soundcore 6620 1 snd
i2c_viapro 5573 0
martian_dev 20103 0
agpgart 31724 3 ttm,drm,amd64_agp
shpchp 28835 0
lp 7028 0
parport 32635 3 ppdev,parport_pc,lp
usbhid 36110 0
hid 67064 1 usbhid
usb_storage 39553 1
floppy 53016 0
pata_via 7272 3
sata_via 7009 0
skge 36428 0
=====================================
jonathan@jonathan-desktop:~$ ps ax | grep martian
891 ? Ssl 0:00 /usr/sbin/martian_modem --syslog --daemon
--user=nobody --group=dialout --debug=1
1445 pts/0 S+ 0:00 grep --color=auto martian
=====================================
jonathan@jonathan-desktop:~$ sudo wvdial
[sudo] password for jonathan:
--> WvDial: Internet dialer version 1.60
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0
ATQ0 V1 E1 S0=0&C1&D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT0198331111
--> Waiting for carrier.
ATDT0198331111
--> Timed out while dialing. Trying again.
--> Sending: ATDT0198331111
--> Waiting for carrier.
--> Timed out while dialing. Trying again.
--> Sending: ATDT0198331111
--> Waiting for carrier.
NO CARRIER
--> No Carrier! Trying again.
--> Sending: ATDT0198331111
--> Waiting for carrier.
ATDT0198331111
ATDT0198331111
ERROR
--> Invalid dial command.
--> Disconnecting at Wed Feb 23 14:14:11 2011
=================================================
I did the sudo updatedb first on the previous startup of the PC.
jonathan@jonathan-desktop:~$ sudo locate martian
/etc/default/martian-modem
/etc/init.d/martian-modem
/etc/rc0.d/K20martian-modem
/etc/rc1.d/K20martian-modem
/etc/rc2.d/S20martian-modem
/etc/rc3.d/S20martian-modem
/etc/rc4.d/S20martian-modem
/etc/rc5.d/S20martian-modem
/etc/rc6.d/K20martian-modem
/home/jonathan/martian-full-20100123
/home/jonathan/.local/share/Trash/files/martian-full-20100123
/home/jonathan/.local/share/Trash/info/martian-full-20100123.trashinfo
/home/jonathan/Downloads/martian-full-20100123.tar.gz
/home/jonathan/martian-full-20100123/ChangeLog
/home/jonathan/martian-full-20100123/Cleaning.txt
/home/jonathan/martian-full-20100123/Concept
/home/jonathan/martian-full-20100123/INSTALL
/home/jonathan/martian-full-20100123/Makefile
/home/jonathan/martian-full-20100123/README
/home/jonathan/martian-full-20100123/kmodule
/home/jonathan/martian-full-20100123/martian-full-20100123.tar.gz
/home/jonathan/martian-full-20100123/martian.h
/home/jonathan/martian-full-20100123/modem
/home/jonathan/martian-full-20100123/sample.txt
/home/jonathan/martian-full-20100123/scripts
/home/jonathan/martian-full-20100123/kmodule/.marsio.o.cmd
/home/jonathan/martian-full-20100123/kmodule/.martian.o.cmd
/home/jonathan/martian-full-20100123/kmodule/.martian_dev.ko.cmd
/home/jonathan/martian-full-20100123/kmodule/.martian_dev.mod.o.cmd
/home/jonathan/martian-full-20100123/kmodule/.martian_dev.o.cmd
/home/jonathan/martian-full-20100123/kmodule/.mfifo.o.cmd
/home/jonathan/martian-full-20100123/kmodule/.tmp_versions
/home/jonathan/martian-full-20100123/kmodule/Files.txt
/home/jonathan/martian-full-20100123/kmodule/Makefile
/home/jonathan/martian-full-20100123/kmodule/Module.symvers
/home/jonathan/martian-full-20100123/kmodule/fifo.h
/home/jonathan/martian-full-20100123/kmodule/kmartian.h
/home/jonathan/martian-full-20100123/kmodule/kmodulefiles.txt
/home/jonathan/martian-full-20100123/kmodule/marsio.c
/home/jonathan/martian-full-20100123/kmodule/marsio.h
/home/jonathan/martian-full-20100123/kmodule/marsio.o
/home/jonathan/martian-full-20100123/kmodule/martian.c
/home/jonathan/martian-full-20100123/kmodule/martian.o
/home/jonathan/martian-full-20100123/kmodule/martian_dev.ko
/home/jonathan/martian-full-20100123/kmodule/martian_dev.mod.c
/home/jonathan/martian-full-20100123/kmodule/martian_dev.mod.o
/home/jonathan/martian-full-20100123/kmodule/martian_dev.o
/home/jonathan/martian-full-20100123/kmodule/martian_ids.c
/home/jonathan/martian-full-20100123/kmodule/mfifo.c
/home/jonathan/martian-full-20100123/kmodule/mfifo.h
/home/jonathan/martian-full-20100123/kmodule/mfifo.o
/home/jonathan/martian-full-20100123/kmodule/mixspinlock.h
/home/jonathan/martian-full-20100123/kmodule/modules.order
/home/jonathan/martian-full-20100123/kmodule/.tmp_versions/martian_dev.mod
/home/jonathan/martian-full-20100123/modem/ASWMLICENSE
/home/jonathan/martian-full-20100123/modem/Makefile
/home/jonathan/martian-full-20100123/modem/README
/home/jonathan/martian-full-20100123/modem/common.h
/home/jonathan/martian-full-20100123/modem/core.h
/home/jonathan/martian-full-20100123/modem/core_if.c
/home/jonathan/martian-full-20100123/modem/core_if.o
/home/jonathan/martian-full-20100123/modem/coreadd.c
/home/jonathan/martian-full-20100123/modem/coreadd.o
/home/jonathan/martian-full-20100123/modem/coresubst.c
/home/jonathan/martian-full-20100123/modem/coresubst.o
/home/jonathan/martian-full-20100123/modem/debug_script.in
/home/jonathan/martian-full-20100123/modem/dumpers.c
/home/jonathan/martian-full-20100123/modem/dumpers.o
/home/jonathan/martian-full-20100123/modem/elf386tweakrelocs
/home/jonathan/martian-full-20100123/modem/elf386tweakrelocs.c
/home/jonathan/martian-full-20100123/modem/isr.c
/home/jonathan/martian-full-20100123/modem/isr.o
/home/jonathan/martian-full-20100123/modem/link.c
/home/jonathan/martian-full-20100123/modem/link.o
/home/jonathan/martian-full-20100123/modem/log.c
/home/jonathan/martian-full-20100123/modem/log.h
/home/jonathan/martian-full-20100123/modem/log.o
/home/jonathan/martian-full-20100123/modem/ltmdmobj.o
/home/jonathan/martian-full-20100123/modem/main.c
/home/jonathan/martian-full-20100123/modem/main.h
/home/jonathan/martian-full-20100123/modem/main.o
/home/jonathan/martian-full-20100123/modem/marscore.o
/home/jonathan/martian-full-20100123/modem/martian_modem
/home/jonathan/martian-full-20100123/modem/martian_modem.debug
/home/jonathan/martian-full-20100123/modem/martian_modem.stripped
/home/jonathan/martian-full-20100123/modem/mixspinlock.h
/home/jonathan/martian-full-20100123/modem/modemfiles.txt
/home/jonathan/martian-full-20100123/modem/mport.c
/home/jonathan/martian-full-20100123/modem/mport.h
/home/jonathan/martian-full-20100123/modem/mport.o
/home/jonathan/martian-full-20100123/modem/overriden_core.h
/home/jonathan/martian-full-20100123/modem/overriden_core_functions
/home/jonathan/martian-full-20100123/modem/profile.c
/home/jonathan/martian-full-20100123/modem/pty.c
/home/jonathan/martian-full-20100123/modem/pty.o
/home/jonathan/martian-full-20100123/modem/relocs.sym
/home/jonathan/martian-full-20100123/modem/session.c
/home/jonathan/martian-full-20100123/modem/session.o
/home/jonathan/martian-full-20100123/modem/smp.c
/home/jonathan/martian-full-20100123/modem/smp.o
/home/jonathan/martian-full-20100123/modem/sysdep.c
/home/jonathan/martian-full-20100123/modem/sysdep.h
/home/jonathan/martian-full-20100123/modem/sysdep.o
/home/jonathan/martian-full-20100123/modem/tweakcore.sh
/home/jonathan/martian-full-20100123/modem/tweakrelocsdynamic.c
/home/jonathan/martian-full-20100123/modem/tweakrelocsdynamic.o
/home/jonathan/martian-full-20100123/modem/watch.gdb
/home/jonathan/martian-full-20100123/modem/watch.h
/home/jonathan/martian-full-20100123/modem/watch2.gdb
/home/jonathan/martian-full-20100123/modem/watch3.gdb
/home/jonathan/martian-full-20100123/modem/watch4.gdb
/home/jonathan/martian-full-20100123/scripts/automate.sh
/home/jonathan/martian-full-20100123/scripts/martian
/home/jonathan/martian-full-20100123/scripts/martian.in
/home/jonathan/martian-full-20100123/scripts/remove_outdated.sh
/home/jonathan/martian-full-20100123/scripts/wv.conf
/lib/modules/2.6.32-28-generic/extra/martian_dev.ko
/usr/lib/debug/usr/sbin/martian_modem.debug
/usr/sbin/martian_modem
/usr/share/doc/martian-modem
/usr/share/doc/martian-modem/README
/usr/share/doc/martian-modem/README.Debian
/usr/share/doc/martian-modem/changelog.Debian.gz
/usr/share/doc/martian-modem/changelog.gz
/usr/share/doc/martian-modem/copyright
/usr/share/doc/martian-modem/examples
/usr/share/doc/martian-modem/examples/wv.conf
/usr/share/lintian/overrides/martian-modem
/usr/share/man/man8/martian_modem.8.gz
/usr/share/modass/overrides/martian-modem-source
/var/cache/apt/archives/martian-modem_20080625-1_i386.deb
/var/lib/dpkg/info/martian-modem.conffiles
/var/lib/dpkg/info/martian-modem.list
/var/lib/dpkg/info/martian-modem.md5sums
/var/lib/dpkg/info/martian-modem.postinst
/var/lib/dpkg/info/martian-modem.postrm
/var/lib/dpkg/info/martian-modem.prerm
/var/lib/update-rc.d/martian-modem
jonathan@jonathan-desktop:~$