Belkin F8E211 User's Guide

Browse online or download User's Guide for Unknown Belkin F8E211. Belkin F8E211 User`s guide User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 107
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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.
Page view 0
1 2 3 4 5 6 ... 106 107

Summary of Contents

Page 1 - Momentics

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

Page 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

Page 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

Page 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

Page 5 - Index 89

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

Page 6

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

Page 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

Page 8

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

Page 9 - Assumptions

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

Page 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

Page 11 - Building DDKs

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

Page 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

Page 13 - Technical support

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

Page 15 - In this chapter. .

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

Page 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

Page 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

Page 19 - Overview

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

Page 20

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

Page 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

Page 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

Page 24

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

Page 26

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

Page 28

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

Page 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

Page 30 - Pipe-management functions

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

Page 31

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

Page 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

Page 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

Page 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(

Page 35

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

Page 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

Page 37

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

Page 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

Page 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

Page 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

Page 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

Page 42

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

Page 43

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

Page 44 - Examples:

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

Page 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

Page 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

Page 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

Page 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

Page 49

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

Page 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

Page 51

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

Page 52

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

Page 53

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

Page 54

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

Page 55

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

Page 56

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

Page 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

Page 58

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

Page 59

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

Page 60

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

Page 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(

Page 62

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

Page 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

Page 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

Page 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(

Page 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

Page 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

Page 69

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

Page 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()

Page 71

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

Page 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

Page 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_

Page 74

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

Page 75

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

Page 76

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

Page 77

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

Page 78

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

Page 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

Page 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()

Page 81 - _uint8 cfg );

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

Page 82 - _uint8 alt );

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

Page 83

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

Page 84 - _uint32 len );

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

Page 85

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

Page 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

Page 88

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

Page 89

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

Page 90

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

Page 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

Page 92

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

Page 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

Page 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

Page 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

Page 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(

Page 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

Page 98

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

Page 99

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

Page 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

Page 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

Page 102 - Classification:

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

Page 103 - _USBDI_NFUNCS 29

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

Page 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

Page 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

Page 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

Page 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

Comments to this Manuals

No comments