Belkin F8E211 Betriebsanweisung Seite 1

Stöbern Sie online oder laden Sie Betriebsanweisung nach Nein Belkin F8E211 herunter. Belkin F8E211 User`s guide [en] Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken

Inhaltsverzeichnis

Seite 1 - Momentics

QNXMomenticsDDKUniversal Serial Bus (USB) DevicesFor QNXNeutrino6.3.0 or QNX4 2006, QNX Software Systems GmbH & Co. KG.

Seite 2 - Technical support options

Building DDKs  2006, QNX Software Systems GmbH & Co. KG.For up-to-date information on USB developments, visitwww.usb.org.☞Building DDKsYou can c

Seite 3 - Contents

usbd setup isochronous()  2006, QNX Software Systems GmbH & Co. KG.Set up a URB for an isochronous transferSynopsis:CAUTION: This function is st

Seite 4 - Contents November 2, 2006

 2006, QNX Software Systems GmbH & Co. KG. usbd setup isochronous()Returns:EOK Success.Classification:QNX Neutrino, QNX 4SafetyCancellation point

Seite 5 - Index 101

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

Seite 6

 2006, QNX Software Systems GmbH & Co. KG. usbd setup vendor()index This varies, depending on the request. It’s used forpassing a parameter to t

Seite 7 - About the USB DDK

usbd status()  2006, QNX Software Systems GmbH & Co. KG.Get specific device statusSynopsis:#include <sys/usbdi.h>int usbdstatus( struct usb

Seite 8

 2006, QNX Software Systems GmbH & Co. KG. usbd status()Classification:QNX Neutrino, QNX 4SafetyCancellation point NoInterrupt handler NoSignal h

Seite 9 - Assumptions

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

Seite 10 - Building DDKs

 2006, QNX Software Systems GmbH & Co. KG. usbd string()Classification:QNX Neutrino, QNX 4SafetyCancellation point NoInterrupt handler NoSignal h

Seite 11

usbd topology()  2006, QNX Software Systems GmbH & Co. KG.Get the USB bus physical topologySynopsis:#include <sys/usbdi.h>int usbdtopology

Seite 12 - . <script>

 2006, QNX Software Systems GmbH & Co. KG. usbd topology()Returns:EOK Success.ENODEV Device was removed.Classification:QNX Neutrino, QNX 4SafetyC

Seite 13 - In this chapter..

 2006, QNX Software Systems GmbH & Co. KG. Building DDKsprebuilt install srcddk_install_dirplatformsmouseprinterkeyboarddevuhardwareincludeclass

Seite 14

usbd urb status()  2006, QNX Software Systems GmbH & Co. KG.Return status information on a URBSynopsis:#include <sys/usbdi.h>int usbdurb s

Seite 15 - USB devices supported

 2006, QNX Software Systems GmbH & Co. KG. usbd urb status()USBD STATUS CRC ERRThe last packet from the endpoint contained a CRC error.USBD STAT

Seite 16 - Known limitations

usbd urb status()  2006, QNX Software Systems GmbH & Co. KG.USBD STATUS NOT ACCESSEDController didn’t execute request.Returns:EOK Success.EBUSY

Seite 17

IndexAassumptions ixCcallbacks 10, 30, 36class drivertypical operations 10Ddata buffers 9Iinsertion/removal 10, 30, 36, 37Llooping, as alternate meth

Seite 18

Index  2006, QNX Software Systems GmbH & Co. KG.usbd alloc urb() 26usbdargs lookup() 28usbdattach() 29usbdclose pipe() 32usbdconfiguration descri

Seite 19 - Overview

Building DDKs  2006, QNX Software Systems GmbH & Co. KG.You must run:. ./setenv.shbefore running make,ormake install.Additionally, on Windows ho

Seite 20

Chapter 1Before You BeginIn this chapter.. .System requirements 3USB devices supported 3Known limitations 4November 2, 2006 Chapter 1 Before You Begi

Seite 22 - How a class driver works

 2006, QNX Software Systems GmbH & Co. KG. System requirementsSystem requirementsThis USB SDK is designed to work with both QNX Neutrino 6 andwi

Seite 23

Known limitations  2006, QNX Software Systems GmbH & Co. KG.Type of device Manufacturer Model″ Microsoft IntelliMouseHub ADS Technologies 4-port

Seite 24

 2006, QNX Software Systems GmbH & Co. KG. Known limitationsCAUTION: Make sure that the command line for devi-hirun (orInput) includes the optio

Seite 26

Chapter 2OverviewIn this chapter.. .The USB stack and library 9How a class driver works 10November 2, 2006 Chapter 2 Overview 7

Seite 27

 2000–2006, QNX Software Systems. All rights reserved.Published under license by:QNX Software Systems International Corporation175 Terence Matthews

Seite 29 - USB Library Reference

 2006, QNX Software Systems GmbH & Co. KG. The USB stack and libraryThe USB stack and libraryUSB (Universal Serial Bus) is a hardware and protoc

Seite 30

How a class driver works  2006, QNX Software Systems GmbH & Co. KG.USB enumeratorWith the QNX Neutrino OS, the USB enumerator attaches to the US

Seite 31 - Memory-management functions

 2006, QNX Software Systems GmbH & Co. KG. How a class driver works5 Initiate data transfer using the usbd io() function (withcompletion callbac

Seite 33

Chapter 3USB UtilitiesNovember 2, 2006 Chapter 3 USB Utilities 13

Seite 35

 2006, QNX Software Systems GmbH & Co. KG.The USB Software Development Kit contains the followingcommand-line utilities:The utilities used in th

Seite 37

Chapter 4USB Library ReferenceIn this chapter.. .Functions arranged by category 19usbd abort pipe() 23usbd alloc() 24usbd alloc urb() 26usbd args loo

Seite 38

ContentsAbout the USB DDK viiAssumptions ixBuilding DDKs xBefore You Begin 11System requirements 3For QNX Neutrino 6.3 3For QNX 4 3USB devices suppor

Seite 39

 2006, QNX Software Systems GmbH & Co. KG.usbd pipe endpoint() 75usbd reset device() 76usbd reset pipe() 77usbd select config() 78usbd select int

Seite 40

 2006, QNX Software Systems GmbH & Co. KG. Functions arranged by categoryFunctions arranged by categoryThe USB functions may be grouped into the

Seite 41

Functions arranged by category  2006, QNX Software Systems GmbH & Co. KG.I/O functionsusbd setup bulk()Set up a URB for a bulk data transfer.usb

Seite 42

 2006, QNX Software Systems GmbH & Co. KG. Functions arranged by categoryusbd abort pipe()Abort all requests on a pipe.usbdpipe device()Retrieve

Seite 43

Functions arranged by category  2006, QNX Software Systems GmbH & Co. KG.usbd endpoint descriptor()Get the endpoint descriptor for a specific end

Seite 44

 2006, QNX Software Systems GmbH & Co. KG. usbd abort pipe()Abort all requests on a pipeSynopsis:#include <sys/usbdi.h>int usbdabort pipe(

Seite 45

usbd alloc()  2006, QNX Software Systems GmbH & Co. KG.Allocate memory area to use for data transfersSynopsis:#include <sys/usbdi.h>void *

Seite 46

 2006, QNX Software Systems GmbH & Co. KG. usbd alloc()SafetySignal handler NoThread YesSee also:usbd alloc urb(), usbd free(), usbd free urb(),

Seite 47

usbd alloc urb()  2006, QNX Software Systems GmbH & Co. KG.Allocate a USB Request Block for subsequent URB-based operationsSynopsis:#include <

Seite 48 - USBD CONNECT WAIT

 2006, QNX Software Systems GmbH & Co. KG. usbd alloc urb()See also:usbd alloc(), usbd free(), usbd free urb(), usbd mphys()November 2, 2006 Cha

Seite 49 - Examples:

 2006, QNX Software Systems GmbH & Co. KG.Memory-management functions 19I/O functions 20Pipe-management functions 20Configuration/ interface func

Seite 50

usbd args lookup()  2006, QNX Software Systems GmbH & Co. KG.Look up a driver’s command-line argumentsSynopsis:#include <sys/usbdi.h>void

Seite 51

 2006, QNX Software Systems GmbH & Co. KG. usbd attach()Attach to a USB deviceSynopsis:#include <sys/usbdi.h>int usbdattach( struct usbd c

Seite 52

usbd attach()  2006, QNX Software Systems GmbH & Co. KG.typedef struct usbd device instance {uint8 path;uint8 devno;uint16 generation;usbddevice

Seite 53

 2006, QNX Software Systems GmbH & Co. KG. usbd attach()Classification:QNX Neutrino, QNX 4SafetyCancellation point YesInterrupt handler NoSignal

Seite 54

usbd close pipe()  2006, QNX Software Systems GmbH & Co. KG.Close a pipe previously opened by usbd open pipe()Synopsis:#include <sys/usbdi.h&

Seite 55

 2006, QNX Software Systems GmbH & Co. KG.usbd configuration descriptor()Get the configuration descriptor for a specific configuration settingSynops

Seite 56

usbd configuration descriptor()  2006, QNX Software Systems GmbH &Co. KG.Returns:A pointer to usbd configuration descriptor t on success, orNULL

Seite 57

 2006, QNX Software Systems GmbH & Co. KG. usbd connect()Connect a client driver to the USB stackSynopsis:#include <sys/usbdi.h>int usbdco

Seite 58

usbd connect()  2006, QNX Software Systems GmbH & Co. KG.flags Currently none defined. Pass 0.argc and argv Command-line arguments to the device d

Seite 59

 2006, QNX Software Systems GmbH & Co. KG. usbd connect()event A future extension for various other event notifications(e.g. bandwidth problems).

Seite 60

 2006, QNX Software Systems GmbH & Co. KG.usbd pipe device() 74usbdpipe endpoint() 75usbdreset device() 76usbdreset pipe() 77usbdselect config()

Seite 61

usbd connect()  2006, QNX Software Systems GmbH & Co. KG.USBDI NFUNCS,insertion,removal,NULL};usbdconnect parm t cparms = {NULL,USBVERSION,USBDV

Seite 62

 2006, QNX Software Systems GmbH & Co. KG. usbd connect()resources used between that thread and any other thread(s) in yourclass driver are prop

Seite 63

usbd descriptor()  2006, QNX Software Systems GmbH & Co. KG.Get USB descriptors.Synopsis:#include <sys/usbdi.h>int usbddescriptor( struct

Seite 64

 2006, QNX Software Systems GmbH & Co. KG. usbd descriptor()Returns:EMSGSIZE Buffer too small for descriptor.ENOMEM No memory for URB.ENODEV Dev

Seite 65

usbd detach()  2006, QNX Software Systems GmbH & Co. KG.Detach from the USB deviceSynopsis:#include <sys/usbdi.h>int usbddetach( struct us

Seite 66

 2006, QNX Software Systems GmbH & Co. KG. usbd detach()Caveats:Don’t try to detach if there’s I/O pending on the device. If there is,usbddetach

Seite 67

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

Seite 68

 2006, QNX Software Systems GmbH & Co. KG. usbd device descriptor()Classification:QNX Neutrino, QNX 4SafetyCancellation point NoInterrupt handler

Seite 69

usbd device extra()  2006, QNX Software Systems GmbH & Co. KG.Get a pointer to the memory allocated by the extra parameterSynopsis:#include <

Seite 70

 2006, QNX Software Systems GmbH & Co. KG. usbd device lookup()Map the device instance identifier to an opaque device handle (from usbd attach())

Seite 72

usbd disconnect()  2006, QNX Software Systems GmbH & Co. KG.Disconnect a client driver from the USB stackSynopsis:#include <sys/usbdi.h>in

Seite 73

 2006, QNX Software Systems GmbH & Co. KG. usbd disconnect()See also:usbd attach(), usbd connect(), usbd detach()November 2, 2006 Chapter 4 USB

Seite 74

usbd endpoint descriptor()  2006, QNX Software Systems GmbH & Co. KG.Get the endpoint descriptor for a specific endpoint settingSynopsis:#include

Seite 75

 2006, QNX Software Systems GmbH & Co. KG. usbd endpoint descriptor()Returns:A pointer to usbd endpoint descriptor t on success, or NULLon error

Seite 76

usbd feature()  2006, QNX Software Systems GmbH & Co. KG.Control a feature for a USB device.Synopsis:#include <sys/usbdi.h>int usbdfeature

Seite 77

 2006, QNX Software Systems GmbH & Co. KG. usbd feature()Classification:QNX Neutrino, QNX 4SafetyCancellation point YesInterrupt handler NoSignal

Seite 78

usbd free()  2006, QNX Software Systems GmbH & Co. KG.Free the memory area allocated by usbd alloc()Synopsis:#include <sys/usbdi.h>void us

Seite 79

 2006, QNX Software Systems GmbH & Co. KG. usbd free urb()Free the USB Request Block allocated by usbd alloc urb()Synopsis:#include <sys/usbd

Seite 80

usbd get frame()  2006, QNX Software Systems GmbH & Co. KG.Get the current frame number and frame length for a deviceSynopsis:int usbd get frame

Seite 81

 2006, QNX Software Systems GmbH & Co. KG. usbd get frame()See also:usbd attach()November 2, 2006 Chapter 4 USB Library Reference 57

Seite 82

About the USB DDKNovember 2, 2006 About the USB DDK vii

Seite 83

usbd hcd info()  2006, QNX Software Systems GmbH & Co. KG.Get information on the USB host controller and SDK librarySynopsis:#include <sys/us

Seite 84

 2006, QNX Software Systems GmbH & Co. KG. usbd hcd info()Returns:EOK Success.Classification:QNX Neutrino, QNX 4SafetyCancellation point YesInter

Seite 85

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

Seite 86

 2006, QNX Software Systems GmbH & Co. KG. usbd hub descriptor()SafetyCancellation point NoInterrupt handler NoSignal handler NoThread YesSee al

Seite 87

usbd interface descriptor()  2006, QNX Software Systems GmbH & Co. KG.Get the interface descriptor for a specific interface settingSynopsis:#incl

Seite 88

 2006, QNX Software Systems GmbH & Co. KG. usbd interface descriptor()Returns:A pointer to usbd interface descriptor t on success, orNULL on err

Seite 89

usbd io()  2006, QNX Software Systems GmbH & Co. KG.Submit a previously set up URB to the USB stackSynopsis:#include <sys/usbdi.h>int usbd

Seite 90

 2006, QNX Software Systems GmbH & Co. KG. usbd io()Returns:EBADF Improper usbd connect() call.EINVAL Improper usbd connect() call.ENODEV Device

Seite 91

usbd languages descriptor()  2006, QNX Software Systems GmbH & Co.KG.Get the table of supported LANGIDs for the given deviceSynopsis:#include &l

Seite 92

 2006, QNX Software Systems GmbH & Co. KG.usbd languages descriptor()SafetyCancellation point NoInterrupt handler NoSignal handler NoThread YesS

Seite 94

usbd mphys()  2006, QNX Software Systems GmbH & Co. KG.Get the physical address of memory allocated by usbd alloc()Synopsis:#include <sys/usb

Seite 95

 2006, QNX Software Systems GmbH & Co. KG. usbd open pipe()Initialize the pipe described by the device or endpoint descriptorSynopsis:#include &

Seite 96

usbd open pipe()  2006, QNX Software Systems GmbH & Co. KG.See also:usbd abort pipe(), usbd close pipe(), usbd pipe endpoint(),usbdreset pipe()7

Seite 97

 2006, QNX Software Systems GmbH & Co. KG. usbd parse descriptors()Parse device descriptors looking for a specific entrySynopsis:#include <sys

Seite 98

usbd parse descriptors()  2006, QNX Software Systems GmbH & Co. KG.|(INTERFACE) - ... (INTERFACE)|(ENDPOINT) - ... (ENDPOINT)Any vendor-spec

Seite 99

 2006, QNX Software Systems GmbH & Co. KG. usbd parse descriptors()SafetyThread YesSee also:usbd args lookup(), usbd configuration descriptor(),u

Seite 100 - Description:

usbd pipe device()  2006, QNX Software Systems GmbH & Co. KG.Retrieve the device associated with the pipeSynopsis:#include <sys/usbdi.h>st

Seite 101 - See also:

 2006, QNX Software Systems GmbH & Co. KG. usbd pipe endpoint()Retrieve the endpoint number associated with the pipeSynopsis:#include <sys/us

Seite 102

usbd reset device()  2006, QNX Software Systems GmbH & Co. KG.Reset a USB deviceSynopsis:#include <sys/usbdi.h>int usbdreset device( struc

Seite 103 - Caveats:

 2006, QNX Software Systems GmbH & Co. KG. usbd reset pipe()Clear a stall condition on an endpoint identified by the pipe handleSynopsis:#include

Seite 104

 2006, QNX Software Systems GmbH & Co. KG. AssumptionsOur USB API is designed to work with either QNX Neutrino orQNX 4. Exceptions will be noted

Seite 105

usbd select config()  2006, QNX Software Systems GmbH & Co. KG.Select the configuration for a USB deviceSynopsis:#include <sys/usbdi.h>int u

Seite 106

 2006, QNX Software Systems GmbH & Co. KG. usbd select config()See also:usbd select interface()November 2, 2006 Chapter 4 USB Library Reference 7

Seite 107

usbd select interface()  2006, QNX Software Systems GmbH & Co. KG.Select the interface for a USB deviceSynopsis:#include <sys/usbdi.h>int

Seite 108

 2006, QNX Software Systems GmbH & Co. KG. usbd select interface()See also:usbd select config()November 2, 2006 Chapter 4 USB Library Reference 8

Seite 109

usbd setup bulk()  2006, QNX Software Systems GmbH & Co. KG.Set up a URB for a bulk data transferSynopsis:#include <sys/usbdi.h>int usbdse

Seite 110

 2006, QNX Software Systems GmbH & Co. KG. usbd setup bulk()SafetyCancellation point NoInterrupt handler NoSignal handler NoThread YesCaveats:To

Seite 111

usbd setup control()  2006, QNX Software Systems GmbH & Co. KG.Set up a URB for a control transferSynopsis:CAUTION: This function is still under

Seite 112

 2006, QNX Software Systems GmbH & Co. KG. usbd setup control()addr Address for start of transfer — you must use the bufferallocated by usbdallo

Seite 113 - November 2, 2006 Index 101

usbd setup interrupt()  2006, QNX Software Systems GmbH & Co. KG.Set up a URB for an interrupt transferSynopsis:#include <sys/usbdi.h>int

Seite 114 - 102 Index November 2, 2006

 2006, QNX Software Systems GmbH & Co. KG. usbd setup interrupt()SafetyCancellation point NoInterrupt handler NoSignal handler NoThread YesSee a

Kommentare zu diesen Handbüchern

Keine Kommentare