On Tuesday 11 January 2005 05:30, Larry Brigman wrote:
> Is it possible to map different parallel ports to the
> first parallel port in different UML's.
>
> I have binary code that I don't have the source for
> that needs access to the first parallel port.  I would
> like to run at least two copies at the same time
> but this would require both copies to see one program
> running and no other programs accessing the parallel port.
Nobody had this request yet, and I don't know if there's already such code.

In principle it can be easily *coded*, the hostaudio module does something 
similar to map /dev/dsp (or any node with the right major and minor, even if 
it's called /dev/lp) inside UML to /dev/sound/dsp (or another configurable 
path) outside it. The only problem could be for writes / reads, because the 
hostaudio driver does not update the position after a read, since it mimics a 
OSS driver which has this API. I don't know, but maybe the parallel port 
works the same way.

-- 
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to