Archive of November 2008

Sun 23 Nov

Operating Systems Exam

We say we "crash" when we uncontrollably fall asleep. Does falling asleep while studying hard drive structure count as a head crash?

Thanks, I'll be here all night. Studying, actually.

Sun 9 Nov

lejos, libusb-win32, Vista, and usbhub.sys

I've been doing some robotics development lately with lejos. One of the dependencies for lejos is libusb, or for Windows its port libusb-win32. Unfortunately, this package causes problems on Vista (and from what I've read, WinXP) with the USB hub drivers. The problem manifested itself whenever my laptop was connected to the USB hub, which in my case was the docking station.

Whenever I put my computer into sleep mode, or tried to do a shutdown or reboot, I would get a BSOD, followed by a reboot. Actually, putting the computer to sleep caused a seemingly inexplicable reboot. I suppose the BSOD didn't appear because the screen fades out right before going to sleep (boo on you, MSFT: that's bad design if it stifles the BSOD). In any case, the error message pointed to usbhub.sys.

After noticing this problem even in Safe Mode and after a System Restore, I uninstalled libusb-win32 and the problem went away. This has been reported by several people on the project page for libusb-win32. Unofortunately, the project doesn't appear to be under any further development. Also, for the record, I was using libusb-win32

· Tags: , , ,