What for is "bloc_til_ready" function in tty drivers?
Thank you
Mockern napsal(a):
> What for is "bloc_til_ready" function in tty drivers?
Most drivers waits for hardware to detect carrier and for closed callout.
regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
Thanx for your respond,
I did not implement this function in my tty driver.
Does it help to work my driver with cat Linux operation?
(e.g. cat < ttyS10)
>Mockern napsal(a):
>> What for is "bloc_til_ready" function in tty drivers?
>
>Most drivers waits for hardware to detect carrier and for closed callout.
>
>regards,
--
??????? ??????? ????, ????? ??????? ????? ?? ??????? http://mail.yandex.ru
Mockern napsal(a):
> Thanx for your respond,
>
> I did not implement this function in my tty driver.
>
> Does it help to work my driver with cat Linux operation?
> (e.g. cat < ttyS10)
Help in which way? If you haven't implemented it, it'll behave like there was
O_NONBLOCK passed to open() call or TIOCSSOFTCAR ioctl with nonzero param was
invoked.
regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
Thank you very much
>Mockern napsal(a):
>> Thanx for your respond,
>>
>> I did not implement this function in my tty driver.
>>
>> Does it help to work my driver with cat Linux operation?
>> (e.g. cat < ttyS10)
>
>Help in which way? If you haven't implemented it, it'll behave like there was
>O_NONBLOCK passed to open() call or TIOCSSOFTCAR ioctl with nonzero param was
>invoked.
>
>regards,
--
??????.?????: ????? ????????? ????? ?? ?????????! http://mail.yandex.ru/monitoring/