Hi Forum!

Again i need the Knowledgebase of the great ones here.
When im going to add Kernelmodules to my openwrtbox i do the following.
I atach the Device i need to a ubuntu machine wich has the same kernelversion.
Them i make a diff between lsmod $withdevice and a lsmod $without device.

Ok Sir now i know, that i need tveeprom.ko for example.
After that i went to my build dir and:

find . | grep tveeprom
linux-3.3.8/drivers/media/video/tveeprom.c

And yes, there it is. Now i take a look at linux-3.3.8/drivers/media/video/Kconfig, which tells me:
config VIDEO_TVEEPROM
    tristate
    depends on I2C

This is what i use for the $.mk in package/kernel/modules:
CONFIG_VIDEO_TVEEPROM

Sometimes that works ($.ko) there in $build_dir/linux-blah-elsewhere.
Where i can pick it up later in $.mk file usinf 'FILES:='.
And sometimes its not there.
What is the best method to findout which CONFIG(s) i have to call?

I am pretty sure that i use "the bad" method, as usual wink

Regards
derdigge