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] Passing a USB printer to a Linux DomU

To: <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] Passing a USB printer to a Linux DomU
From: "Tom Jensen" <tom.jensen@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Feb 2009 22:58:18 -0600
Delivery-date: Tue, 10 Feb 2009 20:59:47 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=digitaltoolbox-inc.com; h= message-id:from:to:subject:date:mime-version:content-type; s= mail; bh=q7eeKhp7SZMwlLIvfsgjZHSGjgY=; b=CXcs+aUQQnMoWYHiRKP0tjk ILiz99AFg7Lmaklra2lnj7h6aFdt+6ry7yk7MbZB2sEchNOEa8KFcz6AP5JGbV03 ubuaVHO+RMxl6FDFPGh8WUpZb9zKnMH43GpUcDFKnaT1FlM2+at4nsYXinSBj0xb 2nfHqpt6d3596/ZVdhFk=
Domainkey-signature: a=rsa-sha1; c=nofws; d=digitaltoolbox-inc.com; h= message-id:from:to:subject:date:mime-version:content-type; q=dns ; s=mail; b=lzx2uyVyVgSwwoJ0mM/3nt6AwagZUIj4K3zW+iHOffB1PP3vFU47 dPv3aKzLl2xvjWwcyZQsZcc3d8m5lWh9T6PMacZCR3THtr3EZ1rgCNoNyxVFYybn d7PmADONdZNjdB4y4d9cDVeMI8jkI4ar2LhKAE/FNierBhfcGu6CAgI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
Importance: Normal
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: Digital Toolbox
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I have a physical server where Ubuntu 8.04 LTS is installed as the Dom0.  I also use Ubuntu 8.04 LTS for the DomU domain as well.  In the DomU, I want to run a print server.  The current printer I have has a USB interface which is plugged into the Dom0 machine.
 
The output of uname -r is 2.6.24-23-xen.
 
Below is the output of lspci | grep USB on the Dom0 machine.
 
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
 
Currently, I have all of these devices forwarded to the DomU machine using the pciback.hide syntax in the /boot/grub/menu.lst file.
 
Below is the output of lspci | grep USB on the DomU machine.
 
00:00.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:00.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:00.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:00.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:00.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
So it appears that the devices are being hidden and passed through appropriately.
 
Below is the output of lsusb on the DomU machine.
 
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 002: ID 03f0:6204 Hewlett-Packard DeskJet 5150c
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
 
However, in CUPS, the printer is installed always reports as not being connected.  So print jobs sent to the printer from other Windows client on the network are sent to the queue and are never printed.
 
Any suggestions on where I should look to resolve this issue?
 
Thanks.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>