Re: serial ports not visible with 1.7 under Vista

2008-05-30 Thread Christopher Faylor
On Fri, May 30, 2008 at 09:47:59AM +0200, Giovanni Maruzzelli wrote: >Thanks Christopher, thanks Dave, > >the last snapshot (cygwin1-20080529.dll.bz2) works perfectly both with >/dev/ttyS5 and /dev/com6 Interesting. Thanks for the verification. cgf -- Unsubscribe info: http://cygwin.com/ml

Re: serial ports not visible with 1.7 under Vista

2008-05-30 Thread Giovanni Maruzzelli
Thanks Christopher, thanks Dave, the last snapshot (cygwin1-20080529.dll.bz2) works perfectly both with /dev/ttyS5 and /dev/com6 Cheers, Giovanni On Thu, May 29, 2008 at 7:12 PM, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Thu, May 29, 2008 at 07:02:40PM +0200, Giovanni Maruzzelli wrote:

Re: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Giovanni Maruzzelli
Thank you Christopher!! I'll try the snapshot tomorrow as soon as I'll be back in office and then I'll report back. On Thu, May 29, 2008 at 7:12 PM, Christopher Faylor <[EMAIL PROTECTED]> wrote: > On Thu, May 29, 2008 at 07:02:40PM +0200, Giovanni Maruzzelli wrote: >>Correction, my last post w

RE: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Dave Korn
Christopher Faylor wrote on 29 May 2008 17:52: > On Thu, May 29, 2008 at 05:15:00PM +0100, Dave Korn wrote: >> Giovanni Maruzzelli wrote on 29 May 2008 16:41: >> >>> Thanks a lot Dave! >>> >>> Seems that it is looking for a \Device\Serial5 >> >> Ouch. That's a problem. Not all serial devices

Re: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Christopher Faylor
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 herr

Re: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Giovanni Maruzzelli
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. > Opening and read/writing to COM6 with native win32 API (readfile etc) works well, both

Re: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Christopher Faylor
On Thu, May 29, 2008 at 05:15:00PM +0100, Dave Korn wrote: >Giovanni Maruzzelli wrote on 29 May 2008 16:41: > >> Thanks a lot Dave! >> >> Seems that it is looking for a \Device\Serial5 > > Ouch. That's a problem. Not all serial devices use the same name format. So what format do they use? >

Re: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Giovanni Maruzzelli
.\\com6 gives me "Device or resource busy", while all other com* give me "not existing". So, it is definitely better. But do not yet works. Opening and read/writing to it with native win32 API works (readfile etc) following is the relevant strace: 67 36177 [main] ciapa 756 open: open (\

RE: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Dave Korn
Giovanni Maruzzelli wrote on 29 May 2008 16:41: > Thanks a lot Dave! > > Seems that it is looking for a \Device\Serial5 Ouch. That's a problem. Not all serial devices use the same name format. Although it's not strictly supported, you might be able to work around it by using ".\\com6"

Re: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Giovanni Maruzzelli
Thanks a lot Dave! Seems that it is looking for a \Device\Serial5 This is the relevant part from strace on Vista: 39 36235 [main] ciapa 3780 open: open (/dev/ttyS5, 0xC002)^M 47 36282 [main] ciapa 3780 normalize_posix_path: src /dev/ttyS5^M 38 36320 [main] ciapa 3780 normalize_po

RE: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Dave Korn
Giovanni Maruzzelli wrote on 29 May 2008 16:12: > Errno reports just "no such file or directory". > Same if you try something like "echo ATH > /dev/ttyS5" > > Probably some 1.7 initialization is not done in the same way as in 1.5.25. > > It is a sad situation for me: > with 1.5.25 waveinopen cra

Re: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Giovanni Maruzzelli
Ooops (I got the doubt Dave were joking :-)) Errno reports just "no such file or directory". Same if you try something like "echo ATH > /dev/ttyS5" Probably some 1.7 initialization is not done in the same way as in 1.5.25. It is a sad situation for me: with 1.5.25 waveinopen crashes (but it work

RE: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Dave Korn
Giovanni Maruzzelli wrote on 29 May 2008 15:27: > Hi Dave, > > thank you for the answer. > > You mean that this is a bug into 1.7? My answer was slightly tongue in cheek! :) But yes, it's very likely you've uncovered a bug in 1.7 - it is work-in-progress after all. There might be an issue i

Re: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Giovanni Maruzzelli
Hi Dave, thank you for the answer. You mean that this is a bug into 1.7? Below the errno checking test case ;-) = #include #include #include #include #include #include #include int main (int argc, char* argv[]) { struct termios params; int tty; tty = open ("/dev/ttyS5", O_RDWR |

RE: serial ports not visible with 1.7 under Vista

2008-05-29 Thread Dave Korn
Giovanni Maruzzelli wrote on 29 May 2008 13:59: > I cannot see the serial ports (/dev/ttyS*), it seems that they do not > exist under Vista (tried both as a user with admin rights and as > Administrator, and tried also with AUC disabled). > > Is this a known bug? What, not checking errno? > i

serial ports not visible with 1.7 under Vista

2008-05-29 Thread Giovanni Maruzzelli
Hi all, I am using the 1.7 cygwin on Vista (SP1, updated), installed yesterday from scratch with setup-2.592-1.7special.exe. Result of uname -a is: CYGWIN_NT-6.0 vista-maruzz 1.7.0(0.185/5/2) 2008-05-25 20:10 i686 Cygwin I cannot see the serial ports (/dev/ttyS*), it seems that they do not exis