[ltp] ACP Modem drivers are available for DOWNLOAD

Geert Janssen linux-thinkpad@www.bm-soft.com
Thu, 21 Dec 2000 13:40:47 -0500


Dear All,

I wrote a little script to show what happens with the Mwave modem or me:

[root@cheese /root]# ./mwave.sh 
+ echo The module is in place:
The module is in place:
+ ls -l /lib/modules/2.2.10/misc/mwavedd.o
-rw-r--r--   1 root     root        35676 Dec 21 12:49 /lib/modules/2.2.10/misc/mwavedd.o
+ echo The device file is there:
The device file is there:
+ ls -l /dev/mwave
c---rw-rw-   1 root     root      96,   0 Dec 15 09:36 /dev/mwave
+ echo IRQ 3 is not used yet:
IRQ 3 is not used yet:
+ cat /proc/interrupts
           CPU0       
  0:      29157          XT-PIC  timer
  1:       1200          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:          0          XT-PIC  Crystal audio controller
  8:          2          XT-PIC  rtc
 10:          4          XT-PIC  i82365
 12:          4          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:       5291          XT-PIC  ide0
 15:          4          XT-PIC  ide1
NMI:          0
+ echo This is the /etc/conf.modules line:
This is the /etc/conf.modules line:
+ tail -2 /etc/conf.modules
# Mwave modem (In win95 it's on COM2: IRQ3, 0x2f8)
options mwavedd dspirq=11 dspio=0x0130 uartirq=3 uartio=0x2f8
+ echo Loading the module:
Loading the module:
+ modprobe mwavedd
+ echo Now is:
Now is:
+ date
Thu Dec 21 13:33:59 EST 2000
+ echo /var/log/messages says:
/var/log/messages says:
+ tail -1 /var/log/messages
Dec 21 13:33:59 cheese kernel: Mwave Modem, UART settings IRQ 0x3   IO 0x2f8 
+ echo The module is loaded:
The module is loaded:
+ lsmod
Module                  Size  Used by
mwavedd                26956   0  (unused)
superio                 4700   0  (unused)
smapi                   2404   0  (unused)
rtcmosram               1472   0  (unused)
thinkpad                2400   0  (unused)
ip_masq_ftp             2352   0  (unused)
cs4232                  2408   0 
ds                      5740   2 
i82365                 22608   2 
pcmcia_core            39912   0  [ds i82365]
opl3                   11208   0 
uart401                 5904   0  [cs4232]
ad1848                 15792   0  [cs4232]
sound                  56236   0  [cs4232 opl3 uart401 ad1848]
soundcore               2116   5  [sound]
+ echo Starting the utility program:
Starting the utility program:
+ /usr/local/bin/mwavem
+ sleep 10
mwave modem, initializing mwave manager...OK
mwave modem, initializing modem specific code...OK
mwave modem, getting configured startup speed...64000.
mwave modem, checking configured speed...OK
mwave modem, setting modem speed...OK
mwave modem, loading modem DSP...OK.
mwave modem STARTED. To setup serial port use:   'setserial /dev/ttySx autoconfig' 
+ echo What does ps x say:
What does ps x say:
+ ps x
  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:04 init [3]
    2 ?        SW     0:00 [kflushd]
    3 ?        SW     0:00 [kpiod]
    4 ?        SW     0:00 [kswapd]
  ...
  606 ttyp1    S      0:00 sh ./mwave.sh
  616 ttyp1    S      0:01 /usr/local/bin/mwavem
  618 ttyp1    R      0:00 /usr/local/bin/mwavem
  619 ttyp1    S<     0:00 /usr/local/bin/mwavem
  620 ttyp1    R      0:00 ps x
+ echo Setting the serial line:
Setting the serial line:
+ setserial /dev/ttyS1 autoconfig
+ echo See if the line is registered:
See if the line is registered:
+ setserial -avg /dev/ttyS1
/dev/ttyS1, Line 1, UART: 16550A, Port: 0x02f8, IRQ: 3
	Baud_base: 115200, close_delay: 50, divisor: 0
	closing_wait: 3000, closing_wait2: infinte
	Flags: spd_normal skip_test

+ echo Mwave is using its IRQs:
Mwave is using its IRQs:
+ cat /proc/interrupts
           CPU0       
  0:      30264          XT-PIC  timer
  1:       1203          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  5:          0          XT-PIC  Crystal audio controller
  8:          2          XT-PIC  rtc
 10:          4          XT-PIC  i82365
 11:          0          XT-PIC  mwavedsp
 12:          4          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:       5327          XT-PIC  ide0
 15:          4          XT-PIC  ide1
NMI:          0
[root@cheese /root]# 

There is something wrong here: IRQ3 doesn't seem to be used.
So all goes well up to the point where the serial port should
attach itself to the UART in the Mwave modem.
Anybody any suggestions?

Geert
--
Dr. Geert Janssen                Phone: 914 945 2198 / Fax: 914 945 4469
IBM T.J. Watson Research Center  P.O. Box 218, Bldg. 801, Office 33-144
Yorktown Heights, NY 10598       Email: geert@watson.ibm.com | geert@us.ibm.com

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html