Changes

Jump to: navigation, search

USB Printing in VE

799 bytes added, 13:54, 28 November 2008
no edit summary
** a '''bus/usb''' directory
** '''many directories''' in bus/usb: named with the bus numer that you get with the first lsusb command. In this example the relevant one is '''008'''
** in the numbered subdirectory '''1 file for every usb device attached to this bus''', the first one is the usb port:
***<code>crw-rw-r-- 1 root usb 189, 896 Nov 24 16:16 001</code>
***<code>crw-rw-r-- 1 root usb 189, 902 Nov 28 14:14 007</code>
* Now that you have an idea fo the general structure of your usb devices you have to replicate them on your VE.
** create in /dev (if not present) the usb directory
** create in /dev/usb the printer device typing: <code>mknod lp0 c 180 0</code>
*** give the correct ownership/permission to the new created device typing:
**** <code>chown root:lp lp0</code>
**** <code>chmod 660 lp0 </code>
**** check with ls <code>ls -l lp0</code> if the new device is '''IDENTICAL''' to the one in HN --> <code>crw-rw---- 1 root lp 180, 0 Nov 28 14:14 lp0</code>
13
edits

Navigation menu