Method for creation of device drivers and device objects for peripheral devices
First Claim
1. A method for creation of setup information, and the initialization and performance of an installation of a peripheral device of an electronic device, the method comprising:
- storing a device identification (ID) of the peripheral device;
extracting data and creating a data structure from existent setup information;
comparing the device ID of the peripheral device to a device ID stored in the data structure;
determining whether any changes to the device ID of the peripheral device are necessary based on identified differences between the device ID of the peripheral device as compared to the device ID stored in the data structure;
replacing the device ID in the data structure with the device ID of the peripheral device;
creating and storing a setup information file from content of the data structure;
creating and passing a request to a device driver of an interface of the peripheral device and a bus that initiates the installation of the peripheral device, wherein the peripheral device is not connected to the electronic device, and wherein the request comprises a request to add the peripheral device, the class identifier of the peripheral device and the device ID of the peripheral device which cause a bus driver of the bus to receive the request and determine a new device is operating on the bus as Plug and Play device; and
adding entries to provide Plug and Play functionality to the data structure generated from an existent setup information file that does not provide such functionality.
3 Assignments
0 Petitions
Accused Products
Abstract
All steps required to create and operate a peripheral device of an electronic device can be performed without the need to plug in the peripheral device to the electronic device. Setup information for a peripheral device is extracted, modified and stored to fit to a physical existent peripheral device. The modified setup information is used to create a data structure that is passed to the peripheral bus driver. As the data structure contains a hot plug notification the reception causes the peripheral bus driver to initiate the setup process for the peripheral device. As the data structure is built from setup information that is available at the electronic device no additional user action is required. The invention also allows the creation of a device object for existing signed driver packets that may not be altered.
46 Citations
18 Claims
-
1. A method for creation of setup information, and the initialization and performance of an installation of a peripheral device of an electronic device, the method comprising:
-
storing a device identification (ID) of the peripheral device; extracting data and creating a data structure from existent setup information; comparing the device ID of the peripheral device to a device ID stored in the data structure; determining whether any changes to the device ID of the peripheral device are necessary based on identified differences between the device ID of the peripheral device as compared to the device ID stored in the data structure; replacing the device ID in the data structure with the device ID of the peripheral device; creating and storing a setup information file from content of the data structure; creating and passing a request to a device driver of an interface of the peripheral device and a bus that initiates the installation of the peripheral device, wherein the peripheral device is not connected to the electronic device, and wherein the request comprises a request to add the peripheral device, the class identifier of the peripheral device and the device ID of the peripheral device which cause a bus driver of the bus to receive the request and determine a new device is operating on the bus as Plug and Play device; and adding entries to provide Plug and Play functionality to the data structure generated from an existent setup information file that does not provide such functionality. - View Dependent Claims (2, 3, 4, 5, 6, 7, 16)
-
-
8. An apparatus configured to create setup information, and perform the initialization and performance of an installation of a peripheral device of the apparatus, the apparatus comprising:
-
a memory configured to store a device identification (ID) of the peripheral device; and a processor configured to extract data and create a data structure from existent setup information, compare the device ID of the peripheral device to a device ID stored in the data structure, determine whether any changes to the device ID of the peripheral device are necessary based on identified differences between the device ID of the peripheral device as compared to the device ID stored in the data structure, replace the device ID in the data structure with the device ID of the peripheral device, create and store a setup information file from content of the data structure, and create and pass a request to a device driver of an interface of the peripheral device and a bus that initiates the installation of the peripheral device, wherein the peripheral device is not connected to the apparatus, and wherein the request comprises a request to add the peripheral device, the class identifier of the peripheral device and the device ID of the peripheral device which cause a bus driver of the bus to receive the request and determine a new device is operating on the bus as Plug and Play device, wherein the processor is further configured to add entries to provide Plug and Play functionality to the data structure generated from an existent setup information file that does not provide such functionality. - View Dependent Claims (9, 10, 11, 12, 13, 14, 17)
-
-
15. A non-transitory computer readable medium comprising a computer program that when executed causes a processor to perform creation of setup information, and the initialization and performance of an installation of a peripheral device of an electronic device, the processor further being configured to perform:
-
storing a device identification (ID) of the peripheral device; extracting data and creating a data structure from existent setup information; comparing the device ID of the peripheral device to a device ID stored in the data structure; determining whether any changes to the device ID of the peripheral device are necessary based on identified differences between the device ID of the peripheral device as compared to the device ID stored in the data structure; replacing a device ID in the data structure with the device ID of the peripheral device; creating and storing a setup information file from content of the data structure; creating and passing a request to at least one of a device driver of an interface of the peripheral device and a bus that initiates the installation of the peripheral device, wherein the peripheral device is not connected to the electronic device, and wherein the request comprises a request to add the peripheral device, the class identifier of the peripheral device and the device ID of the peripheral device which cause a bus driver of the bus to receive the request and determine a new device is operating on the bus as Plug and Play device, wherein the processor is further configured to add entries to provide Plug and Play functionality to the data structure generated from an existent setup information file that does not provide such functionality. - View Dependent Claims (18)
-
Specification