|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Passing a USB printer to a Linux DomU
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
|
|
|
|
|