On 15.12.2014 15:54, Marco Guazzone wrote:
On Mon, Dec 15, 2014 at 3:44 PM, poma
<pomidorabelisima(a)gmail.com> wrote:
> On 15.12.2014 15:33, Marco Guazzone wrote:
>> On Mon, Dec 15, 2014 at 3:31 PM, poma <pomidorabelisima(a)gmail.com> wrote:
>>> On 15.12.2014 14:46, Marco Guazzone wrote:
>>>
>>>> SANE recognizes it:
>>>>
>>>> $ sudo sane-find-scanner
>>>> found USB scanner (vendor=0x04a9 [Canon], product=0x220e [CanoScan])
>>>> at libusb:003:004
>>>>
>>>> but cannot scan:
>>>>
>>>> $ scanimage -T
>>>> scanimage: no SANE devices found
>>>>
>>>> $ scanimage -L
>>>> No scanners were identified. If you were expecting something different,
>>>> check that the scanner is plugged in, turned on and detected by the
>>>> sane-find-scanner tool (if appropriate). Please read the documentation
>>>> which came with this software (README, FAQ, manpages).
>>>>
>>>
>>> 'sane-find-scanner' via 'sudo'
>>> 'scanimage -T/-L' 'sudoless'
>>>
>>> Check permissions.
>>>
>>
>> Sure. This is exaclty what I've done (check my email above)
>>
>> -- Marco
>>
>
> :)
> Yeah, I repeated what *you* did, and *you* still do not understand.
> It would be good if *you* re-read both messages.
>
So, are you saying that scanimage -T/-L must be run via sudo?
How did you come to that conclusion, again!? :)
It should work *without* 'sudo', man.
Why does not work there, try to figure out.
Bugzilla?
I thought it could be run as a normal user.
Anyway, I've tried with "simple scan" (which I'm pretty sure it does
not require special permission) and don't work as well
Of course, it is just another frontend for SANE, as 'scanimage' is.
> BTW, what is the output of this command
> $ loginctl -p Active -p State show-session $(loginctl | grep $(whoami) | awk
'{print $1}')
>
Active=yes
State=active
OK