Skip to contentSkip to conversation

udevng: use huaweicdma driver for olive V-ME101

PATCH In review Nicolas Bertrand 3 participants 6 messages Nov 18, 2011 – Jan 6, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 udevng: use huaweicdma driver for olive V-ME101

---
 plugins/udevng.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
plugins/udevng.c +1 -2
index be87320..8d478cf 100644
@@ -800,11 +800,10 @@ static struct {
 	{ "hso",	"hso"				},
 	{ "gobi",	"qcserial"			},
 	{ "sierra",	"sierra"			},
-	{ "huawei",	"option",	"201e", "2009"	},
+	{ "huaweicdma",	"option",	"201e", "2009"	},
 	{ "huawei",	"cdc_ether",	"12d1"		},
 	{ "huawei",	"option",	"12d1"		},
 	{ "huaweicdma",	"option",	"12d1", "140b"	},
-	{ "huaweicdma", "option",	"201e"		},
 	{ "speedupcdma","option",	"1c9e", "9e00"	},
 	{ "speedup",	"option",	"1c9e"		},
 	{ "speedup",	"option",	"2020"		},
Signature · 1 line
1.7.4.1
#1 lore raw

This patch has not been accepted on upstream, but it seriously impacts support to VM101 CDMA dongle. Can anybody help?

Quoted 35 lines

-----Original Message-----
From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of Nicolas Bertrand
Sent: Friday, November 18, 2011 8:28 PM
To: ofono(a)ofono.org
Subject: [PATCH] udevng: use huaweicdma driver for olive V-ME101

---
plugins/udevng.c | 3 +--

1 files changed, 1 insertions(+), 2 deletions(-)
plugins/udevng.c +1 -3
index be87320..8d478cf 100644
@@ -800,11 +800,10 @@ static struct {
 	{ "hso",	"hso"				},
 	{ "gobi",	"qcserial"			},
 	{ "sierra",	"sierra"			},
-	{ "huawei",	"option",	"201e", "2009"	},
+	{ "huaweicdma",	"option",	"201e", "2009"	},
 	{ "huawei",	"cdc_ether",	"12d1"		},
 	{ "huawei",	"option",	"12d1"		},
 	{ "huaweicdma",	"option",	"12d1", "140b"	},
-	{ "huaweicdma", "option",	"201e"		},
 	{ "speedupcdma","option",	"1c9e", "9e00"	},
 	{ "speedup",	"option",	"1c9e"		},
 	{ "speedup",	"option",	"2020"		},
--

1.7.4.1

_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono

#2 lore raw
In reply to Nicolas Bertrand

Hi Nicolas,

Quoted 10 lines
 plugins/udevng.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
plugins/udevng.c +0 -0
index be87320..8d478cf 100644
@@ -800,11 +800,10 @@ static struct {
 	{ "hso",	"hso"				},
 	{ "gobi",	"qcserial"			},

plugins/udevng.c static struct { · line 809

Quoted 10 lines
plugins/udevng.c +1 -2
 	{ "sierra",	"sierra"			},
-	{ "huawei",	"option",	"201e", "2009"	},
+	{ "huaweicdma",	"option",	"201e", "2009"	},
 	{ "huawei",	"cdc_ether",	"12d1"		},
 	{ "huawei",	"option",	"12d1"		},
 	{ "huaweicdma",	"option",	"12d1", "140b"	},
-	{ "huaweicdma", "option",	"201e"		},
 	{ "speedupcdma","option",	"1c9e", "9e00"	},
 	{ "speedup",	"option",	"1c9e"		},
 	{ "speedup",	"option",	"2020"		},

the commit message does not explain why you are removing huaweicdma in general for VID 0x201e.

Regards

Marcel

#3 lore raw

Hi Marcel,

Quoted 17 lines · Marcel Holtmann

Hi Nicolas,

Quoted 15 lines
  plugins/udevng.c |    3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)
plugins/udevng.c +1 -1
index be87320..8d478cf 100644
@@ -800,11 +800,10 @@ static struct {
  	{ "hso",	"hso"				},
  	{ "gobi",	"qcserial"			},
  	{ "sierra",	"sierra"			},
-	{ "huawei",	"option",	"201e", "2009"	},
+	{ "huaweicdma",	"option",	"201e", "2009"	},
  	{ "huawei",	"cdc_ether",	"12d1"		},
  	{ "huawei",	"option",	"12d1"		},
Quoted 8 lines

plugins/udevng.c static struct { · line 809

Quoted 5 lines
plugins/udevng.c +0 -1
  	{ "huaweicdma",	"option",	"12d1", "140b"	},
-	{ "huaweicdma", "option",	"201e"		},
  	{ "speedupcdma","option",	"1c9e", "9e00"	},
  	{ "speedup",	"option",	"1c9e"		},
  	{ "speedup",	"option",	"2020"		},

the commit message does not explain why you are removing huaweicdma in general for VID 0x201e.

I've removed the generic configuration of HAIER's modem (0x201e) since there is only one product ID used for the moment by this vendor (seen in the option driver).

Do I need to only use the generic configuration and removing the specific one to the PID 2009 or either simply add this comment in the commit message?

Quoted 11 lines

Regards

Marcel

_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono

Signature · 2 lines
regards,
Nico
#4 lore raw

Hi Nicolas,

Quoted 24 lines
Quoted 15 lines
Quoted 15 lines
  plugins/udevng.c |    3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)
plugins/udevng.c +1 -1
index be87320..8d478cf 100644
@@ -800,11 +800,10 @@ static struct {
  	{ "hso",	"hso"				},
  	{ "gobi",	"qcserial"			},
  	{ "sierra",	"sierra"			},
-	{ "huawei",	"option",	"201e", "2009"	},
+	{ "huaweicdma",	"option",	"201e", "2009"	},
  	{ "huawei",	"cdc_ether",	"12d1"		},
  	{ "huawei",	"option",	"12d1"		},
Quoted 8 lines

plugins/udevng.c static struct { · line 809

Quoted 5 lines
plugins/udevng.c +0 -1
  	{ "huaweicdma",	"option",	"12d1", "140b"	},
-	{ "huaweicdma", "option",	"201e"		},
  	{ "speedupcdma","option",	"1c9e", "9e00"	},
  	{ "speedup",	"option",	"1c9e"		},
  	{ "speedup",	"option",	"2020"		},

the commit message does not explain why you are removing huaweicdma in general for VID 0x201e.

Quoted 7 lines

I've removed the generic configuration of HAIER's modem (0x201e) since there is only one product ID used for the moment by this vendor (seen in the option driver).

Do I need to only use the generic configuration and removing the specific one to the PID 2009 or either simply add this comment in the commit message?

you could just state this in the commit message. I think it is fine to do this, but if you do not mention it, how should I know.

Regards

Marcel

#5 lore raw
In reply to nicolas.bertrand
Quoted 36 lines

-----Original Message-----
From: ofono-bounces(a)ofono.org [mailto:ofono-bounces(a)ofono.org] On Behalf Of nicolas.bertrand
Sent: Friday, January 06, 2012 12:05 AM
To: ofono(a)ofono.org
Subject: Re: [PATCH] udevng: use huaweicdma driver for olive V-ME101

Hi Marcel,

Quoted 17 lines · Marcel Holtmann

Hi Nicolas,

Quoted 15 lines
  plugins/udevng.c |    3 +--
  1 files changed, 1 insertions(+), 2 deletions(-)
plugins/udevng.c +1 -1
index be87320..8d478cf 100644
@@ -800,11 +800,10 @@ static struct {
  	{ "hso",	"hso"				},
  	{ "gobi",	"qcserial"			},
  	{ "sierra",	"sierra"			},
-	{ "huawei",	"option",	"201e", "2009"	},
+	{ "huaweicdma",	"option",	"201e", "2009"	},
  	{ "huawei",	"cdc_ether",	"12d1"		},
  	{ "huawei",	"option",	"12d1"		},
Quoted 8 lines

plugins/udevng.c static struct { · line 809

Quoted 5 lines
plugins/udevng.c +0 -1
  	{ "huaweicdma",	"option",	"12d1", "140b"	},
-	{ "huaweicdma", "option",	"201e"		},
  	{ "speedupcdma","option",	"1c9e", "9e00"	},
  	{ "speedup",	"option",	"1c9e"		},
  	{ "speedup",	"option",	"2020"		},

the commit message does not explain why you are removing huaweicdma in general for VID 0x201e.

Quoted 7 lines

I've removed the generic configuration of HAIER's modem (0x201e) since there is only one product ID used for the moment by this vendor (seen in the option driver).

Do I need to only use the generic configuration and removing the specific one to the PID 2009 or either simply add this comment in the commit message?

Haier helps many carriers to OEM dongles, including GSM/CDMA/TDS-CDMA/LTE.. So it'd not be a good idea to force all Haier dongle to load cdma driver.

Quoted 19 lines
Quoted 11 lines

Regards

Marcel

_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono

--
regards,
Nico
_______________________________________________
ofono mailing list
ofono(a)ofono.org
http://lists.ofono.org/listinfo/ofono