pcmcia ne2000 network card

** I posted this in quic.experts.hardware but apparently those are not
** monitored anymore, so I am assuming this is the appropriate place to
** ask questions like this.

I have a pcmcia network card that I am attempting to
get running under qnx4.25. The card is advertised as ne2000
compatible, it is a Linksys model NP10T, that also says Network
Anywhere on it.

I run pcmciatrap that starts Pcmcia.generic, then I ran
pin config >> /etc/config/pcmcia.cards
which did not seem to change any of the outputs. I then
ran Net.ether1000 -i7 -p320 & and it returned immediately
with no errors, traceinfo does not seem to show anything of
relavence, but I may be wrong. Also netinfo doesn’t show anything.

Below is the output of some pins and file sizes/dates.

Does anyone have any suggestions on how to get this working I would
love to be able to use networking in QNX4 with this laptop(a dell
latitude)


------- ls -l /bin/Pcmcia.generic
-rwxrwxr-x 1 root root 64555 Dec 20 1999 /bin/Pcmcia.generic

------- ls -l /bin/Net.ether1000
-rwxrwxr-x 1 root root 29917 Jul 24 1998 /bin/Net.ether1000

------- pin cis

Socket : 1
Device : Function Specific 16k
Device : Flash 60k
Attribute Device : Flash 4k
Manufacturer ID : 0x149 0xc1ab
Card tuple version : 4.01
Manufacturer : Network Everywhere
Name of Product : Ethernet 10BaseT PC Card
Add’nl info (lot #) : 2.0
Add’nl info (programming):
Configuration base/st : 0xfd0 0-subtuples
Configuration Index : 0x1 Default
Interface : MWait Req’d, I/O
Feature : 0x18
IO Space : Bus16 0x0-0x1F(5 lines)
IRQ Description : Level 2 3 4 5 6 7 9 10 11 12 13 15
Configuration Index : 0x2
Feature : 0x8
IO Space : Bus16 0x300-0x31F
Configuration Index : 0x3
Feature : 0x8
IO Space : Bus16 0x320-0x33F
Configuration Index : 0x4
Feature : 0x8
IO Space : Bus16 0x340-0x35F
Configuration Index : 0x5
Feature : 0x8
IO Space : Bus16 0x380-0x39F
Configuration Index : 0x6 Last
Feature : 0x8
IO Space : Bus16 0x200-0x21F
PC Card function : NetworkLAN Adapter
POST : 0x0

----pin config

; socket 1
[device]
manufacturer = “Network Everywhere”
product = “Ethernet 10BaseT PC Card”
info1 = “2.0”
info2 = " "
regbase = 0xfd0
config = 0x01, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io any+32 (width=16)
config = 0x02, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x300-0x31f (width=16)
config = 0x03, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x320-0x33f (width=16)
config = 0x04, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x340-0x35f (width=16)
config = 0x05, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x380-0x39f (width=16)
config = 0x06, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x200-0x21f (width=16)
register = 0, 0x40, 0x40 ; level mode interrupts

-----pin

Sock Win Type Flags PID Base Size IRQ Base Size DMA
1 0 Network C—I-±-------W None 0x320 32 7
2 Empty ----MF---------- None


-----pin res

free memory: 0xD5000-0xD5FFF
in-use memory: 0xD4000-0xD4FFF
reserved free io ports: 0x170-0x177 0x2E8-0x2EF 0x376-0x377 0x3E8-0x3EF
in-use io ports: 0x320-0x33F
free interrupts: 11 12
in-use interrupts: 5 7


Sean Gustafson Internet: sean@astra.mb.ca
Astra Network QUICS: sggustafson
QNX Consulting and Custom Programming URL: http://www.astra.mb.ca
+1 (204) 987-7475 Fax: +1 (204) 987-7479

Usually, you try to use irq 9, 10 or 11 for a network card.
In the pcmcia.cfg file, change the irq line to include these values.
You might want to remove irq 5 and 7.

Make sure that you start Pcmcia.generic with a -i0 option.

Don’t run pcmciatrap. Do it all manually. You will have more control
over the options passed to the drivers.

Pcmcia.generic -i0

pin (check for the base address and irq used)

Net
Net.ether1000 -i## -P### &

You might have to play with some values but since pin sees it
now, it should only be an irq problem

Donald


Sean Gustafson wrote in message …

** I posted this in quic.experts.hardware but apparently those are not
** monitored anymore, so I am assuming this is the appropriate place to
** ask questions like this.

I have a pcmcia network card that I am attempting to
get running under qnx4.25. The card is advertised as ne2000
compatible, it is a Linksys model NP10T, that also says Network
Anywhere on it.

I run pcmciatrap that starts Pcmcia.generic, then I ran
pin config >> /etc/config/pcmcia.cards
which did not seem to change any of the outputs. I then
ran Net.ether1000 -i7 -p320 & and it returned immediately
with no errors, traceinfo does not seem to show anything of
relavence, but I may be wrong. Also netinfo doesn’t show anything.

Below is the output of some pins and file sizes/dates.

Does anyone have any suggestions on how to get this working I would
love to be able to use networking in QNX4 with this laptop(a dell
latitude)


------- ls -l /bin/Pcmcia.generic
-rwxrwxr-x 1 root root 64555 Dec 20 1999
/bin/Pcmcia.generic

------- ls -l /bin/Net.ether1000
-rwxrwxr-x 1 root root 29917 Jul 24 1998 /bin/Net.ether1000

------- pin cis

Socket : 1
Device : Function Specific 16k
Device : Flash 60k
Attribute Device : Flash 4k
Manufacturer ID : 0x149 0xc1ab
Card tuple version : 4.01
Manufacturer : Network Everywhere
Name of Product : Ethernet 10BaseT PC Card
Add’nl info (lot #) : 2.0
Add’nl info (programming):
Configuration base/st : 0xfd0 0-subtuples
Configuration Index : 0x1 Default
Interface : MWait Req’d, I/O
Feature : 0x18
IO Space : Bus16 0x0-0x1F(5 lines)
IRQ Description : Level 2 3 4 5 6 7 9 10 11 12 13 15
Configuration Index : 0x2
Feature : 0x8
IO Space : Bus16 0x300-0x31F
Configuration Index : 0x3
Feature : 0x8
IO Space : Bus16 0x320-0x33F
Configuration Index : 0x4
Feature : 0x8
IO Space : Bus16 0x340-0x35F
Configuration Index : 0x5
Feature : 0x8
IO Space : Bus16 0x380-0x39F
Configuration Index : 0x6 Last
Feature : 0x8
IO Space : Bus16 0x200-0x21F
PC Card function : NetworkLAN Adapter
POST : 0x0

----pin config

; socket 1
[device]
manufacturer = “Network Everywhere”
product = “Ethernet 10BaseT PC Card”
info1 = “2.0”
info2 = " "
regbase = 0xfd0
config = 0x01, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io any+32
(width=16)
config = 0x02, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x300-0x31f
(width=16)
config = 0x03, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x320-0x33f
(width=16)
config = 0x04, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x340-0x35f
(width=16)
config = 0x05, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x380-0x39f
(width=16)
config = 0x06, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x200-0x21f
(width=16)
register = 0, 0x40, 0x40 ; level mode interrupts

-----pin

Sock Win Type Flags PID Base Size IRQ Base Size
DMA
1 0 Network C—I-±-------W None 0x320 32 7

2 Empty ----MF---------- None


-----pin res

free memory: 0xD5000-0xD5FFF
in-use memory: 0xD4000-0xD4FFF
reserved free io ports: 0x170-0x177 0x2E8-0x2EF 0x376-0x377 0x3E8-0x3EF
in-use io ports: 0x320-0x33F
free interrupts: 11 12
in-use interrupts: 5 7


Sean Gustafson Internet: > sean@astra.mb.ca
Astra Network QUICS: sggustafson
QNX Consulting and Custom Programming URL: > http://www.astra.mb.ca
+1 (204) 987-7475 Fax: +1 (204) 987-7479

Sean Gustafson <sean@astra.mb.ca> wrote:

** I posted this in quic.experts.hardware but apparently those are not
** monitored anymore, so I am assuming this is the appropriate place to
** ask questions like this.

Repost of my response from quics.experts.hardware:

Sean Gustafson (sggustafson@qnx.com) wrote:

I have a pcmcia network card that I am attempting to
get running under qnx4.25. The card is advertised as ne2000
compatible, it is a Linksys model NP10T, that also says Network
Anywhere on it.

I run pcmciatrap that starts Pcmcia.generic, then I ran
pin config >> /etc/config/pcmcia.cards
which did not seem to change any of the outputs.

After doing the “pin config” you have to slay & restart
Pcmcia.generic. Though, your “pin” output suggests that
either there was already an entry for this card, or you
did so, as it registers the card as a network card.

I then
ran Net.ether1000 -i7 -p320 & and it returned immediately
with no errors, traceinfo does not seem to show anything of
relavence, but I may be wrong. Also netinfo doesn’t show anything.

Did you run Net before running Net.ether1000? When you say
“it returned immediately” do you mean you got the shell prompt
back immediately (normal, you used an ‘&’ on the command line)
or that it then stated that Net.ether1000 had exited. At that
point, did “sin” show that Net.ether1000 was running?

If not, trying running “Net.ether1000 -i7 -p320 -vvv” to get
more verbose output.

Did “netinfo -l” report anything?

-David

Previously, David Gibbs wrote in qdn.public.qnx4:

Sean Gustafson <> sean@astra.mb.ca> > wrote:
I have a pcmcia network card that I am attempting to
get running under qnx4.25. The card is advertised as ne2000
compatible, it is a Linksys model NP10T, that also says Network
Anywhere on it.

I run pcmciatrap that starts Pcmcia.generic, then I ran
pin config >> /etc/config/pcmcia.cards
which did not seem to change any of the outputs.

After doing the “pin config” you have to slay & restart
Pcmcia.generic. Though, your “pin” output suggests that
either there was already an entry for this card, or you
did so, as it registers the card as a network card.

Yes, I did restart the driver.

I then
ran Net.ether1000 -i7 -p320 & and it returned immediately
with no errors, traceinfo does not seem to show anything of
relavence, but I may be wrong. Also netinfo doesn’t show anything.

Did you run Net before running Net.ether1000? When you say
“it returned immediately” do you mean you got the shell prompt
back immediately (normal, you used an ‘&’ on the command line)
or that it then stated that Net.ether1000 had exited. At that
point, did “sin” show that Net.ether1000 was running?

When I said “return immediately” I meant it obviously returned to
the command line and then printed “… Done…” and it was not
running with sin.

I have taken the advise given in the last couple messages along with
the description of how to get a similar card running from QDN.

Thanks for your help and I think I have a better idea what is going
on now, even though it is still not working.

It now starts the driver after I followed the instruction from QDN
but the card does not seem to be sending data (ie netinfo -l shows
no packets). It is currently running at irq 11 and 0x340. I have
a little room to play with this but not much time right now so I
will try some similar setting maybe hackup the pcmcia.cards file
and see if I could get it working.

Is it possible that the ne2000 driver just doesn’t work with some
pcmcia ne2000 compatible cards or is it just a configuration issue
at this point? If it is supposed to work I would be more inclined
to spend more time getting this up.

Thanks again, let me know if anyone has anymore tips,


Sean Gustafson Internet: sean@astra.mb.ca
Astra Network QUICS: sggustafson
QNX Consulting and Custom Programming URL: http://www.astra.mb.ca
+1 (204) 987-7475 Fax: +1 (204) 987-7479

Sean Gustafson <sean@astra.mb.ca> wrote:

Is it possible that the ne2000 driver just doesn’t work with some
pcmcia ne2000 compatible cards or is it just a configuration issue
at this point? If it is supposed to work I would be more inclined
to spend more time getting this up.

Thanks again, let me know if anyone has anymore tips,

It is possible that some PCMCIA NE2000 compatible cards aren’t
completely NE2000 compatible.

Another thing to play with is the “width=16” entries in the
configuration lines – sometimes setting them to “width=8” can
make a PCMCIA network card work better.

-David

Previously, David Gibbs wrote in qdn.public.qnx4:

Sean Gustafson <> sean@astra.mb.ca> > wrote:

Is it possible that the ne2000 driver just doesn’t work with some
pcmcia ne2000 compatible cards or is it just a configuration issue
at this point? If it is supposed to work I would be more inclined
to spend more time getting this up.

Thanks again, let me know if anyone has anymore tips,

It is possible that some PCMCIA NE2000 compatible cards aren’t
completely NE2000 compatible.

Another thing to play with is the “width=16” entries in the
configuration lines – sometimes setting them to “width=8” can
make a PCMCIA network card work better.

Thanks, I will try that.


Sean Gustafson Internet: sean@astra.mb.ca
Astra Network QUICS: sggustafson
QNX Consulting and Custom Programming URL: http://www.astra.mb.ca
+1 (204) 987-7475 Fax: +1 (204) 987-7479

I use this card also. Here is the entry from pcmcia.cards that works for me.
The card only works on IRQ11 with my system (Compaq Presario with TI Cardbus
chipset)

[device]
manufacturer = “Network Everywhere”
product = “Ethernet 10BaseT PC Card”
info1 = “2.0”
info2 = " "
regbase = 0xfd0
config = 0x01, 0x0601, irq 11, io any+32
config = 0x02, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x300-0x31f
config = 0x03, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x320-0x33f
config = 0x04, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x340-0x35f
config = 0x05, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x360-0x37f
config = 0x06, 0x0601, irq 2|3|4|5|6|7|9|10|11|12|13|15, io 0x380-0x39f
register = 0, 0x40, 0x40 ; level mode interrupts


Regards
DTHV



“Sean Gustafson” <sean@astra.mb.ca> wrote in message
news:Voyager.000804121227.17300A@node10…

Previously, David Gibbs wrote in qdn.public.qnx4:
Sean Gustafson <> sean@astra.mb.ca> > wrote:

Is it possible that the ne2000 driver just doesn’t work with some
pcmcia ne2000 compatible cards or is it just a configuration issue
at this point? If it is supposed to work I would be more inclined
to spend more time getting this up.

Thanks again, let me know if anyone has anymore tips,

It is possible that some PCMCIA NE2000 compatible cards aren’t
completely NE2000 compatible.

Another thing to play with is the “width=16” entries in the
configuration lines – sometimes setting them to “width=8” can
make a PCMCIA network card work better.

Thanks, I will try that.


Sean Gustafson Internet: > sean@astra.mb.ca
Astra Network QUICS: sggustafson
QNX Consulting and Custom Programming URL: > http://www.astra.mb.ca
+1 (204) 987-7475 Fax: +1 (204) 987-7479