Results 1 to 2 of 2
Hi all,
I want to know the address of the parallel port with in a kernel module.
Is there is any kernel function to find the address of the paralle ...
- 10-13-2006 #1Just Joined!
- Join Date
- May 2006
- Posts
- 24
How to know the address of parallel port
Hi all,
I want to know the address of the parallel port with in a kernel module.
Is there is any kernel function to find the address of the paralle port.Because i wrote one kernel driver as a module which uses parallel port and i #defined the address of the parallel port it is working. But when i loaded the same module into laptop which uses suse linux it is not working because the parallel port address of the laptop can be configured in that laptop the parallel port address is different so i again i changed the parallel port address and then it is working i dont want to do that. If i know the parallel port address i can use the same address in my kernel module so that no need to change every time it loaded into different system.
- 10-13-2006 #2Linux Enthusiast
- Join Date
- Aug 2006
- Posts
- 631
Try to retrieve that information from /proc/ioports.
Franklin


Reply With Quote
