AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Win32/Win64 API (native code) Delphi HID Komponente : USB_SEND_REQUEST, How-to ?
Thema durchsuchen
Ansicht
Themen-Optionen

HID Komponente : USB_SEND_REQUEST, How-to ?

Ein Thema von waskol · begonnen am 3. Jun 2008
Antwort Antwort
waskol

Registriert seit: 1. Jun 2008
1 Beiträge
 
#1

HID Komponente : USB_SEND_REQUEST, How-to ?

  Alt 3. Jun 2008, 00:37
Ich nicht spache deutch (fransoziche) , Is english OK ? Thank you.

I came on your forum because a lot of people here seem to know well about HID.

- I am using HID Components (from Robert Marquadt)
- I am running under Windows VISTA, Delphi RAD Studio 2007
- My usb device is a Belkin Nostromo speedpad N50 (HID compliant)
- I am trying too lit up the output leds of this device under VISTA (I have succeeded using USBIO driver, wich is not free )
- Under Windows XP, the software provided with the device produces this (this software does not work with VISTA) :
_____________________________________

000010: Control Transfer (UP), 29.05.2008 08:22:38.968 +0.0. Status:
0x00000000
Pipe Handle: 0x89916480
01 00 00 00 ....
Setup Packet
21 09 00 02 00 00 04 00 !.......
Recipient: Interface
Request Type: Class
Direction: Host->Device
Request: 0x9 (Unknown)
Value: 0x200
Index: 0x0
Length: 0x4
______________________________________

And I am deseperatly trying to write this USB specific request having :
bmRequestType:=$21; (This is a Host-to-device, Class interface request)
bmRequestType:=$09; (Wich corresponds to a SET_REPORT)

In fact, I am trying to reproduce under Windows VISTA, the OUT control message I obtain in Windows XP.

Should I use TJVHIDDevice.DeviceIOControl(), WriteFile(), SetOutPutReport() ?
And How ?

Any help and piece of code will be appreciated. Thank you very much.

Danke
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:01 Uhr.
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz