Re: PNP BIOS and parport_pc - dma found but not used

Gunther Mayer (Gunther.Mayer@t-online.de)
Thu, 19 Apr 2001 19:31:32 +0200


Pavel Roskin wrote:
>
> Hello!
>
> I've compiled 2.4.3-ac9 with support for PNP BIOS. I understand that this
> is a new feature experimental and the feedback is requested.
>
> The setting is BIOS is to use irq 7 and dma 3. I normally use "options
> parport_pc io=0x378 irq=7 dma=3" in /etc/modules.conf, but this time I
> commented them out hoping that the driver will ask BIOS.
>
> Although the kernel can see those settings, the dma is not used by the
> driver. This is the output from dmesg.
>
> PnPBIOS: Parport found PNPBIOS PNP0401 at io=0378,0778 irq=7 dma=-1
^^^^^^ culprit !

Send me the raw PNP resource data so I can look into this:

1) Search for the right two-digit PNP handle for device "0104d041":
cat /proc/bus/pnb/devices
01 0104d041 07:01:00 0080
02 0105d041 07:00:02 0180
03 1005d041 07:00:02 0180
04 0007d041 01:02:00 0003
...

The number in the first column (here: 01) is the handle
to be used in step 2.

2) Send cat /proc/bus/pnp/01 | od -tx1
-
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/