Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

when I type lsmod I get the output below. But I am missing all the other but the sound modules. Why are no other modules shown? I am using the latest Raspbian release (12/16/12)

root@raspberrypi:~# lsmod
Module                  Size  Used by
snd_bcm2835            12808  0 
snd_usb_audio          93242  0 
snd_pcm                74834  2 snd_usb_audio,snd_bcm2835
snd_page_alloc          4951  1 snd_pcm
snd_hwdep               5730  1 snd_usb_audio
snd_usbmidi_lib        17812  1 snd_usb_audio
snd_seq_midi            4518  0 
snd_seq_midi_event      6453  1 snd_seq_midi
snd_rawmidi            20611  2 snd_seq_midi,snd_usbmidi_lib
snd_seq                52536  2 snd_seq_midi_event,snd_seq_midi
snd_timer              19698  2 snd_seq,snd_pcm
snd_seq_device          6300  3 snd_seq,snd_rawmidi,snd_seq_midi
snd                    52489  9           
snd_seq_device,snd_timer,snd_seq,snd_rawmidi,snd_usbmidi_lib, snd_hwdep,snd_pcm,snd_usb_audio,snd_bcm2835
share|improve this question
    
What more modules were you expecting? lsmod only shows the currently loaded modules, not the available modules. So as long as there is no process that uses a certain module (i2c for example) it will not be loaded and thus not be shown in lsmod. –  ikku Feb 7 '13 at 2:22
    
I am missing modules for the ethernet or graphics module for example. –  Christoph Kuhr Feb 7 '13 at 11:08
    
My guess on those two modules is that they are directly compiled into the kernel being non-removable from the print anyway. –  ikku Feb 7 '13 at 11:42

1 Answer 1

You are probably mixing lsmod with modprobe.

man lsmod:

lsmod is a trivial program which nicely formats the contents of the /proc/modules,
showing what kernel modules are currently loaded.

man modprobe:

-l --list List  all  modules  matching the given wildcard (or "*" if no wildcard is given).
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.