[ltp] TP770Z with Xircom CEM56-100 Multifunction PCMCIA (long post!)

Jacqueline R. Cooper linux-thinkpad@www.bm-soft.com
Tue, 28 Mar 2000 19:14:08 -0000


Hello,

I have a TP770Z running both:
* NT4 SP4
* SuSE 6.1 (Kernel 2.2.7, PCMCIA 3.0.9)

I have the following PCMCIA cards:

* Adaptec 1460a (Works under NT and Linux)
* USR 28,800 Sportster (Works under NT and Linux)
* Motorolla Cellect 1 (Works under NT, recognised under Linux but will not
come ready)
* Kingston EtheRx KNE-PCM/M (Works under NT and Linux NE2000 compatible)
* Xircom Creditcard IIps (Works under NT and Linux)
* Xircom CBE2-100 (Works under NT, not supported under Linux)
* Xircom CEM56-100 (Works under NT, recognised under Linux but modem does
not respond)

My question is regarding the CEM56-100, bought specifically because
http://pcmcia.sourceforge.org/ and http://www.o2.net/~gromitkc/winmodem.html
show this as a supported card thus giving me 56K and 100mbit under Linux all
in one go. However the modem is not responding under Linux despite all
appearances to the contrary. (It works fine under NT by the way and in fact
just today gave me a higher connection speed than the winmodem in the TP has
ever given). Having ploughed through the following can anybody suggest
tweeks I may use to persuade it to work?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Diag info follows:

I have read through modem, serial and pcmcia how-to's have tried setserial,
ppp and minicom but the modem part of the card will not respond despite the
following:

> boot time messages

Mar 28 13:52:05 TP_SUSE kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
Mar 28 13:52:05 TP_SUSE kernel: Linux PCMCIA Card Services 3.0.9
Mar 28 13:52:05 TP_SUSE kernel:   kernel build: 2.2.7 unknown
Mar 28 13:52:05 TP_SUSE kernel:   options:  [pci] [cardbus]
Mar 28 13:52:05 TP_SUSE kernel: Intel PCIC probe:
Mar 28 13:52:05 TP_SUSE kernel:   TI 1251A PCI-to-CardBus at bus 0 slot 2,
mem 0x50102000, 2 sockets
Mar 28 13:52:05 TP_SUSE kernel:     host opts [0]: [ring] [pwr save] [isa
irq] [no pci irq] [lat 168/176] [bus 2/4]
Mar 28 13:52:05 TP_SUSE kernel:     host opts [1]: [ring] [pwr save] [isa
irq] [no pci irq] [lat 168/176] [bus 5/7]
Mar 28 13:52:05 TP_SUSE kernel:     ISA irqs (scanned) = 3,4,7,9,10 polling
interval = 1000 ms
Mar 28 13:52:05 TP_SUSE kernel: cs: IO port probe 0x0300-0x03ff: excluding
0x388-0x38f 0x3b8-0x3df
Mar 28 13:52:05 TP_SUSE kernel: cs: memory probe 0x60000000-0x60ffffff:
clean.
Mar 28 13:52:05 TP_SUSE kernel: xirc2ps_cs.c 1.31 1998/12/09 19:32:55
(dd9jn+kvh)
Mar 28 13:52:05 TP_SUSE kernel: eth0: MII link partner: 0021
Mar 28 13:52:05 TP_SUSE kernel: eth0: media 10BaseT, silicon revision 5
Mar 28 13:52:05 TP_SUSE kernel: eth0: Xircom: port 0x300, irq 9, hwaddr
00:10:A4:0A:BF:FD
Mar 28 13:52:05 TP_SUSE kernel: tty02 at 0x03e8 (irq = 9) is a 16550A
Mar 28 13:52:05 TP_SUSE kernel: eth0: media 10BaseT, silicon revision 5
Mar 28 13:52:05 TP_SUSE kernel: eth0: switching to 10BaseT port
Mar 28 13:52:05 TP_SUSE kernel: eth0: MII link partner: 0021
Mar 28 13:52:05 TP_SUSE kernel: eth0: media 10BaseT, silicon revision 5
Mar 28 13:52:05 TP_SUSE kernel: eth0: media 10BaseT, silicon revision 5

> cardctl config

Socket 0:
 Vcc = 5.0, Vpp1 = 0.0, Vpp2 = 0.0
 Interface type is memory and I/O
 IRQ 9 is dynamic shared, level mode, enabled
 Speaker output is enabled
 Function 0:
   Config register base = 0xff80
     Option = 0x5f, status = 0x08, pin = 0000
   I/O window 1: 0x0300 to 0x030f, 16 bit
   I/O window 2: 0x03e8 to 0x03ef, 8 bit
Socket 1:
 not configured

> cardctl ident

Socket 0:
 product info: "Xircom", "CreditCard Ethernet 10/100 + Modem 56", "CEM56",
"1.00"
 manfid: 0x0105, 0x110a
 function: 2 (serial)
Socket 1:
 no product info available

> cardctl status

Socket 0:
  5V 16-bit card present
  Function 0: ready, battery dead, battery low
Socket 1:
  no card

> cat /proc/interrupts

           CPU0
  0:     648570          XT-PIC  timer
  1:       4591          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          2          XT-PIC  rtc
  9:        987          XT-PIC  xirc2ps_cs
 12:     133080          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:     132353          XT-PIC  ide0
 15:          4          XT-PIC  ide1
NMI:          0

> cat /proc/ioports

0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0070-007f : rtc
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
01f0-01f7 : ide0
0300-030f : xirc2ps_cs
0376-0376 : ide1
03c0-03df : vga+
03e8-03ef : serial(set)
03f6-03f6 : ide0
03f8-03ff : serial(auto)
fcf0-fcf7 : ide0
fcf8-fcff : ide1

03e8-03ef: shows xirc2ps_cs until I have done a setserial on /dev/ttyS2.

> lsmod

Module                  Size  Used by
serial_cs               3864   0  (unused)
xirc2ps_cs             11288   1
ppp_deflate            38032   0  (autoclean)
bsd_comp                3432   0  (autoclean)
ppp                    19536   0  (autoclean) [ppp_deflate bsd_comp]
slhc                    4160   0  (autoclean) [ppp]
vmnet                   9456   1
vmmon                  13564   0  (unused)
ds                      6144   4  [serial_cs xirc2ps_cs]
i82365                 22572   2
pcmcia_core            41396   0  [serial_cs xirc2ps_cs ds i82365]
serial                 41940   0  (autoclean) [serial_cs]
memstat                 1352   0  (unused)

> /etc/pcmcia/config.opts

include port 0x300-0x3ff
include memory 0xd8000-0xdffff
include memory 0x60000000-0x60ffffff
exclude irq 5
exclude port 0x2f8-0x2ff
exclude irq 4
exclude irq 3
exclude irq 7


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