WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] usb->serial converter + export that serial port in pv DomU

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] usb->serial converter + export that serial port in pv DomU
From: Andris <andris@xxxxxxxx>
Date: Thu, 21 Feb 2008 15:15:57 +0200
Delivery-date: Thu, 21 Feb 2008 05:14:55 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.6 (X11/20070814)
Hello all!

I have Centos 5.1 64bit xen Dom0 and ABIT mobo with no serial ports.
The task is:

- connect an external fax modem to Dom0 via USB -> to serial converter cable
- export that serial port to paravirtualized Gentoo DomU for use with
Hylafax

I found the solution:
http://www.olivetalks.com/2008/01/24/usb-forwarding-on-xen by exporting
mobo usb PCI device to domU.
But unfortunately it seems not to be stable setup as noted by author.
Although I successfully use a similar approach for PCI printer port card
(Dom0) and HASP device (DomU) in production environment with no problems
at all.
Are there differences for USB?

I connected USB to serial converter cable to my Dom0 machine. Everything
is detected and ok. I see /dev/ttyUSB0 as my serial port.
How to export /dev/ttyUSB0 to my DomU?
I suppose the irq and ioports options in domU config file are not
applicable to port created by USB converter cable.

If this setup is impossible for paravirtualized domU, then I can create
a HVM gentoo DomU.
What about usb=1 option or serial='/dev/ttyUSB0' option?


andris

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>