lkml.org 
[lkml]   [1996]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: lp IRQ vanishing
Date

>
>
> I was wanting to test out operating my printer using interrupt-driven
> I/O rather than polling. So I executed "tunelp /dev/lp1 -i 7". That
> seems to work -- for a while. If I do "tunelp /dev/lp1" it will
> report that the parallel port is using IRQ 7 for a while, and then
> will revert to reporting that it is using polling. This reversion
> happens even if I'm not using the printer at the time. (I do have lpd
> running, but nothing queued.) Does anyone have any idea what might be
> going on? (I am using kernel 2.0.23 and Slackware 3.0.)
>
> Thanks,
>
> Dale
> --
> Dale R. Worley Ariadne Internet Services
> Voice: +1 617-899-7949 Fax: +1 617-899-7946 E-mail: worley@ariadne.com
> "Internet-based electronic commerce solutions to real business problems."
>
>
You are probably using lp.o as a module and you load it automagically with
kerneld. So add the following line to /etc/conf.modules (and restart kerneld):

options lp irq=0,7,0


That's all folks :-)


Bas.


--
E-mail: sgm@stack.nl, S.G.A.H.Mevissen@stud.tue.nl
PGP: Finger sgm@toad.stack.nl for PGP public key, KeyID 3B896721
WWW: www.stack.nl/~sgm (Also PGP public key)

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.042 / U:0.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site