All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] udev: Add support for SpeedUp 7300 EVDO modem.
@ 2011-07-28 11:50 Bertrand Aygon
  2011-07-28 11:52 ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Bertrand Aygon @ 2011-07-28 11:50 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1508 bytes --]

---
 plugins/ofono.rules |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/plugins/ofono.rules b/plugins/ofono.rules
index f8e485b..ab21f57 100644
--- a/plugins/ofono.rules
+++ b/plugins/ofono.rules
@@ -422,11 +422,15 @@ ATTRS{idVendor}=="19d2", ENV{OFONO_DRIVER}="zte"
 
 ATTRS{idVendor}=="19d2", ATTRS{serial}=="1234567890ABCDEF", ENV{ID_SERIAL_SHORT}=""
 
-# SpeedUp
-ATTRS{idVendor}=="1c9e", ENV{OFONO_DRIVER}="speedup"
+# SpeedUp 7300
+ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9e00", ENV{OFONO_DRIVER}="speedupcdma"
+
+# SpeedUp 9800
+ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9800", ENV{OFONO_DRIVER}="speedup"
 
 ATTRS{idVendor}=="1c9e", ATTRS{serial}=="1234567890ABCDEF", ENV{ID_SERIAL_SHORT}=""
 
+# SpeedUp 8000
 ATTRS{idVendor}=="2020", ENV{OFONO_DRIVER}="speedup"
 
 ATTRS{idVendor}=="2020", ATTRS{serial}=="1234567890ABCDEF", ENV{ID_SERIAL_SHORT}=""
-- 
1.7.4.1

---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

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

* Re: [PATCH] udev: Add support for SpeedUp 7300 EVDO modem.
  2011-07-28 11:50 [PATCH] udev: Add support for SpeedUp 7300 EVDO modem Bertrand Aygon
@ 2011-07-28 11:52 ` Marcel Holtmann
  2011-07-28 11:58   ` Aygon, Bertrand
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2011-07-28 11:52 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1126 bytes --]

Hi Bertrand,

> diff --git a/plugins/ofono.rules b/plugins/ofono.rules
> index f8e485b..ab21f57 100644
> --- a/plugins/ofono.rules
> +++ b/plugins/ofono.rules
> @@ -422,11 +422,15 @@ ATTRS{idVendor}=="19d2", ENV{OFONO_DRIVER}="zte"
>  
>  ATTRS{idVendor}=="19d2", ATTRS{serial}=="1234567890ABCDEF", ENV{ID_SERIAL_SHORT}=""
>  
> -# SpeedUp
> -ATTRS{idVendor}=="1c9e", ENV{OFONO_DRIVER}="speedup"
> +# SpeedUp 7300
> +ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9e00", ENV{OFONO_DRIVER}="speedupcdma"
> +
> +# SpeedUp 9800
> +ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9800", ENV{OFONO_DRIVER}="speedup"
>  
>  ATTRS{idVendor}=="1c9e", ATTRS{serial}=="1234567890ABCDEF", ENV{ID_SERIAL_SHORT}=""

did you send the usb-devices output for these dongles to confirm that
this serial number hack is still needed?
 
> +# SpeedUp 8000
>  ATTRS{idVendor}=="2020", ENV{OFONO_DRIVER}="speedup"

While you are changing this here anyway, please include the product ID
as well.

>  
>  ATTRS{idVendor}=="2020", ATTRS{serial}=="1234567890ABCDEF", ENV{ID_SERIAL_SHORT}=""

Same here.

Regards

Marcel



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

* RE: [PATCH] udev: Add support for SpeedUp 7300 EVDO modem.
  2011-07-28 11:52 ` Marcel Holtmann
@ 2011-07-28 11:58   ` Aygon, Bertrand
  2011-07-28 12:08     ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Aygon, Bertrand @ 2011-07-28 11:58 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 2463 bytes --]

Hi Marcel,

> > diff --git a/plugins/ofono.rules b/plugins/ofono.rules
> > index f8e485b..ab21f57 100644
> > --- a/plugins/ofono.rules
> > +++ b/plugins/ofono.rules
> > @@ -422,11 +422,15 @@ ATTRS{idVendor}=="19d2", ENV{OFONO_DRIVER}="zte"
> >
> >  ATTRS{idVendor}=="19d2", ATTRS{serial}=="1234567890ABCDEF",
> ENV{ID_SERIAL_SHORT}=""
> >
> > -# SpeedUp
> > -ATTRS{idVendor}=="1c9e", ENV{OFONO_DRIVER}="speedup"
> > +# SpeedUp 7300
> > +ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9e00",
> ENV{OFONO_DRIVER}="speedupcdma"
> > +
> > +# SpeedUp 9800
> > +ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9800",
> ENV{OFONO_DRIVER}="speedup"
> >
> >  ATTRS{idVendor}=="1c9e", ATTRS{serial}=="1234567890ABCDEF",
> ENV{ID_SERIAL_SHORT}=""
> 
> did you send the usb-devices output for these dongles to confirm that
> this serial number hack is still needed?

Here it is:

T:  Bus=02 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 20 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1c9e ProdID=9800 Rev=00.00
S:  Manufacturer=USB Modem
S:  Product=USB Modem
S:  SerialNumber=1234567890ABCDEF
C:  #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
I:  If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

> > +# SpeedUp 8000
> >  ATTRS{idVendor}=="2020", ENV{OFONO_DRIVER}="speedup"
> 
> While you are changing this here anyway, please include the product ID
> as well.

Ok, I will add the ProductId 0x1800.

> >  ATTRS{idVendor}=="2020", ATTRS{serial}=="1234567890ABCDEF",
> ENV{ID_SERIAL_SHORT}=""
> 
> Same here.

Regards,

Bertrand
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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

* RE: [PATCH] udev: Add support for SpeedUp 7300 EVDO modem.
  2011-07-28 11:58   ` Aygon, Bertrand
@ 2011-07-28 12:08     ` Marcel Holtmann
  2011-07-28 12:11       ` Aygon, Bertrand
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Holtmann @ 2011-07-28 12:08 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1831 bytes --]

Hi Bertrand,

> > > diff --git a/plugins/ofono.rules b/plugins/ofono.rules
> > > index f8e485b..ab21f57 100644
> > > --- a/plugins/ofono.rules
> > > +++ b/plugins/ofono.rules
> > > @@ -422,11 +422,15 @@ ATTRS{idVendor}=="19d2", ENV{OFONO_DRIVER}="zte"
> > >
> > >  ATTRS{idVendor}=="19d2", ATTRS{serial}=="1234567890ABCDEF",
> > ENV{ID_SERIAL_SHORT}=""
> > >
> > > -# SpeedUp
> > > -ATTRS{idVendor}=="1c9e", ENV{OFONO_DRIVER}="speedup"
> > > +# SpeedUp 7300
> > > +ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9e00",
> > ENV{OFONO_DRIVER}="speedupcdma"
> > > +
> > > +# SpeedUp 9800
> > > +ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9800",
> > ENV{OFONO_DRIVER}="speedup"
> > >
> > >  ATTRS{idVendor}=="1c9e", ATTRS{serial}=="1234567890ABCDEF",
> > ENV{ID_SERIAL_SHORT}=""
> > 
> > did you send the usb-devices output for these dongles to confirm that
> > this serial number hack is still needed?
> 
> Here it is:
> 
> T:  Bus=02 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 20 Spd=480 MxCh= 0
> D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> P:  Vendor=1c9e ProdID=9800 Rev=00.00
> S:  Manufacturer=USB Modem
> S:  Product=USB Modem
> S:  SerialNumber=1234567890ABCDEF
> C:  #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
> I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I:  If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> I:  If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> I:  If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

are you sure that SpeedUp for GSM is just not a re-branded ZTE dongle.
They look as broken as the ZTE ones.

Same as SpeedUp for CDMA might be just a re-branded Huawei dongle.

Regards

Marcel



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

* RE: [PATCH] udev: Add support for SpeedUp 7300 EVDO modem.
  2011-07-28 12:08     ` Marcel Holtmann
@ 2011-07-28 12:11       ` Aygon, Bertrand
  2011-07-28 12:14         ` Marcel Holtmann
  0 siblings, 1 reply; 6+ messages in thread
From: Aygon, Bertrand @ 2011-07-28 12:11 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 2647 bytes --]

Hi Marcel,

> > > > diff --git a/plugins/ofono.rules b/plugins/ofono.rules
> > > > index f8e485b..ab21f57 100644
> > > > --- a/plugins/ofono.rules
> > > > +++ b/plugins/ofono.rules
> > > > @@ -422,11 +422,15 @@ ATTRS{idVendor}=="19d2", ENV{OFONO_DRIVER}="zte"
> > > >
> > > >  ATTRS{idVendor}=="19d2", ATTRS{serial}=="1234567890ABCDEF",
> > > ENV{ID_SERIAL_SHORT}=""
> > > >
> > > > -# SpeedUp
> > > > -ATTRS{idVendor}=="1c9e", ENV{OFONO_DRIVER}="speedup"
> > > > +# SpeedUp 7300
> > > > +ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9e00",
> > > ENV{OFONO_DRIVER}="speedupcdma"
> > > > +
> > > > +# SpeedUp 9800
> > > > +ATTRS{idVendor}=="1c9e", ATTRS{idProduct}=="9800",
> > > ENV{OFONO_DRIVER}="speedup"
> > > >
> > > >  ATTRS{idVendor}=="1c9e", ATTRS{serial}=="1234567890ABCDEF",
> > > ENV{ID_SERIAL_SHORT}=""
> > >
> > > did you send the usb-devices output for these dongles to confirm that
> > > this serial number hack is still needed?
> >
> > Here it is:
> >
> > T:  Bus=02 Lev=02 Prnt=02 Port=02 Cnt=02 Dev#= 20 Spd=480 MxCh= 0
> > D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
> > P:  Vendor=1c9e ProdID=9800 Rev=00.00
> > S:  Manufacturer=USB Modem
> > S:  Product=USB Modem
> > S:  SerialNumber=1234567890ABCDEF
> > C:  #Ifs= 5 Cfg#= 1 Atr=e0 MxPwr=500mA
> > I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> > I:  If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> > I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
> > I:  If#= 3 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> > I:  If#= 4 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
> 
> are you sure that SpeedUp for GSM is just not a re-branded ZTE dongle.
> They look as broken as the ZTE ones.
> 
> Same as SpeedUp for CDMA might be just a re-branded Huawei dongle.

I don't know. How can I check this?

I have not enough knowledge/background on ZTE/Huawei modem to tell you.

Did I just resubmit the patch with product id?

Regards,

Bertrand
---------------------------------------------------------------------
Intel Corporation SAS (French simplified joint stock company)
Registered headquarters: "Les Montalets"- 2, rue de Paris, 
92196 Meudon Cedex, France
Registration Number:  302 456 199 R.C.S. NANTERRE
Capital: 4,572,000 Euros

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


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

* RE: [PATCH] udev: Add support for SpeedUp 7300 EVDO modem.
  2011-07-28 12:11       ` Aygon, Bertrand
@ 2011-07-28 12:14         ` Marcel Holtmann
  0 siblings, 0 replies; 6+ messages in thread
From: Marcel Holtmann @ 2011-07-28 12:14 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 111 bytes --]

Hi Bertrand,

> Did I just resubmit the patch with product id?

no, you did not.

Regards

Marcel



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

end of thread, other threads:[~2011-07-28 12:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-28 11:50 [PATCH] udev: Add support for SpeedUp 7300 EVDO modem Bertrand Aygon
2011-07-28 11:52 ` Marcel Holtmann
2011-07-28 11:58   ` Aygon, Bertrand
2011-07-28 12:08     ` Marcel Holtmann
2011-07-28 12:11       ` Aygon, Bertrand
2011-07-28 12:14         ` Marcel Holtmann

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.