[sane-devel] scanbd on archlinuxarm
louis at fazant.net
Mon Dec 24 22:09:21 UTC 2012
On Mon, 2012-12-24 at 22:53 +0100, Andreas Dick wrote:
> Am Montag, 24. Dezember 2012, 09.09:59 schrieb Michael Watson:
> > Arch Linux Arm is not quite debian. I may have run into a permissions issue
> > with libsub.
> I have a similar problem with my HP OfficeJet muliti function device
> (printer+scanner) on wheezy/i386 and even on lenny/i386! (thus I do not think
> this is arch dependent :-)
> The sane libusb driver (hpaio) is working fine on the server:
> root at wheezy:~# sane-find-scanner -q
> found USB scanner (vendor=0x03f0 [HP], product=0x5912 [Officejet Pro 8600]) at
> root at wheezy:~# scanimage -L
> device `hpaio:/usb/Officejet_Pro_8600?serial=CN261BK2W705KD' is a Hewlett-
> Packard Officejet_Pro_8600 all-in-one
> but if I try to scan from remote with saned over inetd, "scanimage -L" is not
> able to fine any scanner! I found that the reason is just that the libusb
> driver runns in the group of lp:
> root at wheezy:~# ll /proc/bus/usb/005/002
> crw-rw-r-- 1 root lp 189, 513 24. Dez 10:27 /dev/bus/usb/005/002
> and not in the scanner group as saned is member of!
> of coarse, a simple hotfix could be to chmod 666 the device file (as found by
> googling in plenty of forums), but this is not nice at all!
> My better solutions is just to add saned to the lp group
> root at wheezy:~# addgroup saned lp
> and remote scanning works fine!
> My question is now : should this not be done by the distro already? Or even by
> the saned package? Or is it the hplip driver that is wrong? To conclude, I
> think that this should be fixed somehow but I do not know who is responsable...
I would say: the package that creates the saned user, should also make
sure that user is part of the relevant group (lp). Most scanners have an
usb connection, so using usb should be possible. Which package defines
saned on your system?
More information about the sane-devel