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

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

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Passing a USB printer to a Linux DomU
From: Thomas Jensen <tom.jensen@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 11 Feb 2009 13:56:55 -0600
Delivery-date: Wed, 11 Feb 2009 11:58:24 -0800
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=digitaltoolbox-inc.com; h= message-id:date:from:to:subject:references:in-reply-to :mime-version:content-type:content-transfer-encoding; s=mail; bh=L0pDmL9MByjf1eLVy1zGyax1S3c=; b=U2u5PCYrCbZ+LkT7dbQ8Im4Qo43e vaPCp2FRgbKRPt0B2fZsRlalpPjN/Tw1PsXvwM36B2T1QNM3gt79VL3tNlZVwyCv 7RAt00CshflTAqKUFnkPWyFhsosTzSVuwAKRxmMwGNwtjwIhNaL6POl51oWMU88Q +KJ9+1us10RcfvI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=digitaltoolbox-inc.com; h= message-id:date:from:to:subject:references:in-reply-to :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=ry9ztDMks/LOi8YhLcjIU/cl0+k/XKrpYJAMqKbO/Q0+vZdtvVbJBEhr LighpWZlknRj+MFZyn0l8apCmpZHdcQcwweKRjQMa52Z71lwYrijGPGWrM5tQOFz lAmFJQzut6xmZEZa7/ZfrWAXId4DWxPQxpretKIDzaJQv9zfA6s=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4621e3520902111045i6c0a447rf9954b6bbb91ba92@xxxxxxxxxxxxxx>
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>
References: <5C6762B13B0F4C47B368A4BDA99F9967@wolverine> <4621e3520902110835t71f3086dy6ea0bbc4c83605b7@xxxxxxxxxxxxxx> <20090211122835.40205a8rmjugxjgw@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4621e3520902111045i6c0a447rf9954b6bbb91ba92@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1)
I guess the solution I was hoping for from the list would be to confirm that Xen is handling the passthrough of the USB correctly. I am not an expert by any means, but since the devices are created in /dev and the printer shows up in lsusb and lpinfo, it appears that I should begin troubleshooting elsewhere.

Would you agree that USB is being passed correctly?

As part of this test rig, I have eBox installed which is managing the sharing of the printer. I am pretty sure it uses CUPS, so I could begin troubleshooting the issue there and report back.

Quoting Matt Richardson <shortpath@xxxxxxxxx>:

On Wed, Feb 11, 2009 at 10:28 AM, Thomas Jensen
<tom.jensen@xxxxxxxxxxxxxxxxxxxxxx> wrote:
<snip>

I did not manually create any of these entries in the /dev directory.  I
presume they are all created as a result of the pci passthrough.
 Furthermore, my printer is displayed in the output of lpinfo -v:

network socket
network beh
direct usb://hp/deskjet%205100?serial=MY3AN4J3337A
direct hp:/usb/deskjet_5100?serial=MY3AN4J3337A
direct hpfax
network http
network ipp
network lpd
direct scsi

Any other suggestions?  It appears that it is very close to working as
anticipated.

That looks like a CUPS problem, like the queue is enabled but not
accepting or something to that effect.  Are you using the usb or hp
socket to connect to the printer?

Also, my apologies if this is straying off topic.  I'm happy to take
it off list.

--
Matt

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




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

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