Re: what gives a clear scan with Linux?

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: Main PLUG discussion list
Subject: Re: what gives a clear scan with Linux?
groupadd <user> scanner ?

On Tue, Dec 22, 2015 at 4:37 PM, Michael Havens <> wrote:

> I guess I was thinking to deep. huh?
> but I didn't remove any software....
>
> On Tue, Dec 22, 2015 at 4:35 PM, Brian Cluff <> wrote:
>
>> The user needs to be part of the scanner group in order for the scanner
>> to be found.
>>
>> I would guess that while you were adding and removing scanner software,
>> one of the the packages removed the scanner group completely and when you
>> shutdown the machine it forgot that you were in the group.
>>
>> Try adding the scanner group to your user and then log out and back in
>> again and it should start working
>>
>> Brian Cluff
>>
>> On 12/22/2015 12:29 PM, Michael Havens wrote:
>>
>>> but why did it work before? ,I just shut down, started windows, and then
>>> restarted into linux!!!!
>>>
>>> On Tue, Dec 22, 2015 at 2:28 PM, Michael Havens <
>>> <mailto:bmike1@gmail.com>> wrote:
>>>
>>>     I found the problem. It seems to be a permissions error!

>>>
>>>     man sane-usb
>>>     This is a short HOWTO-like section. For the full details, read the
>>> fol‐
>>>             lowing  sections.  The  goal  of  this  section  is  to get
>>>     the scanner
>>>             detected by sane-find-scanner(1).

>>>
>>>             Run sane-find-scanner. If it lists your scanner with the
>>>     correct vendor
>>>             and  product  ids, you are done. See section SANE ISSUES for
>>>     details on
>>>             how to go on.

>>>
>>>             sane-find-scanner doesn't list your scanner? Does it work as
>>>       root?  If
>>>             yes, there is a permission issue. See the LIBUSB section for
>>>     details.

>>>
>>>             Nothing  is found even as root? Check that your kernel
>>>     supports USB and
>>>             that libusb is installed (see section LIBUSB).

>>>
>>>     <edit>
>>>     LIBUSB
>>>             SANE  can  only  use libusb 0.1.6 or newer. It needs to be
>>>     installed at
>>>             build-time. Modern Linux distributions and other operating
>>>     systems come
>>>             with libusb.

>>>
>>>             Libusb  can  only access your scanner if it's not claimed by
>>>     the kernel
>>>             scanner driver. If you want to use libusb,  unload  the
>>>       kernel  driver
>>>             (e.g. rmmod scanner under Linux) or disable the driver when
>>>     compiling a
>>>             new kernel. For Linux, your kernel needs support for the USB
>>>     filesystem
>>>             (usbfs). For kernels older than 2.4.19, replace "usbfs" with
>>>     "usbdevfs"
>>>             because the name has changed. This filesystem must be
>>>       mounted.  That's
>>>             done  automatically  at  boot  time, if /etc/fstab contains
>>>     a line like
>>>             this:

>>>
>>>                    none /proc/bus/usb usbfs defaults  0  0

>>>
>>>             The permissions for the device files used by libusb  must
>>>       be  adjusted
>>>             for  user  access. Otherwise only root can use SANE devices.
>>>     For Linux,
>>>             the devices are located in /proc/bus/usb/ or in
>>>       /dev/bus/usb,  if  you
>>>             use  udev.  There  are directories named e.g. "001" (the bus
>>>     name) con‐
>>>             taining files "001", "002" etc. (the device files).  The
>>>       right  device
>>>             files can be found out by running scanimage -L as root.
>>>     Setting permis‐
>>>             sions with "chmod" is not permanent, however. They will be
>>>     reset  after
>>>             reboot or replugging the scanner.

>>>
>>>     Okay, do I need to make it look like:

>>>
>>>                      none /proc/bus/usb usbfs defaults  6   6

>>>
>>>     or what do I need to do?

>>>
>>>     On Tue, Dec 22, 2015 at 2:10 PM, Michael Havens <
>>>     <mailto:bmike1@gmail.com>> wrote:

>>>
>>>         I then tried:

>>>
>>>           scanimage>test.scn
>>>           scanimage: no SANE devices found

>>>
>>>
>>>
>>>
>>>     --
>>>     :-)~MIKE~(-:

>>>
>>>
>>>
>>>
>>> --
>>> :-)~MIKE~(-:
>>>
>>>
>>> ---------------------------------------------------
>>> PLUG-discuss mailing list -
>>> To subscribe, unsubscribe, or to change your mail settings:
>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>
>>>
>> ---------------------------------------------------
>> PLUG-discuss mailing list -
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>
>
>
>
> --
> :-)~MIKE~(-:
>




--
:-)~MIKE~(-:
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss