This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Libusb-win32-0.1.12.1-1 makes system unusable after reboot.


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]