[poky] [PATCH] meta-fishriver/linux-yocto: Auto load cdc-acm and cdc-wdm modules
Bruce Ashfield
bruce.ashfield at windriver.com
Thu Jun 16 20:28:30 PDT 2011
On 11-06-16 9:34 PM, Xu, Dongxiao wrote:
>> -----Original Message-----
>> From: Bruce Ashfield [mailto:bruce.ashfield at gmail.com]
>> Sent: Thursday, June 16, 2011 8:53 PM
>> To: Koen Kooi
>> Cc: Xu, Dongxiao; poky at yoctoproject.org
>> Subject: Re: [poky] [PATCH] meta-fishriver/linux-yocto: Auto load cdc-acm and
>> cdc-wdm modules
>>
>> On Thu, Jun 16, 2011 at 5:48 AM, Koen Kooi<koen at dominion.thruhere.net>
>> wrote:
>>>
>>> Op 16 jun 2011, om 11:21 heeft Dongxiao Xu het volgende geschreven:
>>>
>>>> Automatically load cdc-acm.ko and cdc-wdm.ko to support 3G module.
>>>
>>> Is USB broken in that kernel that it doesn't load the correct driver when
>> plugging in the dongle?
>>
>> Should be working fine, or at least it works fine for the targets that I have near
>> me.
>>
>> Dongxiao: are you seeing anything in the kernel logs when the devices are
>> plugged in ? As part of the commit message, it would be useful to list the
>> reasons why a change is being made, it'll allow us to suggest alternatives, or
>> debug .. or do nothing.
>
> Hi Bruce and Koen,
>
> There is no such log you mentioned.
>
> My description for the commit may be not accurate. The above driver I mentioned is a generic driver which converts the USB device to be a virtual modem, and it is not the device enabling driver.
> Also I need to mention that, my 3G module device is not an external dongle, and it is directly plugged in mother board on pci-e mini slot.
Aha, so this falls into the category of 'do nothing'. Thanks
for the explanation. This sort of information is useful and
should be included with the commit (since it saves us wondering
'why' later and during submission).
Cheers,
Bruce
>
> Thanks,
> Dongxiao
>
>>
>> Cheers,
>>
>> Bruce
>>
>>>
>>>>
>>>> Signed-off-by: Dongxiao Xu<dongxiao.xu at intel.com>
>>>> ---
>>>> .../linux/linux-yocto_2.6.37.bbappend | 3 +++
>>>> 1 files changed, 3 insertions(+), 0 deletions(-)
>>>>
>>>> diff --git
>>>> a/meta-fishriver/recipes-kernel/linux/linux-yocto_2.6.37.bbappend
>>>> b/meta-fishriver/recipes-kernel/linux/linux-yocto_2.6.37.bbappend
>>>> index b767109..5f8b8ca 100644
>>>> --- a/meta-fishriver/recipes-kernel/linux/linux-yocto_2.6.37.bbappend
>>>> +++ b/meta-fishriver/recipes-kernel/linux/linux-yocto_2.6.37.bbappend
>>>> @@ -4,3 +4,6 @@ KMACHINE_fishriver = "yocto/standard/fishriver"
>>>>
>>>> SRCREV_machine_pn-linux-yocto_fishriver ?=
>> "697d84759be192403a8a87ab269196c67a0c2c88"
>>>> SRCREV_meta_pn-linux-yocto_fishriver ?=
>> "f1dc3722d45cdcc92c84ebfecf4ce616d2efed26"
>>>> +
>>>> +module_autoload_cdc-acm = "cdc-acm"
>>>> +module_autoload_cdc-wdm = "cdc-wdm"
>>>> --
>>>> 1.7.0.4
>>>>
>>>> _______________________________________________
>>>> poky mailing list
>>>> poky at yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/poky
>>>
>>> _______________________________________________
>>> poky mailing list
>>> poky at yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/poky
>>>
>>
>>
>>
>> --
>> "Thou shalt not follow the NULL pointer, for chaos and madness await thee at
>> its end"
> _______________________________________________
> poky mailing list
> poky at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/poky
More information about the poky
mailing list