Your message dated Wed, 26 Nov 2014 09:45:11 +0100
with message-id <[email protected]>
and subject line sane-utils: saned net transport fails with 'io/hpmud/pp.c 627:
unable to read device-id ret=-1'
has caused the Debian Bug report #722202,
regarding sane-utils: saned net transport fails with 'io/hpmud/pp.c 627: unable
to read device-id ret=-1'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
722202: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=722202
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sane-utils
Version: 1.0.22-7.4
Severity: normal
Dear Maintainer,
The reporting machine has problems accessing a scanner (Photosmart C5200
all-in-one) shared via sane net transport, while scanning from localhost on
server machine works OK.
Both client and server machines are running the same Debian version (7.1).
Sane configuration on server machine was patched with added file
/etc/sane.d/hpaio.conf containing:
usb 0x03f0 0x5d11
Output from scanimage -L (client machine):
device `v4l:/dev/video0' is a Noname Integrated Camera virtual device
device `net:10.216.88.198:v4l:/dev/video0' is a Noname FO13FF-65-1 PC-CAM
virtual device
device
`net:10.216.88.198:hpaio:/usb/Photosmart_C5200_series?serial=MY822G10ZY0559' is
a Hewlett-Packard Photosmart_C5200_series all-in-one
Client app is xsane, started as:
xsane
'net:10.216.88.198:hpaio:/usb/Photosmart_C5200_series?serial=MY822G10ZY0559'
The app freezes after the "acquire preview" button is clicked.
On server side connections are accepted (itables -nvL | grep 6566):
11 660 ACCEPT tcp -- tun+ * 10.216.88.0/24 0.0.0.0/0
tcp spts:1024:65535 dpt:6566 state NEW
Xinetd is configured like so:
service sane
{
disable = no
id = sane-daemon
socket_type = stream
protocol = tcp
user = root
group = root
server = /usr/sbin/saned
wait = no
}
and listening:
tcp 0 0 0.0.0.0:6566 0.0.0.0:* LISTEN
24866/xinetd
Server daemon.log contains:
Sep 9 03:02:19 tatooine saned[21832]: saned (AF-indep+IPv6) from sane-backends
1.0.22 starting up
Sep 9 03:02:19 tatooine saned[21832]: check_host: access by remote host:
10.216.88.250
Sep 9 03:02:19 tatooine saned[21832]: init: access granted to
[email protected]
Sep 9 03:02:22 tatooine saned[21832]: io/hpmud/pp.c 627: unable to read
device-id ret=-1
Workaround:
If I start xsane remotely via X11 forwarding, the scannig works absolutely
fine, I just need to download scanned images.
However, it would be nice to share the scanner among those users without shell
accounts.
Best regards,
Luke
-- System Information:
Debian Release: 7.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages sane-utils depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.49
ii libavahi-client3 0.6.31-2
ii libavahi-common3 0.6.31-2
ii libc6 2.13-38
ii libieee1284-3 0.2.11-10
ii libsane 1.0.22-7.4
ii libusb-0.1-4 2:0.1.12-20+nmu1
ii update-inetd 4.43
sane-utils recommends no packages.
Versions of packages sane-utils suggests:
ii avahi-daemon 0.6.31-2
pn unpaper <none>
-- Configuration Files:
/etc/default/saned changed:
RUN=yes
RUN_AS_USER=saned
-- debconf information:
sane-utils/saned_run: false
sane-utils/saned_scanner_group: true
-- hp-check.log:
hp-check[14060]: info: :
Initializing. Please wait...
Debian
7.1
scheduler is running
1.5.3
Linux tatooine 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 x86_64 GNU/Linux
warning: [01mdebian-7.1 version is not supported. Using debian-6.0.5 versions
dependencies to verify and install...[0m
hp-check[14060]: info: :
hp-check[14060]: info: :---------------
hp-check[14060]: info: :| SYSTEM INFO |
hp-check[14060]: info: :---------------
hp-check[14060]: info: :
3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 GNU/Linux
tatooine
3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 GNU/Linux
hp-check[14060]: info: : Kernel: 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 GNU/Linux
Host: tatooine
Proc: 3.2.0-4-amd64 #1 SMP Debian 3.2.46-1 GNU/Linux
Distribution: debian 7.1
hp-check[14060]: info: :
hp-check[14060]: info: :-----------------------
hp-check[14060]: info: :| HPLIP CONFIGURATION |
hp-check[14060]: info: :-----------------------
hp-check[14060]: info: :
hp-check[14060]: info: :HPLIP-Version: HPLIP 3.12.6
hp-check[14060]: info: :HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for debian
distro 7.1 version
hp-check[14060]: info: :
hp-check[14060]: info: :[01mCurrent contents of '/etc/hp/hplip.conf' file:[0m
hp-check[14060]: info: :# hplip.conf. Generated from hplip.conf.in by
configure.
[hplip]
version=3.12.6
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/hplip/HP
ppdbase=/usr/share/ppd/hplip
doc=/usr/share/doc/hplip-doc/HTML
icon=no
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=no
internal-tag=3.12.6
restricted-build=no
ui-toolkit=qt4
qt3=no
qt4=yes
policy-kit=yes
hpijs-only-build=no
lite-build=no
udev-acl-rules=yes
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
hp-check[14060]: info: :
hp-check[14060]: info: :[01mCurrent contents of '/var/lib/hp/hplip.state'
file:[0m
hp-check[14060]: info: :Plugins are not installed. Could not access file: No
such file or directory
hp-check[14060]: info: :
hp-check[14060]: info: :[01mCurrent contents of '~/.hplip/hplip.conf' file:[0m
hp-check[14060]: info: :[installation]
date_time = 09/09/2013 02:03:13
version = 3.12.6
hp-check[14060]: info: : <Package-name> <Package-Desc>
<Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
hp-check[14060]: info: :
hp-check[14060]: info: :--------------------------
hp-check[14060]: info: :| External Dependencies |
hp-check[14060]: info: :--------------------------
hp-check[14060]: info: :
hp-check[14060]: info: : gs Ghostscript
REQUIRED 7.05 9.05 OK -
hp-check[14060]: info: : network Network-wget
OPTIONAL - 1.13.4 OK -
hp-check[14060]: info: : dbus DBus
REQUIRED - 1.6.8 OK -
hp-check[14060]: info: : scanimage Shell-Scanning
OPTIONAL 1.0 1.0.22 OK -
hp-check[14060]: info: : policykit Admin-Policy-framework
OPTIONAL - 0.105 OK -
hp-check[14060]: info: : xsane SANE-GUI
OPTIONAL 0.9 0.998 OK -
scheduler is running
hp-check[14060]: info: : cups CUPS
REQUIRED 1.1 1.5.3 OK 'CUPS Scheduler is
running'
hp-check[14060]: info: :
hp-check[14060]: info: :-------------------------
hp-check[14060]: info: :| General Dependencies |
hp-check[14060]: info: :-------------------------
hp-check[14060]: info: :
hp-check[14060]: info: : reportlab Python-PDF-Lib
OPTIONAL 2.0 2.5 OK -
hp-check[14060]: info: : libcrypto OpenSSL-Crypto-Lib
REQUIRED - 1.0.1 OK -
hp-check[14060]: info: : pil Python-Image-Lib
OPTIONAL - 1.1.7 OK -
hp-check[14060]: info: : pyqt4-dbus PyQt4-DBUS
REQUIRED 4.0 4.9.3 OK -
hp-check[14060]: info: : libjpeg JPEG-Lib
REQUIRED - - OK -
hp-check[14060]: info: : libpthread POSIX-Threads-Lib
REQUIRED - 2.13 OK -
hp-check[14060]: info: : python-dbus Python-DBUS
REQUIRED 0.80.0 1.1.1 OK -
hp-check[14060]: info: : python-devel Python-SDK
REQUIRED 2.2 2.7.3 OK -
hp-check[14060]: info: : pyqt4 Python-Qt4
REQUIRED 4.0 4.9.3 OK -
hp-check[14060]: info: : cups-devel CUPS-SDK
REQUIRED - 1.5.3 OK -
hp-check[14060]: info: : sane-devel SANE-SDK
REQUIRED - 1.0.22 OK -
hp-check[14060]: info: : libusb USB-Lib
REQUIRED - 1.0 OK -
hp-check[14060]: info: : sane Scan-Lib
REQUIRED - 1.0.22 OK -
hp-check[14060]: info: : cups-image CUPS-Image-Lib
REQUIRED - 1.5.3 OK -
hp-check[14060]: info: : libnetsnmp-devel SNMP-Networking-SDK
REQUIRED 5.0.9 5.4.3 OK -
hp-check[14060]: info: : python-xml Python-XML-Lib
REQUIRED - 2.1.0 OK -
hp-check[14060]: info: : python-notify Desktop-notifications
OPTIONAL - - OK -
hp-check[14060]: info: :
hp-check[14060]: info: :------------------------------
hp-check[14060]: info: :| Compile Time Dependencies |
hp-check[14060]: info: :------------------------------
hp-check[14060]: info: :
hp-check[14060]: info: : gcc gcc-Compiler
REQUIRED - 4.7.2 OK -
hp-check[14060]: info: : libtool Build-tools
REQUIRED - 2.4.2 OK -
hp-check[14060]: info: : make GNU-Build-tools
REQUIRED 3.0 3.81 OK -
hp-check[14060]: info: :
hp-check[14060]: info: :----------------------
hp-check[14060]: info: :| Python Extentions |
hp-check[14060]: info: :----------------------
hp-check[14060]: info: :
hp-check[14060]: info: : cupsext CUPS-Extension
REQUIRED - 3.12.6 OK -
hp-check[14060]: info: : pcardext PhotoCard-Extension
REQUIRED - 3.12.6 OK -
hp-check[14060]: info: : hpmudext IO-Extension
REQUIRED - 3.12.6 OK -
hp-check[14060]: info: :
hp-check[14060]: info: :-----------------------
hp-check[14060]: info: :| Scan Configuration |
hp-check[14060]: info: :-----------------------
hp-check[14060]: info: :
hp-check[14060]: info: : hpaio HPLIP-SANE-Backend
REQUIRED - 3.12.6 OK 'hpaio found in
/etc/sane.d/dll.conf'
hp-check[14060]: info: : scanext Scan-SANE-Extension
REQUIRED - 3.12.6 OK -
hp-check[14060]: info: :
hp-check[14060]: info: :------------------------------
hp-check[14060]: info: :| DISCOVERED SCANNER DEVICES |
hp-check[14060]: info: :------------------------------
hp-check[14060]: info: :
hp-check[14060]: info: :device `v4l:/dev/video0' is a Noname FO13FF-65-1 PC-CAM
virtual device
device `hpaio:/usb/Photosmart_C5200_series?serial=MY822G10ZY0559' is a
Hewlett-Packard Photosmart_C5200_series all-in-one
hp-check[14060]: info: :
hp-check[14060]: info: :--------------------------
hp-check[14060]: info: :| DISCOVERED USB DEVICES |
hp-check[14060]: info: :--------------------------
hp-check[14060]: info: :
hp-check[14060]: info: : Device URI
Model
hp-check[14060]: info: : -----------------------------------------------------
-----------------------------------
hp-check[14060]: info: : hp:/usb/Photosmart_C5200_series?serial=MY822G10ZY0559
HP Photosmart C5200 series
hp-check[14060]: info: :
hp-check[14060]: info: :---------------------------------
hp-check[14060]: info: :| INSTALLED CUPS PRINTER QUEUES |
hp-check[14060]: info: :---------------------------------
hp-check[14060]: info: :
hp-check[14060]: info: :
hp-check[14060]: info: :[01mhp_c5200[0m
hp-check[14060]: info: :[01m--------[0m
hp-check[14060]: info: :Type: Unknown
hp-check[14060]: info: :Device URI:
usb://HP/Photosmart%20C5200%20series?serial=MY822G10ZY0559&interface=1
hp-check[14060]: info: :PPD: /etc/cups/ppd/hp_c5200.ppd
hp-check[14060]: info: :PPD Description: HP Photosmart c5200 Series hpijs,
3.12.6
hp-check[14060]: info: :Printer status: printer hp_c5200 is idle. enabled
since Sun 08 Sep 2013 01:25:45 PM CEST
Sending data to printer.
warning: Printer is not HPLIP installed. Printers must use the hp: or hpfax:
CUPS backend for HP-Devices.
hp-check[14060]: info: :
hp-check[14060]: info: :
hp-check[14060]: info: :--------------
hp-check[14060]: info: :| PERMISSION |
hp-check[14060]: info: :--------------
hp-check[14060]: info: :
luke lp cdrom floppy audio dip video plugdev scanner lpadmin netdev bluetooth
hp-check[14060]: info: :groups user-groups Required
- - OK luke lp cdrom floppy audio dip video plugdev
scanner lpadmin netdev bluetooth
hp-check[14060]: info: :USB None Required
- - OK Node:'/dev/bus/usb/002/020' Perm:' root lp
--t rw- rw- r--'
hp-check[14060]: info: :
hp-check[14060]: info: :-----------
hp-check[14060]: info: :| SUMMARY |
hp-check[14060]: info: :-----------
hp-check[14060]: info: :
hp-check[14060]: info: :[01mMissing Required Dependencies[0m
hp-check[14060]: info: :[01m-----------------------------[0m
hp-check[14060]: info: :None
hp-check[14060]: info: :
hp-check[14060]: info: :[01mMissing Optional Dependencies[0m
hp-check[14060]: info: :[01m-----------------------------[0m
hp-check[14060]: info: :None
hp-check[14060]: info: :
hp-check[14060]: info: :
hp-check[14060]: info: :Total Errors: 1
hp-check[14060]: info: :Total Warnings: 0
hp-check[14060]: info: :
hp-check[14060]: info: :
hp-check[14060]: info: :Done.
--- End Message ---
--- Begin Message ---
Hello,
no answer since 1 month.
So I close this bug from 2013.
Thank you for spending your time.
If this bug still occurs please feel free to file a new bug.
CU
Jörg
--
pgp Fingerprint: 7D13 3C60 0A10 DBE1 51F8 EBCB 422B 44B0 BE58 1B6E
pgp Key: BE581B6E
CAcert Key S/N: 0E:D4:56
Jörg Frings-Fürst
D-54526 Niederkail
Threema: SYR8SJXB
IRC: [email protected]
[email protected]
signature.asc
Description: This is a digitally signed message part
--- End Message ---