Current-Users archive

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

Re: ucom(4) hang up

Hi! Martin and Tobias,

From: KIYOHARA Takashi <>
Date: Wed, 17 Feb 2010 16:17:38 +0900 (JST)

> My ucom(4) devices (ucom@uftdi x2) hangs up when tip(1) is executed.
> After this change, it is happened.

I understood this problem.
uftdi(4) might receive state information only, not the data part.
uftdi_read() will return cp+2 and set 0 to cc.
And, neither uc_index nor uc_len never become the same though ucomreadcb()
calls ucom_read_complete().

Should variable cc return the data size of the remainder?
Or, the total receive data size?


Home | Main Index | Thread Index | Old Index