|
|
|
|
|
|
|
[Original]
[Print]
[Top]
|
Dear Friends! Now I am learning the module program by some online tutorials. I executed a character driver for parallel port ,my base address for parallel port is : 0x378 and i am trying to insert my obj into my kernel by using "insmod" command. But i am getting error : "inserting error. the address is already in use". so i showed the list of ports driver by "cat /proc/ioports". now, i found out the address 0x378 has already in use by the name parport_pc. I tried to remove it by the command: "rmmod parport_pc". but it says, "the driver is busy. it is in use". but i did not used any parallel port device.How can i remove my existing parallel port driver? And how can use my driver? Please help me. I am waiting for your valuable reply. Thank you.
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
[div class='quotetop']QUOTE[/div][div class='quotemain'] but i did not used any parallel port device.How can i remove my existing parallel port driver? And how can use my driver? [/quote] Parallel support must have been built-in (*) to the Linux kernel. Re-compile the existing kernel or a new kernel with its support disabled or set to modular (M). Booting with this new kernel, you should be able to modprobe your driver.
|
|
|
----
|
|
[Original]
[Print]
[Top]
|
|
|