OpenVZ Forum


Home » General » Support » USB printer inside VE
Re: USB printer inside VE [message #34045 is a reply to message #33751] Thu, 27 November 2008 13:13 Go to previous messageGo to previous message
Tenyo is currently offline  Tenyo
Messages: 5
Registered: November 2008
Junior Member
SOLVED!!!

Pretty easy I've to admit, tested with Gentoo (HN and VE):

1) in HN lsusb to identify numbers relative to the usb port and the attached printer
Bus 008 Device 005: ID 04b8:0005 Seiko Epson Corp. Stylus Printer
Bus 008 Device 001: ID 1d6b:0001 


2) in VE go to /dev/bus/usb, create a directory equal to the Bus number and create there with mknod 2 devices: 1 for the usb port and 1 for the pritner with the same device number in HN
crw-rw-r-- 1 root usb 189, 896 Nov 26 08:58 001
crw-rw-r-- 1 root usb 189, 900 Nov 27 12:29 005


3) now create in VE a device similar to the one in HN for the usbprinter and a link if needed:
crw-rw-rw- 1 root lp 180, 0 Nov  7 19:32 lp0

lrwxrwxrwx 1 root root 7 Nov 26 17:51 usblp0 -> usb/lp0


4) time to add devices permission on your VE configuration file:
DEVICES="c:180:0:rw c:189:896:rw c:189:900:rw"


5) start the VE end enter, with lsusb you should see both devices: the port and the printer

6) Cups should find the printer attached to the usb port

Good Luck Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: WINS samba server in VE
Next Topic: AFP or CSF on vzID
Goto Forum:
  


Current Time: Fri Aug 01 07:10:23 GMT 2025

Total time taken to generate the page: 0.48718 seconds