LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 06-26-2006, 01:17 AM   #1
asprakash
Member
 
Registered: May 2006
Location: Chennai, India
Posts: 74
Blog Entries: 3

Rep: Reputation: 16
How can I remove my existing parallel port driver?


Dear friends!
I executed a character driver for parallel port and my base address is 0x378.When i insert my .ko file into kernel space, it says, the address is already using by the drivers like parport, parport_pc. I tried to removed that driver by the command "rmmod".
But it says "the resource is busy; unable to remove". But i did not used any parallel port. Please tell me, how can i remove my existing driver? And how can test my own driver?
Waiting for your valuable reply.
Thank you.
 
Old 06-26-2006, 04:22 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 9,601

Rep: Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000Reputation: 1000
You should run first
Code:
lsmod
to see what modules are using parport and remove them first. Perhaps
Code:
modprobe -r parport
could safely remove all dependant modules if they are not in use.
You can also force-remove the module:
Code:
rmmod -f parport
but this is not a good idea.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel Port Device Driver rajtendulkar Linux - Hardware 4 03-16-2006 11:34 PM
parallel port mehro Linux - Hardware 5 01-31-2006 06:43 AM
my DNS server doesn't remove don't existing machines cccc Linux - Networking 0 01-01-2005 03:30 PM
What's using my parallel port?! DiBosco Linux - Hardware 10 06-20-2004 10:18 AM
linux device driver & parallel port albatros Linux - General 1 01-08-2003 04:25 PM


All times are GMT -5. The time now is 12:30 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration