You may restrict the permissions to a specific usb group.
Maybe this is not correct, but you can find some help about udev rules here: http://reactivated.net/writing_udev_rules.html (note: this is kind of outdated but still useful. Use udevsdm for all commands provided there).
Weacan please, what do I need to add the SLKBUILD to the file "/iscan-2.26.4/backend/epkowa.conf" in the archive "iscan_2.26.4-2.tar.gz" with the source code was in the finished package on the way "/etc/sane.d/epkowa.conf"?
Thank You!
pkgname=iscan
pkgver=2.26.4
pkgrel=111
source=(iscan_$pkgver-2.tar.gz)
docs=("readme" "install" "copying" "changelog" "authors" "news" "todo")
options=('nosrcpack')
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"iscan (Image Scan! for Linux)"
"Image Scan! is a graphical scanner utility for people that do not"
"need all the bells and whistles provided by several of the other"
"utilities out there (xsane, QuiteInsane, Kooka)."
"At the moment it only supports SEIKO EPSON devices. However, the"
"device driver it provides can be used by any other SANE standard"
"compliant scanner utility."
""
"Homepage: http://avasys.jp/eng/linux_driver/"
)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --sysconfdir=/etc --localstatedir=/var
make || return 1
make install DESTDIR=$startdir/pkg
mkdir -p $startdir/pkg/usr/share/applications
cp $startdir/src/$pkgname-$pkgver/iscan.desktop $startdir/pkg/usr/share/applications/
sed -i "s/^Name=.*/Name=Image Scan!/" $startdir/pkg/usr/share/applications/iscan.desktop
echo Icon=scanner >> $startdir/pkg/usr/share/applications/iscan.desktop
mkdir -p $startdir/pkg/etc/sane.d
cp $startdir/src/$pkgname-$pkgver/backend/epkowa.conf $startdir/pkg/etc/sane.d/
}
Weacan please, why the icon of the XSane program in the application menu is not displayed "xsane", but as "scanner" (as the program "Simple Scan"), although in the file "xsane.desktop" specified "Icon=xsane"?
Thank You!