hi Lilian,
i have been using the standard Ubuntu packages for libsane-hpaio with no issues 
since Ubuntu 13.04 (now on 13.10 with libsane-hpaio version 3.13.9-1).

On ubuntu 12.10 i386, there is a recently updated package from the official 
Ubuntu security updates source:
https://launchpad.net/ubuntu/quantal/+source/hplip/3.12.6-3ubuntu4.2, however 
i'm not sure whether this only includes security updates or also bug fixes such 
as the one related to this launchpad  bug thread.

if that doesn't work, you could try installing the package i created a few 
months ago for my own 12.20 system:
https://launchpad.net/~hotzeplotz/+archive/stuff
although from earlier messages in this thread it seems that other could not 
successfully install this package from my PPA. unfortunately i hadn't compiled 
an i386 package back then and i don't have an Ubuntu 12.10 system available 
anymore so i can only point you to either the Ubuntu security updates package 
or my PPA, if you need an i386 package - i hope you can get this scanner 
working.

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

Title:
  regression: cannot open network scanner with error "unable to read
  device-id ret=-1"

Status in HP Linux Imaging and Printing:
  Fix Released
Status in “hplip” package in Ubuntu:
  Confirmed

Bug description:
  under Ubuntu 12.04 i could scan perfectly via the network from my HP
  Photosmart Premium MFP (HP C309A), using gscan2pdf as frontend.

  during Quantal beta and now on Quantal release, i cannot access the
  network-connected scanner anymore: when opening the scan dialog in
  gscan2pdf, the error message displayed is "Error opening device: End
  of file reached".

  on closer inspection, and having tried all the different backends
  available in gscan2pdf, this seems related to the package libsane-
  hpaio: if i downgrade this single package to libsane-
  hpaio_3.12.2-1ubuntu3.1_amd64 from Precise i can scan ok (only side
  effect is that gscan2pdf hangs on exit and needs to be killed with
  signal SIGKILL).

  in syslog, these are the lines that appear when using the newer
  libsane-hpaio from Quantal when a frontend application tries to access
  the scanner:

  perl: io/hpmud/pp.c 627: unable to read device-id ret=-1
  perl: io/hpmud/hpmud.c 611: invalid channel_open state
  perl: failed to open scan channel: scan/sane/hpaio.c 659
  perl: sane_hpaio_cancel: already cancelled!
  perl: io/hpmud/hpmud.c 611: invalid channel_open state
  perl: failed to open scan channel: scan/sane/hpaio.c 659
  perl: sane_hpaio_cancel: already cancelled!
  perl: io/hpmud/pp.c 627: unable to read device-id ret=-1

  hp-check completes without errors nor warnings and correctly finds the
  network-connected scanner:

  ------------------------------
  | DISCOVERED SCANNER DEVICES |
  ------------------------------

  device `hpaio:/net/Photosmart_C309a_series?ip=192.168.2.10' is a
  Hewlett-Packard Photosmart_C309a_series all-in-one

  hp-scan displays a similar error message to gscan2pdf:

  $ hp-scan -d hpaio:/net/Photosmart_C309a_series?ip=192.168.2.10 -s
  viewer

  HP Linux Imaging and Printing System (ver. 3.12.6)
  Scan Utility ver. 2.2

  Copyright (c) 2001-14 Hewlett-Packard Development Company, LP
  This software comes with ABSOLUTELY NO WARRANTY.
  This is free software, and you are welcome to distribute it
  under certain conditions. See COPYING file for more details.

  Using device hpaio:/net/Photosmart_C309a_series?ip=192.168.1.72
  Opening connection to device...
  error: SANE: End of file reached (code=5)
  $

  and the corresponding error messages in syslog are:

  python: io/hpmud/pp.c 627: unable to read device-id ret=-1
  hp-scan: hp-scan[10183]: error: SANE: End of file reached (code=5)

  ProblemType: Bug
  DistroRelease: Ubuntu 12.10
  Package: libsane-hpaio 3.12.6-3ubuntu4
  Uname: Linux 3.6.2-030602-generic x86_64
  ApportVersion: 2.6.1-0ubuntu3
  Architecture: amd64
  Date: Mon Oct 22 16:51:47 2012
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
  Lpstat:
   device for hp-cute: hp:/net/Photosmart_C309a_series?ip=192.168.2.10
   device for hp-cute-fax: hpfax:/net/Photosmart_C309a_series?ip=192.168.2.10
  MachineType: System manufacturer System Product Name
  Papersize: a4
  PpdFiles:
   hp-cute: HP Photosmart c309a Series, hpcups 3.12.6
   hp-cute-fax: HP Fax hpcups
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.6.2-030602-generic 
root=/dev/mapper/vgx11miel0-rootfs ro quiet splash vt.handoff=7
  SourcePackage: hplip
  UpgradeStatus: Upgraded to quantal on 2012-09-09 (42 days ago)
  dmi.bios.date: 07/25/2007
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 1001
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P5B-VM
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr1001:bd07/25/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5B-VM:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

To manage notifications about this bug go to:
https://bugs.launchpad.net/hplip/+bug/1069898/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to