Comment 36 for bug 375148

Revision history for this message
Roland Hughes (original-seasoned-geek) wrote : Re: [Bug 375148] Re: no more /dev/ttySL0 device node

roland@logikaldesktop:~$ cd /usr/src/modules/sl-modem
roland@logikaldesktop:/usr/src/modules/sl-modem$ dir
debian drivers modem patches ungrab-winmodem
roland@logikaldesktop:/usr/src/modules/sl-modem$ sudo module-assistant auto-
install sl-modem-source
[sudo] password for roland:

Updated infos about 1 packages
Getting source for kernel version: 2.6.31-9-generic
Kernel headers available in /usr/src/linux
Creating symlink...
Couldn't create the /usr/src/linux symlink!
apt-get install build-essential
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
The following packages were automatically installed and are no longer
required:
  libwxgtk2.6-dbg python-dbg libwxbase2.6-dbg python2.6-dbg
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up sl-modem-source (2.9.11~20080817-3ubuntu2) ...
Adding Module to DKMS build system

Error! DKMS tree already contains: sl-modem-2.9.11~20080817
You cannot add the same module/version combo more than once.
dpkg: error processing sl-modem-source (--configure):
 subprocess installed post-installation script returned error exit status 3
Errors were encountered while processing:
 sl-modem-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

Done!
unpack
Extracting the package tarball, /usr/src/sl-modem.tar.bz2, please wait...
"/usr/share/modass/packages/default.sh" build KVERS=2.6.31-9-generic
KSRC=/usr/src/linux-headers-2.6.31-9-generic KDREV=2.6.31-9.29 kdist_image
Done with /usr/src/sl-modem-modules-2.6.31-9-
generic_2.9.11~20080817-3ubuntu2+2.6.31-9.29_i386.deb .
dpkg -Ei /usr/src/sl-modem-modules-2.6.31-9-
generic_2.9.11~20080817-3ubuntu2+2.6.31-9.29_i386.deb
Selecting previously deselected package sl-modem-modules-2.6.31-9-generic.
(Reading database ... 239499 files and directories currently installed.)
Unpacking sl-modem-modules-2.6.31-9-generic (from .../sl-modem-
modules-2.6.31-9-generic_2.9.11~20080817-3ubuntu2+2.6.31-9.29_i386.deb) ...
Setting up sl-modem-modules-2.6.31-9-generic
(2.9.11~20080817-3ubuntu2+2.6.31-9.29) ...
WARNING: All config files need .conf: /etc/modprobe.d/sl-modem-daemon.modutils,
it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/sl-modem-daemon.modutils,
it will be ignored in a future release.
Starting SmartLink Modem driver for: slamr0.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.

roland@logikaldesktop:/usr/src/modules/sl-modem$

roland@logikaldesktop:/usr/src/modules/sl-modem$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

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
WvModem<*1>: Cannot get information for serial port.
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"
roland@logikaldesktop:/usr/src/modules/sl-modem$ wvdial
--> 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: ATDTw16302051593
--> Waiting for carrier.
ATDTw16302051593
NO CARRIER
ERROR
--> No Carrier! Trying again.
--> Sending: ATDTw16302051593
--> Waiting for carrier.
ATDTw16302051593
NO CARRIER
ERROR
--> No Carrier! Trying again.
--> Sending: ATDTw16302051593
--> Waiting for carrier.
ATDTw16302051593
NO CARRIER
ERROR

Yes, the phone line is plugged in. Yes, I plugged an old fashioned phone into
the end of the cable and made certain I had a carrier.

On Thursday 03 September 2009 11:39:44 am أحمد المحمودي (Ahmed El-Mahmoudy)
wrote:
> Could you rather try:
>
> sudo module-assistant auto-install sl-modem-source
>
> Please make sure that linux-headers-generic is installed.
>

--
Roland Hughes, President
Logikal Solutions
(630)-205-1593 (cell)
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.logikalsolutions.com