[Ilugc] Re: Agere soft Modem on Acer Laptop 4152NLCi

  • From: marvstod@xxxxxxxxxxx (marvstod@xxxxxxxxxxx)
  • Date: Tue Aug 30 19:35:45 2005

RAM

RE:   ./slmodem -alsa -c INDIA hw:1
should be:
   ./slmodemd --alsa -c INDIA hw:1
or
   ./slmodemd   -a -c INDIA hw: 1

Note that you can 
# su - root
# cp  slmodemd  /usr/bin/
putting slmodemd on the COMMAND PATH.  Thereafter it will suffice to:
# slmodemd --alsa -c INDIA hw:1 

See if using --alsa cures the problem

Also your /etc/wvdial.conf  looks as if was produced by first running the ICW 
and then the last section was appended by a:  wvdialconf /etc/wvdial.conf
This may be causing a problem  You can however for testing run.  
# wvdialconf wvtest.txt

To correct the /etc/wvdial.conf, do
# cp /etc/wvdial.conf  /etc/wvdial.conf.0
and then edit /etc/wvdial.conf  into the following:

[Modem0]
Modem = /dev/ttySL0
Baud = 57600
SetVolume = 1
Dial Command = ATDT
Init1 = ATZ
Init3 = ATM1L1
FlowControl = CRTSCTS
Carriier Check = no

[Dialer BSNL]
Username = purelife
Password = uma579
Phone = 172233
Stupid Mode = 1
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
# Once there is a success, try commenting out the following line, which is a 
ICW default
Stupid Mode = On
Inherits = Modem0

For usage of KPPP, it is probably necessary to first run its setup, This must 
be done as a User too, not just by root

Report back presently.

MarvS


Hi Sir,
thanks for giving me the link for downloading the driver;
as informed, i requested my chennai linux friend to help, we worked the whole 
day; the results of our work mis as follows: kindly guide me further

i have tried all the commands the you have suggested. but i keep getting 
error 
tht no dialtone is present. PS: I don't have alsa configured in my system.

i tried the ICW but it generates an error 2 on activating it. i also tried 
with 
kppp which have detected the modem and the ports created by the program.  it 
also generates an 'NOT CONNECTED' message.

i am attaching all the o/p of all the commands tht i have tried.


-----------------------------output of ./slmodem -alsa -c INDIA 
hw:1----------------

symbolic link `/dev/ttySL0' -> `/dev/pts/2' created.
modem `hw:1' created. TTY is `/dev/pts/2'
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.

-------------------------------------output of `wvdialconf 
/etc/wvdial.conf`----
Scanning your serial ports for a modem.

Port Scan<*1>: S0   S1   S2   S3   S4   S5   S6   S7   
Port Scan<*1>: S8   S9   S10  S11  S12  S13  S14  S15  
Port Scan<*1>: S16  S17  S18  S19  S20  S21  S22  S23  
Port Scan<*1>: S24  S25  S26  S27  S28  S29  S30  S31  
Port Scan<*1>: S32  S33  S34  S35  S36  S37  S38  S39  
Port Scan<*1>: S40  S41  S42  S43  S44  S45  S46  S47  
Port Scan<*1>: S48  S49  S50  S51  S52  S53  S54  S55  
Port Scan<*1>: S56  S57  S58  S59  S60  S61  S62  S63  
Port Scan<*1>: S64  S65  S66  S67  S68  S69  S70  S71  
Port Scan<*1>: S72  S73  S74  S75  
ttySL0<*1>: ATQ0 V1 E1 -- OK
ttySL0<*1>: ATQ0 V1 E1 Z -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySL0<*1>: Modem Identifier: ATI -- SmartLink Soft Modem
ttySL0<*1>: Speed 4800: AT -- OK
ttySL0<*1>: Speed 9600: AT -- OK
ttySL0<*1>: Speed 19200: AT -- OK
ttySL0<*1>: Speed 38400: AT -- OK
ttySL0<*1>: Speed 57600: AT -- OK
ttySL0<*1>: Speed 115200: AT -- OK
ttySL0<*1>: Speed 230400: AT -- OK
ttySL0<*1>: Speed 460800: AT -- OK
ttySL0<*1>: Max speed is 460800; that should be safe.
ttySL0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttySL0.
Modem configuration written to /etc/wvdial.conf.
ttySL0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"






--------------------------------/etc/wvdial.conf-----------------------------



[Modem0]
Modem = /dev/modem
Baud = 57600
SetVolume = 1
Dial Command = ATDT
Init1 = ATZ
Init3 = ATM1L1
FlowControl = CRTSCTS

[Dialer BSNL]
Username = purelife
Password = uma579
Phone = 172233
Stupid Mode = 1
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Inherits = Modem0

[Dialer Defaults]
Modem = /dev/ttySL0
Baud = 460800
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ISDN = 0
Modem Type = Analog Modem
 Phone = 172233
 Username = purelife
 Password = uma579
Carrier Check = No
Stupid Mode = On





-------------------------------output of wvdial---------------------------
--> WvDial: Internet dialer version 1.54.0
--> 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: ATDT172233
--> Waiting for carrier.
ATDT172233
NO DIALTONE
--> No dial tone.
--> Disconnecting at Sun Aug 28 21:18:18 2005




-----------------------------output of 
/var/log/dmesg------------------------------

Aug 28 21:17:27 localhost kernel: codec_semaphore: semaphore is not ready 
[0x1][0x701300]
Aug 28 21:17:27 localhost kernel: codec_write 1: semaphore is not ready for 
register 0x54
Aug 28 21:17:40 localhost kernel: codec_semaphore: semaphore is not ready 
[0x1][0x701300]
Aug 28 21:17:40 localhost kernel: codec_read 1: semaphore is not ready for 
register 0x54
Aug 28 21:18:13 localhost kernel: codec_semaphore: semaphore is not ready 
[0x1][0x701300]
Aug 28 21:18:13 localhost kernel: codec_read 1: semaphore is not ready for 
register 0x54
Aug 28 21:18:18 localhost kernel: codec_semaphore: semaphore is not ready 
[0x1][0x701300]
Aug 28 21:18:18 localhost kernel: codec_read 1: semaphore is not ready for 
register 0x54
Aug 28 21:19:41 localhost login(pam_unix)[2064]: authentication failure; 
logname= uid=0 euid=0 tty=tty3 ruser= rhost=  user=root
Aug 28 21:19:44 localhost login[2064]: FAILED LOGIN 1 FROM (null) FOR root, 
Authentication failure
Aug 28 21:19:48 localhost login(pam_unix)[2064]: session opened for user root 
by 
(uid=0)
Aug 28 21:19:48 localhost  -- root[2064]: ROOT LOGIN ON tty3
Aug 28 21:20:02 localhost crond(pam_unix)[2593]: session opened for user root 
by 
(uid=0)
Aug 28 21:20:02 localhost crond(pam_unix)[2594]: session opened for user root 
by 
(uid=0)
Aug 28 21:20:02 localhost crond(pam_unix)[2594]: session closed for user root
Aug 28 21:20:02 localhost crond(pam_unix)[2593]: session closed for user root
Aug 28 21:22:28 localhost kernel: codec_semaphore: semaphore is not ready 
[0x1][0x701300]
Aug 28 21:22:28 localhost kernel: codec_read 1: semaphore is not ready for 
register 0x54
Aug 28 21:22:33 localhost kernel: codec_semaphore: semaphore is not ready 
[0x1][0x701300]
Aug 28 21:22:33 localhost kernel: codec_read 1: semaphore is not ready for 
register 0x54
Aug 28 21:22:50 localhost kernel: atkbd.c: Unknown key pressed (translated 
set 
2, code 0xb3 on isa0060/serio0).
Aug 28 21:22:50 localhost kernel: atkbd.c: Use 'setkeycodes e033 <keycode>' 
to 
make it known.
Aug 28 21:22:50 localhost kernel: atkbd.c: Unknown key released (translated 
set 
2, code 0xb3 on isa0060/serio0).
Aug 28 21:22:50 localhost kernel: atkbd.c: Use 'setkeycodes e033 <keycode>' 
to 
make it known.
Aug 28 21:23:30 localhost kernel: codec_semaphore: semaphore is not ready 
[0x1][0x701300]
Aug 28 21:23:30 localhost kernel: codec_read 1: semaphore is not ready for 
register 0x54
Aug 28 21:23:36 localhost kernel: codec_semaphore: semaphore is not ready 
[0x1][0x701300]
Aug 28 21:23:36 localhost kernel: codec_read 1: semaphore is not ready for 
register 0x54
Aug 28 21:25:02 localhost crond(pam_unix)[2606]: session opened for user root 
by 
(uid=0)
Aug 28 21:25:02 localhost crond(pam_unix)[2606]: session closed for user root


-- 
______________________________________________
IndiaInfo Mail - the free e-mail service with a difference! www.indiainfo.com 
Check out our value-added Premium features, such as an extra 20MB for mail 
storage, POP3, e-mail forwarding, and ads-free mailboxes!

Other related posts: