Changes

From Amahi Wiki
Jump to: navigation, search
16 bytes removed ,  16:06, 31 August 2009
no edit summary
 
This page is about making Amahi run as a Scanner Server.
Look for the one that looks like it's for your scanner, and write down the two numbers next to ID (in this case, if the mouse was actually a scanner, 046d and c00e). The left number is the vendor ID, and the right is the product ID. Another option is to look here: http://www.linux-usb.org/usb.ids for your manufacturer and product.
Go to /etc/udev/rules.d/ AS ROOT.<p>Create a file 15_scanner.rules that contains:<br>  SUBSYSTEM=="usb", ATTR{idVendor}=="<left number from lsusb>", ATTR{idProduct}=="<right number from lsusb>", ACTION=="add",NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", GROUP="scanner",OPTIONS+="last_rule"<br><br>
This tells the system "If this SPECIFIC USB device is plugged in, make it part of the scanner group with the default permissions (RW by owner and group), and stop processing rules.
<p>
Save the file, and unplug and replug your scanner. That should be it.
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits