All pastes #2104857 Raw Edit

CUPS through openvz

public text v1 · immutable
#2104857 ·published 2012-01-22 00:24 UTC
rendered paste body
==ON THE PHYSICAL SERVER==
iridium:~# lsusb|grep 5550
Bus 004 Device 002: ID 03f0:6004 Hewlett-Packard DeskJet 5550
iridium:~# ls -l /dev/usb/lp*
crw-rw---- 1 root lp 180, 0 2012-01-15 13:47 /dev/usb/lp0
iridium:~# ls -l /dev/bus/usb/004
total 0
crw-rw-r-- 1 root root 189, 384 2012-01-15 13:46 001
crw-rw-r-- 1 root root 189, 385 2012-01-15 13:46 002

==ON THE VE==
iridium:~# vzctl enter 6629
entered into VE 6629
root@printer:/# ls -l /dev/usb/lp*
crw-rw---- 1 root users 180, 0 Dec 29 15:19 /dev/usb/lp0
-rw-r--r-- 1 root root       5 Jan 22 00:11 /dev/usb/lp0lsusb
root@printer:/# ls -l /dev/bus/usb/004
total 0
crw-rw-r-- 1 root root 189, 384 Dec 29 15:25 001
crw-rw-r-- 1 root root 189, 385 Jan 22 00:08 002
root@printer:/# ls -l /dev/bus/usb/004
total 0
crw-rw-r-- 1 root root 189, 384 Dec 29 15:25 001
crw-rw-r-- 1 root root 189, 385 Jan 22 00:08 002
root@printer:/# echo test > /dev/usb/lp0
-bash: /dev/usb/lp0: No such device