LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-17-2012, 04:33 AM   #1
texton
LQ Newbie
 
Registered: Feb 2012
Posts: 7

Rep: Reputation: Disabled
Question Difference between evdev and mousedev?


Hi guys..

I have a hard time understanding the difference between the different input event drivers?

To me it seems that the use of evdev and mousedev (for example) is precisely the same in my input device driver?

I have found some examples where mousedev supposedly should be used, but in the driver-init method nothing is indicating this?

Can someone please explain it to me?
 
Old 06-18-2012, 05:50 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,061

Rep: Reputation: Disabled
In mousedev.c it's written:
Code:
 * Input driver to ExplorerPS/2 device driver module.
in evdev.c it's written:
Code:
 * Event char devices, giving access to raw input device events.
In short, instead of moused, evdev is a generic driver.

evdev is also the name of an Xorg driver, let's quote "man evdev":
Code:
evdev  is an Xorg input driver for Linux´s generic event devices.  It therefore supports all input devices that
       the kernel knows about, including most mice, keyboards, tablets and touchscreens.  evdev is the default  driver
       on the major Linux distributions.

       The  evdev driver can serve as both a pointer and a keyboard input device. Multiple input devices are supported
       by multiple instances of this driver, with one InputDevice section of your xorg.conf for each input device that
       will use this driver.
 
  


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
compiling mousedev as module hevi Linux - Kernel 1 07-21-2010 11:40 PM
A4Tech 4D USB mouse and mousedev.c davidsrsb Linux - Hardware 0 05-26-2005 08:48 AM
kernel 2.6: mousedev not found piggysmile Linux - Software 2 03-25-2005 03:42 AM
modprobe:Can't locate module mousedev petarsabev Slackware 7 10-13-2003 12:22 AM
Modprobe: Can't locate module mousedev (gentoo) amphibious Linux - Newbie 1 09-26-2003 02:18 AM

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

All times are GMT -5. The time now is 07:07 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