Wifi card in PCMCIA problems.

bridged with qnx.cafe
Post Reply
Garry

Wifi card in PCMCIA problems.

Post by Garry » Sat Apr 17, 2004 2:42 pm

Hello,
I wonder if anyone can help with this...

I managed to get myself a Netgear MA401, as it is listed on qnx.com as
compatible, but unfortuately the devn-prism.so driver does not seem to
be able to find it (or can find it and considers it incompatible). I can
run devp-pccard, and when I insert the MA401, it dumps to the
terminal, a description of the card, when I run 'pin' it recognises the
card as 'Network' card. However, when I run io-net or mount to try to
use the card it reports:

bash-2.05a# mount -T io-net devn-prism.so
mount: Can't mount / (type io-net)
mount: Possible reason: No such device

I have tried 'slay io-net' and then restarting io-net with the prism
driver, but I get the same error.

If it helps, 'pin cis' outputs:

Socket : 1 - Function : 0
Device : Null 0k
Attribute Device : SRAM 1k
Other conditions (att) : MWait
Attribute Device : SRAM 1k
Card tuple version : 5.00
Manufacturer : NETGEAR MA401RA Wireless PC
Name of Product : Card
Add'nl info (lot #) : ISL37300P
Add'nl info (programming): Eval-RevA
Manufacturer ID : 0xb 0x7300
PC Card function : Network LAN Adapter
POST : 0x0
Tuple 0x22 link=2 : 01 07
Tuple 0x22 link=5 : 02 40 42 0f 00
Tuple 0x22 link=5 : 02 80 84 1e 00
Tuple 0x22 link=5 : 02 60 ec 53 00
Tuple 0x22 link=5 : 02 c0 d8 a7 00
Tuple 0x22 link=2 : 03 07
Tuple 0x22 link=8 : 04 06 00 09 5b 54 f6 7f
Tuple 0x22 link=2 : 05 01
Configuration base/st : 0x3e0 0-subtuples
Configuration Index : 0x1 Last Default
Interface : I/O
Feature : 0x19
IO Space : Bus16 0x0-0x3F(6 lines)
IRQ Description : Pulse Level VEND BERR IOCK NMI 0 1 2 3 4 5 6
7 8 9 10 11 12 13 14 15

Apologies for the long post, any help will be really appreciated.

my real email is

garry
at
uwerkz
dot
com

Thanks

Garry

Karsten P. Hoffmann

Re: Wifi card in PCMCIA problems.

Post by Karsten P. Hoffmann » Sat Apr 17, 2004 9:13 pm

Garry wrote:
Hello,
I wonder if anyone can help with this...

I managed to get myself a Netgear MA401, as it is listed on qnx.com as
compatible, but unfortuately the devn-prism.so driver does not seem to
be able to find it (or can find it and considers it incompatible). I can
run devp-pccard, and when I insert the MA401, it dumps to the
terminal, a description of the card, when I run 'pin' it recognises the
card as 'Network' card. However, when I run io-net or mount to try to
use the card it reports:

bash-2.05a# mount -T io-net devn-prism.so
The MA401 indeed works with QNX6.21 and the 6.3beta!

I guess you have to specify I/O port and/or IRQ and -- most likely --
the network ID.

Here's a part of my start script

mount -Tio-net -overbose,ssid=MyNet,ioport=0x300,irq=7 /lib/dll/devn-prism.o

Important: no spaces are allowed in the options string.

/usr/sbin/nicinfo is a good tool to check the success.


HTH,

Karsten.


--
Karsten P. Hoffmann <karsten.p.hoffmann@web.de>
"I love deadlines. I especially like the whooshing sound
they make as they go flying by."
[In memoriam Douglas Adams, 1952-2001]

Garry

Re: Wifi card in PCMCIA problems.

Post by Garry » Sun Apr 18, 2004 5:38 pm

On 2004-04-17 22:13:43 +0100, "Karsten P. Hoffmann"
<karsten.p.hoffmann@web.de> said:
Garry wrote:
Hello,
I wonder if anyone can help with this...

I managed to get myself a Netgear MA401, as it is listed on qnx.com as
compatible, but unfortuately the devn-prism.so driver does not seem to
be able to find it (or can find it and considers it incompatible). I can
run devp-pccard, and when I insert the MA401, it dumps to the
terminal, a description of the card, when I run 'pin' it recognises the
card as 'Network' card. However, when I run io-net or mount to try to
use the card it reports:

bash-2.05a# mount -T io-net devn-prism.so

The MA401 indeed works with QNX6.21 and the 6.3beta!

I guess you have to specify I/O port and/or IRQ and -- most likely --
the network ID.
Here's a part of my start script

mount -Tio-net -overbose,ssid=MyNet,ioport=0x300,irq=7 /lib/dll/devn-prism.o

Important: no spaces are allowed in the options string.

/usr/sbin/nicinfo is a good tool to check the success.


HTH,

Karsten.
Karsten, thank you very much for the help, but I'm afraid that I still
cannot get it to work. If I do what you state above, I get the same
error I usually get, but if I slay io-net, then call it with the
arguments you state above, it runs without error, but nicinfo errors,
saying it cannot see /dev/io-net/en0. io-net also does not error if I
put garbage in the place of the /lib/dll/devn-prism.so text.

Another thing, if I run mount with -vvvv for verbose, it states that it
cannot find mount_io-net, and that it will use internal mount. Should I
have a program called mount_io-net?

Thanks again for the help, I feel pretty lame for not being able to
sort this out!

Cheers

Garry

Hugh Brown

Re: Wifi card in PCMCIA problems.

Post by Hugh Brown » Mon Apr 19, 2004 11:56 am

At minimum you have to specify a network SSID on the command line. Please do
the following for me:
1) slay io-net
2) sloginfo -c
3) io-net -dprism verbose=4,ssid=your_network
4) sloginfo > file
5) nicinfo >> file
6) pin >> file
7) post the output 'file'

Note: "your_network" on the command line must be the SSID of your wireless
network.

"Garry" <garry@bigoldfakeemailaddress.com> wrote in message
news:c5racq$m8g$1@inn.qnx.com...
Hello,
I wonder if anyone can help with this...

I managed to get myself a Netgear MA401, as it is listed on qnx.com as
compatible, but unfortuately the devn-prism.so driver does not seem to
be able to find it (or can find it and considers it incompatible). I can
run devp-pccard, and when I insert the MA401, it dumps to the
terminal, a description of the card, when I run 'pin' it recognises the
card as 'Network' card. However, when I run io-net or mount to try to
use the card it reports:

bash-2.05a# mount -T io-net devn-prism.so
mount: Can't mount / (type io-net)
mount: Possible reason: No such device

I have tried 'slay io-net' and then restarting io-net with the prism
driver, but I get the same error.

If it helps, 'pin cis' outputs:

Socket : 1 - Function : 0
Device : Null 0k
Attribute Device : SRAM 1k
Other conditions (att) : MWait
Attribute Device : SRAM 1k
Card tuple version : 5.00
Manufacturer : NETGEAR MA401RA Wireless PC
Name of Product : Card
Add'nl info (lot #) : ISL37300P
Add'nl info (programming): Eval-RevA
Manufacturer ID : 0xb 0x7300
PC Card function : Network LAN Adapter
POST : 0x0
Tuple 0x22 link=2 : 01 07
Tuple 0x22 link=5 : 02 40 42 0f 00
Tuple 0x22 link=5 : 02 80 84 1e 00
Tuple 0x22 link=5 : 02 60 ec 53 00
Tuple 0x22 link=5 : 02 c0 d8 a7 00
Tuple 0x22 link=2 : 03 07
Tuple 0x22 link=8 : 04 06 00 09 5b 54 f6 7f
Tuple 0x22 link=2 : 05 01
Configuration base/st : 0x3e0 0-subtuples
Configuration Index : 0x1 Last Default
Interface : I/O
Feature : 0x19
IO Space : Bus16 0x0-0x3F(6 lines)
IRQ Description : Pulse Level VEND BERR IOCK NMI 0 1 2 3 4 5 6
7 8 9 10 11 12 13 14 15

Apologies for the long post, any help will be really appreciated.

my real email is

garry
at
uwerkz
dot
com

Thanks

Garry

Garry

Re: Wifi card in PCMCIA problems.

Post by Garry » Mon Apr 19, 2004 7:20 pm

Hugh Brown wrote:
At minimum you have to specify a network SSID on the command line.
Please do
the following for me:
1) slay io-net
2) sloginfo -c
3) io-net -dprism verbose=4,ssid=your_network
4) sloginfo > file
5) nicinfo >> file
6) pin >> file
7) post the output 'file'

Note: "your_network" on the command line must be the SSID of your
wireless
network.
Thanks for the help, contents of file follows...

Time Sev Major Minor Args
Sock Func Type Flags PID Base Size IRQ
1 0 Network C---I-+---X----- 69648 0x300 64 3
1 Empty ----MF---------- None
2 Empty ----MF---------- None
2 Empty ----MF---------- None

The file seems kind of empty to me, but the sloginfo title row is there,
pin seems fine, but nicinfo just reports:

nicinfo: Could not open: /dev/io-net/en0, (No such file or directory)

to stderr, so did not get passed in the redirect to file.

BTW on running the line:

io-net -dprism verbose=4,ssid=linksys

it reports:

unable to init dll devn-prism: No such device

I guess this is not very much to work with...

TIA

Garry

Post Reply

Return to “qnx.cafe”