Scanner problem

m4ng0 ulist at gs1.ubuntuforums.org
Mon Jan 17 19:03:49 UTC 2005


A suggestion I gave also 'here'
(http://www.ubuntuforums.org/showthread.php?t=8779) is to unplug/replug
the device after the boot process, so hotplug calls
/etc/hotplug/usb/libusbscanner script, which changes permissions of the
scanner device in /proc/bus/usb to 660.

You can also do it without replugging the scanner, but you have to
manually change the permissions
to the appropiate device in /proc/bus/usb, or to add some lines in your
boot scripts.

To know which file in /proc/bus/usb your scanner is associated to, 
find the scanner in /proc/bus/usb/devices and read the "T:" line: it
contains Bus and Dev#. For example
T:  Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  2
means that the corresponding device is /proc/bus/usb/001/002.
Alternatively you can use lsusb.


-- 
m4ng0




More information about the ubuntu-users mailing list