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

You have a problem with Salix? Post here and we'll do what we can to help.
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: Can not detect scanner after BASIC install

Post by westms »

Does a file /lib/udev/rules.d/80-libsane.rules exists?
Is your device listed in it?

If the file exists and your device is not listed, you could tentatively add an additional ATTRS line. The Vendor-ID (0x03f0) in combination with the Product-ID (0x2d12) is unknown. The file contents are otherwise created through description files, but for a test, it'll be all right.

Added:
Is hplip installed?
User avatar
laprjns
Salix Warrior
Posts: 1112
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Can not detect scanner after BASIC install

Post by laprjns »

On a fresh install of Salix64 14.1 BASIC and had not problem detecting my Cannon Lide 200 scanner. Right after the first boot , all I did is install Xsane. It did pull in several packages as dependencies. Once they installed , I plug in my scanner and then starter xsane. Detected the scanner without problems.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: [SOLVED] (hplip) Can not detect scanner after BASIC inst

Post by zAchAry »

westms wrote:Added:
Is hplip installed?
No.

Now, after installing hplip, I can scan.

Thank you!

The output of sane-find-scanner has not changed, though:

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 005:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0001 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/0x0002 at 005:001: Access denied (insufficient permissions)
found USB scanner (vendor=0x03f0 [HP], product=0x2d12 [Officejet 4500 G510g-m]) at libusb:005:003
could not open USB device 0x09da/0x000a at 005:004: Access denied (insufficient permissions)
could not open USB device 0x04f3/0x0103 at 005: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.
Image
Help to make Slackware easier Donate to Salix
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: [SOLVED] (hplip) Can not detect scanner after BASIC inst

Post by westms »

zAchAry wrote:
westms wrote:Added:
Is hplip installed?
No.

Now, after installing hplip, I can scan.

Thank you!

The output of sane-find-scanner has not changed, though:
sane-find-scanner has seen the scanner as a USB device:

Code: Select all

found USB scanner (vendor=0x03f0 [HP], product=0x2d12 [Officejet 4500 G510g-m]) at libusb:005:003
just as it did at your first attempt.

Perhaps the installation of hplib has called /usr/bin/hp-setup and this could have made then any adjustments.

Just out of interest, to check what's happened, I still ask:
Does the installation add a configuration file for HP devices in directory /etc/sane.d?
Was also /lib/udev/rules.d/80-libsane.rules updated and have been configuration files stored for the HP product in ~/.sane/xsane?
User avatar
zAchAry
Posts: 804
Joined: 11. May 2010, 09:02
Location: Israel

Re: [SOLVED] (hplip) Can not detect scanner after BASIC inst

Post by zAchAry »

Code: Select all

$ ls -1 -l .sane/xsane/
total 20
-rw-rw---- 1 salix users 1727 Aug 16 06:08 Hewlett-Packard:Officejet__4500__G510g-m.drc
drwxrwx--- 2 salix users    6 Aug 16 06:06 batch-lists
-rw------- 1 salix users 4263 Aug 16 06:08 xsane.mdf
-rw------- 1 salix users 5196 Aug 16 06:08 xsane.rc

Code: Select all

$ ls -1 -l /etc/sane.d/
total 320
-rw-r--r-- 1 root root   25 Oct 12  2013 abaton.conf
-rw-r--r-- 1 root root   14 Oct 12  2013 agfafocus.conf
-rw-r--r-- 1 root root   24 Oct 12  2013 apple.conf
-rw-r--r-- 1 root root   26 Oct 12  2013 artec.conf
-rw-r--r-- 1 root root 4140 Oct 12  2013 artec_eplus48u.conf
-rw-r--r-- 1 root root  548 Oct 12  2013 avision.conf
-rw-r--r-- 1 root root   29 Oct 12  2013 bh.conf
-rw-r--r-- 1 root root   26 Oct 12  2013 canon.conf
-rw-r--r-- 1 root root  193 Oct 12  2013 canon630u.conf
-rw-r--r-- 1 root root 3126 Oct 12  2013 canon_dr.conf
-rw-r--r-- 1 root root 1160 Oct 12  2013 canon_pp.conf
-rw-r--r-- 1 root root  509 Oct 12  2013 cardscan.conf
-rw-r--r-- 1 root root   34 Oct 12  2013 coolscan.conf
-rw-r--r-- 1 root root  754 Oct 12  2013 coolscan2.conf
-rw-r--r-- 1 root root  754 Oct 12  2013 coolscan3.conf
-rw-r--r-- 1 root root  984 Oct 12  2013 dc210.conf
-rw-r--r-- 1 root root  984 Oct 12  2013 dc240.conf
-rw-r--r-- 1 root root  704 Oct 12  2013 dc25.conf
-rw-r--r-- 1 root root  492 Oct 12  2013 dell1600n_net.conf
-rw-r--r-- 1 root root  816 Oct 12  2013 dll.conf
drwxr-xr-x 2 root root    6 Oct 12  2013 dll.d
-rw-r--r-- 1 root root   12 Oct 12  2013 dmc.conf
-rw-r--r-- 1 root root 1378 Oct 12  2013 epjitsu.conf
-rw-r--r-- 1 root root  793 Oct 12  2013 epson.conf
-rw-r--r-- 1 root root  376 Oct 12  2013 epson2.conf
-rw-r--r-- 1 root root 2196 Oct 12  2013 fujitsu.conf
-rw-r--r-- 1 root root 1902 Oct 12  2013 genesys.conf
-rw-r--r-- 1 root root 1149 Oct 12  2013 gphoto2.conf
-rw-r--r-- 1 root root 7792 Oct 12  2013 gt68xx.conf
-rw-r--r-- 1 root root  497 Oct 12  2013 hp.conf
-rw-r--r-- 1 root root  396 Oct 12  2013 hp3900.conf
-rw-r--r-- 1 root root   76 Oct 12  2013 hp4200.conf
-rw-r--r-- 1 root root  238 Oct 12  2013 hp5400.conf
-rw-r--r-- 1 root root   22 Oct 12  2013 hpsj5s.conf
-rw-r--r-- 1 root root   24 Oct 12  2013 hs2p.conf
-rw-r--r-- 1 root root   38 Oct 12  2013 ibm.conf
-rw-r--r-- 1 root root  367 Oct 12  2013 kodak.conf
-rw-r--r-- 1 root root 2599 Oct 12  2013 kodakaio.conf
-rw-r--r-- 1 root root  113 Oct 12  2013 leo.conf
-rw-r--r-- 1 root root  119 Oct 12  2013 lexmark.conf
-rw-r--r-- 1 root root  187 Oct 12  2013 ma1509.conf
-rw-r--r-- 1 root root 1254 Oct 12  2013 magicolor.conf
-rw-r--r-- 1 root root  666 Oct 12  2013 matsushita.conf
-rw-r--r-- 1 root root  268 Oct 12  2013 microtek.conf
-rw-r--r-- 1 root root  279 Oct 12  2013 microtek2.conf
-rw-r--r-- 1 root root 2125 Oct 12  2013 mustek.conf
-rw-r--r-- 1 root root 3824 Oct 12  2013 mustek_pp.conf
-rw-r--r-- 1 root root  809 Oct 12  2013 mustek_usb.conf
-rw-r--r-- 1 root root   13 Oct 12  2013 nec.conf
-rw-r--r-- 1 root root  573 Oct 12  2013 net.conf
-rw-r--r-- 1 root root  365 Oct 12  2013 p5.conf
-rw-r--r-- 1 root root   75 Oct 12  2013 pie.conf
-rw-r--r-- 1 root root  492 Oct 12  2013 pixma.conf
-rw-r--r-- 1 root root 4142 Oct 12  2013 plustek.conf
-rw-r--r-- 1 root root  943 Oct 12  2013 plustek_pp.conf
-rw-r--r-- 1 root root  391 Oct 12  2013 qcam.conf
-rw-r--r-- 1 root root   29 Oct 12  2013 ricoh.conf
-rw-r--r-- 1 root root  183 Oct 12  2013 rts8891.conf
-rw-r--r-- 1 root root   13 Oct 12  2013 s9036.conf
-rw-r--r-- 1 root root 1052 Oct 12  2013 saned.conf
-rw-r--r-- 1 root root   48 Oct 12  2013 sceptre.conf
-rw-r--r-- 1 root root 1464 Oct 12  2013 sharp.conf
-rw-r--r-- 1 root root  115 Oct 12  2013 sm3840.conf
-rw-r--r-- 1 root root 2239 Oct 12  2013 snapscan.conf
-rw-r--r-- 1 root root   10 Oct 12  2013 sp15c.conf
-rw-r--r-- 1 root root 2224 Oct 12  2013 st400.conf
-rw-r--r-- 1 root root  178 Oct 12  2013 stv680.conf
-rw-r--r-- 1 root root   28 Oct 12  2013 tamarack.conf
-rw-r--r-- 1 root root  355 Oct 12  2013 teco1.conf
-rw-r--r-- 1 root root  636 Oct 12  2013 teco2.conf
-rw-r--r-- 1 root root  217 Oct 12  2013 teco3.conf
-rw-r--r-- 1 root root 1807 Oct 12  2013 test.conf
-rw-r--r-- 1 root root 1495 Oct 12  2013 u12.conf
-rw-r--r-- 1 root root 3094 Oct 12  2013 umax.conf
-rw-r--r-- 1 root root  386 Oct 12  2013 umax1220u.conf
-rw-r--r-- 1 root root 1684 Oct 12  2013 umax_pp.conf
-rw-r--r-- 1 root root  204 Oct 12  2013 v4l.conf
-rw-r--r-- 1 root root 3424 Oct 12  2013 xerox_mfp.conf

Code: Select all

$ ls -1 -l /lib/udev/rules.d/80-libsane.rules
-rw-r--r-- 1 root root 130190 Oct 12  2013 /lib/udev/rules.d/80-libsane.rules
Image
Help to make Slackware easier Donate to Salix
User avatar
laprjns
Salix Warrior
Posts: 1112
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: [SOLVED] (hplip) Can not detect scanner after BASIC inst

Post by laprjns »

A Google search shows that it's a common problem and the answer is to install hplip. hplip provides the needed driver allowing sane to recognized the hp scanner.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: [SOLVED] (hplip) Can not detect scanner after BASIC inst

Post by westms »

laprjns wrote:A Google search shows that it's a common problem and the answer is to install hplip. hplip provides the needed driver allowing sane to recognized the hp scanner.
Hello laprjns,

in my Salix system with Full installation, "hplip" is installed, although I do not own HP products. I do not know how it happened. Unfortunately, I don't know of a way to see or check dependencies with "gslapt", when a package is already installed. Therefore, I do not know if perhaps "hplip" was installed by package SANE or otherwise.
User avatar
drzaz3177
Posts: 6
Joined: 8. Aug 2015, 15:22
Location: Morocco

Re: [SOLVED] (hplip) Can not detect scanner after BASIC inst

Post by drzaz3177 »

I don't have a printer at all . I did a full install of Salix openbox version .

I think hplip is installed .

Code: Select all

slapt-get --available | grep hplip

Code: Select all

hplip-3.13.10-x86_64-1 [inst=no]: hplip (HP print/scan/fax support)
hplip-3.13.11-x86_64-1gv [inst=yes]: hplip (HP print/scan/fax support)
User avatar
laprjns
Salix Warrior
Posts: 1112
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: [SOLVED] (hplip) Can not detect scanner after BASIC inst

Post by laprjns »

hplip package is included in a full install of Salix.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
Post Reply