[Gambas-user] serial port issue

nando nando_f at ...951...
Wed Apr 21 17:53:13 CEST 2010


I use 6 serial ports, sometimes usb mixed in,
No problem in Gambas whatsoever
-Fernando


---------- Original Message -----------
From: Ron <ron at ...1740...>
To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
Sent: Wed, 21 Apr 2010 15:29:37 +0200
Subject: Re: [Gambas-user] serial port issue

> I have no experience with the cable in my link, I just found it 
> yesterday, but make sure your usb to serial converters have a FTDI chip 
> inside.
> Not (like most of mine) an Prolific PL2303 chip since they all have the 
> same device id and serial number, so you have a small problem identifing 
> them.
> 
> I have not installed any drivers, but I had to lock them like this:
> http://www.domotiga.nl/wiki/Linux/InstallOpt#Lockserialdevicenames
> 
> Here is an old photo of my test server showing some of them:
> http://www.domotiga.nl/wiki/Domotiga/SetupPics
> 
> Using Ubuntu 9.10
> 
> Regards,
> Ron.
> > Thanks for the info! I may need to find some reliable hardware, this can be
> > an issue (the one installed by my Chinese informatics colleague doesn't give
> > me too much confidence :-)
> >
> > Did you have to install any driver to get it working?
> >
> > Robi
> >
> > 2010/4/21 Ron <ron at ...1740...>
> >
> >   
> >> I use a ten ports usb hub and seperate usb to serial cables.
> >> I have written some udev rules to lock the serial device names to the
> >> physical ports.. otherwise they change after a reboot.
> >>
> >> To bad I just found these guys afterwards:
> >> http://www.picco.nl/product_info.php?products_id=2338
> >>
> >> Regards,
> >> Ron.
> >>     
> >>> Ron,
> >>>
> >>> I mean that the app doesn't do what I wish him to do :-)
> >>> Unfortunately it works as expected with the serial port on the
> >>>       
> >> motherboard
> >>     
> >>> (ttyS0, same equipment connected, same data sent and should have been
> >>> received) so it should not be a bug in my code.
> >>> The connection parameters (including Xon/Xoff) are required by the
> >>>       
> >> equipment
> >>     
> >>> I use.
> >>>
> >>> Physically, how did you connect 10 serial ports to your machine? With a
> >>>       
> >> card
> >>     
> >>> or do you use virtual ports with USB connector?
> >>>
> >>> Robi
> >>>
> >>> 2010/4/21 Ron <ron at ...1740...>
> >>>
> >>>
> >>>       
> >>>> You mean crashing like in signal #11 core dump or the application
> >>>> doesn't do what's wanted?
> >>>>
> >>>> Which version of Gambas?
> >>>>
> >>>> There where a few serial port related bug fixes.
> >>>> http://gambas.sourceforge.net/en/changelog2.html
> >>>>
> >>>> I use a lot (10) serial ports in my gambas app. 24/7 but I do not use
> >>>> xon/off.
> >>>>
> >>>> Regards,
> >>>> Ron.
> >>>>
> >>>>         
> >>>>> The communication parameters are 9600, 8, n, 1, Xon/Xoff.
> >>>>>
> >>>>> 2010/4/21 Doriano Blengino <doriano.blengino at ...1909...>
> >>>>>
> >>>>>
> >>>>>
> >>>>>           
> >>>>>> Robert JUHASZ ha scritto:
> >>>>>>
> >>>>>>
> >>>>>>             
> >>>>>>> All the parameters are the same obtained by autoconfig, except the
> >>>>>>>               
> >> UART
> >>     
> >>>>>>> which was undefined for the added ports.
> >>>>>>> I set this parameter to the same value as for the working one: 16550A
> >>>>>>>
> >>>>>>>               
> >>>> (in
> >>>>
> >>>>         
> >>>>>>> fact I tried all the possible UART parameters and where the port was
> >>>>>>>
> >>>>>>>
> >>>>>>>               
> >>>>>> working
> >>>>>>
> >>>>>>
> >>>>>>             
> >>>>>>> it behaves always the same: short test messages pass but in the real
> >>>>>>>
> >>>>>>>               
> >>>> work
> >>>>
> >>>>         
> >>>>>>> environment it crashes).
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>               
> >>>>>> Do you have some sort of handshaking?
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>             
> >> ------------------------------------------------------------------------------
> >>     
> >>>>>> _______________________________________________
> >>>>>> Gambas-user mailing list
> >>>>>> Gambas-user at lists.sourceforge.net
> >>>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>>>>>
> >>>>>>
> >>>>>>
> >>>>>>             
> >> ------------------------------------------------------------------------------
> >>     
> >>>>> _______________________________________________
> >>>>> Gambas-user mailing list
> >>>>> Gambas-user at lists.sourceforge.net
> >>>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>>>>
> >>>>>
> >>>>>           
> >>>>         
> >> ------------------------------------------------------------------------------
> >>     
> >>>> _______________________________________________
> >>>> Gambas-user mailing list
> >>>> Gambas-user at lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>>>
> >>>>
> >>>>         
> >> ------------------------------------------------------------------------------
> >>     
> >>> _______________________________________________
> >>> Gambas-user mailing list
> >>> Gambas-user at lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>>
> >>>       
> >>
> >> ------------------------------------------------------------------------------
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >>     
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
------- End of Original Message -------





More information about the User mailing list