|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] Print-server on DomU
On Thursday, 14 December 2006 02:14:31 +0800,
Tim Post wrote:
> > 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.
> Most likely you're just missing the device and a simple mknod would
> correct this. I don't know the major / minor to pass to mknod for that
> particular device off the top of my head.
The printer, as it seems, is recognized:
printserver:~# lsusb
Bus 001 Device 002: ID 04b8:0005 Seiko Epson Corp. Stylus Printer
Bus 001 Device 001: ID 0000:0000
I was searching [1] in Internet and I've followed these steps:
printserver:~# mkdir /dev/usb
printserver:~# mknod /dev/usb/lp0 c 180 0
printserver:~# ls /dev/usb -l
total 0
crw-r--r-- 1 root root 180, 0 Dec 14 09:48 lp0
but the device can't be open:
printserver:~# escputil -u -i -r /dev/usb/lp0
Escputil version 4.2.7, Copyright (C) 2000-2001 Robert Krawitz
Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l'
This is free software, and you are welcome to redistribute it
under certain conditions; type 'escputil -l' for details.
Cannot open /dev/usb/lp0 read/write: No such device
CUPS reports the same problem:
StC65 EPSON Stylus C64 - CUPS+Gimp-Print v4.2.7
Description: Epson Stylus C65
Location:
Printer State: processing, accepting jobs.
"Unable to open USB device "usb:/dev/usb/lp0": No such device"
Device URI: usb:/dev/usb/lp0
I've notice the device /dev/usb/lp0 is gone after the boot :-S
printserver:/dev# ls /dev/usb -l
ls: /dev/usb: No such file or directory
and I get this message from lp:
lp: driver loaded but no devices found
Thanks to both for your answers.
Regards,
Daniel
[1] http://www.ioelive.com/drupal/?q=node/27
--
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
signature.asc
Description: Digital signature
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|