Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running VirtualBox under linux. Gues OS is Windows XP.

I have an IR transmitter connected to serial port, (yes the old kind DE-9), on my box and added the following in VirtualBox "Serial Ports":

[v] Enable Serial Port
Port Number: COM1 IRQ: 4 I/O Port: 0x3F8
Port Mode: Host Device
Port/File_PAth: /dev/ttyS0

Added user to group for serial.

Now: I am using sniffer on host; ie jpnevulator

jpnevulator --ascii --timing-print --tty /dev/ttyS0 --read

Run Guest OS and start IR software and write data by IR (In guest OS/WinXP). The data is written, but nothing comes up in jpnevulator.

What am I missing here?

share|improve this question
up vote 0 down vote accepted

OK. After a lot of testing in a field I am a pure novice I found the following way to monitor traffic:

In VirtualBox "Serial Ports":

[v] Enable Serial Port
Port Number: COM1 IRQ: 4 I/O Port: 0x3F8
Port Mode: Host Pipe
Port/File_PAth: /tmp/vbwincom1

And then use

socat /tmp/vbwincom1 -

Data written to pipe is written to terminal in host linux.

This is by monitoring socket instead of serial.

If anyone have a solution for monitoring /dev/ttyS0 instead of an overlayer by socket I'll accept that as an answer - but for now this does it. Hopefully it might help someone else.

socat

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .