Re: DeviceIOControl and LibUSBDriverIO Error.

Xiaofan Chen <[email protected]> Thu, 22 Mar 2018 22:19:14 +0800
Newsgroups gmane.comp.lib.libusb.devel.windows
Message-ID <CAGjSPUD4uutaVwKBt68=e2_CBw00TaPya4_zUQ5aYhBCbR6-ZA@mail.gmail.com>
On Thu, Mar 22, 2018 at 10:14 PM, Xiaofan Chen <[email protected]> wrote:
> On Mon, Mar 19, 2018 at 11:17 AM, Mayur Purandare
>> We observed that after some time. (One hour approximately), the
>> communication gets disconnected with following error.
>>
>> Win32Error: DeviceIOControl Code 00222058 failed. The device cannot
>> recognize the command.
>> LibUsbIO 22: The device cannot recognize the command. -16367.
>>

This is strange. The IOCTL code for libusb0.sys is defined here.
https://github.com/mcuee/libusb-win32/blob/master/libusb/src/driver/driver_api.h

Are you using the libusb-win32 device driver?

-- 
Xiaofan

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot