[poky] [PATCH 1/5] kernel.bbclass: Auto load cdc-acm and cdc-wdm

Koen Kooi koen at dominion.thruhere.net
Tue Jun 7 10:05:03 PDT 2011


Op 7 jun 2011, om 18:05 heeft Darren Hart het volgende geschreven:

> 
> 
> On 06/07/2011 05:58 AM, Bruce Ashfield wrote:
>> On Tue, Jun 7, 2011 at 4:52 AM,  <y at pokylinux.org> wrote:
>>> From: Dongxiao Xu <dongxiao.xu at intel.com>
>>> 
>>> Automatically load cdc-acm.ko and cdc-wdm.ko to support 3G module.
>>> 
>>> Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
>>> ---
>>> meta/classes/kernel.bbclass |    2 ++
>>> 1 files changed, 2 insertions(+), 0 deletions(-)
>>> 
>>> diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
>>> index 1bb69f5..1b50b38 100644
>>> --- a/meta/classes/kernel.bbclass
>>> +++ b/meta/classes/kernel.bbclass
>>> @@ -264,6 +264,8 @@ module_autoload_rfcomm = "rfcomm"
>>> module_autoload_sa1100-rtc = "sa1100-rtc"
>>> # sa1100-rtc was renamed in 2.6.23 onwards
>>> module_autoload_rtc-sa1100 = "rtc-sa1100"
>>> +module_autoload_cdc-acm = "cdc-acm"
>>> +module_autoload_cdc-wdm = "cdc-wdm"
>> 
>> Hi Dongxiao,
>> 
>> This patch should go to oe-core, since we are talking about
>> meta/classes/kernel.bbclass.
>> 
>> But seeing this looks like it doesn't belong in kernel.bbclass at all (neither
>> do the existing autoloads), but would be better defined in either a BSP or
>> distro layer.
> 
> Agreed.

And more importantly, figure out why those don't get autoloaded when plugging in such usb devices.

regards,

Koen


More information about the poky mailing list