OpenQNX :: The QNX Community Portal

May 13, 2008 - 02:36 PM
Google
  Web openqnx.com   
     Create an account Home · Submit News · QNX Forums · QNX Download · Search   
_
Main Menu
Who's Online
There are 70 unlogged users and 1 registered user online.

You can log-in or register for a user account here.

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
albrecht
Post subject: Drivers for Ethernet-to-Serial adapters  PostPosted: Sep 06, 2006 - 01:03 PM
Senior Member


Joined: Mar 18, 2005
Posts: 136

Hi there,

I am looking for a driver for an Ethernet-to-Serial adapter. For instance the MOXA DE-311 (http://www.moxa.com/product/nport_de-311.htm) would be nice. Has anyone written such a driver or ported MOXA's own Linux driver? Or any other brand?

Regards,
Albrecht
 
 View user's profile Send private message  
Reply with quote Back to top
WhiteRabbits
Post subject: RE: Drivers for Ethernet-to-Serial adapters  PostPosted: Sep 06, 2006 - 10:12 PM
Senior Member


Joined: Aug 03, 2003
Posts: 172
Location: Germany
maybe I do not get the point, but I use a similar device just plug and pray.
i.e. the two MOXA devices allow me to replace/extend a 9-pin serial cable via a local area ethernet.
I connect one box to /dev/ser1, the other one to a modem 2km away from it, and I can use the modem as if it stood right beside my PC.
I gave up porting the Linux driver (to spare one of those cigarette boxes), because I found the MOXA boxes are cheap enough to save me the burden.
regards Helge
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
albrecht
Post subject:   PostPosted: Sep 07, 2006 - 07:16 AM
Senior Member


Joined: Mar 18, 2005
Posts: 136

I want to use it the other way round - have the Ethernet side plugged into the QNX box and the serial device in question to the far end.

The driver basically has to use the TCP sockets to communicate with MOXA box and put a virtual serial port into the path name space, the latter one being easy with Character DDK, the former one complicated because knowledge of MOXA's internal working is required, which is hard to reverse engineer from the Linux code. any ideas?

Regards,
Albrecht
 
 View user's profile Send private message  
Reply with quote Back to top
pky
Post subject: Re: Drivers for Ethernet-to-Serial adapters  PostPosted: Sep 07, 2006 - 10:43 AM
Active Member


Joined: Jan 30, 2004
Posts: 13

albrecht wrote:
Hi there,

I am looking for a driver for an Ethernet-to-Serial adapter. For instance the MOXA DE-311 (http://www.moxa.com/product/nport_de-311.htm) would be nice. Has anyone written such a driver or ported MOXA's own Linux driver? Or any other brand?

Regards,
Albrecht


We have ported their driver (to QNX4), and also submitted back to MOXA. So ask for it - to let them know, that QNX is alive.
If you are not successful, I can send you ours.

PK
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
jinma
Post subject: RE: Re: Drivers for Ethernet-to-Serial adapters  PostPosted: Sep 07, 2006 - 04:48 PM
Senior Member


Joined: Oct 28, 2004
Posts: 265

wow~ this I didn't know. Can you post the driver here so that we can all have it. thanks

_________________
Matthew Jin
Software Engineer
 
 View user's profile Send private message  
Reply with quote Back to top
WhiteRabbits
Post subject: RE: Re: Drivers for Ethernet-to-Serial adapters  PostPosted: Sep 07, 2006 - 07:12 PM
Senior Member


Joined: Aug 03, 2003
Posts: 172
Location: Germany
sounds great !
would you mind telling me who exactly, and less exactly when, sent them the ported driver ?
just in case they had it stored "somewhere" ...
thanks HELGE
 
 View user's profile Send private message Send e-mail Visit poster's website  
Reply with quote Back to top
albrecht
Post subject:   PostPosted: Sep 12, 2006 - 10:28 AM
Senior Member


Joined: Mar 18, 2005
Posts: 136

I contacted MOXA Technical Support and they are indeed developing a driver for their products! They sent a beta version WITHOUT WARRENTY OF ANY KIND and will release the driver in early October, so check out their website.

Any feedback about the driver greatly appreciated. It compiles fine but unfortunately I have no MOXA hardware here to test it.

Regards,
Albrecht



ver3.1.11.zip
 Description:

Download
 Filename:  ver3.1.11.zip
 Filesize:  16.6 KB
 Downloaded:  147 Time(s)

 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2007 The PNphpBB Group
Credits
All logos and trademarks in this site are property of their respective owners. The comments are property of their posters.
Powered by OpenQNX: The QNX Community Portal Site
QNX and the QNX logo are registered trademarks of QNX Software Systems.