List of installed and running driver.

Hello.

I have reinstalled my server with 12.1.

Is there a way to list installed and running drivers and their version ( not from yast2 / Software management nor from yast2 / hardware Information ).

Especially for the graphics card and sound card.

Thank you for helping.

“lsmod” lists all loaded drivers. A list of installed drivers is nonsense, you’d have to list all hardware related kernel modules.

So I suppose I can run lsmod and then rpm -qa | grep xxxxxxxxx with module name which sound what I am looking for ?

On 2012-04-12 00:16, jcdole wrote:
>
> Knurpht;2455479 Wrote:
>> “lsmod” lists all loaded drivers. A list of installed drivers is
>> nonsense, you’d have to list all hardware related kernel modules.
>
> So I suppose I can run lsmod and then rpm -qa | grep xxxxxxxxx with
> module name which sound what I am looking for ?

You don’t understand, there are no drivers in Linux, all are inside the
kernel. The exception is proprietary drivers, like nvidia or ati video.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

If you want help with your audio, give us the chipset details:

/sbin/lspci -nnk

This will produce a list of pci-attached hardware (including your audio chipset), and any driver in use for it.

That is exactly what I want to discover.

What software and what version my graphic cards is running.
I know that nouveau is blacklisted.
Yast2 / hardware info show nvidia and nv.

If the nvidia driver is active, this may help

sudo /sbin/modinfo nvidia

If you have loaded the nVIDIA proprietary video driver you can open up a terminal session and type this command for more information:

nvidia-smi -q

Here is the useful info I get (in openSUSE 12.2 which is beta)

==============NVSMI LOG==============

Timestamp                       : Wed Apr 11 20:36:11 2012

Driver Version                  : 295.33

Attached GPUs                   : 1

GPU 0000:01:00.0
    Product Name                : GeForce GTX 560
    Display Mode                : N/A
    Persistence Mode            : Disabled
    Driver Model
        Current                 : N/A
        Pending                 : N/A
    Serial Number               : N/A
    GPU UUID                    : N/A
    VBIOS Version               : 70.24.18.00.60
    Inforom Version
        OEM Object              : N/A
        ECC Object              : N/A
        Power Management Object : N/A
    PCI
        Bus                     : 0x01
        Device                  : 0x00
        Domain                  : 0x0000
        Device Id               : 0x120110DE
        Bus Id                  : 0000:01:00.0
        Sub System Id           : 0x14603842
        GPU Link Info
            PCIe Generation
                Max             : N/A
                Current         : N/A
            Link Width
                Max             : N/A
                Current         : N/A
    Fan Speed                   : 40 %
    Performance State           : N/A
    Memory Usage
        Total                   : 1023 MB
        Used                    : 116 MB
        Free                    : 906 MB
    Compute Mode                : Default

To look at all kernel modules loaded, check out my bash script skim here: S.K.I.M. - SuSE Kernel Installed Modules - A lsmod replacement- Creates Alphabetized Module Listing - Blogs - openSUSE Forums

Thank You,

On 2012-04-12 00:46, jcdole wrote:

> That is exactly what I want to discover.
>
> What software and what version my graphic cards is running.
> I know that nouveau is blacklisted.
> Yast2 / hardware info show nvidia and nv.


lsmod | grep nv

will tell you which one is loaded, nvidia or nv.


Telcontar:~ # lsmod | grep nv
nvidia              12129441  30

and

Telcontar:~ # modinfo nvidia | grep ver
version:        290.10
vermagic:       2.6.37.1-1.2-desktop SMP preempt mod_unload modversions
Telcontar:~ #

and

Telcontar:~ # rpm -qa | grep nvidia
x11-video-nvidiaG02-290.10-13.1.x86_64
nvidia-computeG02-290.10-13.1.x86_64
nvidia-gfxG02-kmp-desktop-290.10_k2.6.37.1_1.2-12.1.x86_64
nvidia-gfxG02-kmp-desktop-270.41.06_k2.6.37.1_1.2-4.1.x86_64
Telcontar:~ #



Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Thank you for helping.

It is just what I need.

Thank you for helping.

It is just what I need.


**linux:~ #** lsmod | egrep '\<nv\>'
**linux:~ #**

→ nv is not loaded


**linux-srv:~ #** lsmod | egrep '\<nvidia\>'
nvidia              12294554  40 
**linux-srv:~ #** 

→ nvidia is loaded

Thank you for taking times.