On 16:56 Fri 30 Jul, you wrote:
> Xin cha`o ca? nha`,
> Vi` ca^u ho?i ho+i da`i, so+. la`m phie^`n nhie^`u 
> ngu+o+`i ne^n em ddu+a le^n forum. Mong ca'c ba'c 
> giu'p ddo+~ cho!
> http://www.vnlinux.org/forum.cgi?fid=07&topic_id=1091181131
> Xin ca?m o+n tru+o+'c
> -- 
> hoalu
> 

http://www.easysw.com/~mike/serial/serial.html#2_5_4

Ddoa'n mo` thui vi` /me chu+a bao gio+` vie^'t program na`o dde^? access
serial port ca? (ngu+o+.ng qua' :D ), nhung hi`nh nhu+ ba'c thu+? open
file ba(`ng 

fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY | O_NDELAY);

thay vi`

fd = open("/dev/ttyS0", O_RDWR | O_NOCTTY)

Good luck,

Note to self: ddi kie^'m ca'i US Robotic Modem :)

-- 
Will code for an Onyx 4 Extreme


-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
VietLUG-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho