WO2004008314A1 - Usb device - Google Patents
Usb device Download PDFInfo
- Publication number
- WO2004008314A1 WO2004008314A1 PCT/IB2003/003025 IB0303025W WO2004008314A1 WO 2004008314 A1 WO2004008314 A1 WO 2004008314A1 IB 0303025 W IB0303025 W IB 0303025W WO 2004008314 A1 WO2004008314 A1 WO 2004008314A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- usb
- functionalities
- auxiliary device
- main device
- main
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/10—Program control for peripheral devices
Definitions
- the invention relates to a system comprising a first device arranged to communicate with a second device.
- the first device can be, for example, a USB host.
- the second device can be, for example, a USB device, which communicates with the USB host via a USB bus using the USB protocol.
- the system comprises a USB host, which is connected to various USB devices via a USB bus.
- the USB host communicates with the USB devices with the USB protocol.
- the USB protocol allows connecting several USB devices on the same USB bus using a system of time-sharing based on addressed devices.
- the USB protocol is organized as a master/ slave architecture, the USB host is thus responsible of the time-sharing management.
- the USB host may comprise various applications. One or several services may be needed to run an application. An application uses one or several drivers to access and use the associated services. The drivers may be on the USB host.
- the USB device may comprise various services, in particular those, which are needed by the applications of the USB host.
- a service may be offered, for example, at the device level
- the USB device is organi-zed into several levels a device level, a configuration level, an interface level and an endpoint level. Each level is represented by different USB descriptors:
- a device descriptor describing the overall device The device descriptor may be associated to one or more configuration descriptors.
- a configuration descriptor describing the electrical characteristics of the USB device, or of a part of the USB device.
- the configuration descriptor may be associated to one or more interface descriptors.
- An interface descriptor describing a particular service of the USB device.
- An interface may contain one or more alternate settings.
- the interface descriptor may be associated to zero or more endpoint descriptors.
- the USB device is plugged onto a USB port of the USB host.
- all the USB descriptors are then retrieved from the USB device to the host device.
- the enumeration step is triggered off with the modification of the voltage level on the line D+ or D- (depending on the USB device speed) due to a pull-up resistor present in the USB device on one of the lines.
- the USB Host then uses the descriptors to load all the drivers of the USB device.
- the number of drivers loaded depends on the number of different services present in the USB device. For example, if the USB device is at the same time a scanner and a printer the USB device will have to present two interfaces during the enumeration step. In that case, two drivers, one associated to the scanner interface, and the other one associated to the printer interface, will be loaded. A main driver associated to the device itself could also be loaded.
- US 2001/0027500 discloses a data transmission system comprising a host, a controller connected to the host via a plug and play compatible bus, and a plurality of functions provided by the connected controller, that exceed in number the maximum end points that the controller can support, wherein the controller selects a predetermined number of functions from among the plurality of functions and enumerates, as end points, the functions that match in number the maximum end points, and wherein thereafter, the controller replaces with a different function one of the functions that constitutes the end-points, and re-enumerates the endpoints.
- An object of the invention is to reduce the costs.
- a method of configuring a system comprising a main device and an auxiliary device arranged to co-operate with each other, the main device being arranged to handle one or more functionalities, the auxiliary device being arranged to effect one or more functionalities, characterised in that the method comprises an adaptation step, in which the auxiliary device is made to hide from the main device at least those of its functionalities for which the main device is not arranged to handle.
- the first device can be, for example, a USB host.
- the second device can be, for example, a USB device.
- the functionalities for which the main device is not arranged to handle will be hidden from the main device.
- the invention allows to mass- produce auxiliary devices arranged to effect the same standard set of functionalities. Thus the invention allows a reduction of the costs.
- Fig. 1 illustrates a system comprising a USB host and a USB device.
- Fig.2 illustrates the structure of the USB device
- Fig. 3 illustrates a method of using the system
- Fig. 4 illustrates a system comprising a USB host and a USB device
- Fig. 5 illustrates a method of using the system
- the system comprises a USB host, which is connected to a USB device via a
- USB bus The USB host communicates with the USB devices with the USB protocol.
- the communication between the USB host and the USB device can be made according four different transfer modes:
- Two of these four modes require a bandwidth reservation, which is accorded or not by the USB host after an enumeration phase, depending on the bandwidth already reserved by other USB devices, which are plugged onto the USB bus.
- the USB host comprises various applications (Al, A2). One or several services (SI, S2) are needed to run an application (Al).
- the application Al needs, for example, to use the service SI and the service S2.
- the services (SI, S2, S3, S4) are located on the USB device.
- an application Al may use a driver Dl.
- the USB host also comprises a standard application (AO) associated with a standard driver (DO).
- AO is implemented on a big number of USB hosts. 04/008314
- the USB device comprises various services (SI, S2, S3 and S4) In particular those (SI, S2, S3), which are needed by the applications (Al, A2) of the USB host.
- a service (S) can be offered, for example, at the device level, or at the interface level (S1,S2,S3,S4).
- the USB device also comprises a standard service (SO).
- SO standard service
- the standard service (SO) is implemented on a big number of USB devices.
- the USB device is connected to a USB port of a USB host.
- a negotiation flag is activated or not. If not: in a first enumerating step ENUM1, the USB host will enumerate the USB device. In other words, as illustrated in figure 2, the USB host will retrieve from the USB device to the USB host only the descriptors (I) associated to the standard service SO, in a loading step LOAD, the standard driver DO is loaded into an active memory of the host, in a negotiation step NEGO, the standard application
- the negotiating step comprises the following sub-steps: o a receiving step, in which the standard application AO receives from the standard service SO a first list of all the different services (SI, S2, S3, S4) which are available on the USB device, o a comparing step, in which the standard application compares the first list of all the different services (SI, S2, S3, S4) which are available on the USB device with a second list of the services (SI, S2, S3) needed by the applications (A1.A2) of the USB host to deduce the services to be activated (SI, S2, S3) on the USB device, o a service activating step, in which the USB device 04/008314
- the USB device removes its pull-up resistor in order to detach itself and then re- attach itself.
- a second checking step CHECK2 the USB device checks whether the negotiation flag is activated or not. If yes: in a deactivating step DEACTIV, the negotiation flag is deactivated, in a second enumerating step ENUM2, the USB host enumerates the USB device. As illustrated in figure 2, only the descriptors (II) associated to the services (SI, S2, S3) which have been activated and the descriptor associated to the standard service (SO) will be retrieved, in a second loading step LOAD2, the standard driver DO and the drivers associated to the services (SI, S2, S3) which have been activated are loaded into the active memory of the USB host.
- DEACTIV the negotiation flag is deactivated
- ENUM2 the USB host enumerates the USB device.
- the standard driver DO and the drivers associated to the services (SI, S2, S3) which have been activated are loaded into the active memory of the USB host.
- USB device is now ready for use.
- the standard service SO
- AO standard application
- the standard application (AO) can negotiate the activation of the new service (S4) in a new negotiating step.
- OPEN In an opening step OPEN, user opens a new application (A3) requiring a service (S4), which is not available in the current configuration of the USB device.
- the USB host activates the service (S4).
- the USB device activates the negotiation flag.
- the USB device removes its pull-up resistor in order to detach itself and then re-attach.
- a checking step CHECK the USB device checks whether the negotiation flag is activated or not. If yes: in a deactivating step DEACTIV, the negotiation flag is deactivated, in an enumerating step ENUM, the USB host enumerates the USB device. As illustrated in figure 2, only the descriptors (III) associated to the services (SI, S2, S3, S4) which have been activated and the descriptor associated to the standard service (SO) will be retrieved, - in a loading step LOAD, the standard driver DO and the drivers associated to the services (SI, S2, S3,S4) which have been activated are loaded into the active memory of the USB host.
- the device is ready for use.
- the invention concerns a method of configuring a system.
- the system comprises a main device and an auxiliary device.
- the main device and the auxiliary device are arranged to co-operate with each other.
- the main device is arranged to handle one or more functionalities.
- the auxiliary device is arranged to effect one or more functionalities.
- the method is characterised in that the method comprises an adaptation step, in which the auxiliary device is made to hide from the main device at least those of its functionalities that the main device cannot handle.
- the first device can be, for example, a USB host in particular a computer, a PDA or GSM.
- the second device can be, for example, a USB device in particular a smart card or more generally any device that can be personalized, for example, a PDA or GSM.
- the USB device can be, for example, a Smart Card comprising three different services:
- DRM Data streaming application
- the Smart Card can be used in different USB hosts non- exhaustively listed hereafter:
- USB device The services located on the USB device are not necessarily related to the USB device itself.
- the services can be vendor specific or not.
- a smartcard (USB device) may have a modem service, so that the smartcard can be seen as a distant terminal through a modem connection.
- USB protocol like, for example, firewire based protocol may be used.
- the first list of services and the second list of services have been used to deduce the services to be activated on the USB device. More generally any other set of data defining the services can be used to deduce the services to be activated. It can be, for example, a set of data identifying various services and giving the bandwidth needed by these services.
- USB Device Classes can be defined.
- the USB hosts must contain default drivers for the defined classes.
- a USB Device Class is modified because, for example, some new functionality is added, it is difficult to update all the USB hosts.
- the above-described invention allows adding some functionality to a device without having to modify the Device Class, and so, without modifying the standard drivers of the USB host.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Systems (AREA)
- Formation And Processing Of Food Products (AREA)
- Confectionery (AREA)
- Eye Examination Apparatus (AREA)
- Dc-Dc Converters (AREA)
- Rectifiers (AREA)
Abstract
Description
Claims
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
AT03740934T ATE530982T1 (en) | 2002-07-15 | 2003-07-08 | USB DEVICE |
AU2003281098A AU2003281098A1 (en) | 2002-07-15 | 2003-07-08 | Usb device |
US10/521,084 US7461177B2 (en) | 2002-07-15 | 2003-07-08 | Device functionalities negotiation, fallback, backward-compatibility, and reduced-capabilities simulation |
EP03740934A EP1530757B1 (en) | 2002-07-15 | 2003-07-08 | Usb device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP02291778.5 | 2002-07-15 | ||
EP02291778 | 2002-07-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2004008314A1 true WO2004008314A1 (en) | 2004-01-22 |
Family
ID=30011263
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/IB2003/003025 WO2004008314A1 (en) | 2002-07-15 | 2003-07-08 | Usb device |
Country Status (5)
Country | Link |
---|---|
US (2) | US7461177B2 (en) |
EP (1) | EP1530757B1 (en) |
AT (1) | ATE530982T1 (en) |
AU (1) | AU2003281098A1 (en) |
WO (1) | WO2004008314A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7180920B2 (en) | 2003-03-18 | 2007-02-20 | Loma Linda University Medical Center | Method and apparatus for material processing |
EP2131287A1 (en) * | 2008-06-02 | 2009-12-09 | Gemalto SA | Electronic device for providing self-adapting services according to the platform of the host device to which it is connected |
WO2010077489A1 (en) * | 2008-12-08 | 2010-07-08 | Symbol Technologies, Inc. | System and method for configuring an electronic device |
Families Citing this family (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8046508B2 (en) * | 2004-04-21 | 2011-10-25 | Stmicroelectronics, Inc. | Smart card with self-detachment features and related methods |
US7904607B2 (en) * | 2004-04-21 | 2011-03-08 | Stmicroelectronics, Inc. | Smart card with self-reconfiguration features and related methods |
US7328849B2 (en) * | 2004-04-21 | 2008-02-12 | Stmicroelectronics, Inc. | Smart card providing data mapping for multiple applications and related methods |
JP4466739B2 (en) * | 2008-01-15 | 2010-05-26 | コニカミノルタビジネステクノロジーズ株式会社 | Image forming apparatus |
JP4561873B2 (en) * | 2008-05-16 | 2010-10-13 | コニカミノルタビジネステクノロジーズ株式会社 | Information processing device |
US8521918B2 (en) | 2009-11-10 | 2013-08-27 | Hewlett-Packard Development Company, L.P. | Selectively hiding an interface controller from an operating system |
CN101739364A (en) * | 2009-12-08 | 2010-06-16 | 中兴通讯股份有限公司 | USB interface-based communication equipment and method for realizing service allocation |
US9134923B2 (en) | 2010-08-27 | 2015-09-15 | Fxi Technologies As | Electronics device |
US9124934B2 (en) * | 2012-01-10 | 2015-09-01 | Intuit Inc. | Rule-based classification of electronic devices |
US20170168971A1 (en) * | 2015-12-15 | 2017-06-15 | Intel IP Corporation | Re-enumerating media agnostic devices |
US10409734B1 (en) * | 2017-03-27 | 2019-09-10 | Symantec Corporation | Systems and methods for controlling auxiliary device access to computing devices based on device functionality descriptors |
CN115391242A (en) * | 2021-12-01 | 2022-11-25 | 威锋电子股份有限公司 | USB integrated circuit, operation method of USB integrated circuit and USB device |
WO2023135477A1 (en) * | 2022-01-13 | 2023-07-20 | High Sec Labs Ltd. | System and method for secure copy-and-paste opertions between hosts through a peripheral sharing device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6012103A (en) * | 1997-07-02 | 2000-01-04 | Cypress Semiconductor Corp. | Bus interface system and method |
US6199137B1 (en) * | 1999-01-05 | 2001-03-06 | Lucent Technolgies, Inc. | Method and device for controlling data flow through an IO controller |
US20010027500A1 (en) * | 2000-03-09 | 2001-10-04 | International Business Machines Corporation | Data transmission system, data transmission terminal, controller and interface method |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6216230B1 (en) * | 1998-02-11 | 2001-04-10 | Durango Corporation | Notebook security system (NBS) |
US6151647A (en) * | 1998-03-26 | 2000-11-21 | Gemplus | Versatile interface smart card |
JP3795712B2 (en) * | 1999-09-02 | 2006-07-12 | アルプス電気株式会社 | Peripheral device connection device |
US6986030B2 (en) * | 2000-10-27 | 2006-01-10 | M-Systems Flash Disk Pioneers Ltd. | Portable memory device includes software program for interacting with host computing device to provide a customized configuration for the program |
US6754725B1 (en) * | 2001-05-07 | 2004-06-22 | Cypress Semiconductor Corp. | USB peripheral containing its own device driver |
US20020178316A1 (en) * | 2001-05-23 | 2002-11-28 | Schmisseur Mark A. | System and method for defining private functions of a multi-function peripheral device |
US6738834B1 (en) * | 2002-07-15 | 2004-05-18 | Cypress Microsystems | System for reconfiguring a peripheral device using configuration residing on the peripheral device by electronically simulating a physical disconnection and reconnection to a host device |
-
2003
- 2003-07-08 AT AT03740934T patent/ATE530982T1/en not_active IP Right Cessation
- 2003-07-08 WO PCT/IB2003/003025 patent/WO2004008314A1/en not_active Application Discontinuation
- 2003-07-08 EP EP03740934A patent/EP1530757B1/en not_active Expired - Lifetime
- 2003-07-08 AU AU2003281098A patent/AU2003281098A1/en not_active Abandoned
- 2003-07-08 US US10/521,084 patent/US7461177B2/en not_active Expired - Fee Related
- 2003-07-15 US US10/521,228 patent/US20050251596A1/en not_active Abandoned
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6012103A (en) * | 1997-07-02 | 2000-01-04 | Cypress Semiconductor Corp. | Bus interface system and method |
US6199137B1 (en) * | 1999-01-05 | 2001-03-06 | Lucent Technolgies, Inc. | Method and device for controlling data flow through an IO controller |
US20010027500A1 (en) * | 2000-03-09 | 2001-10-04 | International Business Machines Corporation | Data transmission system, data transmission terminal, controller and interface method |
Non-Patent Citations (1)
Title |
---|
JOHN HOWARD; STEVE MCGOWAN: "USB Feature Specification : Dynamic Logical-Device", 27 October 1999, INTEL CORPORATION, XP002224120 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7180920B2 (en) | 2003-03-18 | 2007-02-20 | Loma Linda University Medical Center | Method and apparatus for material processing |
EP2131287A1 (en) * | 2008-06-02 | 2009-12-09 | Gemalto SA | Electronic device for providing self-adapting services according to the platform of the host device to which it is connected |
WO2009147027A1 (en) * | 2008-06-02 | 2009-12-10 | Gemalto Sa | Electronic device for providing self-adapting services depending on the platform of the host equipment with which it is connected |
US8898421B2 (en) | 2008-06-02 | 2014-11-25 | Gemalto Sa | Electronic device for providing self-adapting services depending on the platform of the host equipment with which it is connected |
KR101551731B1 (en) | 2008-06-02 | 2015-09-09 | 제말토 에스에이 | Electronic device for providing self-adapting services depending on the platform of the host equipment with which it is connected |
WO2010077489A1 (en) * | 2008-12-08 | 2010-07-08 | Symbol Technologies, Inc. | System and method for configuring an electronic device |
US8082369B2 (en) | 2008-12-08 | 2011-12-20 | Symbol Technologies, Inc. | System and method for configuring an electronic device |
Also Published As
Publication number | Publication date |
---|---|
US20050251596A1 (en) | 2005-11-10 |
EP1530757A1 (en) | 2005-05-18 |
US7461177B2 (en) | 2008-12-02 |
AU2003281098A1 (en) | 2004-02-02 |
ATE530982T1 (en) | 2011-11-15 |
EP1530757B1 (en) | 2011-10-26 |
US20060101182A1 (en) | 2006-05-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7461177B2 (en) | Device functionalities negotiation, fallback, backward-compatibility, and reduced-capabilities simulation | |
US10445258B1 (en) | Method for creation of device drivers and device objects for peripheral devices | |
JP5085334B2 (en) | USB / OTG controller | |
US6012103A (en) | Bus interface system and method | |
US5519851A (en) | Portable PCMCIA interface for a host computer | |
US5797031A (en) | Method and apparatus for peripheral device control by clients in plural memory addressing modes | |
US9081705B2 (en) | Methods and apparatus for reliable detection and enumeration of devices | |
EP1264461B1 (en) | A method of communication between a smart card and a host station | |
US5920709A (en) | Bus interface for IDE device | |
US7895386B2 (en) | USB interface provided with host/device function and its control method | |
TWI375890B (en) | Electronic system, usb link, ulpi phy and method for transmitting an extended transaction | |
US20020011516A1 (en) | Smart card virtual hub | |
US20020029303A1 (en) | Reconfigurable communication interface and method therefor | |
US6295566B1 (en) | PCI add-in-card capability using PCI-to-PCI bridge power management | |
JPH07507412A (en) | Reconfigurable interface between computer and peripherals | |
US20040162929A1 (en) | USB hub with soft select ports | |
US20070233973A1 (en) | Storage Medium Storing Drive Configuration Setting Program | |
US20140280960A1 (en) | Methods and apparatus for dynamically allocating devices between multiple controllers | |
US20080162954A1 (en) | Selectively powered data interfaces | |
US20080162957A1 (en) | Selectively powering data interfaces | |
WO2004008313A1 (en) | Usb device | |
WO2010049310A1 (en) | Usb device able to automatically adapt to usb capability of a connected host | |
EP1817677B1 (en) | Usb on-the-go controller | |
US20050086415A1 (en) | PCI-PCMCIA smart card reader |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NI NO NZ OM PH PL PT RO RU SC SD SE SG SK SL TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): GH GM KE LS MW MZ SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
DFPE | Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101) | ||
WWE | Wipo information: entry into national phase |
Ref document number: 2003740934 Country of ref document: EP |
|
WWP | Wipo information: published in national office |
Ref document number: 2003740934 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2006101182 Country of ref document: US Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 10521084 Country of ref document: US |
|
WWP | Wipo information: published in national office |
Ref document number: 10521084 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 |