Hylafax Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] programming question



yeah, I saw that much looking at the strace.. the problem I'm having is
that I don't get anything back from the modem when i write to it.. I think
I'm setting up the port wrong.. Do you have example code on how to
properly open/configure the port?

Thanks

On Thu, 7 Dec 2000, Vyacheslav Frolov wrote:

> 
> 
> Rob Foehl wrote:
> 
> > Heh.. I pretty much got that far already, the problem is, I don't know how
> > to properly set up the serial port and things like that.. I'm already
> > locking it, thats not the problem, its just that no matter what i write to
> > the port, faxgetty's select never returns...
> 
> faxgetty's select() returns at least when first char arrives from modem side.
> You can check that by
> 
> strace -p <faxgetty's pid>
> 
> If your lock is right you will have the faxgetty's log message:
> 
> "ANSWER: Can not lock modem device"
> 
> then faxgetty goes to select() again to listen FIFO (not modem)
> 
> 
> 
> 
> ____________________ HylaFAX(tm) Users Mailing List _______________________
>  To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
> 
> 



____________________ HylaFAX(tm) Users Mailing List _______________________
 To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services