摘要:
The embodiments of the present invention provide a method for switching a working mode, a USB device, and a host device. The method for switching a working mode includes: determining, according to the osvc key value in the registry of a host device, that a driver for a second working mode is installed on the host device, after the USB device is connected to the host device; and switching the current working state of the USB device from a first working mode to the second working mode. In the embodiments of the present invention, neither special auxiliary program nor additional driver needs to be developed. Therefore, the solution is easy to implement and a problem of incompatibility will not occur.
摘要:
The embodiments of the present invention provide a method for processing device connection, a combination device and a host device. A method for processing device connection, includes: after being plugged into a host device, receiving a device descriptor modification instruction sent by the host device, modifying a device descriptor according to the device descriptor modification instruction and performing device reconnection processing, sending the modified device descriptor to the host device so that the host device establishes a new network connection according to the modified device descriptor. In the embodiments of the present invention, a user does not need to restart the host device to access the network using a RNDIS device in the combination device, which makes it convenient for the user to operate.
摘要:
A method for a data card to identify an OS, an apparatus and a communication system thereof are provided according to the embodiments of the present invention. The method includes: receiving, by a USB device through a disc port, an SCSI command sent by the OS to be identified; and upon receiving an SCSI command carrying operation code 0XBB, identifying that the OS to be identified is Mac OS; upon receiving an SCSI command carrying operation code 0XA2, identifying that the OS to be identified is Windows Vista SP2 or later versions of Windows OS. With the technical solutions provided in the embodiments of the present invention, no dedicated driver programs need to be developed for some OSs to identify these OSs.
摘要翻译:根据本发明的实施例提供了一种用于识别OS的数据卡的方法,装置和通信系统。 该方法包括:由USB设备通过光盘端口接收由OS识别的SCSI命令; 并且在接收到携带操作码0XBB的SCSI命令时,识别要识别的OS是Mac OS; 在接收到携带操作码0XA2的SCSI命令时,识别要识别的OS是Windows Vista SP2或更高版本的Windows操作系统。 利用在本发明的实施例中提供的技术方案,不需要为某些OS开发专门的驱动程序来识别这些OS。
摘要:
The embodiments of the present invention provide a method for processing device connection, a combination device and a host device. A method for processing device connection, includes: after being plugged into a host device, receiving a device descriptor modification instruction sent by the host device, modifying a device descriptor according to the device descriptor modification instruction and performing device reconnection processing, sending the modified device descriptor to the host device so that the host device establishes a new network connection according to the modified device descriptor. In the embodiments of the present invention, a user does not need to restart the host device to access the network using a RNDIS device in the combination device, which makes it convenient for the user to operate.
摘要:
The present invention discloses a control method, an apparatus, and a system. In the embodiments of the present invention, a control command is encapsulated into a network data packet to be sent to a remote network driver interface specification (RNDIS) device, and the encapsulated network data packet is sent to the RNDIS device to control the RNDIS device. In the conventional network architecture, a user device can directly send a network data packet to an RNDIS device. Therefore, with this solution, a control command can be transmitted to the RNDIS device without adding a new control interface. Compared with the solution that requires adding a new interface and installing an additional driver program in the prior art, this solution reduces application complexity and has no special requirement for the RNDIS device, which is commonly applicable and easy to implement.
摘要:
The present invention discloses a control method, an apparatus, and a system. In the embodiments of the present invention, a control command is encapsulated into a network data packet to be sent to a remote network driver interface specification (RNDIS) device, and the encapsulated network data packet is sent to the RNDIS device to control the RNDIS device. In the conventional network architecture, a user device can directly send a network data packet to an RNDIS device. Therefore, with this solution, a control command can be transmitted to the RNDIS device without adding a new control interface. Compared with the solution that requires adding a new interface and installing an additional driver program in the prior art, this solution reduces application complexity and has no special requirement for the RNDIS device, which is commonly applicable and easy to implement.
摘要:
The embodiments of the present invention provide a method for switching a working mode, a USB device, and a host device. The method for switching a working mode includes: determining, according to the osvc key value in the registry of a host device, that a driver for a second working mode is installed on the host device, after the USB device is connected to the host device; and switching the current working state of the USB device from a first working mode to the second working mode. In the embodiments of the present invention, neither special auxiliary program nor additional driver needs to be developed. Therefore, the solution is easy to implement and a problem of incompatibility will not occur.
摘要:
The embodiments of the present invention provide a method for switching a working mode, a USB device, and a host device. The method for switching a working mode includes: determining, according to the osvc key value in the registry of a host device, that a driver for a second working mode is installed on the host device, after the USB device is connected to the host device; and switching the current working state of the USB device from a first working mode to the second working mode. In the embodiments of the present invention, neither special auxiliary program nor additional driver needs to be developed. Therefore, the solution is easy to implement and a problem of incompatibility will not occur.
摘要:
The embodiments of the present invention provide a method for switching a working mode, a USB device, and a host device. The method for switching a working mode includes: determining, according to the osvc key value in the registry of a host device, that a driver for a second working mode is installed on the host device, after the USB device is connected to the host device; and switching the current working state of the USB device from a first working mode to the second working mode. In the embodiments of the present invention, neither special auxiliary program nor additional driver needs to be developed. Therefore, the solution is easy to implement and a problem of incompatibility will not occur.
摘要:
A method for a data card to identify an OS, an apparatus and a communication system thereof are provided according to the embodiments of the present invention. The method includes: receiving, by a USB device through a disc port, an SCSI command sent by the OS to be identified; and upon receiving an SCSI command carrying operation code 0XBB, identifying that the OS to be identified is Mac OS; upon receiving an SCSI command carrying operation code 0XA2, identifying that the OS to be identified is Windows Vista SP2 or later versions of Windows OS. With the technical solutions provided in the embodiments of the present invention, no dedicated driver programs need to be developed for some OSs to identify these OSs.
摘要翻译:根据本发明的实施例提供了一种用于识别OS的数据卡的方法,装置和通信系统。 该方法包括:由USB设备通过光盘端口接收由OS识别的SCSI命令; 并且在接收到携带操作码0XBB的SCSI命令时,识别要识别的OS是Mac OS; 在接收到携带操作码0XA2的SCSI命令时,识别要识别的OS是Windows Vista SP2或更高版本的Windows操作系统。 利用在本发明的实施例中提供的技术方案,不需要为某些OS开发专门的驱动程序来识别这些OS。