Re: [Hamlib-developer] serial ports and hamlib
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Joop S. <pa...@de...> - 2003-02-24 18:01:32
|
Op zo 23-02-2003, om 20:41 schreef Stephane Fillod:
> On Tue, Feb 11, 2003, Joop Stakenborg wrote:
> > > Hamlib should be okay, just pass the "-r /dev/usb/ttyUSBn" option to
> > > rigctl and friends, or rig_set_conf("rig_pathname", "/dev/usb/ttyUSBn")
> > > from your code.
> >
> > What about the default timeout for the serial port?
> > Is it supported?
>
> yes. I don't remember what was the acutal problem, but yes, there's a
> timeout field in the caps that can be set through rig_set_conf, or
> "-Ctimeout=500" using rigctl to set it to 500ms for example.
>
> What was the problem again?
>
If I remember correctly, someone on the xlog-discussion mailing list
reported blocking of the gui when using /dev/usb. This also happens when
using tlf. Both applications are using a polling frequency of around 350
ms, which works okay with serial ports because the timeout is much lower
(200 mS).
I guess I have to adjust the polling frequency when a usb device is
used.
>
> Stephane
>
>
Thanks,
Joop
|