[sane-devel] HP PSC 1315.

gerard klaver gerard@gkall.hobby.nl
Sun, 19 Sep 2004 12:58:17 +0000


On Sun, 2004-09-19 at 09:00, Scott wrote:
snip

scanimage --version should show your sane-backends verson
1.0.14 is the latest.
> celery:~# sane-find-scanner 
> 
>   # No SCSI scanners found. If you expected something different, make
>   # sure that
>   # you have loaded a SCSI driver for your SCSI adapter.
> found USB scanner (vendor=0x03f0 [hp], product=0x3f11 [psc 1310 series ]) 
> at libusb:003:009
> 
> ---
> celery:~# lsusb | grep Hewlett
> Bus 003 Device 009: ID 03f0:3f11 Hewlett-Packard 
> 
> ---
> in /etc/usbmgr/usbmgr.conf I have added the following line:
> # PSC 1315 [HP]
> vendor 0x03f0 product 0x3f11 module usblp
> 
> ---
> 
> I have done some digging around and have discovered that as of 2.6.3
> (correct me if I'm wrong) the scanner.o module is no longer used and
> instead libusb is what's there.  When I start hpoj I get the following
> syslog entries:
> 
> ep 19 04:42:41 celery ptal-printd: ptal-printd(mlc:usb:psc_1315)
> successfully initialized using /var/run/ptal-printd/mlc_usb_psc_1315*. 
> Sep 19 04:43:10 celery ptal-mlcd: SYSLOG at
> /home/msp/src/debian/hpoj/hpoj-0.91/mlcd/ExMgr.h:646,
> dev=<mlc:usb:psc_1315@/dev/usb/lp0>, pid=1871, e=11, t=1095583390
> ptal-mlcd successfully activated, mode=1284.4. 
> 
> ---
> Running the command:
> celery:~# xscanimage hpoj:mlc:usb:psc_1315
> 
xscanimage hpoj:libusb:003:009

check output form ls -l /proc/bus/ubs/003/009
should be at least
rw-rw----
if not check your hotplug script in
/etc/hotplug/usb


check also /etc/hotplug/usb/libsane.usermap if
your scanner is present, otherwise add a line for your scanner
> 
> celery:~# scanimage -d hp:/dev/usb/scanner0
> scanimage: open of device hp:/dev/usb/scanner0 failed: Invalid argument
> celery:~# scanimage -d hp:/dev/usb/scanner1
> scanimage: hp-option.c:3710: hp_optset_fix_geometry_options: Assertion
> `tl_x && tl_y && br_x && br_y' failed.
> Aborted
> 
If you have a kernel with a scanner.o or scanner.ko file
remove the file or place the filename it in /etc/hotplug/blacklists


> --
> 
> I really can't think of much more... hpoj is listed at the bottom of
> /etc/sane.d/dll.conf
if #hpoj, remove #

-- 
----------
m.vr.gr.
Gerard Klaver