Re: PNP parallel&serial ports: module reload fails (2.6.11)?

From: castet . matthieu
Date: Mon Jun 06 2005 - 18:30:34 EST


Hi,

Selon Michael Tokarev <mjt@xxxxxxxxxx>:

> matthieu castet wrote:
> > Michael Tokarev wrote:
> >

> In other message, you wrote:
>
> > In your bios, which mode is your parport ?
> >
> > Could you try LPPR mode (or something like that ?)
>
> Are you referring to ECP, EPP, Bi-Di etc modes?
> (note there's serial port too, which has exactly the same prob
> with (re)loading the driver).
>
Yes, but I don't know which LPPR is : there is one mode that use 1 ioport and
the other 2 ioports.
Try EPP ?

> > Have you try the patches ?
>
> Yes, tried the patches you sent last friday - from
> http://bugme.osdl.org/attachment.cgi?id=4504&action=view
> and from your message in this thread with MSGID = 429FF17C.9080902@xxxxxxx
> (this last patch depends on the first). Makes no (visible) difference
> on HP ML 150 box, the same stuff is shown in dmesg, and on reload neither
> parallel nor serial ports works.
>
> I'll try some more experiments later today (hopefully) when my co-workers
> (who are using this box right now so I can't freely reboot it as I wish)
> will go home... ;)
>
try to post
cat /sys/bus/pnp/drivers/parport_pc/*/{options,resources}
and
cat /sys/bus/pnp/drivers/serial/*/{options,resources}

> BTW, looks like 8250_pnp module is also somewhat strange. When loading
> 8250 alone, it detects (at least some) standard serial ports just fine,
> and when loading 8250_pnp, the same port is being "re-detected" again.
> But when unloading 8250_pnp, even when 8250 module is still loaded,
> that only port is disabled. Looks somewhat.. assimetric to me, without
> counting issue with re-enabling of a pnp device.
yes there something strange...

Matthieu

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