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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1080787

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to