Skip to contentSkip to conversation

Serial Line ioct and set_termios bypassing

uml-devel tcappellari 2 participants 2 messages Dec 13, 2007 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

Hi,
I'm developing an application that I want to run inside UML system. This application use the serial line, and I need to set/reset the control signals RTS/DTR and read CTS/DSR and also I need to set up the baud rate. Into UML kernel the line_ioctl and line_set_termio functions are essentialy empty, so I guess that what I need is intentionally not implemented for divide the Guest system from the Host. (please correct me if I wrong).

Anyway I need to know if it's possible to implement this functions, maybe bypassing the UML system, or something like that. If possible, any suggestions?

Thanks,
Tiziano.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 7 lines · tcappellari

I'm developing an application that I want to run inside UML system. This application use the serial line, and I need to set/reset the control signals RTS/DTR and read CTS/DSR and also I need to set up the baud rate. Into UML kernel the line_ioctl and line_set_termio functions are essentialy empty, so I guess that what I need is intentionally not implemented for divide the Guest system from the Host. (please correct me if I wrong).

I'll implement them if you'll test patches and tell me if they work.

The thing about serial ioctls is that few things use them and it's not obvious what they are supposed to do.

What ioctls in particular are you missing?

Jeff

Signature · 12 lines
Work email - jdike at linux dot intel dot com

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel