Method and Apparatus for Identifying a Device Handle in a Computer System
a computer system and device handle technology, applied in the field of computer system configuration, can solve the problems of inability to predict or consistent correspondence between usbTM endpoints and file handle names, software or device drivers cannot tell which file handle to use for communication with a particular endpoint, undesirable affecting the operation of usbTM devices, etc., to achieve the effect of facilitating interaction and facilitating interaction
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Benefits of technology
Problems solved by technology
Method used
Image
Examples
example 1
[0092]In an embodiment of the present invention, a method is provided for identifying a desired device handle in a Linux™ system, the desired device handle associated with a USB™ wireless modem of a predetermined type. The Linux™ system includes a sysfs file system as described herein. Similar embodiments can be used with other USB™ devices, or non-USB™ devices.
[0093]In the present embodiment, a wireless modem is provided as a peripheral device with a USB™ interface for interaction with the host computer system. This interface provides a number of unidirectional serial interfaces between the USB™ peripheral device and host computer system, in the form of USB™ endpoints. These endpoints are uniquely numbered and the number is significant because it is the identifier that must be used whenever a higher layer protocol wishes to exchange traffic with the modem. Although the type of traffic carried via a particular endpoint may be configurable within the modems, in practice the endpoint ...
example 2
[0105]FIG. 3 illustrates a method 300 for identifying a desired device handle associated with a peripheral device, according to an embodiment of the present invention.
[0106]The method 300 illustrated in FIG. 3 includes the step of providing a database 320, containing encoded therein information associating one or more device handles with one or more peripheral devices. For example, the database can be pre-existing, and provided by facilitating access thereto, for example, the Linux™ sysfs file system can be provided in this manner.
[0107]The method 300 illustrated in FIG. 3 further includes the step of performing a first scan 330, which scans a first portion of the database for one or more descriptor data entries associated with the desired peripheral device.
[0108]The method 300 illustrated in FIG. 3 further includes the step of processing the first scan results 340, thereby determining one or more associated data entries of the database related to the one or more descriptor data ent...
example 3
[0114]FIG. 5 illustrates an apparatus 500 for identifying a desired device handle associated with a desired peripheral device, according to an embodiment of the present invention. The desired peripheral device can be one of several peripheral devices 512, 514, 516, operatively coupled to the apparatus 500 via a device interface 590. The apparatus 500 may, in embodiments of the present invention, also function as a personal computer, communications device or other device, and may contain other elements or configurations. Rather than illustrating the apparatus 500 as a personal computer or other device configured according to the present invention, only aspects immediately relevant to embodiments of the present invention are illustrated in FIG. 5.
[0115]The apparatus 500 illustrated in FIG. 5 includes a database 520 containing encoded therein information associating one or more device handles with one or more peripheral devices.
[0116]The apparatus 500 illustrated in FIG. 5 further incl...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


