Driver's write_room not being invoked

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

 



hi,

I am in the process of implementing a TTY driver. As part of
the registration of my driver, I have registered a callback
corr to the "write_room" functionality. My assumption is
that the "write_room" call will be invoked prior to every
"write" call. As per my requirement I have to keep
indicating to the kernel core about the current
availability(balance) in the driver's buffer[which the
driver keeps updating during its operation] to accept
further writes. I have been using minicom to test my driver.
While all the other relevant functions are getting invoked
[including the corr. "chars_in_buffer" call ], "write_room"
is not getting invoked. Are there any additional
settings(like specific values of the termios flags) involved
to enable the write_room call??. 

Is there an alternate arrangment by which i can indicate to
the core about the current value of write-room??


--Sriram.
__________________________________
Sign up for your free netster.com 
      email account today!
     http://mail.netster.com
--
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