Hi All!
I have a few problems with my multifunctional HP PSC 1315 on whiterussian 0.9. i managed to set it up to print and scan but...
First i got the HPLIP sane plugin from this topic http://forum.openwrt.org/viewtopic.php?id=14831 by misha680. this had cups as dependency (which i tried to remove but it will break scanning too).
saned -d128 followed by scanimage -L in another window/computer would detect the correct scanner:
C:\sane\bin>scanimage.exe -L
device `net:192.168.1.1:hpaio:/usb/psc_1300_series?serial=XXXXXXXXXXXX' is a Hewlett-Packard psc_1300_series all-in-one
with same command saned -d128 and xsane on another windows machine i can scan just fine up to 600dpi.
however after installing xinetd and setting up saned there, i get this:
scanimage -L
[sanei_wire] sanei_w_array: DECODE: maximum amount of allocated memory exceeded (limit: 1048576, new allocation: 3720202640, total: 3721251216 bytes)
Segmentation fault
and the syslog:
Apr 20 01:47:37 ow01 kern.debug saned[3101]: quit: exiting
Apr 20 01:47:37 ow01 kern.debug saned[3101]: process_request: bad status 22
Apr 20 01:47:37 ow01 kern.info cupsd[900]: REQUEST localhost - - "POST / HTTP/1.1" 401 0
Apr 20 01:47:37 ow01 kern.err saned[3101]: io/hpmud/musb.c 1950: invalid serial id string ret=-1
Apr 20 01:47:37 ow01 kern.err saned[3101]: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Apr 20 01:47:37 ow01 kern.err saned[3101]: io/hpmud/musb.c 1945: invalid product id string ret=-1
Apr 20 01:47:37 ow01 kern.err saned[3101]: io/hpmud/musb.c 135: unable get_string_descriptor -1: Operation not permitted
Apr 20 01:47:37 ow01 kern.debug saned[3101]: init: access granted to root@127.0.0.1
Apr 20 01:47:37 ow01 kern.debug saned[3101]: check_host: access by remote host: 127.0.0.1
Apr 20 01:47:37 ow01 kern.debug saned[3101]: saned (AF-indep+IPv6) from sane-backends 1.0.18 ready
i understand that this is a failsafe to avoid bad memory allocations (only 1MB is allowed and this tries to get over 3 gigs of it)
secondly, i could not make cups work and getting rid of it kills my little saned/hplip functionality.
but i did make it print through p910nd - just set up the printer locally (because the 1315 doesnt show up in the drivers list i had to actually connect the USB and then after it was installed modify the printer and add a new port for RAW with the router's IP and port 9100).
however after scanning i can't print anymore because /dev/usb/lp0 disappears and that's smth hplip are aware of here: http://hplip.sourceforge.net/troublesho … nting.html in issue 4. even worse, running this command:
/usr/lib/cups/backend/hp - which appears to be the HPLIP printer driver for cups - will give me a Segmentation fault.
i'm not sure if the issues are from the compilation of the hplip package (appears to be compiled for kamikaze 7.09 not whiterussian 0.9) or if it's smth else i can't find.
i would compile it myself - but fiddling around with the packages and the toolchain/svn of whiterussian for a few days did not yield any results and i'm not a linux newbie either so it's even more frustrating...
Help is appreciated - maybe someone has a whiterussian compiled version of HPLIP or HPOJ or HPIJS to begin with...
Thanks!