![]() ![]() Windows 7 uses the generic "HID-compliant device", which I believe uses hidclass.sys via This issue was introduced because Windows 10 uses a different driver for POS HID barcode scanners than Windows 7. Please contact the device manufacturer for more information about thisĪfter lots of tests, looking at our code and Googling around, I've come to the following conclusion: Windows will attempt to restart the device 5 more times. This may temporarily interrupt your ability to access the devices.ĭescription: The device POS HID Barcode scanner (location (unknown)) is offline due to a user-mode driver crash. I started looking into the issue and soon identified the following events in Event Viewer -> Windows Logs -> System:ĭescription: A problem has occurred with one or more user-mode drivers and the hosting process has been terminated. After a while, it would once again disconnect. By unplugging and then plugging the scanner back in, it would start working again. While the scanner could be activated by our applicationĪnd we could scan barcodes like before, the scanner would occasionally disconnect from USB (LED turned off, scanner not usable). When we updated from Windows 7 to Windows 10, the scanner was still identified correctly by the system, but we started noticing issues in our application. It's a simple and clean implementation that has worked perfectly for Windows 7. NET's FileStream.BeginRead()) and report data events When we want to read data from the SG20T, we simply open the scanner's HID device path as a file (WINAPI CreateFile()), read any received data (via. ![]() I will include some code below, but let me first describe what we do and the problem we're NET 1.12 and implements a simple HID reader class to read data from the device. ![]() We have configured all our scanners to work in USB POS HID mode. The particular scanner we use (this is not critical to the issue) is the Intermec SG20T. We have a custom built Windows Forms application for handling everything related to the site. For those of you who may have come here because you have this issue: this post does includeįirst of all, the background: I work with developing and maintaining a CMS for an online retailer. This will be a pretty lengthy report, but I'm trying to include all details needed. I've come to a point where it's time to report this issue to the outside world. This issue has cost me about one week's work and I believe I believe I have found a serious bug with the hidscanner.dll driver that Windows 10 automatically uses for barcode scanners that are POS HID compatible. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |