WO2003046720A2 - Device driver system - Google Patents

Device driver system Download PDF

Info

Publication number
WO2003046720A2
WO2003046720A2 PCT/GB2002/005233 GB0205233W WO03046720A2 WO 2003046720 A2 WO2003046720 A2 WO 2003046720A2 GB 0205233 W GB0205233 W GB 0205233W WO 03046720 A2 WO03046720 A2 WO 03046720A2
Authority
WO
WIPO (PCT)
Prior art keywords
driver
operating system
hardware
additional
audio
Prior art date
Application number
PCT/GB2002/005233
Other languages
French (fr)
Other versions
WO2003046720A3 (en
Inventor
Peter Stokes
Michael Percy
Original Assignee
Sensaura Limited
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sensaura Limited filed Critical Sensaura Limited
Publication of WO2003046720A2 publication Critical patent/WO2003046720A2/en
Publication of WO2003046720A3 publication Critical patent/WO2003046720A3/en
Priority to US10/849,747 priority Critical patent/US8424022B2/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/105Program control for peripheral devices where the programme performs an input/output emulation function

Definitions

  • This invention relates to systems for driving computer peripherals that have features which are not envisaged by the generic operating system for the computer, and it relates especially, though not exclusively, to the implementation of 3D sound capability via Universal Serial Bus (USB) audio hardware.
  • USB Universal Serial Bus
  • the Microsoft Windows family of operating systems is currently widespread and dominant in the computer market and hence all audio-related peripheral devices, such as sound cards and loudspeakers, are built to comply with a suitable Windows interface.
  • audio-related peripheral devices such as sound cards and loudspeakers
  • Windows provides well-defined interfaces between the operating system and drivers for envisaged devices; the interface in each case being defined by a Windows Driver Model (WDM) .
  • WDM Windows Driver Model
  • the WDM specification covers drivers for all envisaged devices and there are detailed sections of the specification that relate to a range of device classes, such as printers, graphics and audio devices. These more detailed sections specify the content and form of the information that must flow through the WDM interface in order to achieve the envisaged functionality of the respective device classes.
  • FIG. 1 of the accompanying drawings illustrates schematically the relationship between an operating system 1, a WDM audio driver 3 and a hardware device 5; the system 1 being linked to the driver 3 by means of a WDM interface 2 and the driver 3 being linked to the hardware 5 by means of an interface 4.
  • the WDM interface 2 dictates that all communication between the operating system 1 and the device driver 3 is conveyed as Input/Output Request Packets (IRPs) ; these being memory data structures of predefined format that are initialized with data pertaining to a required operation. IRPs can carry information both from and to the driver 3 as well as an instruction to perform a function and, for every required operation, the operating system creates one or more IRPs that are sent to the device driver. The device driver is then required to respond in a prescribed manner, according to the WDM specification.
  • IRPs Input/Output Request Packets
  • the invention aims to provide a device driver system which can enable, without incurring the drawbacks referred to above, the implementation of functionalities not catered for by the provider of the operating system.
  • a device driving system enabling operation of at least one further hardware device of functionality differing from said predetermined functionality and unsupported by said software system; the device driving system including additional driver means interposed between the operating system and the said installed driver and configured to interface directly with at least said operating system.
  • the additional driver means is also configured to interface directly with said installed driver, thereby enabling continued and unchanged use of said at least one hardware device of predetermined functionality.
  • the said additional driver means is additionally configured to interface with a further driver which is configured to drive an additional hardware device. This permits the original at least one hardware device to continue in use in conjunction with the additional hardware device.
  • said hardware devices are audio devices and in particular the original at least one device comprises USB audio hardware and the additional device comprises hardware associated with 3D positioning of sounds or environmental effects .
  • the operating system is the Windows operating system and the said installed driver comprises a Windows Driver Model (WDM) audio driver.
  • WDM Windows Driver Model
  • This invention thus provides, under the control of a specific operating system, for the operation of hardware envisaged by the provider of the system and additional hardware not envisaged by the system provider, and is thus distinguished from systems, such as that described in EP-A- 0 798 637, for adapting an application program to communicate with a device driver in a different operating environment or device driver systems, such as that described in EP-A-0 506 278, intended to be generic to a plurality of different operating systems.
  • Figure 1 has already been referred to and Figure 2 shows, in schematic form similar to that of Figure 1, a device driver system in accordance with one embodiment of the present invention.
  • the driver 3 which, in this example, is a WDM audio driver, is disposed intermediate the windows operating system 1 and the USB audio hardware 5.
  • the audio driver 3 can be conceptually regarded as comprising three entities respectively performing the following functions:
  • the present invention is concerned, as has been stated, with permitting the usage of hardware devices which are not catered for by the operating system 1, without adversely affecting the functionality of hardware devices originally supported by the operating system 1, and one way of implementing the invention will now be described with reference to Figure 2.
  • driver 6 is interposed between the operating system 1 and the WDM driver 3, and replicates the interface 2 at its interfaces with both.
  • the new driver 6 resembles driver 3 and its three functional entities are arranged to perform the following functions :
  • the new driver 6 communicates directly with the operating system 1, it is able to offer any required features.
  • the original manufacturer's driver 3 is communicated with from the new driver 6 in a manner which is indistinguishable from direct communication with the operating system, and it therefore functions normally, with the audio being produced by the hardware 5, thus the hardware which it drives can comprise the original device 5 or a new and previously unsupported device such as a 3D sound system.
  • the device driver 6 can be provided with one or more additional WDM interfaces, as shown in Figure 2; all of such additional interfaces being identical to the interface 2. This permits the operation of optional additional hardware devices such as 9 by way of additional WDM audio drivers such as 7 operating over respective interfaces such as 8.
  • additional WDM audio drivers such as 7 operating over respective interfaces such as 8.
  • extended functionality can be offered by using multiple input and output devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to systems for driving computer peripherals having features, such as 3D sound capability, which are not envisaged by generic operating system for the computer. In order to adapt computers subject to existing operating systems, such as the Microsoft Windows family of systems, to such peripherals for which there is thus no driver capability, the invention provides a device driving system including additional driver, interposed between the operating system and an existing installed driver and configured to interface directly with the operating system. The additional driver is preferably also configured to interface directly with the existing installed driver.

Description

DEVICE DRIVER SYSTEM
This invention relates to systems for driving computer peripherals that have features which are not envisaged by the generic operating system for the computer, and it relates especially, though not exclusively, to the implementation of 3D sound capability via Universal Serial Bus (USB) audio hardware.
The Microsoft Windows family of operating systems is currently widespread and dominant in the computer market and hence all audio-related peripheral devices, such as sound cards and loudspeakers, are built to comply with a suitable Windows interface. However there are certain features, such as 3D positioning of sounds and environmental effects, that are not specifically catered for by the system provider and for which there is thus no driver capability.
Windows provides well-defined interfaces between the operating system and drivers for envisaged devices; the interface in each case being defined by a Windows Driver Model (WDM) . The WDM specification covers drivers for all envisaged devices and there are detailed sections of the specification that relate to a range of device classes, such as printers, graphics and audio devices. These more detailed sections specify the content and form of the information that must flow through the WDM interface in order to achieve the envisaged functionality of the respective device classes.
Unfortunately, there is no simple way of enabling the system to perform functionalities that have not been incorporated into the drivers by the provider of the operating system. Figure 1 of the accompanying drawings illustrates schematically the relationship between an operating system 1, a WDM audio driver 3 and a hardware device 5; the system 1 being linked to the driver 3 by means of a WDM interface 2 and the driver 3 being linked to the hardware 5 by means of an interface 4.
The WDM interface 2 dictates that all communication between the operating system 1 and the device driver 3 is conveyed as Input/Output Request Packets (IRPs) ; these being memory data structures of predefined format that are initialized with data pertaining to a required operation. IRPs can carry information both from and to the driver 3 as well as an instruction to perform a function and, for every required operation, the operating system creates one or more IRPs that are sent to the device driver. The device driver is then required to respond in a prescribed manner, according to the WDM specification.
If it is desired to employ, in such an environment, a hardware application for which the device driver is not configured, such as that required to achieve 3D sound capability, then the functionality of the device driver needs to be altered and/or augmented. However the two most direct methods available for putting such alteration and/or augmentation into effect both have significant drawbacks associated with them.
In order, for example, to modify the source code for the driver, one naturally needs to have access to the source code. That for Microsoft's USB audio driver is not available for alteration and, even if it were, there would be concerns about the alterations creating unexpected ramifications in other areas of the functionality. If, on the other hand, one were to incorporate a WDM filter driver, allowing modifications to be made to the stream of IRPs flowing between the operating system and the driver, different problems could arise. In particular, because the IRP data structure is designed to implement generic communications between the operating system and the device driver of a generic device, the IRPs transmitted do not always map simply on to the complex operations being requested. Thus it is often impractical to augment the existing functionality of the base device in this way because there are insufficient features upon which to build.
The invention aims to provide a device driver system which can enable, without incurring the drawbacks referred to above, the implementation of functionalities not catered for by the provider of the operating system.
According to the invention there is provided, in a software-implemented arrangement for driving at least one hardware device of predetermined functionality from an operating system that communicates with an installed driver for said hardware device, a device driving system enabling operation of at least one further hardware device of functionality differing from said predetermined functionality and unsupported by said software system; the device driving system including additional driver means interposed between the operating system and the said installed driver and configured to interface directly with at least said operating system.
Preferably, the additional driver means is also configured to interface directly with said installed driver, thereby enabling continued and unchanged use of said at least one hardware device of predetermined functionality. In a further preferred arrangement, the said additional driver means is additionally configured to interface with a further driver which is configured to drive an additional hardware device. This permits the original at least one hardware device to continue in use in conjunction with the additional hardware device.
Preferably said hardware devices are audio devices and in particular the original at least one device comprises USB audio hardware and the additional device comprises hardware associated with 3D positioning of sounds or environmental effects .
In one preferred embodiment the operating system is the Windows operating system and the said installed driver comprises a Windows Driver Model (WDM) audio driver.
This invention thus provides, under the control of a specific operating system, for the operation of hardware envisaged by the provider of the system and additional hardware not envisaged by the system provider, and is thus distinguished from systems, such as that described in EP-A- 0 798 637, for adapting an application program to communicate with a device driver in a different operating environment or device driver systems, such as that described in EP-A-0 506 278, intended to be generic to a plurality of different operating systems.
In order that the invention may be clearly understood and readily carried into effect, one embodiment thereof will now be described, by way of example only, with reference to the accompanying drawings, of which:
Figure 1 has already been referred to and Figure 2 shows, in schematic form similar to that of Figure 1, a device driver system in accordance with one embodiment of the present invention.
With reference back to Figure 1, it will be recalled that the driver 3 which, in this example, is a WDM audio driver, is disposed intermediate the windows operating system 1 and the USB audio hardware 5.
The audio driver 3 can be conceptually regarded as comprising three entities respectively performing the following functions:
(a) managing the interface between the operating system 1 and the driver 3, in particular with regard to processing and responding to IRPs;
(b) processing the data fed into the driver 3 and
(c) managing the hardware device, such as by writing control values into registers.
The present invention is concerned, as has been stated, with permitting the usage of hardware devices which are not catered for by the operating system 1, without adversely affecting the functionality of hardware devices originally supported by the operating system 1, and one way of implementing the invention will now be described with reference to Figure 2.
In Figure 2, components and functions common to Figure 1 carry the same reference numbers, and it will be seen that there is essentially provided a new device driver 6. The driver 6 is interposed between the operating system 1 and the WDM driver 3, and replicates the interface 2 at its interfaces with both. The new driver 6 resembles driver 3 and its three functional entities are arranged to perform the following functions :
(a) responding to IRPs from the system 1 in the correct manner, offering all required functionality;
(b) performing all necessary processing of the data in order to provide the required functionality; and
(c) communicating with the driver 3 using the same IRP structures that the operating system 1 would normally use.
Since the new driver 6 communicates directly with the operating system 1, it is able to offer any required features. The original manufacturer's driver 3 is communicated with from the new driver 6 in a manner which is indistinguishable from direct communication with the operating system, and it therefore functions normally, with the audio being produced by the hardware 5, thus the hardware which it drives can comprise the original device 5 or a new and previously unsupported device such as a 3D sound system.
In the event that it is desired to maintain drive control over existing audio devices whilst further providing drive for a new device, the device driver 6 can be provided with one or more additional WDM interfaces, as shown in Figure 2; all of such additional interfaces being identical to the interface 2. This permits the operation of optional additional hardware devices such as 9 by way of additional WDM audio drivers such as 7 operating over respective interfaces such as 8. The approach described herein of utilizing a new driver such as 6 with which the operating system 1 communicates directly, offers a number of advantageous features, as follows :
1) existing audio device drivers remain in use, thereby making optimum use of available drivers without alteration, Retrofitting to any WDM compliant audio device is thus facilitated;
2) The implementation of the WDM specification by the new driver (6) is indistinguishable from that of a standard device driver, thus no alterations are required either to the operating system or the applications executed under it;
3) The WDM specification is implemented on all recent versions of the Microsoft Windows family of operating systems and thus it is possible to use the same approach and, indeed, the same device driver, on all such versions; and
4) extended functionality can be offered by using multiple input and output devices.

Claims

CLAIMS :
1. In a software-implemented arrangement for driving at least one hardware device of predetermined functionality from an operating system that communicates with an installed driver for said hardware device, a device driving system enabling operation of at least one further hardware device of functionality differing from said predetermined functionality and unsupported by said software system; the device driving system including additional driver means interposed between the operating system and the said installed driver and configured to interface directly with at least said operating system.
2. A system according to claim 1 wherein the additional driver means is also configured to interface directly with said installed driver, thereby enabling continued and unchanged use of said at least one hardware device of predetermined functionality.
3. A system according to claim 1 or claim 2 wherein the said additional driver means is additionally configured to interface with a further driver which is configured to drive an additional hardware device.
4. A system according to any preceding claim wherein said hardware devices are audio devices .
5. A system according to claim 4 wherein said at least one device comprises USB audio hardware and the additional device comprises hardware associated with 3D positioning of sounds or environmental effects.
6. A system according to any preceding claim wherein the operating system is the Windows operating system and the said installed driver comprises a Windows Driver Model (WDM) audio driver.
PCT/GB2002/005233 2001-11-21 2002-11-20 Device driver system WO2003046720A2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/849,747 US8424022B2 (en) 2001-11-21 2004-05-19 Device driver system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
GBGB0127865.4A GB0127865D0 (en) 2001-11-21 2001-11-21 Device driver system
GB0127865.4 2001-11-21

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US10/849,747 Continuation US8424022B2 (en) 2001-11-21 2004-05-19 Device driver system

Publications (2)

Publication Number Publication Date
WO2003046720A2 true WO2003046720A2 (en) 2003-06-05
WO2003046720A3 WO2003046720A3 (en) 2003-07-17

Family

ID=9926155

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/GB2002/005233 WO2003046720A2 (en) 2001-11-21 2002-11-20 Device driver system

Country Status (3)

Country Link
US (1) US8424022B2 (en)
GB (1) GB0127865D0 (en)
WO (1) WO2003046720A2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2026230A1 (en) * 2007-08-10 2009-02-18 Ubs Ag Method for sending and receiving data within a cryptographic process

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7610589B2 (en) * 2003-08-22 2009-10-27 Hewlett-Packard Development Company, L.P. Using helper drivers to build a stack of device objects
GB0404696D0 (en) 2004-03-02 2004-04-07 Level 5 Networks Ltd Dual driver interface
US20060168114A1 (en) * 2004-11-12 2006-07-27 Arnaud Glatron Audio processing system
US8132187B2 (en) * 2007-08-31 2012-03-06 Microsoft Corporation Driver installer usable in plural environments
TWI397819B (en) * 2008-12-31 2013-06-01 Asustek Comp Inc System and method for driving hardware device and processing data
US8788683B2 (en) * 2011-08-17 2014-07-22 The Nasdaq Omx Group, Inc. Scalable transcoding for streaming audio
US9185154B2 (en) 2011-08-17 2015-11-10 Nasdaq, Inc. Integrated call capture for streaming audio

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0506278A2 (en) * 1991-03-26 1992-09-30 International Business Machines Corporation Device driver system having generic operating system interface
EP0646865A2 (en) * 1993-09-28 1995-04-05 Bull HN Information Systems Inc. Executing programs of a first system on a second system
US5687376A (en) * 1994-12-15 1997-11-11 International Business Machines Corporation System for monitoring performance of advanced graphics driver including filter modules for passing supported commands associated with function calls and recording task execution time for graphic operation
US6240468B1 (en) * 1998-12-18 2001-05-29 International Business Machines Corporation Interposed graphics device driver module processing function requests within module in standard mode, and passing function requests to specialized mode device driver in specialized mode

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6298370B1 (en) * 1997-04-04 2001-10-02 Texas Instruments Incorporated Computer operating process allocating tasks between first and second processors at run time based upon current processor load
US6460151B1 (en) * 1999-07-26 2002-10-01 Microsoft Corporation System and method for predicting storage device failures
US7237101B1 (en) * 2000-02-12 2007-06-26 International Business Machines Corporation Methods and apparatus for self describing devices
US6646195B1 (en) * 2000-04-12 2003-11-11 Microsoft Corporation Kernel-mode audio processing modules
US7212497B2 (en) * 2000-12-19 2007-05-01 Keys John S Method and driver for detecting glitches
US7093265B1 (en) * 2001-09-21 2006-08-15 Lsi Logic Corporation Method and apparatus for providing highly-transparent, host-based multi-pathing support

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0506278A2 (en) * 1991-03-26 1992-09-30 International Business Machines Corporation Device driver system having generic operating system interface
EP0646865A2 (en) * 1993-09-28 1995-04-05 Bull HN Information Systems Inc. Executing programs of a first system on a second system
US5687376A (en) * 1994-12-15 1997-11-11 International Business Machines Corporation System for monitoring performance of advanced graphics driver including filter modules for passing supported commands associated with function calls and recording task execution time for graphic operation
US6240468B1 (en) * 1998-12-18 2001-05-29 International Business Machines Corporation Interposed graphics device driver module processing function requests within module in standard mode, and passing function requests to specialized mode device driver in specialized mode

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2026230A1 (en) * 2007-08-10 2009-02-18 Ubs Ag Method for sending and receiving data within a cryptographic process

Also Published As

Publication number Publication date
GB0127865D0 (en) 2002-01-16
WO2003046720A3 (en) 2003-07-17
US8424022B2 (en) 2013-04-16
US20040230988A1 (en) 2004-11-18

Similar Documents

Publication Publication Date Title
US6141719A (en) USB selector switch
US20070005867A1 (en) Virtual peripheral device interface and protocol for use in peripheral device redirection communication
US8069288B2 (en) Mechanism to flexibly support multiple device numbers on point-to-point interconnect upstream ports
US20070198996A1 (en) System and method for driving peripheral devices
NZ546282A (en) Standard configurable universal serial bus (USB) device identifier
US7590790B2 (en) Bus device
JP2011054187A (en) Architecture for universal serial bus based pc flash disk
US8424022B2 (en) Device driver system
US6801970B2 (en) Priority transaction support on the PCI-X bus
JP3887376B2 (en) Non-volatile memory service processor access
EP1764702A1 (en) Method and system for identifying usb devices
US8452883B2 (en) Method for data transmission
JPH0673122B2 (en) Programmable connector device
US20030179402A1 (en) Interfacing with a printer using a dynamic print path
US6810432B1 (en) Method for guaranteeing a device minimun bandwidth on a usb bus
CN100362461C (en) System and method for writing to a drive when an application lacks administrator privileges
CN106844273A (en) Access the method and device of DP accessory channels
CN111538993A (en) Device and method for performing credibility measurement by introducing external hardware trust root
KR100608652B1 (en) System for controlling gpio of dual cpu using ril
CN210518379U (en) LIN bus interface equipment
JPH02231622A (en) Printer controlling system
JP4339338B2 (en) Apparatus provided with card bus device and access control method thereof
WO2006095326A2 (en) Universal serial bus bridge
JPH1040208A (en) Device recognition system
US6216192B1 (en) Dynamic resource allocation across bus bridges

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A2

Designated state(s): DE GB JP US

WWE Wipo information: entry into national phase

Ref document number: 10849747

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Country of ref document: JP