Re: Reverse-engineering USB protocol

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



if you end up writing your own driver, i would also suggest that you use winusb and have your app implement the protocol and let winusb shuttle the bits for you.

d

--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.


"Kerem Gümrükcü" <kareem114@xxxxxxxxxxx> wrote in message news:uv3p9wwuIHA.576@xxxxxxxxxxxxxxxxxxxxxxx
Hi Joseph,

i dont know, maybe this can help you

[IrpTracker]
http://www.osronline.com/article.cfm?article=199

[USB Snoopy]
http://www.wingmanteam.com/usbsnoopy/

[Usb Sniffer for Windows]
http://sourceforge.net/project/showfiles.php?group_id=34567

[LibUsb-Win32]
http://libusb-win32.sourceforge.net/

The last one once saved me from writing some Kernel
Code for a Device i had no real driver for it,...

Maybe this will help you some way,...


Regards

Kerem


--
----------------------- Beste Grüsse / Best regards / Votre bien devoue
Kerem Gümrükcü
Microsoft Live Space: http://kerem-g.spaces.live.com/
Latest Open-Source Projects: http://entwicklung.junetz.de
----------------------- "This reply is provided as is, without warranty express or implied."

"Joseph M. Newcomer" <newcomer@xxxxxxxxxxxx> schrieb im Newsbeitrag
news:vgd734trp5rf68jd8k3f4cql1ajahejvsc@xxxxxxxxxx
OK, I have this device which has no documentation, and black-box software
that doesn't
really work very well. I need to reverse-engineer what is going out
across the USB
connection and/or study ReadFile, WriteFile, and DeviceIoControl calls. I
need to write
working software for this mess. It doesn't do a whole lot: turn on light,
turn off light,
read image. The current software obnoxiously changes the video display
resolution, which
causes all kinds of problems on high-res displays and multimonitor
systems, so I'm trying
to write software that doesn't look like it was written by idiots who
never saw a real
computer or a real GUI.

Any suggestions for tools? I looked at filemon, but it doesn't show the
data going back
and forth, just the IRPs.
joe
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm



.



Relevant Pages

  • Re: Simtec v Castle USB
    ... >> I'm currently having difficulty writing a driver for an AVermedia USB ... I also understand that it could be added to the Castle stack in just ...
    (comp.sys.acorn.hardware)
  • Re: USB in Simulink
    ... I checked all supported devices and there are no USB ones. ... So the support for USB devices was omitted on purpose, ... You can write your own driver as a S-function, but you need to access the device by direct access to I/O ports only. ... This limitation makes writing a driver for an USB device practically impossible. ...
    (comp.soft-sys.matlab)
  • Re: USB device driver
    ... I am new to driver development. ... I would like to experiment by writing a USB ... My requirement is to encrypt the data that will be written to the USB ...
    (microsoft.public.development.device.drivers)
  • Re: From COM port to USB... help and need some advice!
    ... If I decide to write a driver for this, ... like writing a complete USB driver for a specific class of devices, ... just something to trick the OS to thinking this is a USB device? ... > What USB-Serial converter are you using? ...
    (microsoft.public.development.device.drivers)
  • [PATCH] Fix misspellings collected by members of KJ list.
    ... - * writting a Wavelan ISA driver for the MACH microkernel. ... there are two posibilities reading or writing. ... - * on non x86 architectures, so if you are writting portable code, ...
    (Linux-Kernel)