Re: [2.6.16] saa7134 disable_ir oops

From: Sergey Vlasov
Date: Fri Apr 07 2006 - 13:19:41 EST


On Thu, Apr 06, 2006 at 06:03:20PM -0700, David Liontooth wrote:
> >Does the following patch fix things?
> >
> The patch fixes the oops -- thank you! Yet the ir modules get loaded in
> spite of the "disable_ir=1" parameter:
>
> # sudo modprobe -vvv saa7134 card=2 tuner=43 disable_ir=1
> insmod /lib/modules/2.6.16/kernel/drivers/media/common/ir-common.ko
> insmod /lib/modules/2.6.16/kernel/drivers/media/video/ir-kbd-i2c.ko
> insmod /lib/modules/2.6.16/kernel/drivers/media/video/video-buf.ko
> insmod /lib/modules/2.6.16/kernel/drivers/media/video/saa7134/saa7134.ko
> card=2 tuner=43 disable_ir=1

This is normal - saa7134 uses some symbols from these modules, and
such dependencies cannot be dynamic. The disable_ir=1 option just
prevents saa7134 from enabling the IR input and registering the
corresponding input device with the kernel, therefore the IR code will
stay unused.

Attachment: pgp00000.pgp
Description: PGP signature