[lkml]   [2001]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: VIA audio and parport in 2.4.2
On Thu, Mar 15, 2001 at 06:45:37PM +0000, Will Newton wrote:

> I don't know why it prints it twice.

Looks like the module is getting loaded, then unloaded, then loaded
again. Perhaps because of module autocleaning?

> When printing errors are printed (buffer overrun or something like that,
> it seems RedHat only logs these damn things to console).

Put '*.debug -/var/log/debug' in /etc/syslog.conf and SIGHUP it.

With DMA and PIO debugging messages (especially timeout messages) are
normal and expected. They are still there because DMA and PIO isn't
really widely tested yet.

If you have a Via chipset that provides a parallel port via the PCI
bus, things like IRQ and DMA get used by default. I think this is
also a bug, and shouldn't be done unless 'irq=auto dma=auto' is
supplied to the module.

> Also if I try to disbale interrupt driven printing I get an error:
> [root@dogfox log]# /usr/sbin/tunelp /dev/printers/0 -i 0
> tunelp: ioctl: Invalid argument
> /dev/printers/0 using IRQ 7

Yeah, tunelp doesn't work with 2.4 kernels right now. It's on my list
of things to fix. Read Documentation/parport.txt to find out about
how to adjust things like that.

Basically, if you do:

modprobe -r lp parport_pc
modprobe parport_pc irq=none

then parport won't use interrupts.

> The IRQ, DMA, I/O ports etc. are all the same as they are in Windows, but
> in Linux the sound doesn't work and the printer keeps hanging.

For the 'printer hangs' problem, try the latest pre-patch in the
testing directory and let me know if that fixes it.

> I also get spurios interrupts on 7 when the parport is not loaded.

I'm not sure what you mean here. Can you be more specific?

[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-03-22 13:29    [W:0.060 / U:0.044 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site