LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-27-2007, 10:24 AM   #1
anon255
LQ Newbie
 
Registered: Jul 2005
Posts: 4

Rep: Reputation: Disabled
2 rpms - which driver


I'm running FC5 on a Dell Optiplex GX180. Window dragging produces a kind of trippy trails.

I thought I should try installing a new video driver. So I downloaded a rpm from Intel's archives and installed it.

Now it seems that I have two rpms and maybe two modules (drivers) installed.
How do I know which module/driver is active?
If only one is active, should I remove the inactive's rpm?
And if so, how do I know which rpm corresponds to the inactive module/driver?

Here is some background output.

[jsteffer@granite X11]$ uname -a
Linux granite.steffer.com 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686 i386 GNU/Linux

[jsteffer@granite X11]$ rpm -qa | grep i810
xorg-x11-drv-i810-1.4.1.3-3.1
XFCom_i810-1.2-3
[jsteffer@granite X11]$


> less /etc/X11/xorg.conf
Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel Corporation 82815 CGC [Chipset Graphics Controller]"
EndSection

[jsteffer@granite X11]$ lsmod | grep 810
i2c_i810 5317 0
i2c_algo_bit 8393 1 i2c_i810
[jsteffer@granite X11]$

[jsteffer@granite X11]$ modprobe -c | grep i810
blacklist i810fb
alias pci:v00008086d00007121sv*sd*bc*sc*i* i2c-i810
alias pci:v00008086d00007123sv*sd*bc*sc*i* i2c-i810
alias pci:v00008086d00007125sv*sd*bc*sc*i* i2c-i810
alias pci:v00008086d00001132sv*sd*bc*sc*i* i2c-i810
alias pci:v00008086d00002562sv*sd*bc*sc*i* i2c-i810
[jsteffer@granite X11]$
[jsteffer@granite X11]$
[jsteffer@granite X11]$ modprobe -l | grep i810
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/i2c/busses/i2c-i810.ko
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/video/i810/i810fb.ko
/lib/modules/2.6.15-1.2054_FC5/kernel/drivers/char/drm/i810.ko
[jsteffer@granite X11]$


thanks in advance for any help you can provide. Even a pointer to a tutorial about how rpms, modules, drivers work would be appreciated.
 
Old 02-27-2007, 10:29 AM   #2
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Rep: Reputation: 30
Try 'lsmod' there is a column called Used that will show you now many devices are using it and then another column called Used By that will show the module.

Your output shows it: i2c_algo_bit 8393 1 i2c_i810

Last edited by jhibbets; 02-27-2007 at 10:31 AM.
 
Old 02-27-2007, 10:39 AM   #3
jhibbets
Red Hat
 
Registered: Sep 2003
Location: Raleigh, NC
Distribution: Red Hat Enterprise Linux v 2.1, v 3, v 4
Posts: 174

Rep: Reputation: 30
Also, you can see the man page for RPM...there is a --whatprovides option that shows details about which RPM provided which files.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 rpms, which video driver? anon255 Linux - Newbie 1 02-23-2007 01:01 AM
how to intall rpms from .tar.bz and .tar.gz and .src.rpms gadekishore Linux - Software 13 12-26-2005 02:57 PM
Install Nvidia driver using RPMs Ace2005 Fedora 1 06-21-2005 12:58 PM
Linux-wlan-ng Driver RPMs for Mandrake QzarBaron Linux - Wireless Networking 3 08-19-2004 07:22 PM
Red Hat RPMs vs Mandrake RPMs pioniere Linux - Distributions 4 02-27-2003 12:38 PM

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

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