For the OfficeJet Pro 1150C, HPLIP will print over the parallel port
using "compatibility mode". This is the default IEEE 1284 mode. This is
why printing normally works.

Scanning requires MLC transport support. MLC is a multi-channel
transport protocol and for parallel ports MLC will only  run over IEEE
1284 ECP mode. HPLIP only supports Software ECP mode, the lowest common
denominator. HPLIP does not use hardware ECP. This means parport DMA and
interrupts are not used by HPLIP.

Based on your syslog output ppdev/parport is not allowing HPLIP to set
Software ECP mode and that is why your scan job fails.

Now if your ppdev/parport kernel modules are loaded correctly, I don't
know why Software ECP mode is not available. This may be a kernel or
BIOS issue.

We test the major Linux Distros on our test systems and have not been
able to reproduce this issue, but I have seen this problem before based
on our mailing list.

-dave

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Johannes Meixner
> Sent: Thursday, April 12, 2007 12:06 AM
> To: hplip-help@lists.sourceforge.net
> Subject: Re: [Hplip-help] Trouble with HP Officejet Pro 1150C
> 
> 
> Hello,
> 
> On Apr 12 01:04 harald wrote (shortened):
> > linux-k67x:/etc/sysconfig # dmesg | grep parport
> > parport0: PC-style at 0x378 (0x778), irq 7, dma 7 
> > [PCSPP,TRISTATE,COMPAT,ECP,DMA]
> > parport0: Printer, HEWLETT-PACKARD OFFICEJET PRO 1150C
> > lp0: using parport0 (interrupt-driven).
> 
> Sometimes DMA doesn't work well (i.e. avoid the ECP+DMA mode), see
> https://bugzilla.novell.com/show_bug.cgi?id=116655
> 
> Try the EPP mode without DMA (i.e. set this mode in your BIOS 
> and make sure that there is no DMA switched on in your BIOS).
> 
> 
> > module parameters has been set up by /etc/modprobe.conf options 
> > parport_pc io=0x378 irq=7
> 
> This is o.k. provided you have IO 378 and IRQ 7 set in your BIOS.
> 
> 
> > Apr 12 00:58:44 linux-k67x xsane: hpaio: 
> hpaioScannerToSaneError: sclError=1.
> > Apr 12 00:58:48 linux-k67x xsane: unable to fill data 
> buffer: size=18411:
> > api/hplip_api.c 471
> > Apr 12 00:59:19 linux-k67x hpiod: ParDevice::wait_status timeout 
> > status=7e
> > mask=88 val=0 us=30000000: io/hpiod/ppdevice.cpp 118
> ...
> > Apr 12 01:00:05 linux-k67x hpiod: ParDevice::wait_status timeout 
> > status=de mask=40 val=0 us=1000000: io/hpiod/ppdevice.cpp 
> 118 Apr 12 
> > 01:00:05 linux-k67x hpiod: unable to read MlcReverseData header: No 
> > such file or directory 
> > hp:/par/OFFICEJET_PRO_1150C?device=/dev/parport0
> > io/hpiod/mlc.cpp 500
> > Apr 12 01:00:05 linux-k67x xsane: 
> > hpaio:hpaioSclInquire(cmd=10886,param=1026)
> > didn't get expected response of <<ESC>*s1026d>!
> 
> Perhaps the HPLIP authors may know more about possible 
> reasons for such error messages.
> 
> 
> Perhpas it is your parallel port cable?
> I got user information about crappy parallel port cables 
> where some status wires seem to be missing (a great idea to 
> make it cheapest) which are not crucial for unidirectional 
> data transfer to a printer.
> Unfortunately we don't have such cables to reproduce it ;-)
> 
> 
> Kind Regards
> Johannes Meixner
> --
> SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, 
> Germany AG Nuernberg, HRB 16746, GF: Markus Rex
> 
> --------------------------------------------------------------
> -----------
> Take Surveys. Earn Cash. Influence the Future of IT Join 
> SourceForge.net's Techsay panel and you'll get the chance to 
> share your opinions on IT & business topics through brief 
> surveys-and earn cash 
> http://www.techsay.com/default.php?page=join.php&p=sourceforge
> &CID=DEVDEV
> _______________________________________________
> HPLIP-Help mailing list
> HPLIP-Help@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/hplip-help
> 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
HPLIP-Help mailing list
HPLIP-Help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to