From: Geert U. <ge...@li...> - 2001-02-13 15:25:44
|
On Tue, 13 Feb 2001, Glenn Hisdal wrote: > Frank Rudolf Georg Petzold wrote: > > On Tue, Feb 13, 2001 at 11:41:20AM +0100, Ren? Thol wrote: > > > And how do I compile a 2.4 kernel that can use my printer on the > > > parallel port? > > > > There is no way. Parallel port support is broken in 2.4. Use 2.2 instead. > > I did some tests with printing yesterday. > If I enable DEBUG in drivers/parport/parport_amiga.c, > printing works. > The only problem is that a page containing only one letter is printed > out after it's done with what it was supposed to print out. > > Without DEBUG disabled it only prints garbage (when printing postscript > files). > > So, I thought maybe it tried to send data faster than the Amiga > parallell port (or the printer) could handle or something. (since > writing the debug output will add a short delay) > > So, I turned off DEBUG and added a for-loop inside > amiga_write_control(..) > to add a small delay, and printing still worked... > > Timing problem ? What happens if you replace the DPRINTK(...) by mb()? The fact that it works for some people could be attributed to the CPU (603e vs. 604e). Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@li... In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds |