public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* post 2.6.34 bug: new code enabled by default
@ 2010-05-25 19:45 Stefan Richter
  2010-05-26  4:12 ` Mauro Carvalho Chehab
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Richter @ 2010-05-25 19:45 UTC (permalink / raw)
  To: linux-media; +Cc: linux-kernel

$ make oldconfig
...
  * Multimedia drivers
  *
  Compile Remote Controller keymap modules (RC_MAP) [M/n/?] (NEW) n
  Enable IR raw decoder for the NEC protocol (IR_NEC_DECODER) [M/n/?] (NEW) n
  Enable IR raw decoder for the RC-5 protocol (IR_RC5_DECODER) [M/n/?] (NEW) n
  Enable IR raw decoder for the RC6 protocol (IR_RC6_DECODER) [M/n/?] (NEW) n
  Enable IR raw decoder for the JVC protocol (IR_JVC_DECODER) [M/n/?] (NEW) n
  Enable IR raw decoder for the Sony protocol (IR_SONY_DECODER) [M/n/?] (NEW) n

Please leave the default of new options at N.

(Unless this were a special case of new options that replaced older
options and need to be migrated to 'on' per default in make oldconfig.
I think this is not the case here.)
-- 
Stefan Richter
-=====-==-=- -=-= ==--=
http://arcgraph.de/sr/



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: post 2.6.34 bug: new code enabled by default
  2010-05-25 19:45 post 2.6.34 bug: new code enabled by default Stefan Richter
@ 2010-05-26  4:12 ` Mauro Carvalho Chehab
  2010-05-26  8:03   ` Stefan Richter
  0 siblings, 1 reply; 3+ messages in thread
From: Mauro Carvalho Chehab @ 2010-05-26  4:12 UTC (permalink / raw)
  To: Stefan Richter; +Cc: linux-media, linux-kernel

Stefan Richter wrote:
> $ make oldconfig
> ...
>   * Multimedia drivers
>   *
>   Compile Remote Controller keymap modules (RC_MAP) [M/n/?] (NEW) n
>   Enable IR raw decoder for the NEC protocol (IR_NEC_DECODER) [M/n/?] (NEW) n
>   Enable IR raw decoder for the RC-5 protocol (IR_RC5_DECODER) [M/n/?] (NEW) n
>   Enable IR raw decoder for the RC6 protocol (IR_RC6_DECODER) [M/n/?] (NEW) n
>   Enable IR raw decoder for the JVC protocol (IR_JVC_DECODER) [M/n/?] (NEW) n
>   Enable IR raw decoder for the Sony protocol (IR_SONY_DECODER) [M/n/?] (NEW) n
> 
> Please leave the default of new options at N.
> 
> (Unless this were a special case of new options that replaced older
> options and need to be migrated to 'on' per default in make oldconfig.
> I think this is not the case here.)

This is the case here. Before the RC subsystem, the decoding for NEC and RC-5
were done inside ir-core (at ir-functions). Also, all the keymap entries (RC_MAP)
were compiled in-kernel.

The intention is to move the RC_MAP keytables to userspace, by default, but there
are still some work to be done at the userspace application before we can do it.

So, without RC_MAP, IR_NEC_DECODER and IR_RC5_DECODER, the input driver will be 
compiled, but the IR support may not actually work, if the board needs IR raw
support.

That's said, the support for RC-6, JVC and Sony protocols (IR_RC6_DECODER, 
IR_JVC_DECODER and IR_SONY_DECODER) are new. Yet, even on this case, it may make
sense to keep the default to Y, or to add a logic to auto-select the IR decoder 
protocols that are needed in order to support the bundled IR found at the compiled
drivers.

-- 

Cheers,
Mauro

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: post 2.6.34 bug: new code enabled by default
  2010-05-26  4:12 ` Mauro Carvalho Chehab
@ 2010-05-26  8:03   ` Stefan Richter
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Richter @ 2010-05-26  8:03 UTC (permalink / raw)
  To: Mauro Carvalho Chehab; +Cc: linux-media, linux-kernel

Mauro Carvalho Chehab wrote:
> Stefan Richter wrote:
[CONFIG_RC_MAP et al]
>> Please leave the default of new options at N.
>>
>> (Unless this were a special case of new options that replaced older
>> options and need to be migrated to 'on' per default in make oldconfig.
>> I think this is not the case here.)
> 
> This is the case here. Before the RC subsystem, the decoding for NEC and RC-5
> were done inside ir-core (at ir-functions). Also, all the keymap entries (RC_MAP)
> were compiled in-kernel.

OK.  I happened to have a setup in which nothing of this was actually
used before.  (CONFIG_FIREDTV as only DVB tuner driver.)  --- Aha, it is
just a consequence of ir-core being enabled by default regardless if
needed, since 2.6.33:

config IR_CORE
	tristate
	depends on INPUT
	default INPUT
-- 
Stefan Richter
-=====-==-=- -=-= ==-=-
http://arcgraph.de/sr/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-05-26  8:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-25 19:45 post 2.6.34 bug: new code enabled by default Stefan Richter
2010-05-26  4:12 ` Mauro Carvalho Chehab
2010-05-26  8:03   ` Stefan Richter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox