Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX driver for RT2860 chipset: Page 1 of 2 (39 Items)
   
QNX driver for RT2860 chipset  
I have just installed (Lynksys Wireless PCI card) WMP600N in my QNX Neutrino system. QNX doesn't detect this network 
card. I guess this wireless PCI card has RALINK2860 chipset, and vendor ID is 1814h, Ralink; Device ID: 601h.

Please would you advise how to make this wireless PCI card work in my system.

Thanks,

Palak
Re: QNX driver for RT2860 chipset  
In theory it should be supported by devnp-ral.so, but current devnp-ral only support 2561, 2661.
I have ported 2860 to ral driver but I didn't test as I don't have card so probably it won't work at all. I can give you
 the binary to try next week.
I ported on weekend so I can post the binary here I guess, if I can't please let me know.
Re: QNX driver for RT2860 chipset  
Hi,

This is gentle reminder to obtain support for RT 2860 chipset. Please help us to make this device work. Actually, my 
colleague (Mital Kanabar) has already asked to QNX (in the same forum) for this chipset, before purchasing this adapter,
 and we were told that it should work. Would you please check if someone there has already developed something for this?


Thanks,
Palak
Re: QNX driver for RT2860 chipset  
Hi Yao,

Please provide QNX driver for RT 2860 chipset.

I would highly appreciate your support.

Thanks,
Palak
Re: QNX driver for RT2860 chipset  
Hi,

I attached the devnp-ral.so for 6.4.1 x86, please try.
I have not tried any pci/pci rt2860 yet.
Attachment: Text devnp-ral.so 224.68 KB
Re: QNX driver for RT2860 chipset  
Thanks a lot Yao, how to use your attached file in my QNX? I am newbie. 
Re: QNX driver for RT2860 chipset  
QNX has some excellent product documentation and there's a wealth of 
information on the networking project's wiki. As a newbie I encourage 
you to take advantage of it, e.g.:

http://www.qnx.com/developers/docs/6.4.1/neutrino/utilities/about.html
http://community.qnx.com/sf/projects/networking

Cheers!
/P

On 05/05/10 07:12 AM, Palak Parikh wrote:
> Thanks a lot Yao, how to use your attached file in my QNX? I am newbie.
>
>
>
> _______________________________________________
>
> Networking Drivers
> http://community.qnx.com/sf/go/post53603
>
>    
QNX doesn't detect network card  
Hi,

I have copied the provided devnp-ral.so in /lib/dll folder. Moreover, I have also added this device id in /etc/system/
enum/devices this folder has 'net' file. I have modified net by adding vendor ID as Ralink, and device id 0610. 

I have tried several commands available in QNX docs (as follows:)

mount -T io-pkt /lib/dll/devnp-ral.so
io-pkt-v4-hc -t tcpip & mount -T io-pkt devnp-ral.so

several others, but none of this is working. Then, I have tried 

slay io-pkt-v4-hc 
io-pkt-v4-hc -dral

This results in error "unknown symbol bus_space_set_region_4"

I have check #sloginfo , this shows last item is "unable to load /lib/dll/devnp-ral.so: unresolved symbol"

Please... please help.

Palak
Re: QNX doesn't detect network card  
> Hi,
> 
> I have copied the provided devnp-ral.so in /lib/dll folder. Moreover, I have 
> also added this device id in /etc/system/enum/devices this folder has 'net' 
> file. I have modified net by adding vendor ID as Ralink, and device id 0610. 
> 
> I have tried several commands available in QNX docs (as follows:)
> 
> mount -T io-pkt /lib/dll/devnp-ral.so
> io-pkt-v4-hc -t tcpip & mount -T io-pkt devnp-ral.so
> 
> several others, but none of this is working. Then, I have tried 
> 
> slay io-pkt-v4-hc 
> io-pkt-v4-hc -dral
> 
> This results in error "unknown symbol bus_space_set_region_4"
> 
> I have check #sloginfo , this shows last item is "unable to load /lib/dll/
> devnp-ral.so: unresolved symbol"
> 
> Please... please help.
> 
> Palak


There are some functions not defined by libnbdrvr. I added.
Attachment: Text devnp-ral.so 168.82 KB
Re: QNX doesn't detect network card  
Hi Yao,

Thanks you so much for your consistent efforts and time for this job, I appreciate it. I copied the file (devnp-ral.so) 
in x86/lib/dll folder. After rebooting system, it doesn't detect any NIC :(, then I tried to find error, in network 
configuration manager it show error like this "netmanager error: could not open socket: Address family not supported by 
protocol family" 

Now, this system doesn't detect any network interfaces, including the existing wired Ethernet NIC. If I remove this file
 (devnp-ral.so), and reboot the system, it comes back to normal.

Please advise me.

Thanks
Palak
Re: QNX doesn't detect network card  
The stack probably crashed. Check that this is the case using pidin. If 
you've got dumper running, check in /var/dumps for the core file and 
send it.

/P

> "netmanager error: could not open socket: Address family not supported by protocol family"
>    
Re: QNX doesn't detect network card  
> Hi Yao,
> 
> Thanks you so much for your consistent efforts and time for this job, I 
> appreciate it. I copied the file (devnp-ral.so) in x86/lib/dll folder. After 
> rebooting system, it doesn't detect any NIC :(, then I tried to find error, in
>  network configuration manager it show error like this "netmanager error: 
> could not open socket: Address family not supported by protocol family" 
> 
> Now, this system doesn't detect any network interfaces, including the existing
>  wired Ethernet NIC. If I remove this file (devnp-ral.so), and reboot the 
> system, it comes back to normal.
> 
> Please advise me.
> 
> Thanks
> Palak


Don't modify the enumerators.

You can do this:
1)mkdir work
2)cp where/devnp-ral.so work
3)io-pkt-v4-hc -i1 -S -d `pwd`/work/devnp-ral.so verbose=5 -ptcpip prefix=/ral
4)pidin arg|grep io-pkt-v4-hc 
5)sloginfo

if you can't see this 2 io-pkt-v4-hc then io-pkt-v4-hc crashed, attached the core dump under /var/dumps/io-pkt-v4-hc.
core.
if not crashed
5)SOCK=/ral ifconfig
all of the network related commands need SOCK=/ral

sorry!
Re: QNX doesn't detect network card  
Hi Yao,

I have followed your steps, this time io-pkt-v4-hc doesn't crashed because I didn't use 'mount' command (if I use it, it
 crashes). Anyways, please find the attached files with snapshot of window while executing your commands in sequence. I 
have also attached snap of io-pkt-v4-hc.core

Please have a look and advise me further.
Attachment: Text to yao.zip 1.06 MB
Re: QNX doesn't detect network card  
> Hi Yao,
> 
> I have followed your steps, this time io-pkt-v4-hc doesn't crashed because I 
> didn't use 'mount' command (if I use it, it crashes). Anyways, please find the
>  attached files with snapshot of window while executing your commands in 
> sequence. I have also attached snap of io-pkt-v4-hc.core
> 
> Please have a look and advise me further.


look at the snap.jpg, in sloginfo "devnp-ral.so.so" Library can't be found.
how do you run the io-pkt-v4-hc? also please specify absolute path of the driver.
Re: QNX doesn't detect network card  
Hi Yao, 


Do i need any source code for running io-pkt-v4-hc?

I have copied the code provided by you in in this driver path :  lib/dll/devnp-ral.so.that becomes the absolute driver 
path i guess, am i right? And then from there i have copied it to root/work directory. 

i am not sure if  i have followed any wrong path?  let me advice corrective measure i have to take for removing "
sloginfo "devnp-ral.so.so" Library can't be found" erroe. Let me know if you need any further information.

Thanks for your help...

Palak
Re: QNX doesn't detect network card  
Hi Yao,

Please ignore my previous message. I have been continuously working on this. After running the commands that you have 
suggested, this card is show up in "ifconfig" however, not able to show MAC address. Please see the attached jpg file. 
Is this wireless card really detected or not? because I am not able to configure it.

I really appreciate your support for this. 
Attachment: Image nicinfo.jpg 134.03 KB
Re: QNX doesn't detect network card  
> Hi Yao,
> 
> Please ignore my previous message. I have been continuously working on this. 
> After running the commands that you have suggested, this card is show up in "
> ifconfig" however, not able to show MAC address. Please see the attached jpg 
> file. Is this wireless card really detected or not? because I am not able to 
> configure it.
> 
> I really appreciate your support for this. 


it is better:) it didn't crash
what is in output of "sloginfo" and "pidin -p io-pkt-v4-hc mem"?
Re: QNX doesn't detect network card  
Hi Yao,

Please find the enclosed "sloginfo" and "pidin.." outputs. 

Again, Thanks a lot...I appreciate it.

Palak
Attachment: Text to yao-2.zip 101.76 KB
Re: QNX doesn't detect network card  
don't worry!

there is a problem in the ral_pci_attach, it even didn't enter rt2860 attach yet.
Attachment: Text devnp-ral.so 169.01 KB
Re: QNX doesn't detect network card  
Hi Yao,

I have tried this revised code, and followed the same steps. In that case, it showed MAC address of wireless pci, 
however, it didn't show in "ifconfig" or "network configuration window". Please find the sloginfo for this step in" 
sloginfo_may 13.jpg"

Secondly, I have added the vendor id and device id in "x86/etc/ system/enum/device/net" file, I have inserted another 
row in list of Ralink devices. After restarting the QNX, it shows ral0 in "ifconfig" as well as "network configuration",
 however, it doesn't detect MAC address, Please find the sloginfo for this step in" sloginfo2_may 13.jpg".

I just want to confirm that I have not changed anything with "lib/dll/devnp-ral.so", do we need to modify it in order to
 detect the card correctly? 

Please advise,

Thanks again,
Palak
Attachment: Text to Yao-3.zip 219.97 KB
Re: QNX doesn't detect network card  
> Hi Yao,
> 
> I have tried this revised code, and followed the same steps. In that case, it 
> showed MAC address of wireless pci, however, it didn't show in "ifconfig" or "
> network configuration window". Please find the sloginfo for this step in" 
> sloginfo_may 13.jpg"
> 
> Secondly, I have added the vendor id and device id in "x86/etc/ system/enum/
> device/net" file, I have inserted another row in list of Ralink devices. After
>  restarting the QNX, it shows ral0 in "ifconfig" as well as "network 
> configuration", however, it doesn't detect MAC address, Please find the 
> sloginfo for this step in" sloginfo2_may 13.jpg".
> 
> I just want to confirm that I have not changed anything with "lib/dll/devnp-
> ral.so", do we need to modify it in order to detect the card correctly? 
> 
> Please advise,
> 
> Thanks again,
> Palak

this is what I guess that because you modify the vid, did to enum file so old devnp-ral.so is loaded then you see 
0000000000 mac address.
the new driver I attached it will show mac address, and "rt2860 driver attached" in sloginfo.
so don't modify anything, use the instructions I put.

Re: QNX doesn't detect network card  
Hi Yao,

First of all I have tried exactly as per your instruction, without modifying anything in enum. As you have seen in first
 sloginfo_may13.jpg, It does show the MAC address, however, it doesn't show anything in "ifconfig" or "Configuration of 
network devices". How to configure IP and subnet mask without looking into "Configuration of network devices" tap of QNX
.

Please advise me in this regard.

Thanks for your consistent help.
Palak

Re: QNX doesn't detect network card  
> How to configure IP and subnet mask without looking into "Configuration of network devices" tap of QNX.
>    
How to configure IP address and subnet mask is not specific to the 
driver. It is described in the documentation for ifconfg.
http://www.qnx.com/developers/docs/6.4.1/neutrino/utilities/i/ifconfig.html

You will also want to have a look at the networking user's guide.
http://www.qnx.com/developers/docs/6.4.1/io-pkt_en/user_guide/about.html

HTH
/P
Re: QNX doesn't detect network card  
Hi Pratik,

Thanks for your reply. I have already gone through these links. If you check my previous postings, the problem with my 
network driver is that it is attached but I can't see that interface in "ifconfig". How would I know, whether driver is 
working properly over the communication stack or not, as QNX doesn't show wireless network adapter (ral0) in network 
interface lists. This way I can't configure this card.

Please advise.
Palak
Re: QNX doesn't detect network card  
Hi Mital Kanabar or Palak Parikh (is there two of you?),

I probably misunderstood you.

The last posting specifically asked how to configure IP address and 
subnet mask: "How to configure IP and subnet mask". I tried to provide 
the pointers to help with that.

It wasn't clear to me, maybe I misunderstood you, that the device didn't 
show up in ifconfig. It seemed the most likely that you meant to say 
that it now shows up, because I thought it unnecessary to ask how to 
configure IP address when it doesn't show up, that's all...

Regards,
/P

On 14/05/10 11:46 AM, Mital Kanabar wrote:
> Hi Pratik,
>
> Thanks for your reply. I have already gone through these links. If you check my previous postings, the problem with my
 network driver is that it is attached but I can't see that interface in "ifconfig". How would I know, whether driver is
 working properly over the communication stack or not, as QNX doesn't show wireless network adapter (ral0) in network 
interface lists. This way I can't configure this card.
>
> Please advise.
> Palak
>
>
>
> _______________________________________________
>
> Networking Drivers
> http://community.qnx.com/sf/go/post54727
>
>