Re: VIA audio and parport in 2.4.2

Jeff Garzik (jgarzik@mandrakesoft.com)
Tue, 20 Mar 2001 23:21:10 -0500


Tim Waugh wrote:
>
> On Mon, Mar 19, 2001 at 12:16:26AM +0000, Will Newton wrote:
>
> > In /etc/modules.conf I have:
> >
> > options parport_pc irq=none
> >
> > but dmesg says:
> >
> > parport0: PC-style at 0x378 (0x778), irq 7, dma 3
> > [PCSPP,TRISTATE,COMPAT,ECP,DMA]
>
> Jeff, this is a bug with the Via code in parport_pc.c. Basically, the
> problem is that the code that detects the Via doesn't know what
> parameters you passed. I know about the problem, but I don't know the
> fix yet.

Will,
What are your parallel port settings in BIOS?
Do you have Plug-n-Play OS enabled in BIOS?

The current Via-specific parport_pc.c code forces on the best possible
parallel port modes the chip can handle. In retrospect, what it should
be doing is reading the configuration BIOS has set up, and not touching
it.

I am not sure that I agree, however, that an "irq=none" on the kernel
cmd line should affect the operation of the Via code. I would much
rather fix the Via code as I suggest above.

Time to look for and drag out the old Via laptop... Oh well, I needed
to debug the Via audio code some more anyway. :)

Jeff

-- 
Jeff Garzik       | May you have warm words on a cold evening,
Building 1024     | a full mooon on a dark night,
MandrakeSoft      | and a smooth road all the way to your door.
-
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/