* [PATCH] meta-fishriver/linux-yocto: Auto load cdc-acm and cdc-wdm modules @ 2011-06-16 9:21 Dongxiao Xu 2011-06-16 9:48 ` Koen Kooi 0 siblings, 1 reply; 5+ messages in thread From: Dongxiao Xu @ 2011-06-16 9:21 UTC (permalink / raw) To: poky Automatically load cdc-acm.ko and cdc-wdm.ko to support 3G module. Signed-off-by: Dongxiao Xu <dongxiao.xu@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 ^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] meta-fishriver/linux-yocto: Auto load cdc-acm and cdc-wdm modules 2011-06-16 9:21 [PATCH] meta-fishriver/linux-yocto: Auto load cdc-acm and cdc-wdm modules Dongxiao Xu @ 2011-06-16 9:48 ` Koen Kooi 2011-06-16 12:52 ` Bruce Ashfield 0 siblings, 1 reply; 5+ messages in thread From: Koen Kooi @ 2011-06-16 9:48 UTC (permalink / raw) To: Dongxiao Xu; +Cc: poky 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? > > Signed-off-by: Dongxiao Xu <dongxiao.xu@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@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] meta-fishriver/linux-yocto: Auto load cdc-acm and cdc-wdm modules 2011-06-16 9:48 ` Koen Kooi @ 2011-06-16 12:52 ` Bruce Ashfield 2011-06-17 1:34 ` Xu, Dongxiao 0 siblings, 1 reply; 5+ messages in thread From: Bruce Ashfield @ 2011-06-16 12:52 UTC (permalink / raw) To: Koen Kooi; +Cc: poky On Thu, Jun 16, 2011 at 5:48 AM, Koen Kooi <koen@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. Cheers, Bruce > >> >> Signed-off-by: Dongxiao Xu <dongxiao.xu@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@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/poky > > _______________________________________________ > poky mailing list > poky@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky > -- "Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end" ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] meta-fishriver/linux-yocto: Auto load cdc-acm and cdc-wdm modules 2011-06-16 12:52 ` Bruce Ashfield @ 2011-06-17 1:34 ` Xu, Dongxiao 2011-06-17 3:28 ` Bruce Ashfield 0 siblings, 1 reply; 5+ messages in thread From: Xu, Dongxiao @ 2011-06-17 1:34 UTC (permalink / raw) To: Bruce Ashfield, Koen Kooi; +Cc: poky@yoctoproject.org > -----Original Message----- > From: Bruce Ashfield [mailto:bruce.ashfield@gmail.com] > Sent: Thursday, June 16, 2011 8:53 PM > To: Koen Kooi > Cc: Xu, Dongxiao; poky@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@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. Thanks, Dongxiao > > Cheers, > > Bruce > > > > >> > >> Signed-off-by: Dongxiao Xu <dongxiao.xu@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@yoctoproject.org > >> https://lists.yoctoproject.org/listinfo/poky > > > > _______________________________________________ > > poky mailing list > > poky@yoctoproject.org > > https://lists.yoctoproject.org/listinfo/poky > > > > > > -- > "Thou shalt not follow the NULL pointer, for chaos and madness await thee at > its end" ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] meta-fishriver/linux-yocto: Auto load cdc-acm and cdc-wdm modules 2011-06-17 1:34 ` Xu, Dongxiao @ 2011-06-17 3:28 ` Bruce Ashfield 0 siblings, 0 replies; 5+ messages in thread From: Bruce Ashfield @ 2011-06-17 3:28 UTC (permalink / raw) To: Xu, Dongxiao; +Cc: poky@yoctoproject.org On 11-06-16 9:34 PM, Xu, Dongxiao wrote: >> -----Original Message----- >> From: Bruce Ashfield [mailto:bruce.ashfield@gmail.com] >> Sent: Thursday, June 16, 2011 8:53 PM >> To: Koen Kooi >> Cc: Xu, Dongxiao; poky@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@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@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@yoctoproject.org >>>> https://lists.yoctoproject.org/listinfo/poky >>> >>> _______________________________________________ >>> poky mailing list >>> poky@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@yoctoproject.org > https://lists.yoctoproject.org/listinfo/poky ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-06-17 3:28 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-06-16 9:21 [PATCH] meta-fishriver/linux-yocto: Auto load cdc-acm and cdc-wdm modules Dongxiao Xu 2011-06-16 9:48 ` Koen Kooi 2011-06-16 12:52 ` Bruce Ashfield 2011-06-17 1:34 ` Xu, Dongxiao 2011-06-17 3:28 ` Bruce Ashfield
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.