← Back to team overview

desktop-packages team mailing list archive

[Bug 1080787] Re: hp scanner 5300c does no longer work after upgrading to quantal

 

File "patch_1080787.txt" (reverting SHA1 fec4800d7d) fixes the problem in my 
system, using this procedure ...

    sudo apt-get install libusb-dev
    git clone git://git.debian.org/sane/sane-backends.git
    cd sane-backends 
    ./configure BACKENDS="avision"
    patch -p1 < ~/Downloads/patch_1080787.txt
    make
    lib_dir=/usr/lib/x86_64-linux-gnu/sane
    sudo cp backend/.libs/libsane-avision.so.1.0.25 $lib_dir
    sudo ln -f -s libsane-avision.so.1.0.25 $lib_dir/libsane-avision.so.1

Set lib_dir to the system directory containing libsane-avision.so.1 (this will 
be different in a 32-bit system). After doing this, test using ...

    > scanimage -L
    device `avision:libusb:005:057' is a Hewlett-Packard ScanJet 5370C flatbed scanner
    # and then ...
    > simple-scan

Note that if you use a non-functional version of libsane-avision.so (eg 1.0.23), 
you will need to disconnect and reconnect scanner's usb cable before a 
functional version (1.0.22 or the patched 1.0.25) will work.

My system is ...

    > cat /etc/lsb-release 
    ...
    DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
    > uname -oirv
    3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 GNU/Linux
    > lsusb
    ...
    Bus 005 Device 054: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c
    ...

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to sane-backends in Ubuntu.
https://bugs.launchpad.net/bugs/1080787

Title:
  hp scanner 5300c does no longer work after upgrading to quantal

Status in “sane-backends” package in Ubuntu:
  Confirmed

Bug description:
  on 12.10 the scanner doesn't work anymore.
  on 12.04 it worked on the same machine.
  the scanner still works on a second machine that was not upgraded by now.

  
  uname:
  Linux matrix 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

  lsb_release:
  Description:	Ubuntu 12.10
  Release:	12.10

  versions:
  sane: 1.0.14-9
  libsane: 1.0.23-0ubuntu1

  dmesg:
  [12883.928037] usb 3-6: >new full-speed USB device number 23 using ohci_hcd
  [12884.157054] usb 3-6: >New USB device found, idVendor=03f0, idProduct=0701
  [12884.157059] usb 3-6: >New USB device strings: Mfr=1, Product=2, SerialNumber=3
  [12884.157062] usb 3-6: >Product: Hewlett Packard ScanJet 5300C/5370C 
  [12884.157064] usb 3-6: >Manufacturer: Hewlett Packard
  [12884.157067] usb 3-6: >SerialNumber: 0000000000000000

  lsusb:
  Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
  Bus 003 Device 023: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c
  Bus 004 Device 002: ID 08e6:3437 Gemplus GemPC Twin SmartCard Reader
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

  scanimage -Lv
  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).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1080787/+subscriptions