Confliction between my device and printer

Michael Zhu (mylinuxk@yahoo.ca)
Wed, 27 Mar 2002 10:54:52 -0500 (EST)


Hello, everyone, I developed a character device which
is plugged into the parallel port of computer. A
printer can be connected at the rear of this device.
That means that all the printing information will pass
through my device. When my device and the printer work
at the same time the two devices affect with each
other. Both devices work innormally. There is some
kind of confliction. I know the exact reason. In my
device driver I just simply send and read the data
from my device directly without checking whether the
parallel port resource is available. That is a
problem. Now I am just wondering in Linux how can I
check whether the parallel port resource is avaliable.
I need to add that kind of code to my device driver.
Thank you very much.

______________________________________________________________________
File your taxes online! http://taxes.yahoo.ca
-
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/