delorie.com/archives/browse.cgi | search |
On Thu, May 29, 2008 at 07:02:40PM +0200, Giovanni Maruzzelli wrote: >Correction, my last post was ambiguous: > >\\\\.\\com6 gives me "Device or resource busy", while all other com* >give me "not existing". >So, it is definitely better, it finds something! But do not yet works. This is a red herring. It is not going to work: "It won't recognize it as a serial device." >====> Opening and read/writing to COM6 with native win32 API (readfile >etc) works well, both compiled with and without -mno-cygwin -mno-cygwin and native win32 apis really have little bearing on Cygwin. I'm regenerating a snapshot which translates /dev/ttyS0 -> //Global??/COM1 and /dev/com1 -> /??/com1, using the same "symlink" as is used by the windows api. I would appreciate it if you could try the snapshot when it becomes available and report if both /dev/ttyS5 and /dev/com6 work as you expect. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |