Hi all, I've searched for something like bugzilla but I've not found it on hplip
website.

I wrote some day ago on hplip-help with a patch for hpoj on amd64 as a temporary
workaround for the lack of support for the HP OfficeJet Pro 1150 C scanner in 
hplip.

hp-setup recognize the OJ printer and setup two devices:
OFFICEJET_PRO_1150C and OFFICEJET_PRO_1150C_fax, both with URI
hp:/par/OFFICEJET_PRO_1150C?device=/dev/parport0.

The printer itself seems to work fine.
The scanner is not recognized by xsane (dll.conf contains hpaio only)

hp-scan seems to recognize the device but fails with a scanext.error:

# hp-scan -n

HP Linux Imaging and Printing System (ver. 2.7.6)
Scan Utility ver. 0.2

Copyright (c) 2001-7 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.

warning: No destinations specified. Adding 'file' destination by default.
warning: File destination enabled with no output file specified.
warning: Defaulting to '/root/hpscan001.jpg'.
Using device hpaio:/par/OFFICEJET_PRO_1150C?device=/dev/parport0
Opening connection to device...
Traceback (most recent call last):
  File "/usr/bin/hp-scan", line 890, in ?
    device.setOption('compression', scanner_compression)
  File "/usr/share/hplip/scan/sane.py", line 252, in setOption
    self.last_opt = self.dev.setOption(opt.index, value)
scanext.error: Invalid argument

hp-info shows only one device:
# hp-info

HP Linux Imaging and Printing System (ver. 2.7.6)
Device Information Utility ver. 3.4

Copyright (c) 2001-7 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.

warning: Inrecognized URI: cups-pdf:/
warning: Inrecognized URI: usb://HP/LaserJet%20M1005
Using device: hp:/par/OFFICEJET_PRO_1150C?device=/dev/parport0

hp:/par/OFFICEJET_PRO_1150C?device=/dev/parport0

Device Parameters (dynamic data):
  Parameter                     Value(s)
  ----------------------------
----------------------------------------------------------
  agent1-ack                    False
  agent1-desc                   Black cartridge
  agent1-dvc                    0
  agent1-health                 1
  agent1-health-desc            Not installed
  agent1-hp-ink                 False
  agent1-id                     0
  agent1-kind                   3
  agent1-known                  False
  agent1-level                  0
  agent1-level-trigger          7
  agent1-sku                    45 (51645A)
  agent1-type                   1
  agent1-virgin                 False
  agent2-ack                    False
  agent2-desc                   Tri-color cartridge
  agent2-dvc                    0
  agent2-health                 1
  agent2-health-desc            Not installed
  agent2-hp-ink                 False
  agent2-id                     0
  agent2-kind                   3
  agent2-known                  False
  agent2-level                  0
  agent2-level-trigger          7
  agent2-sku                    41 (51641A)
  agent2-type                   2
  agent2-virgin                 False
  back-end                      hp
  cups-printer                  OFFICEJET_PRO_1150C
  cups-uri                      hp:/par/OFFICEJET_PRO_1150C?device=/dev/parport0
  dev-file                      /dev/parport0
  device-state                  1
  device-uri                    hp:/par/OFFICEJET_PRO_1150C?device=/dev/parport0
  deviceid
VSTATUS:$H00000000$M00000000,ff,DN,IDLE;MFG:HEWLETT-PACKAR
                                D;MDL:OFFICEJET PRO

1150C;CMD:PCL,MLC,PML,PJL;CLS:PRINTER;DES:Hewlett-Packard
                                OfficeJet Pro 1150C;
  duplexer                      0
  error-state                   0
  fax-uri                       
hpfax:/par/OFFICEJET_PRO_1150C?device=/dev/parport0
  host
  in-tray1                      0
  in-tray2                      0
  is-hp                         True
  media-path                    1
  panel                         0
  panel-line1
  panel-line2
  photo-tray                    0
  port                          1
  r                             0
  revision                      255
  rg                            000
  rr                            000000
  rs                            000000000
  scan-uri                      
hpaio:/par/OFFICEJET_PRO_1150C?device=/dev/parport0
  serial
  status-code                   1000
  status-desc                   The printer is idle.
  supply-lid                    0
  top-lid                       1

Model Parameters (static data):
  Parameter                     Value(s)
  ----------------------------
----------------------------------------------------------
  align-type                    2
  clean-type                    1
  color-cal-type                0
  copy-type                     0
  embedded-server-type          0
  fax-type                      1
  fw-download                   0
  icon                          OFFICEJET_PRO_1150C.png
  io-mfp-mode                   6
  io-mode                       1
  io-support                    1
  linefeed-cal-type             0
  model                         OFFICEJET_PRO_1150C
  model-ui                      HP Officejet Pro 1150c
  model1                        Officejet Pro 1150c
  model2                        Officejet Pro 1150cse
  panel-check-type              0
  pcard-type                    0
  pq-diag-type                  0
  r-type                        0
  r0-agent1-kind                3
  r0-agent1-sku                 45 (51645A)
  r0-agent1-type                1
  r0-agent2-kind                3
  r0-agent2-sku                 41 (51641A)
  r0-agent2-type                2
  scan-style                    1
  scan-type                     1
  status-battery-check          0
  status-dynamic-counters       0
  status-type                   1
  support-released              1
  support-type                  2
  support-ver                   0.9.5
  tech-class                    DJ850
  tech-type                     2


hplip-2.7.6 is compiled on Gentoo Linux 2007.0 for amd64 with the following
settings:

net-print/hplip-2.7.6  USE="X doc fax parport ppds scanner snmp -minimal"

System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 31 Jul 2007 16:50:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fno-strict-aliasing"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/jetty/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -fno-strict-aliasing"
DISTDIR="/home/ftp/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="ccache collision-protect cvs distlocks elog java-strict
metadata-transfer multilib-strict sandbox sfperms sign strict unmerge-orphans
userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,--as-needed -Wl,-O1"
LINGUAS="it"
PKGDIR="/home/ftp/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_RSYNC_EXTRA_OPTS=" --timeout=400 --progress "
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"


I can offer my help in testing fixes for this regression on amd64.
-- 
Dott. Ing. Sandro Bonazzola





-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel

Reply via email to