Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > Re: Sending setup packet to USB control endpoint

Reply
Thread Tools Display Modes

Re: Sending setup packet to USB control endpoint

 
 
Philip Ries [MSFT]
Guest
Posts: n/a

 
      11-09-2009
Thanks for bringing up the documentation of this interface. You're
right that it's only partially documented. The interface is MS
internal-only and we're updating the documentation to reflect that.

I don't think the interface would work for your scenario anyhow.

Mojo George wrote:
> I have a USB device which has only one interface that of USB mass
> storage. I need to send vendor specific data to the device as USB
> setup packets through control endpoint. I could do this successfully
> with the help of a filter driver.
>
> Now I would like to do this without a filter driver. For this I tried
> to use DeviceIoControl() API from user mode application.
> But, I could not find any IOCTL command for that except some for
> querryng informtion like descriptor. One command which seems to be
> almost suited is USBUSER_OP_SEND_ONE_PACKET.
>
> I tried to send USBUSER_OP_SEND_ONE_PACKET request. But it fails with
> error - UsbUserFeatureDisabled. This error may be due to following
> reason. In usbuser.h, it has already been stated that
> USBUSER_OP_SEND_ONE_PACKET enabled when the "devlopr" key is set in
> the registry. I could not find such a key and not sure where to add
> this. Could somebody help me on this?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Vista startup Jedi940 Windows Vista Performance 1 01-13-2008 08:50 PM
User Account control problem, please help AC Windows Vista Administration 3 08-19-2007 11:41 PM
VISTA WMC - Remote Control Setup with Top Box Converter Elwood of Ottawa Windows Vista Hardware 0 08-15-2007 12:58 PM
Vista - Bluetooth USB adapter - No icon in Control Panel to setup device *Darren* Windows Vista Hardware 2 03-06-2007 07:53 PM
Stop Error 0x0000007b Louis LeBrun Windows Vista Installation 17 07-05-2006 09:00 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59