[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Passing a USB printer to a Linux DomU


  • To: <xen-users@xxxxxxxxxxxxxxxxxxx>
  • 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
  • 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=
  • Importance: Normal
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.