Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
39 user(s) are online (24 user(s) are browsing Forums)

Members: 2
Guests: 37

skynet, LiveForIt, more...

Support us!

Headlines

 
  Register To Post  

qemu virtual serial port emulation on windows
Home away from home
Home away from home


See User information
@All

Is there anyone who tried to setup real (but virtual) serial port when use qemu ? I just tried to use com0com which create for me virtual com4/com5 ports, but when i simple do for qemu "-serial COM4" and then putty on com5, i can see that things start to throws on com port, through slower than expected, and after a while simple freezes.

Is there better alternatives or maybe i do something wrong ?

The point is to have EXACTLY com port after i run qemu to which i can connect via putty/scripts to acts with it as i act with real serial port.

Thanks!

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top
Re: qemu virtual serial port emulation on windows
Just can't stay away
Just can't stay away


See User information
@kas1e
I don't know Windows but in QEMU you can define -chardev options I think and connect serial to those so you could redirect serial port not only to stdio or file but also to tcp port or whatever else so maybe you could interact with one of those in your scripts rather than making a virtual serial port.

Go to top
Re: qemu virtual serial port emulation on windows
Home away from home
Home away from home


See User information
@Balaton
Yeah, with virtual coms it was pain to make it works (i were only able to redirect output from one com to another, but once i start interract with like keypresses then everything freezes).

So i simple go :

-chardev socket,id=ser,host=0.0.0.0,port=5555,server=on,wait=off -serial chardev:ser


and rewrite scripts to use TCP instead of com, so it works too.

Join us to improve dopus5!
AmigaOS4 on youtube
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project