From: Luke J. <lu...@jo...> - 2004-04-27 20:52:23
|
Hello, I have a HP PSC 1210 model and am having a printing problem. The configuration, communication, and scanning seems to work well. When I go to print a test page through CUPS or try to print anything the printer just feeds paper in and then immediately spits it out blank. The printer keeps doing this until the paper tray is empty and never actually prints anything. I heard this was a linux kernel 2.6 issue and have read somewhere of a patch? I have kernel 2.6.4 and am having trouble finding this patch (shouldn't it be posted on the hpoj web page? Can't find it!) I'm also confused as to whether this is a kernel patch or a hpoj patch? I did manage to find a hpoj patch called "hpoj-0.91-kernel26.patch" - I applied it to hpoj-0.91 but it didn't fix the problem. I found this patch here: http://bugs.gentoo.org/show_bug.cgi?id=42921 Is there a kernel patch? How does one go about fixing this? I also tried using hpoj-CVS but that didn't help either. Downgrading this kernel is not an option (at least not down to 2.4). Can anybody help me out or point me in the right direction? My specifications: Slackware Linux 9.1 Kernel 2.6.4 HPOJ 0.91 hpijs 1.4.1 CUPS 1.1.19 |
From: James B. H. <jh...@vi...> - 2004-04-27 22:15:26
|
> an option (at least not down to 2.4). Can anybody help me out or point me in > the right direction? Try: http://www.google.com Search using "hpoj PSC 1210", the first hit rendered being: http://www.linuxprinting.org/show_printer.cgi?recnum=HP-PSC_1210 and see if you follow the instructions and lessons learned given there, as well as in the hpoj-0.91 documentation. > My specifications: [snip] > hpijs 1.4.1 > CUPS 1.1.19 There are later versions of both. Probably won't matter to your problem, but shouldn't hurt either. jbh (BTW - there were dozens of hits from that search, and there are dozens of threads on this mailing list, pertaining to this device and the software. I just repeated the first one found). |
From: Luke J. <lu...@jo...> - 2004-04-27 23:15:59
|
I read that LinuxPrinting.org webpage a long long time ago and followed the directions there (this is the second time I'm setting this printer up - on a new machine now), and I just read that page again over the past couple days trying to solve my problem. Unfortunately neither it, or a google search for "hpoj PSC 1210", nor the hpoj documentation comes up with any information pertaining to my problem - printing empty pages. I am asking specifically about this issue and the kernel patch I've read about to resolve it - I've done many google searches for that and not come up with many links to patches, only talk of them existing This mailing list does not have a search feature that I can find unfortunately. -Joz On Tuesday April 27 2004 03:14 pm, James B. Hiller wrote: > > an option (at least not down to 2.4). Can anybody help me out or point > > me in the right direction? > > Try: > > http://www.google.com > Search using "hpoj PSC 1210", the first hit rendered being: > > http://www.linuxprinting.org/show_printer.cgi?recnum=HP-PSC_1210 > > and see if you follow the instructions and lessons learned given there, > as well as in the hpoj-0.91 documentation. > > > My specifications: > > [snip] > > > hpijs 1.4.1 > > CUPS 1.1.19 > > There are later versions of both. Probably won't matter to your problem, > but shouldn't hurt either. > > jbh > > (BTW - there were dozens of hits from that search, and there are dozens > of threads on this mailing list, pertaining to this device and the > software. I just repeated the first one found). > > > ------------------------------------------------------- > This SF.Net email is sponsored by: Oracle 10g > Get certified on the hottest thing ever to hit the market... Oracle 10g. > Take an Oracle 10g class now, and we'll give you the exam FREE. > http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click > > _______________________________________________ > hpoj-devel mailing list > hpo...@li... > https://lists.sourceforge.net/lists/listinfo/hpoj-devel |
From: Luke J. <lu...@jo...> - 2004-04-28 22:38:19
|
It might have been that problem - I didn't get a chance to check because I resolved the problem before I read this. I simply upgraded my kernel to 2.6.5 and now printing works. Probably still needed that "hpoj-0.91-kernel26.patch" that I applied to hpoj-0.91. So basically 2.6.3 & 2.6.4 spit out blank pages (because of usblp.c?). I won't be staying subscribed to this mailing list so could those who are please pass on this kernel versioning advice to others who come across this blank-pages problem... or maybe it could be posted on the hpoj website? Thanks! -Joz On Tuesday April 27 2004 11:23 pm, you wrote: > Hello, > > check the usblp.c, to see if it has the bug described below... > > Printing started to work with Mandrake 10 2.6.3-4mdk kernel after applying > following usblp.c patch from > http://www.ussg.iu.edu/hypermail/linux/kernel/0403.0/1190.html > > === > --- drivers/usb/class/usblp.c.orig 2004-03-05 17:09:00.412189056 +0000 > +++ drivers/usb/class/usblp.c 2004-03-05 17:10:30.121551160 +0000 > @@ -609,8 +609,10 @@ static ssize_t usblp_write(struct file * > while (writecount < count) { > if (!usblp->wcomplete) { > barrier(); > - if (file->f_flags & O_NONBLOCK) > + if (file->f_flags & O_NONBLOCK) { > + writecount += transfer_length; > return writecount ? writecount : -EAGAIN; > + } > > timeout = USBLP_WRITE_TIMEOUT; > add_wait_queue(&usblp->wait, &wait); > @@ -670,7 +672,8 @@ static ssize_t usblp_write(struct file * > > usblp->writeurb->transfer_buffer_length = transfer_length; > > - if (copy_from_user(usblp->writeurb->transfer_buffer, buffer + > writecount, transfer_length)) { > + if (copy_from_user(usblp->writeurb->transfer_buffer, > + buffer + writecount, transfer_length)) { > up(&usblp->sem); > return writecount ? writecount : -EFAULT; > } > ==== |
From: Till K. <til...@gm...> - 2004-04-28 22:44:35
|
Luke Jozwiak wrote: > It might have been that problem - I didn't get a chance to check because I > resolved the problem before I read this. I simply upgraded my kernel to > 2.6.5 and now printing works. Probably still needed that > "hpoj-0.91-kernel26.patch" that I applied to hpoj-0.91. > The patch is still needed, it only makes the startup script of HPOJ also working with the new name "usblp" of the USB printer kernel module ("printer" in 2.4). After applying the patch, HPOJ 0.91 works with both 2.4.x and 2.6.x kernels. Till |