Help: Socket PCMCIA serial card

Greetings!

I am using QNX 4.25 ‘C’ on an IBM 560 Thinkpad laptop. I just received a
Socket Serial card with one serial port. I am using Pcmcia.generic and it
is working well with my 3COM pcmcia network adapter, but I can’t seem to get
Dev.ser to use the card.

When I start Dev.ser I use the following:

Dev.ser p1,2 &

When I do a ‘sin irq’ I see Dev.ser hooked to an irq -1, but I don’t see
that it has established itself for anyother IRQ indicating to me that it
hasn’t found a port with which it can work.

Any ideas?

Thanks

Kevin

Can you post the output of pin.

Try to manually start Dev.ser with the parameter
specified by pin.

“Kevin Stallard” <kevin@flyingrobots.com> wrote in message
news:8nvjj8$hd0$1@inn.qnx.com

Greetings!

I am using QNX 4.25 ‘C’ on an IBM 560 Thinkpad laptop. I just received a
Socket Serial card with one serial port. I am using Pcmcia.generic and it
is working well with my 3COM pcmcia network adapter, but I can’t seem to
get
Dev.ser to use the card.

When I start Dev.ser I use the following:

Dev.ser p1,2 &

When I do a ‘sin irq’ I see Dev.ser hooked to an irq -1, but I don’t see
that it has established itself for anyother IRQ indicating to me that it
hasn’t found a port with which it can work.

Any ideas?

Thanks

Kevin

Kevin Stallard <kevin@flyingrobots.com> wrote:

Greetings!

I am using QNX 4.25 ‘C’ on an IBM 560 Thinkpad laptop. I just received a
Socket Serial card with one serial port. I am using Pcmcia.generic and it
is working well with my 3COM pcmcia network adapter, but I can’t seem to get
Dev.ser to use the card.

When I start Dev.ser I use the following:

Dev.ser p1,2 &

When I do a ‘sin irq’ I see Dev.ser hooked to an irq -1, but I don’t see
that it has established itself for anyother IRQ indicating to me that it
hasn’t found a port with which it can work.

Any ideas?

Is the Socket just a serial card, or is it a combined serial/networking
card?

What is the output of “pin” when the serial card is in – is it detected
and labelled as a serial card?

If not, try adding the output of “pin config” for the card to your
/etc/pcmcia.cards file, restart Pcmcia.generic and try again.
(Take a look at the readme files in /etc/readme and /etc/readme/technotes
about pcmcia.)

If none of that work, can you post the output from “pin config”,
“pin cis”, “show_pci” and “show_pci -v” while the card is plugged
in? (Hm, and “sin ver” would probably not be bad either.)

-David

David and Mario,

Thanks to both of you for pondering my difficulties.

Below are the outputs from pin, show_pci and sin ver. I need to amend to my
previous posting as well.

I discovered that at times pin says the card is a memory card. Then, times
it will say it is a Serial card. Now, when it says it is a memory card,
Dev.ser launches, but no serial port.
When it says it is a serial card, starting Dev.ser causes the computer to
completely lock up. No other consols, nor is the
networking…well…working. Completely dead…kaput…

If I boot with the serial card in the 1st socket, when the sysinit file runs
Net.ether589 &, the computer locks up.
If I boot with the serial card in the 2nd socket, everything is fine.

So I boot with the card not in the socket and then run Dev.ser p1,2 &. The
computer locks up.

This is so weird.

Is the Socket just a serial card, or is it a combined serial/networking
card?
It is a serial card. Not networking combo…

Here are the outputs you suggested I post…thanks for enduring a headache
with me!

-=-=- pin -=-=-
Sock Win Type Flags PID Base Size IRQ Base Size
DMA
1 0 Serial C—I-±-------- None 0x330 8 11
2 0 NE2000 C—I-±-------W None 0x320 16 7

-=-=- pin config -=-=-
; socket 1
[device]
manufacturer = “Socket Communications Inc”
product = “Serial Port Adapter Revision B”
regbase = 0x8000
config = 0x01, 0x0201, irq any, io any+8 (width=8)
config = 0x03, 0x0201, irq 4, io 0x3f8-0x3ff (width=8)
config = 0x05, 0x0201, irq 3, io 0x2f8-0x2ff (width=8)
config = 0x07, 0x0201, irq 4, io 0x3e8-0x3ef (width=8)
config = 0x09, 0x0201, irq 3, io 0x2e8-0x2ef (width=8)
, mem any+0x100 (offset=0x8000, width=8)
register = 0, 0x40, 0x40 ; level mode interrupts
; socket 2
[device]
manufacturer = “3Com Corporation”
product = “3C589D”
info1 = “TP/BNC LAN Card Ver. 2a”
info2 = “000002”
regbase = 0x10000
config = 0x01, 0x0601, irq any, io any+16 (width=16)
config = 0x03, 0x0601, irq any, io any+16 (width=16)
register = 0, 0x40, 0x40 ; level mode interrupts

-=-=- pin cis -=-=-
Socket : 1
Device : Function Specific 64k
Checksum addr, len, val : 0x7 232 0x6f
Attribute Device : Function Specific 64k
Manufacturer ID : 0x104 0x1
PC Card function : Serial Port
POST : 0x1
Tuple 0x22 link=4 : 00 02 0f 7f
Card tuple version : 4.01
Manufacturer : Socket Communications Inc
Name of Product : Serial Port Adapter Revision B
Configuration base/st : 0x8000 0-subtuples
Configuration Index : 0x1 Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus8 0x0-0x7(3 lines)
IRQ Description : Level 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Misc :
Physical Device Name : COMX;
Configuration Index : 0x3 Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus8 0x3F8-0x3FF
IRQ Description : Level 4
Misc :
Physical Device Name : COM1;
Configuration Index : 0x5 Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus8 0x2F8-0x2FF
IRQ Description : Level 3
Misc :
Physical Device Name : COM2;
Configuration Index : 0x7 Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus8 0x3E8-0x3EF
IRQ Description : Level 4
Misc :
Physical Device Name : COM3;
Configuration Index : 0x9 Default
Interface : RdyBsy Active, I/O
Feature : 0x99
IO Space : Bus8 0x2E8-0x2EF
IRQ Description : Level 3
Misc :
Physical Device Name : COM4;
Configuration Index : 0x0 Last Default
Interface : RdyBsy Active, Memory
Feature : 0xe1
Memory Space : 0x8000-0x80ff
Misc :
Physical Device Name : MEM;

Socket : 2
Device : Null
Attribute Device : EEPROM 8k
Manufacturer ID : 0x101 0x589
PC Card function : NetworkLAN Adapter
POST : 0x0
Card tuple version : 4.01
Manufacturer : 3Com Corporation
Name of Product : 3C589D
Add’nl info (lot #) : TP/BNC LAN Card Ver. 2a
Add’nl info (programming): 000002
Configuration base/st : 0x10000 0-subtuples
Configuration Index : 0x1 Default
Interface : I/O
Feature : 0x1d
Timing Info : Wait Busy
IO Space : Bus16 Bus8 0x0-0xF(4 lines)
IRQ Description : Level 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Configuration Index : 0x3 Last
Feature : 0x1
Attribute memory JEDEC : 0x0000
Checksum addr, len, val : 0xff88 129 0x00

-=-=- show_pci -=-=-

PCI version = 2.10

Class = Display (VGA)
Vendor ID = 1023h, Trident
Device ID = 9660h,
PCI index = 0h
MEM @ 8000000h MEM @ 8400000h MEM @ 8800000h ROM @ c0000h
enabled
PCI Int Pin = INT A
Interrupt line = 0

-=-=- show_pci -v -=-=-

PCI version = 2.10

Vendor ID = 8086h, INTEL CORPORATION
Device ID = 1235h,
PCI index = 0h
Class Code = 060000h Bridge (Host/PCI) ProgIF=0
Revision ID = 2h
Bus number = 0
Device number = 0
Function num = 0
Status Reg = 2200h
Command Reg = 6h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 20h
Cache Line Size= 0h

Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = 0
PCI Int Pin = NC
Interrupt line = 0

Vendor ID = 8086h, INTEL CORPORATION
Device ID = 1234h,
PCI index = 0h
Class Code = 068000h Bridge (Other 128) ProgIF=0
Revision ID = 3h
Bus number = 0
Device number = 1
Function num = 0
Status Reg = 280h
Command Reg = fh
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h

Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = 0
PCI Int Pin = NC
Interrupt line = 0

Vendor ID = 1023h, Trident
Device ID = 9660h,
PCI index = 0h
Class Code = 030000h Display (VGA) ProgIF=0
Revision ID = d3h
Bus number = 0
Device number = 3
Function num = 0
Status Reg = 280h
Command Reg = 3h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
Base Address = MEM@8000000h,32bit length 4194304 MEM@8400000h,32bit length
65536 MEM@8800000h,32bit length 4194304
Expansion ROM = c0000h length 65536 enabled
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = 1
PCI Int Pin = INT A
Interrupt line = 0

Vendor ID = 1013h, Cirrus Logic
Device ID = 1100h, CL 6729
PCI index = 0h
Class Code = 060500h Bridge (PCI/PCMCIA) ProgIF=0
Revision ID = e2h
Bus number = 0
Device number = 19
Function num = 0
Status Reg = 400h
Command Reg = c3h
Header type = 0h Single-function
BIST = 0h Build-in-self-test not supported
Latency Timer = 0h
Cache Line Size= 0h
Base Address = IO@3e0h length 4 bytes
Max Lat = 0ns
Min Gnt = 0ns
PCI Int Pin = 1
PCI Int Pin = INT A
Interrupt line = 0

-=-=- sin ver -=-=-
PROGRAM NAME VERSION DATE
sys/Proc32 Proc 4.25H Oct 15 1998
sys/Proc32 Slib16 4.23G Oct 04 1996
sys/Slib32 Slib32 4.24B Aug 12 1997
/bin/Fsys Fsys32 4.24S Jul 16 1998
/bin/Fsys Floppy 4.24B Aug 19 1997
/bin/Fsys.eide eide 4.24M May 13 1998
//2/bin/Dev32 Dev32 4.23G Oct 04 1996
//2/bin/Dev32.ansi Dev32.ansi 4.23H Nov 21 1996
//2/bin/Dev32.par Dev32.par 4.23G Oct 04 1996
//2/bin/Dev32.pty Dev32.pty 4.23G Oct 04 1996
//2/bin/Pipe Pipe 4.23A Feb 26 1996
//2/bin/Net Net 4.25C Aug 30 1999
//2/bin/Net.ether589 Net.ether589 4.26C Jun 17 1999