Belkin F8E211 Guia do Utilizador Página 1

Consulte online ou descarregue Guia do Utilizador para não Belkin F8E211. Belkin F8E211 User`s guide Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 107
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 0
QNX
®
Momentics
®
DDK
Universal Serial Bus (USB) Devices
For QNX
®
Neutrino
®
6.3.0 or QNX
®
4
© 2007, QNX Software Systems GmbH & Co. KG.
Vista de página 0
1 2 3 4 5 6 ... 106 107

Resumo do Conteúdo

Página 1 - Momentics

QNX®Momentics®DDKUniversal Serial Bus (USB) DevicesFor QNX®Neutrino®6.3.0 or QNX®4© 2007, QNX Software Systems GmbH & Co. KG.

Página 2 - Publishing history

Building DDKs © 2007, QNX Software Systems GmbH & Co. KG.Please refer to the Managing Source Code chapter, and “QNX Source Package” inthe Common W

Página 3 - Contents

usbd_urb_status() © 2007, QNX Software Systems GmbH & Co. KG.Return status information on a URBSynopsis:#include <sys/usbdi.h>int usbd_urb_s

Página 4 - Contents September 10, 2007

© 2007, QNX Software Systems GmbH & Co. KG. usbd_urb_status()USBD_STATUS_BITSTUFFINGThe last packet from the endpoint contained a bit-stuffing viol

Página 5 - Index 89

usbd_urb_status() © 2007, QNX Software Systems GmbH & Co. KG.Classification:QNX Neutrino, QNX 4SafetyCancellation point NoInterrupt handler NoSigna

Página 6

Index!_USBDI_NFUNCS 29Aarguments, getting command-line 22assumptions ixBbulk data transfers 8, 70bus topology, getting information about 84Ccallbacks

Página 7 - About the USB DDK

Index © 2007, QNX Software Systems GmbH & Co. KG.detaching from 8, 34extra memory, getting a pointer to 38features, controlling 43frame number and

Página 8

© 2007, QNX Software Systems GmbH & Co. KG. IndexMmemorydata transfersallocating 19freeing 45getting physical address of 58management functions 15

Página 9 - Assumptions

Index © 2007, QNX Software Systems GmbH & Co. KG.vendor-specific transfers 8, 78submitting 8, 54usb 11USBdescriptors, getting and setting 8, 32link

Página 10 - # cd my_DDK

© 2007, QNX Software Systems GmbH & Co. KG. Indexusbd_status() 80usbd_string_descriptor_t 56usbd_string() 82USBD_TIME_DEFAULT 54USBD_TIME_INFINITY

Página 11 - Building DDKs

© 2007, QNX Software Systems GmbH & Co. KG. Building DDKsprebuilt install srcddk_install_dirplatformsmouseprinterkeyboarddevuhardwareincludeclassD

Página 12 - Typographical conventions

Typographical conventions © 2007, QNX Software Systems GmbH & Co. KG.In ksh and bash shells, All shell scripts are executed in a sub-shell by defa

Página 13 - Technical support

© 2007, QNX Software Systems GmbH & Co. KG. Technical supportReference ExampleUser-interface components CancelWe use an arrow (→) in directions fo

Página 15 - In this chapter. .

Chapter 1Before You BeginIn this chapter. . .System requirements 3USB devices supported 3Known limitations 3September 10, 2007 Chapter 1 • Before You

Página 17 - Known limitations

© 2007, QNX Software Systems GmbH & Co. KG. Known limitationsSystem requirementsThis USB DDK is designed to work with both QNX Neutrino 6 and with

Página 18 - Photon and text mode

Known limitations © 2007, QNX Software Systems GmbH & Co. KG.Photon and text modeIf you’re using Photon as well as text mode, you won’t be able to

Página 19 - Overview

Chapter 2OverviewIn this chapter. . .The USB stack and library 7How a class driver works 8September 10, 2007 Chapter 2 • Overview 5

Página 20

© 2000–2007, QNX Software Systems GmbH & Co. KG. All rights reserved.Published under license by:QNX Software Systems International Corporation175

Página 22 - How a class driver works

© 2007, QNX Software Systems GmbH & Co. KG. The USB stack and libraryThe USB stack and libraryUSB (Universal Serial Bus) is a hardware and protoco

Página 23 - USB Utilities

How a class dr iver works © 2007, QNX Software Systems GmbH & Co. KG.class of device, just as if they’d been started by the enumerator. When a dev

Página 24

Chapter 3USB UtilitiesSeptember 10, 2007 Chapter 3 • USB Utilities 9

Página 26

© 2007, QNX Software Systems GmbH & Co. KG.The USB Software Development Kit contains the following command-line utilities.For more information, se

Página 28

Chapter 4USB Library ReferenceIn this chapter. . .Functions arranged by category 15usbd_abort_pipe() 18usbd_alloc() 19usbd_alloc_urb() 21usbd_args_loo

Página 29 - I/O functions

© 2007, QNX Software Systems GmbH & Co. KG.usbd_string() 82usbd_topology(), usbd_topology_ext() 84usbd_urb_status() 8614 Chapter 4 • USB Library R

Página 30 - Pipe-management functions

© 2007, QNX Software Systems GmbH & Co. KG. Functions arranged by categoryThis chapter includes descriptions of the USB functions in alphabetical

Página 31

ContentsAbout the USB DDK viiWhat you’ll find in this guide ixAssumptions ixBuilding DDKs ixTypographical conventions xiiNote to Windows users xiiiTech

Página 32 - Abort all requests on a pipe

Functions arranged by category © 2007, QNX Software Systems GmbH & Co. KG.usbd_setup_isochronous()Set up a URB for an isochronous transfer.usbd_se

Página 33 - #include <sys/usbdi.h>

© 2007, QNX Software Systems GmbH & Co. KG. Functions arranged by categoryusbd_device_lookup()Map the device instance identifier to an opaque devic

Página 34

usbd_abort_pipe() © 2007, QNX Software Systems GmbH & Co. KG.Abort all requests on a pipeSynopsis:#include <sys/usbdi.h>int usbd_abort_pipe(

Página 35

© 2007, QNX Software Systems GmbH & Co. KG. usbd_alloc()Allocate a memory area to use for data transfersSynopsis:#include <sys/usbdi.h>void

Página 36

usbd_alloc() © 2007, QNX Software Systems GmbH & Co. KG.See also:usbd_alloc_urb(), usbd_free(), usbd_free_urb(), usbd_mphys()20 Chapter 4 • USB Li

Página 37

© 2007, QNX Software Systems GmbH & Co. KG. usbd_alloc_urb()Allocate a USB Request Block for subsequent URB-based operationsSynopsis:#include <

Página 38

usbd_args_lookup() © 2007, QNX Software Systems GmbH & Co. KG.Look up a driver’s command-line argumentsSynopsis:#include <sys/usbdi.h>void u

Página 39

© 2007, QNX Software Systems GmbH & Co. KG. usbd_attach()Attach to a USB deviceSynopsis:#include <sys/usbdi.h>int usbd_attach( struct usbd_c

Página 40

usbd_attach() © 2007, QNX Software Systems GmbH & Co. KG.LoopingAnother way to attach is to loop and attach to all devices (in which case you buil

Página 41

© 2007, QNX Software Systems GmbH & Co. KG. usbd_close_pipe()Close a pipe previously opened by usbd_open_pipe()Synopsis:#include <sys/usbdi.h&g

Página 42

© 2007, QNX Software Systems GmbH & Co. KG.Miscellaneous and convenience functions 16usbd_abort_pipe() 18usbd_alloc() 19usbd_alloc_urb() 21usbd_ar

Página 43

usbd_configuration_descriptor() © 2007, QNX Software Systems GmbH & Co. KG.Get the configuration descriptor for a specific configuration settingSynops

Página 44 - Examples:

© 2007, QNX Software Systems GmbH & Co. KG. usbd_configuration_descriptor()SafetyCancellation point NoInterrupt handler NoSignal handler NoThread Y

Página 45 - Caveats:

usbd_connect() © 2007, QNX Software Systems GmbH & Co. KG.Connect a client driver to the USB stackSynopsis:#include <sys/usbdi.h>int usbd_co

Página 46

© 2007, QNX Software Systems GmbH & Co. KG. usbd_connect()ident A pointer to a usbd_device_ident_t structure that identifiesthe devices you’re inte

Página 47

usbd_connect() © 2007, QNX Software Systems GmbH & Co. KG.ESRCH USB server not running.EACCESS Permission denied to USB server.EAGAIN Can’t create

Página 48 - Detach from the USB device

© 2007, QNX Software Systems GmbH & Co. KG. usbd_connect()Caveats:The usbd_connect() function creates a thread on your behalf that’s used by the l

Página 49

usbd_descriptor() © 2007, QNX Software Systems GmbH & Co. KG.Get or set USB descriptorsSynopsis:#include <sys/usbdi.h>int usbd_descriptor( s

Página 50

© 2007, QNX Software Systems GmbH & Co. KG. usbd_descriptor()ENODEV Device was removed.EIO I/O error on USB device.Classification:QNX Neutrino, QNX

Página 51

usbd_detach() © 2007, QNX Software Systems GmbH & Co. KG.Detach from the USB deviceSynopsis:#include <sys/usbdi.h>int usbd_detach( struct us

Página 52

© 2007, QNX Software Systems GmbH & Co. KG. usbd_detach()See also:usbd_attach(), usbd_close_pipe(), usbd_connect(), usbd_disconnect(),usbd_open_pi

Página 53

© 2007, QNX Software Systems GmbH & Co. KG.usbd_topology(), usbd_topology_ext() 84usbd_urb_status() 86Index 89September 10, 2007 Contents v

Página 54

usbd_device_descriptor() © 2007, QNX Software Systems GmbH & Co. KG.Get the device descriptor for a specific deviceSynopsis:#include <sys/usbdi.

Página 55

© 2007, QNX Software Systems GmbH & Co. KG. usbd_device_descriptor()Classification:QNX Neutrino, QNX 4SafetyCancellation point NoInterrupt handler

Página 56

usbd_device_extra() © 2007, QNX Software Systems GmbH & Co. KG.Get a pointer to the memory allocated by the extra parameterSynopsis:#include <s

Página 57

© 2007, QNX Software Systems GmbH & Co. KG. usbd_device_lookup()Map the device instance identifier to an opaque device handle (from usbd_attach())S

Página 58

usbd_disconnect() © 2007, QNX Software Systems GmbH & Co. KG.Disconnect a client driver from the USB stackSynopsis:#include <sys/usbdi.h>int

Página 59

© 2007, QNX Software Systems GmbH & Co. KG. usbd_endpoint_descriptor()Get the endpoint descriptor for a specific endpoint settingSynopsis:#include

Página 60

usbd_endpoint_descriptor() © 2007, QNX Software Systems GmbH & Co. KG.Classification:QNX Neutrino, QNX 4SafetyCancellation point NoInterrupt handle

Página 61 - _int32 *flen );

© 2007, QNX Software Systems GmbH & Co. KG. usbd_feature()Control a feature for a USB deviceSynopsis:#include <sys/usbdi.h>int usbd_feature(

Página 62

usbd_feature() © 2007, QNX Software Systems GmbH & Co. KG.SafetyCancellation point YesInterrupt handler NoSignal handler NoThread YesSee also:usbd

Página 63

© 2007, QNX Software Systems GmbH & Co. KG. usbd_free()Free the memory area allocated by usbd_alloc()Synopsis:#include <sys/usbdi.h>void usb

Página 65

usbd_free_urb() © 2007, QNX Software Systems GmbH & Co. KG.Free the USB Request Block allocated by usbd_alloc_urb()Synopsis:#include <sys/usbdi

Página 66

© 2007, QNX Software Systems GmbH & Co. KG. usbd_get_frame()Get the current frame number and frame length for a deviceSynopsis:int usbd_get_frame(

Página 67

usbd_hcd_ext_info(), usbd_hcd_info() © 2007, QNX Software Systems GmbH & Co. KG.Get information on the USB host controller and DDK librarySynopsis

Página 68

© 2007, QNX Software Systems GmbH & Co. KG. usbd_hcd_ext_info(), usbd_hcd_info()vusbd The version number of the USB DDK.controller The name of the

Página 69

usbd_hub_descriptor() © 2007, QNX Software Systems GmbH & Co. KG.Get the hub descriptor for a specific (hub) deviceSynopsis:#include <sys/usbdi.

Página 70 - *usbd_languages_descriptor(

© 2007, QNX Software Systems GmbH & Co. KG. usbd_hub_descriptor()See also:usbd_args_lookup(), usbd_configuration_descriptor(), usbd_device_lookup()

Página 71

usbd_interface_descriptor() © 2007, QNX Software Systems GmbH & Co. KG.Get the interface descriptor for a specific interface settingSynopsis:#inclu

Página 72

© 2007, QNX Software Systems GmbH & Co. KG. usbd_interface_descriptor()Returns:A pointer to usbd_interface_descriptor_t on success, or NULL on err

Página 73

usbd_io() © 2007, QNX Software Systems GmbH & Co. KG.Submit a previously set up URB to the USB stackSynopsis:#include <sys/usbdi.h>int usbd_

Página 74

© 2007, QNX Software Systems GmbH & Co. KG. usbd_io()Returns:EBADF Improper usbd_connect() call.EINVAL Improper usbd_connect() call.ENODEV Device

Página 75

About the USB DDKSeptember 10, 2007 About the USB DDK vii

Página 76

usbd_languages_descriptor() © 2007, QNX Software Systems GmbH & Co. KG.Get the table of supported LANGIDs for the given deviceSynopsis:#include &l

Página 77

© 2007, QNX Software Systems GmbH & Co. KG. usbd_languages_descriptor()See also:usbd_args_lookup(), usbd_configuration_descriptor(), usbd_device_lo

Página 78

usbd_mphys() © 2007, QNX Software Systems GmbH & Co. KG.Get the physical address of memory allocated by usbd_alloc()Synopsis:#include <sys/usbd

Página 79 - Reset a USB device

© 2007, QNX Software Systems GmbH & Co. KG. usbd_open_pipe()Initialize the pipe described by the device or endpoint descriptorSynopsis:#include &l

Página 80

usbd_open_pipe() © 2007, QNX Software Systems GmbH & Co. KG.See also:usbd_abort_pipe(), usbd_close_pipe(), usbd_pipe_endpoint(), usbd_reset_pipe()

Página 81 - _uint8 cfg );

© 2007, QNX Software Systems GmbH & Co. KG. usbd_parse_descriptors()Parse device descriptors looking for a specific entrySynopsis:#include <sys/

Página 82 - _uint8 alt );

usbd_parse_descriptors() © 2007, QNX Software Systems GmbH & Co. KG.(ROOT)|(DEVICE) - (HUB) - (LANGUAGE TABLE)|(CONFIG) - ... (CONFIG)|(INTERFAC

Página 83

© 2007, QNX Software Systems GmbH & Co. KG. usbd_pipe_device()Retrieve the device associated with the pipeSynopsis:#include <sys/usbdi.h>str

Página 84 - _uint32 len );

usbd_pipe_endpoint() © 2007, QNX Software Systems GmbH & Co. KG.Retrieve the endpoint number associated with the pipeSynopsis:#include <sys/usb

Página 85

© 2007, QNX Software Systems GmbH & Co. KG. usbd_reset_device()Reset a USB deviceSynopsis:#include <sys/usbdi.h>int usbd_reset_device( struc

Página 87 - EOK Success

usbd_reset_pipe() © 2007, QNX Software Systems GmbH & Co. KG.Clear a stall condition on an endpoint identified by the pipe handleSynopsis:#include

Página 88

© 2007, QNX Software Systems GmbH & Co. KG. usbd_select_config()Select the configuration for a USB deviceSynopsis:#include <sys/usbdi.h>int us

Página 89

usbd_select_interface() © 2007, QNX Software Systems GmbH & Co. KG.Select the interface for a USB deviceSynopsis:#include <sys/usbdi.h>int u

Página 90

© 2007, QNX Software Systems GmbH & Co. KG. usbd_select_interface()See also:usbd_select_config()September 10, 2007 Chapter 4 • USB Library Referenc

Página 91

usbd_setup_bulk() © 2007, QNX Software Systems GmbH & Co. KG.Set up a URB for a bulk data transferSynopsis:#include <sys/usbdi.h>int usbd_se

Página 92

© 2007, QNX Software Systems GmbH & Co. KG. usbd_setup_bulk()SafetySignal handler NoThread YesCaveats:To ensure that the correct physical address

Página 93

usbd_setup_control() © 2007, QNX Software Systems GmbH & Co. KG.Set up a URB for a control transferThis function isn’t currently implemented. To s

Página 94 - Get specific device status

© 2007, QNX Software Systems GmbH & Co. KG. usbd_setup_control()addr The address for the start of the transfer. You must use the buffer allocatedb

Página 95

usbd_setup_interrupt() © 2007, QNX Software Systems GmbH & Co. KG.Set up a URB for an interrupt transferSynopsis:#include <sys/usbdi.h>int u

Página 96 - Get a string descriptor

© 2007, QNX Software Systems GmbH & Co. KG. usbd_setup_interrupt()SafetySignal handler NoThread YesSee also:usbd_setup_bulk(), usbd_setup_control(

Página 97

© 2007, QNX Software Systems GmbH & Co. KG. AssumptionsWhat you’ll find in this guideThe USB Driver Development Kit will help you write drivers for

Página 98

usbd_setup_isochronous() © 2007, QNX Software Systems GmbH & Co. KG.Set up a URB for an isochronous transferSynopsis:#include <sys/usbdi.h>i

Página 99

© 2007, QNX Software Systems GmbH & Co. KG. usbd_setup_isochronous()SafetyCancellation point NoInterrupt handler NoSignal handler NoThread YesSee

Página 100 - Description:

usbd_setup_vendor() © 2007, QNX Software Systems GmbH & Co. KG.Set up a URB for a vendor-specific transferSynopsis:#include <sys/usbdi.h>int

Página 101 - Returns:

© 2007, QNX Software Systems GmbH & Co. KG. usbd_setup_vendor()Library:libusbdiDescription:This routine sets up a URB for a vendor-specific transfe

Página 102 - Classification:

usbd_status() © 2007, QNX Software Systems GmbH & Co. KG.Get specific device statusSynopsis:#include <sys/usbdi.h>int usbd_status( struct usb

Página 103 - _USBDI_NFUNCS 29

© 2007, QNX Software Systems GmbH & Co. KG. usbd_status()SafetyCancellation point NoInterrupt handler NoSignal handler NoThread YesSee also:usbd_d

Página 104 - 90 Index September 10, 2007

usbd_string() © 2007, QNX Software Systems GmbH & Co. KG.Get a string descriptorSynopsis:#include <sys/usbdi.h>char *usbd_string( struct usb

Página 105 - URB_ISOCH_ASAP 76

© 2007, QNX Software Systems GmbH & Co. KG. usbd_string()SafetySignal handler NoThread NoSee also:usbd_args_lookup(), usbd_configuration_descriptor

Página 106 - 92 Index September 10, 2007

usbd_topology(), usbd_topology_ext() © 2007, QNX Software Systems GmbH & Co. KG.Get the USB bus physical topologySynopsis:#include <sys/usbdi.h

Página 107 - USBD_VERSION 28

© 2007, QNX Software Systems GmbH & Co. KG. usbd_topology(), usbd_topology_ext()The structure contains an array of usb_port_attachment_t structure

Comentários a estes Manuais

Sem comentários