testing PCMCIA setup under FC5, for Sierra Aircard555 CMDA modem (url's updated)

Kevin Verma kevinverma at gmail.com
Mon Dec 26 02:38:27 EST 2005


Hello,

I am very excited about the newer PCMCIA implementation in accord
with hotplug. I was trying to setup my Sierra Wireless Aircard
555 under FC5 test1 and hit the obvious bumps. Below is a URL
where I have documented some of my understanding for the newer
systems as it works:
http://www.bloglines.com/blog/kevinverma?id=39

Below a URL where Rahul S. has added to the Fedora Release notes
overview:
http://fedoraproject.org/wiki/Docs/Beats/OverView

After patching (as on blog_url above) the serial_cs.c, I noticed
that this PCMCIA device reports different manufacture_id on FC4
and FC5, further I noticed the same is happening on FC5 box
before and after manual firmware loading as below in command
line snippet.

Before you look into the snippet below I will also like to point
out that confused about different manufacture_id reporting I
re-patched the serial_cs.c and below is what is being used for
the snippet bellow, here:
+PCMCIA_DEVICE_CIS_MANF_CARD(0x013f, 0xa555,
"SW_555_SER.cis"), /* Sierra Aircard 555 CDMA 1xrtt Modem */

---snip from FC5 test1 start---
[root at server1 ~]# pccardctl eject
[root at server1 ~]# pccardctl insert
[root at server1 ~]# pccardctl info
PRODID_1="Sierra Wireless"
PRODID_2="AirCard 555"
PRODID_3="A555"
PRODID_4="Rev 1"
MANFID=0192,a555
FUNCID=6
[root at server1 ~]# wvdialconf foo.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.
Port Scan<*1>: S1   S2   S3   S4   S5   S6   S7   S8
Port Scan<*1>: S9   S10  S11  S12  S13  S14  S15  S16
Port Scan<*1>: S17  S18  S19  S20  S21  S22  S23  S24
Port Scan<*1>: S25  S26  S27  S28  S29  S30  S31


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/wvdial/

If you still have problems, send mail to
wvdial-list at lists.nit.ca.
[root at server1 ~]# pcmcia-socket-startup
[root at server1 ~]# wvdialconf foo.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.
Port Scan<*1>: S1   S2   S3   S4   S5   S6   S7   S8
Port Scan<*1>: S9   S10  S11  S12  S13  S14  S15  S16
Port Scan<*1>: S17  S18  S19  S20  S21  S22  S23  S24
Port Scan<*1>: S25  S26  S27  S28  S29  S30  S31


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/wvdial/

If you still have problems, send mail to
wvdial-list at lists.nit.ca.
[root at server1 ~]# cat /lib/firmware/SW_555_SER.cis
> /sys/class/pcmcia_socket/pcmcia_socket0/cis
[root at server1 ~]# pcmcia-socket-startup
[root at server1 ~]# wvdialconf foo.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.
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600
baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200
baud
ttyS1<*1>: ATQ0 V1 E1 -- OK
ttyS1<*1>: ATQ0 V1 E1 Z -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS1<*1>: Modem Identifier: ATI -- ERROR
ttyS1<*1>: Max speed is 115200; that should be safe.
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
Port Scan<*1>: S3   S4   S5   S6   S7   S8   S9   S10
Port Scan<*1>: S11  S12  S13  S14  S15  S16  S17  S18
Port Scan<*1>: S19  S20  S21  S22  S23  S24  S25  S26
Port Scan<*1>: S27  S28  S29  S30  S31

Found a modem on /dev/ttyS1.
Modem configuration written to foo.conf.
ttyS1<Info>: Speed 115200; init "ATQ0 V1 E1 S0=0 &C1 &D2
+FCLASS=0"
[root at server1 ~]# less wvdial.conf
[root at server1 ~]# vim wvdial.conf
[root at server1 ~]# pccardctl info
PRODID_1="Sierra Wireless"
PRODID_2="AirCard 555"
PRODID_3="A555"
PRODID_4="Rev 1"
MANFID=013f,0710
FUNCID=2
[root at server1 ~]#
---snip FC5 test1 end---

the virsions if you want to know are:
2.6.14-prep (kernel-2.6.14-1.1783_FC5 - src)
pcmciautils-011-1
hotplug-2004_09_23-10

So finally this modem seems ready on expected ttyS1 and ready for
connection to be established, I'll also liek to have any
suggestions how this can be more fine tuned automatic further,
and some help for understating the manufacture_id issue.

Thanks,



More information about the linux-pcmcia mailing list