LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-06-2010, 12:03 PM   #1
Vilius
Member
 
Registered: Jan 2006
Location: Lithuania
Distribution: CentOS, Debian
Posts: 184

Rep: Reputation: 15
X11 video drivers - shared libraries ?


Hello,

I just wanted to check X11 video driver.
But looks like all the drivers are *.so files:
Code:
 ls /usr/lib64/xorg/modules/drivers
ast_drv.so       ch7xxx.so         i810_drv.so   r128_drv.so       savage_drv.so         tfp410.so       voodoo_drv.so
ati_drv.so       cirrus_alpine.so  intel_drv.so  r500_drv.so       sil164.so             trident_drv.so
atimisc_drv.so   cirrus_drv.so     ivch.so       radeon_drv.so     siliconmotion_drv.so  vesa_drv.so
ati_r500_drv.so  cirrus_laguna.so  mga_drv.so    radeon_tp_drv.so  sis_drv.so            vga_drv.so
ati_tp_drv.so    dummy_drv.so      nv_drv.so     s3_drv.so         sisusb_drv.so         via_drv.so
ch7017.so        fbdev_drv.so      qxl_drv.so    s3virge_drv.so    tdfx_drv.so           vmware_drv.so
I used to know that all linux drivers are kernel modules (*.ko files) and I can check if they are loaded with lsmod.
Could someone explain me:
Are these *.so files X11 drivers ?
Are they kernel modules ?
Can I use lsmod to check if they are loaded ?

thanks
Vilius
 
Old 09-07-2010, 02:30 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Generally kernel modules (you can say drivers) are located in

Code:
/lib/modules/$(uname -r)/
modules are .ko file (.o in older kernel) and you can use lsmod command to see loaded modules.
modinfo command provide module information.

Code:
$ sudo lsmod | grep pcnet32

$sudo modinfo pcnet32

filename:       /lib/modules/2.6.26-2-686/kernel/drivers/net/pcnet32.ko
license:        GPL
description:    Driver for PCnet32 and PCnetPCI based ethercards
author:         Thomas Bogendoerfer
....
....
HTH

Last edited by sem007; 09-07-2010 at 02:34 AM. Reason: add command
 
Old 09-07-2010, 02:57 AM   #3
Vilius
Member
 
Registered: Jan 2006
Location: Lithuania
Distribution: CentOS, Debian
Posts: 184

Original Poster
Rep: Reputation: 15
I know enough about kernel modules.

My question was why X11 drivers are not kernel modules.
And what these drivers are then ?

V
 
Old 09-07-2010, 03:04 AM   #4
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
Quote:
Originally Posted by Vilius View Post
I know enough about kernel modules.

My question was why X11 drivers are not kernel modules.
And what these drivers are then ?

V
Look at this Directory

Code:
/lib/modules/2.6.26-2-686/kernel/drivers/video/
In my debian system ( VMWARE )

Code:
$ sudo lsmod | grep intel
intel_agp              22524  1
agpgart                28808  1 intel_agp

$ sudo modinfo intel_agp | head -2
filename:       /lib/modules/2.6.26-2-686/kernel/drivers/char/agp/intel-agp.ko
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error while loading shared libraries: libgtk-x11-2.0.so.0: cannot peeths003 Linux - Software 7 07-13-2009 03:20 AM
error while loading shared libraries: libgtkglextmm-x11-1.2.so.0 chire Linux - Software 10 05-05-2009 04:04 PM
error while loading shared libraries: libstdc++.so.5: cannot open shared object file PaulyWally Debian 2 10-18-2008 05:59 PM
XF86Config-4 file / X11 video drivers dogpatch Linux - Hardware 4 04-05-2007 12:04 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration