Web lists-archives.com

Re: Scanner problem




>> FYI (and without I do any configuration anywhere, I just plug in scanners):
>> getfacl /dev/bus/usb/001/031:
>>
>> Canon:
>> getfacl : suppression du premier « / » des noms de chemins absolus
>> # file: dev/bus/usb/001/031
>> # owner: root
>> # group: root
>> user::rw-
>> group::rw-
>> other::r--
> 
> You would want to have "user:jp:rw-", as you do with the Epson.
>  
>> getfacl /dev/bus/usb/001/032 (EPSON):
>> getfacl : suppression du premier « / » des noms de chemins absolus
>> # file: dev/bus/usb/001/032
>> # owner: root
>> # group: root
>> user::rw-
>> user:jp:rw-
>> group::rw-
>> group:scanner:rw-
>> mask::rw-
>> other::r--
> 
> The file /lib/udev/rules.d/60-libsane.rules does not have an entry for
> the 120. See what happens with scanner detection if you add
> 
>   ATTRS{idvendor}=="04a9", ATTRS{idProduct}="x", ENV{libsane_matched}="yes"
> 
> to 60-libsane.rules?
> 
> You get "x" from the 'lsusb' command.


I added:
ATTRS{idvendor}=="04a9", ATTRS{idProduct}="190e", ENV{libsane_matched}="yes"

in this file and, alternatively, in etc//udev/rules.d/60-libsane.rules,
as mentioned in the Debian README of libusb. Nothing has canged
unfortunately. I rebooted the machine before testing again.


Just for remembrer, with setfacl -mgroup:scanner:rw- the scanner works
as regular user. But no longer when I plug-out the scanner or reboot the
computer.

Thanks for your help,

Best regards


-- 
Logo Hypra 	JEAN-PHILIPPE MENGUAL
DIRECTEUR TECHNIQUE ET QUALITÉ
102, rue des poissonniers, 75018, Paris
Tel : +331 84 73 06 61 <tel:+33184730661> Mob : +336 76 34 93 37
<tel:+33676349337>
jpmengual@xxxxxxxx <mailto:jpmengual@xxxxxxxx>
www.hypra.fr <http://www.hypra.fr/>
Facebook Hypra <https://www.facebook.com/hyprasoftware/> Twitter Hypra
<https://twitter.com/Hypra_> Linkedin Jean-Philippe
<https://fr.linkedin.com/in/jean-philippe-mengual-800133135>