Patent ID: 9081794
Filing Date: 2015-07-14
Classification: G06F

Abstract:
1. A method for automatically recognizing an operating system by a universal serial bus (USB) device, comprising: determining whether an operating system string descriptor request sent by a host is received; if the operating system string descriptor request is received, determining that the operating system of the host is a WINDOWS operating system, wherein the USB device replies to the host with a response of the operating system string descriptor request, and the host sends the operating system feature descriptor request to the USB device according to the response of the operating system string descriptor request; and if the operating system string descriptor request is not received, determining whether an operating system feature descriptor request sent by the host is received; when the operating system feature descriptor request is received, determining that the operating system of the host is a WINDOWS operating system; and when the operating system feature descriptor request is not received, determining that the operating system of the host is a LINUX core operating system.