Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 14 Feb 2002 10:28:17 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Lego IR tower USB driver vs. cygwin Message-ID: <20020214152817.GG23253@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5 DOT 1 DOT 0 DOT 14 DOT 0 DOT 20020214195624 DOT 00a03ec0 AT mail DOT mckinn1 DOT vic DOT optushome DOT com DOT au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.0.20020214195624.00a03ec0@mail.mckinn1.vic.optushome.com.au> User-Agent: Mutt/1.3.23.1i On Thu, Feb 14, 2002 at 08:26:49PM +1100, Graham Menhennitt wrote: >I've tried debugging it to see the exact parameters that open() eventually >uses when it internally calls CreateFIle() - so far no success. > >I'm doing this using Cygwin version 1.3.9-1 under Windows 98 SE. > >Can somebody please explain to me why: >- this would (presumably) have worked with older versions of Cygwin Because things always work in "older versions of Cygwin" or, usually, "it works fine on linux". >- why opening the device works with Win32 CreateFile() but not Cygwin open() >- why the long hang >- why I can't write to the device even after it does open >Has anybody got any suggestions on how to debug this further? It's hard to offer advice when it isn't clear what you've done. What does "so far no success" mean? Did you build a debugging version of cygwin so that you could step into it? The released DLL does not have debugging symbols in it. You'll have to bulid a DLL with debugging symbols. Then you can step into open. cgf -- Please do not send me personal email with cygwin questions. Use the resources at http://cygwin.com/ . -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/