djpnewton / busdog

busdog is a filter driver for MS Windows (XP and above) to sniff USB traffic.
181 stars 38 forks source link

Parallel Port Trace doesn't work #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install busdog on Windows 32bit
2. Install a printer on LPT1
3. Run busdog, select parallel port, start capture
4. Send a job to printer

What is the expected output? What do you see instead?
Expect to capture data sent to printer, no activity is captured on busdog

What version of the product are you using? On what operating system?
0.2.1-32bit. Tested on Windows XP and Windows 7, same behaviour on both.

Please provide any additional information below.
Have tried serial ports, they work fine, just parallel port doesn't work.

Original issue reported on code.google.com by pth...@gmail.com on 18 Oct 2010 at 11:14

GoogleCodeExporter commented 9 years ago
busdog does not trace any parallel port specific ioctls (probably just 
read/write calls), unfortunately at the moment I dont have any parallel port 
devices to test with.

Have you tried portmon 
(http://technet.microsoft.com/en-us/sysinternals/bb896644.aspx)?

Original comment by djpnew...@gmail.com on 19 Oct 2010 at 9:05

GoogleCodeExporter commented 9 years ago
I'm not interest in ioctls just read/write calls. I'm writing a diferent GUI 
based on busdog and portmon isn't an option :(.

Probably you can use VMWare Player to test it, you can add a virtual parallel 
port on guest OS that maps to a file on host OS.

I'm not a WDD developer, but I'll be happy to help if you want.

Original comment by pth...@gmail.com on 19 Oct 2010 at 11:17

GoogleCodeExporter commented 9 years ago
I have now got VMWare player and have mapped the parallel port to a file on the 
host... however I am having trouble finding a parallel port program that will 
cause data to be written to the mapped file.

Original comment by djpnew...@gmail.com on 27 Oct 2010 at 2:40

GoogleCodeExporter commented 9 years ago
You can copy a text file to LPT1: port on guest OS using command prompt. 
Something like:

COPY <some text file> LPT1: /b

You will see your text file on host OS grow up.

Original comment by pth...@gmail.com on 28 Oct 2010 at 9:49

GoogleCodeExporter commented 9 years ago
Yes that works. I am not sure why busdog does not pick up the write irps, I 
will have to investigate

Original comment by djpnew...@gmail.com on 4 Nov 2010 at 9:41