LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-13-2008, 01:47 AM   #1
xingxd
LQ Newbie
 
Registered: Sep 2008
Posts: 1

Rep: Reputation: 0
Why there is difference between new compiled evdev_drv.so and kernel's evdev_drv.so ?


I am a beginner for linux. I want to study device driver for xserver.
I have a kernel for fedora 9 (2.6.25.14-108.fc9.i686).

I download this SRPM (xorg-x11-drv-evdev-2.0.3-1.fc9.src.rpm).
After i run "autogen.sh" and "make", I get evdev_drv.so.
But there is difference. This compiled evdev_drv.so is 79.8K,
kernel's evdev_drv.so is 15.8K only.
When i replace it in new compiled evdev_drv.so,the new evdev_drv.so can't
work normal.In the Xorg.0.log,there is :

(II) LoadModule: "evdev"

(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 1.4.99.905, module version = 2.0.3
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.1
(EE) module ABI minor version (1) is newer than the server's version (0)
(II) UnloadModule: "evdev"
(II) Unloading /usr/lib/xorg/modules/input//evdev_drv.so
(EE) Failed to load module "evdev" (module requirement mismatch, 0)
(EE) No input driver matching `evdev'
[config/hal] NewInputDeviceRequest failed

when used kernel's evdev_drv.so,It work normal.In the Xorg.0.log,there is:

(II) LoadModule: "evdev"

(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so
(II) Module evdev: vendor="X.Org Foundation"
compiled for 0.0.0, module version = 1.0.0
Module class: X.Org XInput Driver
ABI class: X.Org XInput driver, version 2.0
(**) Macintosh mouse button emulation: always reports core events
(**) Macintosh mouse button emulation: Device: "/dev/input/event0"
(II) Macintosh mouse button emulation: Found x and y relative axes
(II) Macintosh mouse button emulation: Found mouse buttons
(II) Macintosh mouse button emulation: Configuring as mouse
(II) XINPUT: Adding extended input device "Macintosh mouse button emulation" (type: MOUSE)
(**) ImExPS/2 Generic Explorer Mouse: always reports core events
(**) ImExPS/2 Generic Explorer Mouse: Device: "/dev/input/event2"
(II) ImExPS/2 Generic Explorer Mouse: Found x and y relative axes
(II) ImExPS/2 Generic Explorer Mouse: Found mouse buttons
(II) ImExPS/2 Generic Explorer Mouse: Configuring as mouse
(II) XINPUT: Adding extended input device "ImExPS/2 Generic Explorer Mouse" (type: MOUSE)

Why ? Please help me.

Last edited by XavierP; 09-13-2008 at 05:26 AM. Reason: Moved to Linux-General
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
x86_64 vs i386. Besides compiled for 64bit. Does it actually make a difference? MikeyCarter Linux - Software 10 06-04-2008 07:20 AM
Small difference when compiled with gcc and g++ drigz Programming 5 06-15-2006 04:09 PM
Kernel's CryptoAPI irfanhab Programming 1 09-17-2004 07:35 PM
kernel's ring buffer sixth_sense Linux - General 1 04-01-2004 02:58 AM
Question on Debian Kernel's sanfran49 Linux - Software 1 02-14-2004 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration