LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 11-18-2006, 01:58 PM   #1
metso777
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Rep: Reputation: 0
tty driver


Hi,

I need to implement poll function in my Linux tty driver,
to support poll/select functions in user space.

I have no idea, how to use poll() function in my tty driver, since tty_operations does not support poll function, like file_operations.

Have you any idea, how can I provide in my tty driver supporting poll/select in user level application?

Thank you
 
Old 11-20-2006, 04:29 AM   #2
someshwar
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
ioctl will help u.
 
Old 11-20-2006, 06:07 AM   #3
metso777
LQ Newbie
 
Registered: Nov 2006
Posts: 5

Original Poster
Rep: Reputation: 0
could you explain it please?

Quote:
Originally Posted by someshwar
ioctl will help u.
 
Old 11-20-2006, 10:34 PM   #4
someshwar
LQ Newbie
 
Registered: Oct 2006
Posts: 14

Rep: Reputation: 0
In tty we can also implement those functionalities without ioctl.
Pls refer "device control without ioctl" in O'reilly ldd book.
This is avialable online for free.

Last edited by someshwar; 11-20-2006 at 10:37 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
poll/select in tty driver metso777 Linux - Kernel 0 11-13-2006 09:57 AM
how to unregister tty driver mayank_linux Linux - Networking 1 06-19-2006 11:06 AM
tty driver devlopment outoolcoe Programming 1 08-02-2005 04:16 PM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM
the meaning of throttle of tty driver? zhu_liheng Linux - Newbie 0 10-16-2003 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 12:42 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration