Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #186727

Re: Scanner problem

From MENGUAL Jean-Philippe <mengualjeanphi@free.fr>
Newsgroups linux.debian.user
Subject Re: Scanner problem
Date 2017-09-13 01:20 +0200
Message-ID <up2Dg-7P4-9@gated-at.bofh.it> (permalink)
References <uoBWp-75f-5@gated-at.bofh.it> <uoPG1-7Td-13@gated-at.bofh.it> <uoZFo-5Ul-11@gated-at.bofh.it> <up1xw-77C-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>> 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@hypra.fr <mailto:jpmengual@hypra.fr>
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>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Scanner problem MENGUAL Jean-Philippe <mengualjeanphi@free.fr> - 2017-09-11 20:50 +0200
  Re: Scanner problem Brian <ad44@cityscape.co.uk> - 2017-09-12 11:30 +0200
    Re: Scanner problem MENGUAL Jean-Philippe <mengualjeanphi@free.fr> - 2017-09-12 22:10 +0200
      Re: Scanner problem Michael Stone <mstone@debian.org> - 2017-09-12 23:30 +0200
      Re: Scanner problem Brian <ad44@cityscape.co.uk> - 2017-09-13 00:10 +0200
        Re: Scanner problem MENGUAL Jean-Philippe <mengualjeanphi@free.fr> - 2017-09-13 01:20 +0200
          Re: Scanner problem Michael Stone <mstone@debian.org> - 2017-09-13 07:40 +0200
            Re: Scanner problem MENGUAL Jean-Philippe <mengualjeanphi@free.fr> - 2017-09-13 08:40 +0200
              Re: Scanner problem Brian <ad44@cityscape.co.uk> - 2017-09-13 11:40 +0200
              Re: Scanner problem Michael Stone <mstone@debian.org> - 2017-09-13 12:40 +0200

csiph-web