Re: registering/unregistering a device using ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



|Currently I am able to register and unregister the device and the 
|application can call open, read and write BUT once I unregister the device 
|and then register again, I am not able to do open and write from the 
|application.

Hi J,
you should reformulate your question since its too generic.
Have you ever take a look at the excellent "linux device drivers 2nd edition"?

you can freely download and read from:

http://www.xml.com/ldd/chapter/book/

take a look at the Chapter n.3.



-- 

[Daniele]

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux