On Mon, Jan 29, 2007 at 01:24:32AM -0800, mayank rana wrote: > I am working on XAP255 board and Linux kernel 2.6.11. I suppose you mean PXA255. In that case, upgrade your kernel, 2.6.11 is considered ancient and hence completely unsupported. See http://www.arm.linux.org.uk/mailinglists/faq.php#f12 > I am facing > problem related to UART communication. By default Serial > communication is in blocking mode. how can I change the mode from > blocking to unblocking ? open() the device with O_NONBLOCK. See Stevens[1]. > I read that if I can change termios structure's c_cc flag with > V_MIN and V_TIME is equal to 1, it will work in unblocking mode.... > where can I find this structure attributes ? See Stevens[1]. Erik [1] W. Richard Stevens, "Advanced programming in the Unix environment", Addison-Wesley, 1992, ISBN 0-201-56317-7. http://www.kohala.com/start/apue.html -- They're all fools. Don't worry. Darwin may be slow, but he'll eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
Attachment:
signature.asc
Description: Digital signature