Page 1 of 2

[SOLVED] (hplip) Can not detect scanner after BASIC install

Posted: 13. Aug 2015, 19:37
by zAchAry
SOLVED by installing hplip

Xsane does not detect my scanner, not even when running it as root.

Xsane does detect that scanner on another machine with FULL install.

Note: lsusb detects that device.

SOLVED by installing hplip

Re: Can not detect scanner after BASIC install

Posted: 13. Aug 2015, 23:47
by ChuangTzu
I think you need to add the sudo user to scanner group.

Re: Can not detect scanner after BASIC install

Posted: 14. Aug 2015, 07:07
by zAchAry
It is there, already.

Re: Can not detect scanner after BASIC install

Posted: 14. Aug 2015, 12:49
by zAchAry

Code: Select all

$ sane-find-scanner 

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.
  # Also you need support for SCSI Generic (sg) in your operating system.
  # If using Linux, try "modprobe sg".

could not open USB device 0x1a40/0x0101 at 001:002: Access denied (insufficient permissions)
found USB scanner (vendor=0x03f0 [HP], product=0x2d12 [Officejet 4500 G510g-m]) at libusb:001:003
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 003:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 at 005:001: Access denied (insufficient permissions)
could not open USB device 0x09da/0x000a at 001:004: Access denied (insufficient permissions)
could not open USB device 0x04f3/0x0103 at 001:005: Access denied (insufficient permissions)
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

Re: Can not detect scanner after BASIC install

Posted: 14. Aug 2015, 16:15
by ChuangTzu
Is the user in the "storage" group? Your printout looks like a USB issue permission issue.

Re: Can not detect scanner after BASIC install

Posted: 14. Aug 2015, 20:14
by zAchAry
There is no "storage" group.

By searching the internet, it might be a BIOS issue, but I do not know where to look.

Re: Can not detect scanner after BASIC install

Posted: 14. Aug 2015, 22:00
by westms
zAchAry wrote:Xsane does not detect my scanner, not even when running it as root.

Xsane does detect that scanner on another machine with FULL install.

Note: lsusb detects that device.
Does at least one of the three following programs work?
  • simple-scan

    scanimage

    sane-find-scanner
If none work, then probably the api SANE is not installed. Therefore, you can check first for the API.

Re: Can not detect scanner after BASIC install

Posted: 15. Aug 2015, 01:17
by ChuangTzu
west,

You beat me to it. This was my next thought. ;)

Also, if you cant tell already I learned along time ago about not being in the proper groups....check to make sure your user is in the "plugdev" group. You were correct the "scanner" group is not in Slackware and was from my prior pre systemd Arch days.

Re: Can not detect scanner after BASIC install

Posted: 15. Aug 2015, 03:58
by zAchAry
I have compared the groups of sudo user with another machine where printer and scanner work.

Code: Select all

$ simple-scan

** (simple-scan:2123): WARNING **: No scan device available

Code: Select all

$ scanimage
scanimage: no SANE devices found

Code: Select all

$ lsusb | grep P
Bus 001 Device 033: ID 03f0:2d12 Hewlett-Packard 

Code: Select all

$ ls -lash /dev/bus/usb/001/
total 0
0 drwxr-xr-x 2 root root     140 Aug 15 22:21 .
0 drwxr-xr-x 7 root root     140 Aug 16  2015 ..
0 crw-rw-r-- 1 root root 189,  0 Aug 15 21:37 001
0 crw-rw-r-- 1 root root 189, 27 Aug 15 21:54 028
0 crw-rw-r-- 1 root root 189, 29 Aug 15 21:54 030
0 crw-rw-r-- 1 root root 189, 31 Aug 15 22:21 032
0 crw-rw-r-- 1 root lp   189, 32 Aug 15 22:59 033

Re: Can not detect scanner after BASIC install

Posted: 15. Aug 2015, 22:31
by westms
ChuangTzu wrote:west,

You beat me to it. This was my next thought. ;)
ChuangTzu, I am sorry for that. ;)
Also, if you cant tell already I learned along time ago about not being in the proper groups....check to make sure your user is in the "plugdev" group. You were correct the "scanner" group is not in Slackware and was from my prior pre systemd Arch days.
Not to be in the right group, used to be a problem in the past and required some manual work. In a Full installation I have not seen that for some time.

But member zAchAry uses a Basic installation and might have to rework more when he install individual packages later.

I had overlooked the fact that zAchAry had already used sane-find-scanner. SANE therefore must already be installed.