[Gllug] How to check if module is in kernel ?

salsaman at xs4all.nl salsaman at xs4all.nl
Sun Nov 14 23:02:12 UTC 2010


On Sun, November 14, 2010 23:55, salsaman at xs4all.nl wrote:
> On Sun, November 14, 2010 23:27, Alain Williams wrote:
>> On Sun, Nov 14, 2010 at 10:44:53PM +0100, salsaman at xs4all.nl wrote:
>>> On Sun, November 14, 2010 22:22, Steve Parker wrote:
>>> > I'm sure that there must be a technical way, but whoever supplied
>>> your
>>> > kernel should be able to tell you - if it's RedHat etc, they will
>>> have
>>> a
>>> > .config file in the kernel source package.
>>> >
>>>
>>> I am not talking about my own machine - I know it is compiled in.
>>>
>>> It needs to work for all users and all distros.
>>>
>>> I mean something like sysconf() but which could return other kernel
>>> capabilities at runtime.
>>
>> Does it export something in /proc /sys or /dev ??
>>
>
> Ah yes, good thinking !
>
> grep video4linux /proc/devices
>
> ->  81 video4linux
>

Hmmm..actually that might be just for v4l and not vloopback.



>
> Regards,
> Salsaman.
>
>
>> --
>> Alain Williams
>> Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer,
>> IT
>> Lecturer.
>> +44 (0) 787 668 0256  http://www.phcomp.co.uk/
>> Parliament Hill Computers Ltd. Registration Information:
>> http://www.phcomp.co.uk/contact.php
>> #include <std_disclaimer.h>
>> --
>> Gllug mailing list  -  Gllug at gllug.org.uk
>> http://lists.gllug.org.uk/mailman/listinfo/gllug
>>
>>
>
>
> --
> Gllug mailing list  -  Gllug at gllug.org.uk
> http://lists.gllug.org.uk/mailman/listinfo/gllug
>
>


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list