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

Re: [Xen-users] Print-server on DomU



On Tuesday, 12 December 2006 13:29:58 -0500,
Alexey Koptsevich wrote:

> I use USB printer in domU. You just need to hide PCI device
> of USB controller from dom0 and make it visible to domU --
> see user guide.

Thanks to both for answer, and thank you for your recommendation of
to read the section 5.3.1 of the fine manual :-) I've got to progress in
the configuration:

sirius:~# lspci|grep USB
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 
  1.1 Controller (rev 90)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
  1.1 Controller (rev 90)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
  1.1 Controller (rev 90)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
  1.1 Controller (rev 90)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)

sirius:~# cat /etc/xen/printserver
[...]
pci=['00,10,0']
[...]

sirius:~# tail -n 5 /boot/grub/menu.lst
[...]
module          /vmlinuz-2.6.16-xen root=/dev/hda3 acpi=noirq 
pciback.hide=(0000:00:10.0)
[...]

sirius:~# xm console 8

Debian GNU/Linux 3.1 printserver tty1

printserver login: root
Password:
[...]
printserver:~# lspci
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB
  1.1 Controller (rev 90)
printserver:~# lsmod
Module                  Size  Used by
parport_pc             33476  0
lp                     10340  0
parport                37128  2 parport_pc,lp
ipv6                  254368  10
usblp                  12000  0
reiserfs              234992  1
dm_mirror              21616  0
dm_snapshot            17344  0
dm_mod                 53880  2 dm_mirror,dm_snapshot
uhci_hcd               31600  0
processor              18836  0

But I think what I missed something, because I don't see /dev/usb/lp0
(It'd be the name of device, I think). Should I install other(s)
module(s) or to hide another device from dom0? I'm using Debian
GNU/Linux Sarge in both dom0 and domU's.

Regards,
Daniel
-- 
Daniel Bareiro - System Administrator
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Etch - Linux user #188.598

Attachment: signature.asc
Description: Digital signature

_______________________________________________
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®.