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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Thomas Jensen <tom.jensen@xxxxxxxxxxxxxxxxxxxxxx>
  • Date: Wed, 11 Feb 2009 12:28:35 -0600
  • Delivery-date: Wed, 11 Feb 2009 10:29:52 -0800
  • 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=jICxvKHPjBTfn3OmgW+UXWiIkhMOBmvLYvGBSRBVCsY0DPBAsB7Qf8Tu RLaIZUmQ71/F4VAm3Z5SMpCwYJaQt83YyFAlkxy7KUQ6zSZ5QaOVkxHu3t+oA9W4 +mn1jOb3iLeHpCgJOei9VFnZaqfsSFIBydZ5/C4ACWiqsfa+nQA=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

There is actually a pretty decent explanation of how to do USB printing on the OpenVZ site. I figured that the differences for passthrough can't be that different. That How To really focuses on the issue you are referring to about entries in the /dev directory.

It was one of the first places I looked when I encountered my problem.

I have the following entry in the /dev directory:

lrwxrwxrwx 1 root   root           7 Feb 10 23:19 usblp0 -> usb/lp0

ls -l /dev/usb shows:

crw-rw---- 1 root lp 180, 0 Feb 10 23:19 lp0

Further more, my USB printer is on the fourth device as a result of lsusb:

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

A ls -l /dev/bus/usb/004 shows:

crw-rw-r-- 1 root root 189, 384 Feb 10 23:19 001
crw-rw---- 1 lp   lp   189, 385 Feb 11 12:17 002

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.


Quoting Matt Richardson <shortpath@xxxxxxxxx>:

I have gotten to the same point and suspect that an entry isn't being
made in /dev for the printer, but had to move on to another project.
What does lpinfo -v report?  Mine does not show the usb printer,
although lsusb does.


--
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


 


Rackspace

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