Skip to contentSkip to conversation

Yet another Conexant Clone to add to cdc-acm.c

PATCH [6][Mee Ew][μ] !!! -- XKJ || mindless :D 2 participants 4 messages May 6, 2009 – May 7, 2009 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

2009/5/6 Greg KH <[email protected]>:

Quoted 16 lines · On Wed, May 06, 2009 at 10:47:14PM +0800, [6][Mee Ew][μ] !!! -- XKJ ||…
Quoted 11 lines

Dear Mighty Ones,

Please be gentle with me. This is my first time...

Shiro / Aztech (Singapore) has completely cloned the Conexant USB MODEM RD02-D400 and called it their UM-3100.
With the errors, of course.

I am trying my best to follow procedures here (as google tells, though), so if I am not right, please feel free to hurl insults back to this mailbox.

Minor thing to change, we need a "Signed-off-by:" line, as per the instructions in the file Documentation/SubmittingPatches.

Quoted 6 lines

Care to add that to the patch description and resend the whole thing so that we can apply it?

thanks,

greg k-h

Understood. I have added you again, this time, because Mr Oliver Neukum's email bounced on me the last time.

This patch adds another quirky Conexant USB Modem Clone to usb cdc-acm.c

This is to be applied to latest git. (Got off the website...)

drivers/usb/class/cdc-acm.c 2009-05-06 22:12:56.648401202 +0800 renamed from drivers/usb/class/cdc-acm.c 2009-05-06 22:06:27.556488116 +0800 +7 -0
@@ -1375,6 +1375,13 @@ static struct usb_device_id acm_ids[] = {
       { USB_DEVICE(0x0572, 0x1324), /* Conexant USB MODEM RD02-D400 */
       .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
       },
+       { USB_DEVICE(0x0572, 0x1328), /* Shiro / Aztech USB MODEM UM-3100 */
+        .driver_info = NO_UNION_NORMAL, /* has no union descriptor.
+                                          This is basically a clone of
+                                          Conexant USB MODEM RD02-D400.
+                                          Seems like NO_UNION_ _IS_ becoming
+                                          NORMAL... */
+        },
       { USB_DEVICE(0x22b8, 0x6425), /* Motorola MOTOMAGX phones */
       },
       { USB_DEVICE(0x0572, 0x1329), /* Hummingbird huc56s (Conexant) */
#3 lore raw
Quoted 24 lines · On Thu, May 07, 2009 at 05:01:22AM +0800, [6][Mee Ew][μ] !!! -- XKJ ||…

2009/5/6 Greg KH <[email protected]>:

Quoted 16 lines · On Wed, May 06, 2009 at 10:47:14PM +0800, [6][Mee Ew][μ] !!! -- XKJ ||…
Quoted 11 lines

Dear Mighty Ones,

Please be gentle with me. This is my first time...

Shiro / Aztech (Singapore) has completely cloned the Conexant USB MODEM RD02-D400 and called it their UM-3100.
With the errors, of course.

I am trying my best to follow procedures here (as google tells, though), so if I am not right, please feel free to hurl insults back to this mailbox.

Minor thing to change, we need a "Signed-off-by:" line, as per the instructions in the file Documentation/SubmittingPatches.

Quoted 6 lines

Care to add that to the patch description and resend the whole thing so that we can apply it?

thanks,

greg k-h

Quoted 8 lines

Understood. I have added you again, this time, because Mr Oliver Neukum's email bounced on me the last time.

This patch adds another quirky Conexant USB Modem Clone to usb cdc-acm.c

This is to be applied to latest git. (Got off the website...)

Ah, better, but your email client seems to have eaten all of the tabs and spit out spaces instead. Care to read Documentation/email_clients.txt and try it again?

drivers/usb/class/cdc-acm.c 2009-05-06 22:12:56.648401202 +0800 static struct usb_device_id acm_ids[] = { · line 1383

Quoted 12 lines
drivers/usb/class/cdc-acm.c 2009-05-06 22:12:56.648401202 +0800 renamed from drivers/usb/class/cdc-acm.c 2009-05-06 22:06:27.556488116 +0800 +6 -0
@@ -1375,6 +1375,13 @@ static struct usb_device_id acm_ids[] = {
       { USB_DEVICE(0x0572, 0x1324), /* Conexant USB MODEM RD02-D400 */
       .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
       },
+       { USB_DEVICE(0x0572, 0x1328), /* Shiro / Aztech USB MODEM UM-3100 */
+        .driver_info = NO_UNION_NORMAL, /* has no union descriptor.
+                                          This is basically a clone of
+                                          Conexant USB MODEM RD02-D400.
+                                          Seems like NO_UNION_ _IS_ becoming
+                                          NORMAL... */

Is the commentary really needed here? The majority of devices do not need this quirk, so i don't think it's really "normal"...

thanks,

greg k-h

#4 lore raw
Quoted 26 lines
Quoted 5 lines

This patch adds another quirky Conexant USB Modem Clone to usb cdc-acm.c

This is to be applied to latest git. (Got off the website...)

Ah, better, but your email client seems to have eaten all of the tabs and spit out spaces instead.  Care to read Documentation/email_clients.txt and try it again?

Quoted 4 lines
drivers/usb/class/cdc-acm.c       2009-05-06 22:12:56.648401202 +0800 renamed from drivers/usb/class/cdc-acm.c       2009-05-06 22:06:27.556488116 +0800 +0 -0
@@ -1375,6 +1375,13 @@ static struct usb_device_id acm_ids[] = {

       { USB_DEVICE(0x0572, 0x1324), /* Conexant USB MODEM RD02-D400 */

Quoted 8 lines

       .driver_info = NO_UNION_NORMAL, /* has no union descriptor */ },
+       { USB_DEVICE(0x0572, 0x1328), /* Shiro / Aztech USB MODEM UM-3100 */
+        .driver_info = NO_UNION_NORMAL, /* has no union descriptor.
+                                          This is basically a clone of
+                                          Conexant USB MODEM RD02-D400.
+                                          Seems like NO_UNION_ _IS_ becoming
+                                          NORMAL... */

Is the commentary really needed here?  The majority of devices do not need this quirk, so i don't think it's really "normal"...

Quoted 3 lines

thanks,

greg k-h

Retry attempt 2: terse mode

I sincerely hope this is finally ok. After much testing on gmail, here it is. I have verified that it is still applicable to git too.
Thank you for your on-going guidance, even over the huge time zone difference.

***********************
For those uninterested in the personal dialogue above, here it is:
***********************

This patch adds another quirky Conexant USB Modem Clone to usb cdc-acm.c

This is to be applied to latest git. (Got off the website...)

drivers/usb/class/cdc-acm.c +3 -0
@@ -1375,6 +1375,13 @@ static struct usb_device_id acm_ids[] = {
 	{ USB_DEVICE(0x0572, 0x1324), /* Conexant USB MODEM RD02-D400 */
 	.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
 	},
+	{ USB_DEVICE(0x0572, 0x1328), /* Shiro / Aztech USB MODEM UM-3100 */
+	.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
+	},
 	{ USB_DEVICE(0x22b8, 0x6425), /* Motorola MOTOMAGX phones */
 	},
 	{ USB_DEVICE(0x0572, 0x1329), /* Hummingbird huc56s (Conexant) */
#5 lore raw
Quoted 5 lines · On Fri, May 08, 2009 at 12:48:23AM +0800, [6][Mee Ew][μ] !!! -- XKJ ||…

Retry attempt 2: terse mode

I sincerely hope this is finally ok. After much testing on gmail, here it is. I have verified that it is still applicable to git too.
Thank you for your on-going guidance, even over the huge time zone difference.

Yes, this looks good, I'll queue it up.

thanks,

greg k-h