delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/03/23/22:06:37

X-Spam-Check-By: sourceware.org
Date: Sat, 24 Mar 2007 04:06:09 +0100 (CET)
From: Ton van Overbeek <ton AT v-overbeek DOT nl>
To: samuel DOT thibault AT ens-lyon DOT org
cc: cygwin AT cygwin DOT com
Subject: Re: Libusb-win32-0.1.12.1-1 makes system unusable after reboot.
Message-ID: <20070324035928.C57591-100000@xs2.xs4all.nl>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I believe I found the cause of the problem.
When running cygcheck on /usr/lib/libusb/libusb0.sys I get this:

$ cygcheck /usr/lib/libusb/libusb0.sys
c:/Cygwin/lib/libusb/libusb0.sys
Error: could not find usbd.sys <---- !!!!
  C:\WINDOWS\system32\ntoskrnl.exe
    C:\WINDOWS\system32\BOOTVID.dll
      C:\WINDOWS\system32\HAL.dll
        C:\WINDOWS\system32\KDCOM.dll

Copying usbd.sys from c:\windows\system32\drivers to /usr/lib/libusb makes
the problem disappear. After a reboot everything works.

Somehow the Cygwin libusb0.sys must link to usbd.sys with the full path
i.e. c:\windows\system32\drivers\usbd.sys instead of assuming that
usbd.sys is located in the same directory as libusb0.sys.

HTH

Ton van Overbeek


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019