pc104 + pcmcia + orinoco problems

With a Ricoh pcmcia controller (R5C478-II) I finally got a wireless
connection working, after forcing a different IRQ.
Now I have this Cirrus Logic controller, that goes on the ISA bus (not PCI
as the other one), and is supported by QNX 6.2.1 (chip is CL PD6722-QC-CE).
In fact, after maually starting devp-pccard, the pin command correctly
identify the orinoco card inserted in whichever slot, but the output is
different from what I get on a working system (with a Ricoh controller).
Namely, the PID field is ‘None’, while on a working system I get something
like ‘81645’ or a number like that. And in the Flags field the last letter
is an ‘X’ in a working system, while there’s no ‘X’ in the “bad” system.
I could not find any documentation about the meaning of the various fields
in the pin output. Can anybody explain those to me?

Then when I try to start the network with the orinoco driver I just get this
error:
“unable to init dll devn-orinoco: No such device”
And the system log gets a bunch of messages by the driver that says:
CFG_CNF_PORT_TYPE failed
CFG_CNF_OWN_CHANNEL failed

Unable to enable hcf
orinoco_cfg_card() failed

I tried forcing the ioport and irq from the pin output, but same results. I
guess there’s something wrong with the PCMCIA controller, because the output
is different from a working system, but I can’t tell what it is.

Paolo

Previously, Paolo Messina wrote in qdn.public.qnxrtp.os:

With a Ricoh pcmcia controller (R5C478-II) I finally got a wireless
connection working, after forcing a different IRQ.
Now I have this Cirrus Logic controller, that goes on the ISA bus (not PCI
as the other one), and is supported by QNX 6.2.1 (chip is CL PD6722-QC-CE).
In fact, after maually starting devp-pccard, the pin command correctly
identify the orinoco card inserted in whichever slot, but the output is
different from what I get on a working system (with a Ricoh controller).
Namely, the PID field is ‘None’, while on a working system I get something
like ‘81645’ or a number like that. And in the Flags field the last letter
is an ‘X’ in a working system, while there’s no ‘X’ in the “bad” system.
I could not find any documentation about the meaning of the various fields
in the pin output. Can anybody explain those to me?

The reason that you are not getting a pid is that with a CardBus adapter, it
is setup by the enumerator and has enum-pccard associated with it. That is
why you see a pid and an X. The ISA device you have to start manually, so
you won’t see a pid and an X.

Then when I try to start the network with the orinoco driver I just get this
error:
“unable to init dll devn-orinoco: No such device”
And the system log gets a bunch of messages by the driver that says:
CFG_CNF_PORT_TYPE failed
CFG_CNF_OWN_CHANNEL failed

Unable to enable hcf
orinoco_cfg_card() failed

The orinoco driver should query devp-pccard for the ioport and irq, so you
should not have to pass these on the command line. How are you trying to
start the driver?

I tried forcing the ioport and irq from the pin output, but same results. I
guess there’s something wrong with the PCMCIA controller, because the output
is different from a working system, but I can’t tell what it is.

Paolo

The reason that you are not getting a pid is that with a CardBus adapter,
it
is setup by the enumerator and has enum-pccard associated with it. That is
why you see a pid and an X. The ISA device you have to start manually, so
you won’t see a pid and an X.

Ok, so this is the normal output ith an ISA board.

Then when I try to start the network with the orinoco driver I just get
this
error:
“unable to init dll devn-orinoco: No such device”
And the system log gets a bunch of messages by the driver that says:
CFG_CNF_PORT_TYPE failed
CFG_CNF_OWN_CHANNEL failed

Unable to enable hcf
orinoco_cfg_card() failed

The orinoco driver should query devp-pccard for the ioport and irq, so you
should not have to pass these on the command line. How are you trying to
start the driver?

At first I was doing a complete setup, with mode, network ssid, channel,

etc.
Then, since I got “no such device”, I just wanted to chek if the driver
could find my orinoco card so I just tried:
slay io-net
io-net -d orinoco verbose

Btw, if I start devp-pccard with debug output (-v) then the pin command
can’t see my wireless card. Sometimes, it just prints Empty, sometimes
Unknown. While if dont use the -v switch, it is correctly seen as Network.
Maybe I just need a reboot after so many attempts?

Paolo

Here is my setting but with a aaron PCM-3115 card and it work fine:

#PCMCIA DEVICE
pci-bios
waitfor /dev/pci
devp-pccard -a -l10,10
waitfor /dev/pccard
sleep 1

KEYBOARD I/O

devc-con -e -n4 -L[N] &
#ETHERNET AND WIRELESS CARDS
io-net -dorinoco
channel=6,default_key=1,key1=0xXXXXXX…XXXX,mode=ad-hoc,networks=XXX,statio
n=XXXX -ptcpip
waitfor /dev/socket
sleep 2
netmanager -f /etc/net.cfg &
inetd &

Hope it can help!

“Paolo Messina” <ppescher@uiuc.edu> a écrit dans le message news:
b86p69$jd9$1@inn.qnx.com

The reason that you are not getting a pid is that with a CardBus
adapter,
it
is setup by the enumerator and has enum-pccard associated with it. That
is
why you see a pid and an X. The ISA device you have to start manually,
so
you won’t see a pid and an X.

Ok, so this is the normal output ith an ISA board.

Then when I try to start the network with the orinoco driver I just
get
this
error:
“unable to init dll devn-orinoco: No such device”
And the system log gets a bunch of messages by the driver that says:
CFG_CNF_PORT_TYPE failed
CFG_CNF_OWN_CHANNEL failed

Unable to enable hcf
orinoco_cfg_card() failed

The orinoco driver should query devp-pccard for the ioport and irq, so
you
should not have to pass these on the command line. How are you trying to
start the driver?

At first I was doing a complete setup, with mode, network ssid, channel,
etc.
Then, since I got “no such device”, I just wanted to chek if the driver
could find my orinoco card so I just tried:
slay io-net
io-net -d orinoco verbose

Btw, if I start devp-pccard with debug output (-v) then the pin command
can’t see my wireless card. Sometimes, it just prints Empty, sometimes
Unknown. While if dont use the -v switch, it is correctly seen as Network.
Maybe I just need a reboot after so many attempts?

Paolo

I got a Advantech PCM-3115 card in PCI ( ricoh chipset) and it was not able
to found the device

“Paolo Messina” <ppescher@uiuc.edu> a écrit dans le message news:
b86p69$jd9$1@inn.qnx.com

The reason that you are not getting a pid is that with a CardBus
adapter,
it
is setup by the enumerator and has enum-pccard associated with it. That
is
why you see a pid and an X. The ISA device you have to start manually,
so
you won’t see a pid and an X.

Ok, so this is the normal output ith an ISA board.

Then when I try to start the network with the orinoco driver I just
get
this
error:
“unable to init dll devn-orinoco: No such device”
And the system log gets a bunch of messages by the driver that says:
CFG_CNF_PORT_TYPE failed
CFG_CNF_OWN_CHANNEL failed

Unable to enable hcf
orinoco_cfg_card() failed

The orinoco driver should query devp-pccard for the ioport and irq, so
you
should not have to pass these on the command line. How are you trying to
start the driver?

At first I was doing a complete setup, with mode, network ssid, channel,
etc.
Then, since I got “no such device”, I just wanted to chek if the driver
could find my orinoco card so I just tried:
slay io-net
io-net -d orinoco verbose

Btw, if I start devp-pccard with debug output (-v) then the pin command
can’t see my wireless card. Sometimes, it just prints Empty, sometimes
Unknown. While if dont use the -v switch, it is correctly seen as Network.
Maybe I just need a reboot after so many attempts?

Paolo

Btw, if I start devp-pccard with debug output (-v) then the pin command
can’t see my wireless card. Sometimes, it just prints Empty, sometimes
Unknown. While if dont use the -v switch, it is correctly seen as Network.
Maybe I just need a reboot after so many attempts?

The same happens on a good system, with Ricoh controller, if I restart
devp-pccard manually.
The pin command doesn’t display any card, however pin cif is working and so
is the orinoco driver, even if I get a zero Vendor and Device ID using the
verbose option.

Weird, huh?

Paolo

Ok me, the pin was enable to found the network card, but can’t assign a
ioport or a IRQ!!!

Did you try with a wire PCMCIA card ?

“Paolo Messina” <ppescher@uiuc.edu> a écrit dans le message news:
b86rbe$lkt$1@inn.qnx.com

Btw, if I start devp-pccard with debug output (-v) then the pin command
can’t see my wireless card. Sometimes, it just prints Empty, sometimes
Unknown. While if dont use the -v switch, it is correctly seen as
Network.
Maybe I just need a reboot after so many attempts?

The same happens on a good system, with Ricoh controller, if I restart
devp-pccard manually.
The pin command doesn’t display any card, however pin cif is working and
so
is the orinoco driver, even if I get a zero Vendor and Device ID using the
verbose option.

Weird, huh?

Paolo

Maybe you got me wrong… orinoco card works, even in that strange
condition, but this on a system with a Ricoh pci controller.
In the same system, if I let devp-pccard be started by the enumerator at
boot time, then pin behaves well. It’s only when I try to reproduce the
conditions on the bad system, that is manually starting devp-pccard, that I
get that strange pin behavior. But anyway, on the Ricoh controller the card
works and on the Cirrus Logic one it does not.

If this could be important, both the pc104 board and the pcmcia controller
are by the same manufacturer, Adastra Systems, so they should be compatible.

Paolo

“Charles-Etienne Lemay” <charlesetienne@hermes.usherb.ca> ha scritto nel
messaggio news:b86t86$nnf$1@inn.qnx.com

Ok me, the pin was enable to found the network card, but can’t assign a
ioport or a IRQ!!!

Did you try with a wire PCMCIA card ?

“Paolo Messina” <> ppescher@uiuc.edu> > a écrit dans le message news:
b86rbe$lkt$> 1@inn.qnx.com> …
Btw, if I start devp-pccard with debug output (-v) then the pin
command
can’t see my wireless card. Sometimes, it just prints Empty, sometimes
Unknown. While if dont use the -v switch, it is correctly seen as
Network.
Maybe I just need a reboot after so many attempts?

The same happens on a good system, with Ricoh controller, if I restart
devp-pccard manually.
The pin command doesn’t display any card, however pin cif is working and
so
is the orinoco driver, even if I get a zero Vendor and Device ID using
the
verbose option.

Weird, huh?

Paolo
\