Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1356551 > unrolled thread
| Started by | Nicolas Saenz Julienne <nicolassaenzj@gmail.com> |
|---|---|
| First post | 2016-03-13 00:50 +0100 |
| Last post | 2016-03-15 10:00 +0100 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.kernel
[PATCH] USB: cdc-acm: add support for Sagem Monetel ELC930 Nicolas Saenz Julienne <nicolassaenzj@gmail.com> - 2016-03-13 00:50 +0100
Re: [PATCH] USB: cdc-acm: add support for Sagem Monetel ELC930 YU Bo <tsu.yubo@gmail.com> - 2016-03-13 01:20 +0100
Re: [PATCH] USB: cdc-acm: add support for Sagem Monetel ELC930 Greg KH <gregkh@linuxfoundation.org> - 2016-03-13 01:50 +0100
Re: [PATCH] USB: cdc-acm: add support for Sagem Monetel ELC930 Nicolas Saenz Julienne <nicolassaenzj@gmail.com> - 2016-03-15 01:10 +0100
Re: [PATCH] USB: cdc-acm: add support for Sagem Monetel ELC930 Oliver Neukum <oneukum@suse.com> - 2016-03-15 10:00 +0100
| From | Nicolas Saenz Julienne <nicolassaenzj@gmail.com> |
|---|---|
| Date | 2016-03-13 00:50 +0100 |
| Subject | [PATCH] USB: cdc-acm: add support for Sagem Monetel ELC930 |
| Message-ID | <rc1sf-5p8-19@gated-at.bofh.it> |
Signed-off-by: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
---
drivers/usb/class/cdc-acm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
index fa4e239..9831607 100644
--- a/drivers/usb/class/cdc-acm.c
+++ b/drivers/usb/class/cdc-acm.c
@@ -1681,6 +1681,9 @@ static const struct usb_device_id acm_ids[] = {
{ USB_DEVICE(0x079b, 0x000f), /* BT On-Air USB MODEM */
.driver_info = NO_UNION_NORMAL, /* has no union descriptor */
},
+ { USB_DEVICE(0x079b, 0x0088), /* SAGEM Monetel ELC930 */
+ .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
+ },
{ USB_DEVICE(0x0ace, 0x1602), /* ZyDAS 56K USB MODEM */
.driver_info = SINGLE_RX_URB,
},
--
2.5.0
[toc] | [next] | [standalone]
| From | YU Bo <tsu.yubo@gmail.com> |
|---|---|
| Date | 2016-03-13 01:20 +0100 |
| Message-ID | <rc1Vg-5VI-11@gated-at.bofh.it> |
| In reply to | #1356551 |
On Sat, Mar 12, 2016 at 11:44:51PM +0000, Nicolas Saenz Julienne wrote:
I think that you should add something in here.Describe your change or
imporvment.
>Signed-off-by: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
>---
> drivers/usb/class/cdc-acm.c | 3 +++
> 1 file changed, 3 insertions(+)
>
>diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
>index fa4e239..9831607 100644
>--- a/drivers/usb/class/cdc-acm.c
>+++ b/drivers/usb/class/cdc-acm.c
>@@ -1681,6 +1681,9 @@ static const struct usb_device_id acm_ids[] = {
> { USB_DEVICE(0x079b, 0x000f), /* BT On-Air USB MODEM */
> .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
> },
>+ { USB_DEVICE(0x079b, 0x0088), /* SAGEM Monetel ELC930 */
>+ .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
>+ },
> { USB_DEVICE(0x0ace, 0x1602), /* ZyDAS 56K USB MODEM */
> .driver_info = SINGLE_RX_URB,
> },
>--
>2.5.0
>
[toc] | [prev] | [next] | [standalone]
| From | Greg KH <gregkh@linuxfoundation.org> |
|---|---|
| Date | 2016-03-13 01:50 +0100 |
| Message-ID | <rc2oh-6ad-3@gated-at.bofh.it> |
| In reply to | #1356551 |
On Sat, Mar 12, 2016 at 11:44:51PM +0000, Nicolas Saenz Julienne wrote:
> Signed-off-by: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
> ---
> drivers/usb/class/cdc-acm.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
> index fa4e239..9831607 100644
> --- a/drivers/usb/class/cdc-acm.c
> +++ b/drivers/usb/class/cdc-acm.c
> @@ -1681,6 +1681,9 @@ static const struct usb_device_id acm_ids[] = {
> { USB_DEVICE(0x079b, 0x000f), /* BT On-Air USB MODEM */
> .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
> },
> + { USB_DEVICE(0x079b, 0x0088), /* SAGEM Monetel ELC930 */
> + .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
> + },
Why is this needed? Does the descriptors not properly set the class
device?
thanks,
greg k-h
[toc] | [prev] | [next] | [standalone]
| From | Nicolas Saenz Julienne <nicolassaenzj@gmail.com> |
|---|---|
| Date | 2016-03-15 01:10 +0100 |
| Message-ID | <rcKIG-2Bs-11@gated-at.bofh.it> |
| In reply to | #1356571 |
On Sat, Mar 12, 2016 at 04:27:29PM -0800, Greg KH wrote:
> On Sat, Mar 12, 2016 at 11:44:51PM +0000, Nicolas Saenz Julienne wrote:
> > Signed-off-by: Nicolas Saenz Julienne <nicolassaenzj@gmail.com>
> > ---
> > drivers/usb/class/cdc-acm.c | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c
> > index fa4e239..9831607 100644
> > --- a/drivers/usb/class/cdc-acm.c
> > +++ b/drivers/usb/class/cdc-acm.c
> > @@ -1681,6 +1681,9 @@ static const struct usb_device_id acm_ids[] = {
> > { USB_DEVICE(0x079b, 0x000f), /* BT On-Air USB MODEM */
> > .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
> > },
> > + { USB_DEVICE(0x079b, 0x0088), /* SAGEM Monetel ELC930 */
> > + .driver_info = NO_UNION_NORMAL, /* has no union descriptor */
> > + },
>
> Why is this needed? Does the descriptors not properly set the class
> device?
>
> thanks,
>
> greg k-h
Hi,
the device is missing all the ACM specific "extra" info on it's interface
descriptor. Which seems be triggering the "Zero length descriptor references"
error during the probe function. Adding the NO_UNION_NORMAL quirk seems to solve
the issue.
As for the class device, it seems to be ok, CDC (0x2).
Nicolas
[toc] | [prev] | [next] | [standalone]
| From | Oliver Neukum <oneukum@suse.com> |
|---|---|
| Date | 2016-03-15 10:00 +0100 |
| Message-ID | <rcSZA-88c-17@gated-at.bofh.it> |
| In reply to | #1357708 |
On Tue, 2016-03-15 at 00:04 +0000, Nicolas Saenz Julienne wrote: > Hi, > the device is missing all the ACM specific "extra" info on it's interface > descriptor. Which seems be triggering the "Zero length descriptor references" > error during the probe function. Adding the NO_UNION_NORMAL quirk seems to solve > the issue. Could you resubmit with this explanation in the change log? Then everything will be on record. The patch itself is fine. Regards Oliver
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web