Re: registering/unregistering a device using ioctl

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

 



hi Daniele,

Originally, I was registering and unregistering the devices similar to scull devices in chapter 3 of Rubini's book. That was working fine!
May be my problem has to do with the way I'm inserting and deleting the nodes from the link list since I am getting the device private structure from the link list.


Thanks for your help.
J Kang


From: Daniele Bellucci <bellucda@tiscali.it>
To: J Kang <jkang_hm@hotmail.com>
CC: kernelnewbies@nl.linux.org
Subject: Re: registering/unregistering a device using ioctl
Date: Tue, 13 Jul 2004 20:39:55 +0200

|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]

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



-- 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