lkml.org 
[lkml]   [2001]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] Re: linux-2.4.12 / linux-2.4.13 parallel port problem
Tim Waugh wrote:
>
> On Fri, Oct 26, 2001 at 12:51:48AM -0700, junio@siamese.dhis.twinsun.com wrote:
>
> > >From the original poster's description, 2.4.10 claimed to have
> > detected both address and irq for parport0, while 2.4.12,
> > according to the your response, could not tell that IRQ=7. Do
> > you mean that the logic which made 2.4.10 to claime to have
> > detected IRQ=7 was faulty and the logic in 2.4.12 is being
> > careful not to misdetect?
>
> Oh, I see. No, this is a regression. Please try this patch:

Firstly, I was unable to apply this patch on 2.4.13...

I'm now running 2.4.14-pre2, still had difficulty applying
the patch, and ended up patching parport_pc.c by hand. (?)

However, loading the parport_pc module, with NO arguments,
like I was doing up till 2.4.10, and it still does not
recognise the port as being in ECP mode:

[root@p450 /root]# modprobe parport_pc
[root@p450 /root]# dmesg -c
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: cpp_daisy: aa5500ff(98)
parport0: assign_addrs: aa5500ff(98)
parport0: faking semi-colon
parport0: Printer, Hewlett-Packard HP LaserJet 1100

If I load the module WITH arguments, something I've never
had to do in the past, it works:

[root@p450 /root]# modprobe parport_pc io=0x378 irq=7
[root@p450 /root]# dmesg -c
parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
parport0: cpp_daisy: aa5500ff(98)
parport0: assign_addrs: aa5500ff(98)
parport0: faking semi-colon
parport0: Printer, Hewlett-Packard HP LaserJet 1100

I'm still unsure why I NEED to supply arguments
to this module.

Regards.

--
Dave Garry,
Daemon Solutions Ltd
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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