LinuxQuestions.org
Help answer threads with 0 replies.
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 06-26-2009, 02:30 PM   #1
l_linux
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
count interruptions generated by the mouse


Hi everyone,

I have to write a driver that counts the number of interruption generated by the mouse through the "interrupt handler".

The driver must behave as follows:

If i enter the following command line: echo "s">> /dev/inter

The counter must start.

If i enter the following command line: echo "e">> /dev/inter

The counter must be stopped.

If i enter the following command line: cat /dev/inter

The total of interruptions made by the mouse must appear on the screen. Ex: 45;

As a beginner in C and especially in linux interruption, I will need some help to develop such driver.

Thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Maillog file not being generated sanjibgupta Linux - Newbie 1 02-12-2007 11:33 PM
Javasript to count number of mouse clicks LinuxLala Programming 3 06-17-2005 12:23 AM
no output generated suchi_s Programming 2 09-08-2004 05:08 AM
Should posts in general count on your post count? Joey.Dale General 16 01-27-2004 01:31 AM
How are the numbers generated? pe2338 Linux - General 1 09-24-2003 10:00 AM

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

All times are GMT -5. The time now is 10:10 PM.

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