i have just had some minutes to recompile libsane-hpaio from Quantal's current source package (3.12.6-3ubuntu4) after applying the patch provided by Sanjay Kumar in comment #8 above and i can confirm that Sanjay's patch fixes the issue for me.
Peter, i'm not sure why installing hplip-3.12.10a from source or from hplip's upstream packages is not fixing the issue for you - as far as i can see from hplip-3.12.10a source tarball, the patch i have applied manually to the Ubuntu 3.12.6-3ubuntu4 package is there in upstream's latest release. having said that, i *think* that before coming to identify the Ubuntu Q libsane-hpaio as the cuprit for the issue i was experiencing, i had indeed tried installing a newer version of hplip from upstream and that did not fix the issue for me either. now i can't remember if that was 3.120.10 or 3.12.10a, although i *think* it was the former - but this specific bit of code was added in 3.12.9 so that's pretty weird. maybe i had inadvertently left around some Ubuntu library before installing hplip upstream. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1069898 Title: regression: cannot open network scanner with error "unable to read device-id ret=-1" To manage notifications about this bug go to: https://bugs.launchpad.net/hplip/+bug/1069898/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs