Not working Canon DR-F120 scanner

Getting your soundcard to work, using Debian on non-i386 hardware, etc

Not working Canon DR-F120 scanner

Postby Deblib » 2017-06-04 13:56

I have a Canon DR-F120 scanner, Debian 8 64-bit and I've read quite a few tutorials on the internet about wine, PlayOnLinux, winetricks ... but I still have not managed to make it work. With sane, either. I also do not know if you can compile a source code that works on Debian 7 for Debian 8 or how to do it. Any help is good to make it work in ADF and flatbed. I'm pretty lost. Thank you.
Deblib
 
Posts: 37
Joined: 2016-05-14 14:41

Re: Not working Canon DR-F120 scanner

Postby shep » 2017-06-04 15:02

A Google search shows there is/was a bug for this particular model: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1540706

It is also not clear from your post if sane does not find the scanner or if it is found but will not scan. Assuming the scanner is found, if you start your front-end in a terminal, the terminal should show the errors.

You also may want to think about potential fixes. Debian 9, due out within several weeks, vs Backport vs Patching Debian 8.
shep
 
Posts: 90
Joined: 2011-03-15 15:22

Re: Not working Canon DR-F120 scanner

Postby arochester » 2017-06-04 15:03

Have you tried the Linux Driver from Canon? Not available from the main Canon sites, but still listed en e.g. Canon Asia - http://support-asia.canon-asia.com/inde ... e=download
"Something to be aware of: Debian is a core or source distribution. This means there are many Debian-based distributions. THEY ARE NOT DEBIAN."
arochester
 
Posts: 993
Joined: 2010-12-07 19:55

Re: Not working Canon DR-F120 scanner

Postby Deblib » 2017-06-04 15:56

I think xsane find the scanner, but it says "Failed to start the scanner. Wrong argument" when scan.
Yes, I have tried the Linux driver from Canon. It doesn't work with xsane. :(
Deblib
 
Posts: 37
Joined: 2016-05-14 14:41

Re: Not working Canon DR-F120 scanner

Postby stevepusser » 2017-06-04 18:58

I also do not know if you can compile a source code that works on Debian 7 for Debian 8 or how to do it.


I can do that most of the time, also most of the time I can build Debian 9 packages on Debian 8. It depends on whatever this "code" is you're talking about.

You could also try another distro's live session with more recent packages to see if this gets it working; then you can see if it should be possible in Debian.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.6, Pale Moon 27.4.1, Liquorix kernel 4.11-9, mpv 0.26.0, Kodi 17.3, 0ad 0.0.22, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8519
Joined: 2009-10-06 05:53

Re: Not working Canon DR-F120 scanner

Postby shep » 2017-06-04 20:13

Some other basic things to clarify Scanner wiki.
shep
 
Posts: 90
Joined: 2011-03-15 15:22

Re: Not working Canon DR-F120 scanner

Postby Deblib » 2017-06-05 00:12

Code: Select all
ventolero@ventol:~$ 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.

could not open USB device 0x1d6b/0x0002 at 002:001: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0002 at 001:001: Access denied (insufficient permissions)
could not open USB device 0x1058/0x107c at 004:002: Access denied (insufficient permissions)
could not open USB device 0x1d6b/0x0003 at 004:001: Access denied (insufficient permissions)
could not open USB device 0x5986/0x055c at 003:004: Access denied (insufficient permissions)
found USB scanner (vendor=0x1083 [Language Error], product=0x1654 [Language Error]) at libusb:003:005
could not open USB device 0x1d6b/0x0002 at 003:001: 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.
ventolero@ventol:~$

Code: Select all
ventolero@ventol:~$ scanimage -L
device `v4l:/dev/video0' is a Noname BisonCam, NB Pro virtual device
ventolero@ventol:~$
Deblib
 
Posts: 37
Joined: 2016-05-14 14:41

Re: Not working Canon DR-F120 scanner

Postby shep » 2017-06-05 06:24

# 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.



Scanning is dependent on
1) A data base entry consisting of a VendorID/DeviceID that get matched to a scanner
2) Read/write permissions to the scanner group. Your user should be part of the scanner group
Assigning permissions depends on the Version of Debian. In Debian 9, I recall that my Canoscan worked out of the box.
3) The correct driver for the device.

See
http://forums.debian.net/viewtopic.php?f=7&t=103323
Last edited by shep on 2017-06-09 14:17, edited 1 time in total.
shep
 
Posts: 90
Joined: 2011-03-15 15:22

Re: Not working Canon DR-F120 scanner

Postby Deblib » 2017-06-09 03:44

Scanning is dependent on
1) A data base entry consisting of a VendorID/DeviceID that get matched to a scanner

I have added
Code: Select all
# Canon imageFORMULA DRF120
ATTRS{idVendor}=="1083", ATTRS{idProduct}=="1654", GROUP="scanner", ENV{libsane_matched}="yes"
to /lib/udev/rules.d/60-libsane.rules
But I'm pretty lost on whether I should create the scanner group and how to find out if I have the right driver
Deblib
 
Posts: 37
Joined: 2016-05-14 14:41

Re: Not working Canon DR-F120 scanner

Postby shep » 2017-06-09 14:24

Using a text editor on the file
Code: Select all
/etc/group
, you can add youself to the _scanner group.

There are also some tools that write the configuration settings for you.
shep
 
Posts: 90
Joined: 2011-03-15 15:22

Re: Not working Canon DR-F120 scanner

Postby Deblib » 2017-06-10 13:18

I have opened /etc/group and I am already in scanner group, with saned
Deblib
 
Posts: 37
Joined: 2016-05-14 14:41

Re: Not working Canon DR-F120 scanner

Postby shep » 2017-06-10 17:45

The group is going to need error messages to help you sort this out. If you are part of the _scanner group xsane should find the scanner and open the configuration interface.

If xsane starts, look at the configuration interface. It has a myriad of options including scanning to an email or fax. If the fax interface is not set up it will generate errors.

I would also start xsane from a terminal as user. Any errors messages show up in the terminal and can be pasted into your post.
shep
 
Posts: 90
Joined: 2011-03-15 15:22

Re: Not working Canon DR-F120 scanner

Postby Deblib » 2017-06-10 20:08

Code: Select all
ventolero@ventol:~$ xsane -V
Gtk-Message: Failed to load module "canberra-gtk-module"
ventolero@ventol:~$

When xsane starts and I try to scan, a window warn me: "Fails to open device. Invalid argument"
Code: Select all
ventolero@ventol:~$ scanimage -T
scanimage: sane_start: Invalid argument
ventolero@ventol:~$

How can I set up fax tab (this scanner hasn't fax)?
Deblib
 
Posts: 37
Joined: 2016-05-14 14:41

Re: Not working Canon DR-F120 scanner

Postby shep » 2017-06-11 17:30

There apparently are different gtk/gtk3 canberra modules 2012 forum thread.

I would check to see if which, if any canberra-gtk-modules you have with
Code: Select all
dpkg -l | grep canberra
. Consider a trial installation of the missing module.

The fax option in xsane is pre-configured to use hylafax. In the days of dial-up modem, the modems could also be utilized as a fax machine.

The
Code: Select all
scanimage -T
sanity check fail I'm not sure of.
shep
 
Posts: 90
Joined: 2011-03-15 15:22

Re: Not working Canon DR-F120 scanner

Postby Deblib » 2017-06-11 19:15

I have installed the missing libcanberra-gtk-module and there is no longer
Code: Select all
Gtk-Message: Failed to load module "canberra-gtk-module"

I have enter Xsane configuration but I don't know if I should change pre-configured fax options nor which of the others to choose.
Deblib
 
Posts: 37
Joined: 2016-05-14 14:41

Next

Return to Hardware

Who is online

Users browsing this forum: No registered users and 5 guests

fashionable