Trying to locate module source

Jeremiah Foster jeremiah at easywebsite.se
Fri Jan 20 15:52:51 UTC 2006


On Mon, 2006-01-16 at 16:16 -0600, Hugh Winkler wrote:
> Hi all,
> 
> I am looking for the sources for the atmel at76503 drivers.
> 
> I did this to find the package for the module binary:
> 
> dpkg --search at76c503.ko

You can search for packages with apt-cache search <package> as well.
> 
> (lsmod had indicated that module is loaded) and dpkg says that file is
> in the kernel package linux-image-2.6.12-10-386.
> 
So if lsmod says it is in the kernel then you have it installed already?
Or are you running a different kernel?

> So then I did
> 
> apt-get source linux-image-2.6.12-10-386
> 
> but those sources do not contain the source code for the module
> (looking for at76c503.c, among others).

You may have to install the source code for the kernel as well. You can
do that with apt-get.

jeremiah





More information about the ubuntu-users mailing list