Re: difference in option.ko and sierra.ko Linux drivers

2015-02-05 Thread temp sha
You mean to say only Sierra has its own proprietary commands and no one else ?
What is so special about Sierra that requires a dedicated driver in
Linux while rest of
all vendors share the same option driver ? Does Sierra do something unique and
different from rest of all vendors?

Thanks

On Fri, Jan 30, 2015 at 12:19 AM, Dan Williams d...@redhat.com wrote:
 On Thu, 2015-01-29 at 06:23 -0800, Greg KH wrote:
 On Thu, Jan 29, 2015 at 02:50:13PM +0530, temp sha wrote:
  Can any one let me know the difference in option and sierra kernel
  modules ? looks like both drivers support GSM modem. And from the
  source code perspective both look similar. I am able to load sierra
  module for my Huawei USB dongle E156 and able to connect to internet
  using pppd. Is it OK to use sierra driver for Huawei in case there is
  no technical issue? If yes why there are two different modules?

 They support two different chipsets and control them differently.  If
 the sierra module works for your hardware, great!  Please send us a
 patch that adds the device id to the driver and we will be glad to merge
 it into the kernel tree.

 I'd really, really rather not have non-Sierra devices controlled by
 'sierra'.  There are some Sierra-specific things the driver does, like
 interface enumeration, enabling/disabling power state and NMEA ports
 using Sierra-proprietary commands, and a few other things.

 Since PPP-using Huawei devices are usually done by 'option', I'd prefer
 to have them added there, and if there is some issue, then I'd prefer to
 have that issue fixed in option.

 Dan

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: difference in option.ko and sierra.ko Linux drivers

2015-02-05 Thread Dan Williams
On Thu, 2015-02-05 at 07:33 -0800, Greg KH wrote:
 On Thu, Feb 05, 2015 at 07:36:40PM +0530, temp sha wrote:
  You mean to say only Sierra has its own proprietary commands and no one 
  else ?
  What is so special about Sierra that requires a dedicated driver in
  Linux while rest of
  all vendors share the same option driver ? Does Sierra do something unique 
  and
  different from rest of all vendors?
 
 Sierra does unique things for their chips, the driver source itself
 should explain this.

Yes, it has some specific commands for power control and a few other
functions.  While it is not extremely different than option, the Sierra
driver is currently meant to drive Sierra devices.

temp sha, what is the problem with using the Huawei device with the
option driver?  Is there a bug that prevents the device from working
there?  Every other non-Gobi/non-MBIM Huawei device is currently driven
by 'option' and I think yours should also be the same.

Dan

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: difference in option.ko and sierra.ko Linux drivers

2015-02-05 Thread Greg KH
On Thu, Feb 05, 2015 at 07:36:40PM +0530, temp sha wrote:
 You mean to say only Sierra has its own proprietary commands and no one else ?
 What is so special about Sierra that requires a dedicated driver in
 Linux while rest of
 all vendors share the same option driver ? Does Sierra do something unique and
 different from rest of all vendors?

Sierra does unique things for their chips, the driver source itself
should explain this.

thanks,

greg k-h
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


difference in option.ko and sierra.ko Linux drivers

2015-01-29 Thread temp sha
Can any one let me know the difference in option and sierra kernel
modules ? looks like both drivers support GSM modem. And from the
source code perspective both look similar. I am able to load sierra
module for my Huawei USB dongle E156 and able to connect to internet
using pppd. Is it OK to use sierra driver for Huawei in case there is
no technical issue? If yes why there are two different modules?

Thanks
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: difference in option.ko and sierra.ko Linux drivers

2015-01-29 Thread Greg KH
On Thu, Jan 29, 2015 at 02:50:13PM +0530, temp sha wrote:
 Can any one let me know the difference in option and sierra kernel
 modules ? looks like both drivers support GSM modem. And from the
 source code perspective both look similar. I am able to load sierra
 module for my Huawei USB dongle E156 and able to connect to internet
 using pppd. Is it OK to use sierra driver for Huawei in case there is
 no technical issue? If yes why there are two different modules?

They support two different chipsets and control them differently.  If
the sierra module works for your hardware, great!  Please send us a
patch that adds the device id to the driver and we will be glad to merge
it into the kernel tree.

thanks,

greg k-h
--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: difference in option.ko and sierra.ko Linux drivers

2015-01-29 Thread Dan Williams
On Thu, 2015-01-29 at 06:23 -0800, Greg KH wrote:
 On Thu, Jan 29, 2015 at 02:50:13PM +0530, temp sha wrote:
  Can any one let me know the difference in option and sierra kernel
  modules ? looks like both drivers support GSM modem. And from the
  source code perspective both look similar. I am able to load sierra
  module for my Huawei USB dongle E156 and able to connect to internet
  using pppd. Is it OK to use sierra driver for Huawei in case there is
  no technical issue? If yes why there are two different modules?
 
 They support two different chipsets and control them differently.  If
 the sierra module works for your hardware, great!  Please send us a
 patch that adds the device id to the driver and we will be glad to merge
 it into the kernel tree.

I'd really, really rather not have non-Sierra devices controlled by
'sierra'.  There are some Sierra-specific things the driver does, like
interface enumeration, enabling/disabling power state and NMEA ports
using Sierra-proprietary commands, and a few other things.

Since PPP-using Huawei devices are usually done by 'option', I'd prefer
to have them added there, and if there is some issue, then I'd prefer to
have that issue fixed in option.

Dan

--
To unsubscribe from this list: send the line unsubscribe linux-usb in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html