Method and apparatus for adding or removing devices from a...

Electrical computers and digital data processing systems: input/ – Input/output data processing – Peripheral monitoring

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C710S108000, C710S104000, C710S010000, C710S015000, C710S017000, C710S019000, C709S241000, C709S226000, C709S220000, C709S241000, C713S001000, C713S323000, C711S115000

Reexamination Certificate

active

06189050

ABSTRACT:

BACKGROUND OF THE INVENTION
Many computer systems such as personal computers are based on the Intel 80×86 or Pentium series of microprocessors, or another compatible microprocessor, and are controlled by Microsoft Corporation's Windows 95 (TM), Windows 98 (TM), or Windows NT (TM) operating system software. In such systems, additional peripheral devices such as hard disk drives, CD-ROM drives, printers, modems, memory modules, and so forth are often added and removed by the user.
For example, an extra hard disk may be added to increase storage capacity. The addition of the hard disk is typically performed by powering-off the computer and inserting the extra hard disk into a port designed to accept such a device. The port connects to a bus linking the device to other components in the system. When the system is subsequently powered-on, as the operating system starts up or “reboots”, the new hard disk device is detected on the bus and the operating system configures itself and the new device for proper operation with one another and application programs. To remove the hard disk, typically, the power is turned-off and the device is removed from the port. When the operating system subsequently reboots, no configuration for the device takes place due to the absence (i.e., removal) of the device on the bus.
During device configuration in both the Windows 95 and Windows NT (TM) operating systems, the system enumerates each device detected on each bus at system start-up. The enumeration process assigns a unique address or number to each device in order to properly access that device. The system also loads device driver software into memory for each device detected, if a driver is not already present. Device drivers provide the required instructions for proper device operation with the operating system and the applications which access the device.
While typical device installation and removal in personal computer systems is performed with the power turned off, certain computer configurations, such as laptop personal computers, provide the option of coupling the laptop portion (i.e., the main computer) to a docking station. In such scenarios, a fully operational (i.e., fully booted) laptop computer may be inserted or “docked” with a docking station. The docking station includes a separate internal bus and bus controller and may contain one or more devices inserted into device ports on the bus within the docking station.
Upon docking, a powered-up computer operating under the Windows 95 (TM) operating system (but not under the Windows NT (TM) operating system) will recognize a new bus controller and its associated bus and will re-enumerate all devices that are inserted into ports on the new bus in the docking station, but only if the device is present (i.e., is inserted in a port) at the time when the powered-up computer is docked with the docking station. For instance, if an operational laptop is docked with a docking station containing a bus controller device, an inserted floppy disk device and an inserted hard disk device, the Windows 95 (TM) operating system will correctly detect and configure the additional bus controller device, as well as the inserted floppy and hard disk devices, even though the power to the laptop was not reset and the laptop was not re-started. The Windows 95 (TM) operating system will correctly enumerate and load device drivers, if necessary, for each device that is present on the newly added bus and will allow the devices to subsequently operate.
However, once this docking configuration process is complete, any additional devices subsequently inserted into empty ports on the bus in the docking station or into ports on the bus in the main computer itself will not be renumerated and will not have device drivers loaded. The only exception to this is if a new device is attached via another new bus controller that may include another additional bus and/or devices. Essentially, non-bus controller devices such as disk drives, CD-ROM's and so forth that are inserted after start-up of the main computer, or after docking, will be inaccessible by applications and the operating system. To add devices to a Windows 95 operating system after the boot process is complete, the new devices can only be inserted via adding a new bus controller and a new bus at the time of docking.
The Windows 95 (TM) operating system allows device configuration for new devices on a newly added bus only when the new bus is coupled to the system with a separate bus controller device. When a new bus controller device is present, the Windows 95 (TM) operating system can be assured that only a new bus is being added and that reconfiguration of devices on this new bus will not conflict with any currently configured device(s) on another bus. The Windows 95 (TM) operating system does not allow the configuration of a new device on an existing bus of devices due to the potential conflict that may arise between the new device(s) and any existing configured device(s).
The Windows NT (TM) operating system contains no mechanism for renumerating or configuring devices added after boot time, whether in a docking station configuration using a separate new bus and bus controller or not.
SUMMARY OF THE INVENTION
The present invention overcomes the aforementioned limitations of the Windows 95 and Windows NT operating systems. Using the present invention, a new device may be added or removed to or from an existing configured bus in a computer running either of the Windows operating systems, after the system is started-up. The invention allows the computer system to correctly configure itself, the bus for operation with the newly added or removed device.
For instance, after a computer has been started-up and is running applications (i.e., is fully operational), a user may encounter a need to access software stored on a CD-ROM when no CD-ROM drive device is installed on the computer system. Using the invention, the user can insert a CD-ROM drive into an unused device port on the computer and the invention will ensure that the operating system is properly configured to operate the newly inserted CD-ROM drive, without the need to shutdown and reboot the machine.
Specifically, the present invention provides a method and an apparatus for accessing a device inserted into a port of a bus of a computer system after start-up of the computer system, even when no new bus controller is added contemporaneously. In the method of the invention, device driver(s) for device(s) that are not presently connected to buses are pre-loaded. Then, insertion of a device into the port is detected, and the type of device inserted into the port is detected. With this information, a device driver associated with the type of device is activated to enable to operating system to access the device.
Another embodiment of the invention provides an operating system for a computer system. The operating system includes a common data structure that stores data associated with at least one device. A device driver loading process is included that loads and enumerates at least one device driver into the data structure portion during start-up of the computer system. This pre-load operation is performed for drivers that are not active immediately after boot-up, but that may be activated later when new devices requiring these drivers are inserted and detected in the system.
In the operating system, a thread process executes after start-up of the computer system and monitors for state transitions of devices into the computer system. Upon insertion detection, the thread process activates the loaded device driver for the inserted device. Upon detection of device removal, the thread process de-activates the loaded device driver for the removed device. In this manner, the operating system can accommodate devices inserted or removed at any time after system start-up.
By pre-loading device driver(s) and providing a thread process to monitor device insertion and removal, the invention avoids device enumeration problems associated with the prior art opera

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for adding or removing devices from a... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for adding or removing devices from a..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for adding or removing devices from a... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-2588670

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.