USB Device Class Auto-Selection for Host Compatibility
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing USB devices face complications in being recognized by host devices due to the need for manual selection of device classes, leading to cumbersome operations and reduced convenience, especially when the device driver in the host device does not correspond to the USB device's class.
Innovation Solution
An electronic apparatus equipped with a connection unit, storage unit for multiple device classes, and processing units that automatically switch the device class for communication with the host device, ensuring successful enumeration by selecting and changing classes as needed based on messages received from the host device.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If manual device class selection is implemented, then the USB device can be operated according to desired device class, but the operation becomes complicated and convenience is reduced
Solution Approach 1:
The USB device automatically performs device class selection without user intervention. The processing unit autonomously determines the appropriate device class based on communication with the host device, eliminating the need for manual selection while maintaining adaptability across different device classes
Solution Approach 2:
The device dynamically changes its device class parameter based on host device requirements. The processing unit receives messages from the host device and automatically switches between different device classes stored in the storage unit, allowing the device to adapt its functionality without user input
2Adaptability or versatility
If multiple device classes are stored, then the USB device can communicate with different host devices, but the device complexity increases
Solution Approach 1:
The USB device is designed with multi-functionality by storing multiple device classes in the storage unit. This allows a single device to serve multiple functions and communicate with different types of host devices without requiring separate hardware configurations for each device class
Solution Approach 2:
The processing unit acts as an intermediary that manages the multiple device classes stored in the storage unit. It automatically selects and switches between different device classes based on communication requirements, simplifying the management complexity by providing a unified control mechanism
3Productivity
If automatic device class switching is implemented, then enumeration processing is efficient, but messages appropriate for selected device class may not be transmitted
Solution Approach 1:
The system implements feedback mechanisms where the processing unit receives messages from the host device and uses this feedback to determine whether the currently selected device class is appropriate. Based on the received messages, the processing unit can switch to a different device class if needed, ensuring reliable communication while maintaining efficient automatic operation
Data Source
AI summary
According to one embodiment, an electronic apparatus includes a connection unit configured to be capable of being connected to a host device, a storage unit configured to store device classes of a plurality of types, a processing unit configured to execute processing for establishing communication with the host device connected to the connection unit by selectively using one device class from among the device classes stored in the storage unit, and a processing control unit configured to change the device class to be used for the processing by the processing unit if a message appropriate for the selected device class is not transmitted from the host device.


