Re: New IOCTLs



Singaravelan Nallasellan wrote:
I need to send device control messages to the driver. I am planning to
use the IOCTLs. But I came to know that Linux community does not
accept any new IOCTLs anymore.
Can somebody provide the reason behind the decision? Are there any
better approach to implement the device control interface other than
sysfs interface. I have some issues in using the sysfs interface.
Thanks in advance.

IOCTLs are discouraged, but not strictly forbidden. Is there something about sysfs that would make it an unsuitable interface, or are you just having trouble finding good documentation on using it?

-- Chris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH 0/5] new dasd ioctl patchkit
    ... 'If it's a dasd function, ... ioctls is actually changing the behavior of a dasd device, ... a sysfs interface instead of the ioctls (right now that would be ... I still prefer the ioctls over a sysfs interface. ...
    (Linux-Kernel)
  • RE: How to add/drop SCSI drives from within the driver?
    ... >> realize they take a huge risk, but that is no reason to foul up the ... Aacraid uses a FIB to communicate a wide variety of RAID management ... The remaining ioctls pick up driver or OS internal information as has ... the multitude of array types and their configuration needs ...
    (Linux-Kernel)
  • [PATCH 55/79] serial: kill USF_CLOSING_* definitions
    ... The serial layer for some reason uses different defines for the special ... case close delays and then conditionally switches to/from the normal ones ... in the ioctls. ...
    (Linux-Kernel)
  • Re: [PATCH 0/2] fbdev: add fillrect and copyarea ioctls
    ... Is there any reason for not adding these ioctls to fbdev? ... Anyway, these patches simply implement ...
    (Linux-Kernel)
  • Re: IoReadPartitionTableEx
    ... sending IOCTLs? ... IoReadPartitionTable(Ex) is the function which really reads the partition table ... then parses the MBR or GPT on-disk data and fills the ... The reason for existence of this functions is to remove the MBR/GPT parsing ...
    (microsoft.public.development.device.drivers)