On Sun, 5 May 2002 09:59, Brad Hards wrote:
> On Sun, 5 May 2002 01:32, Nick Papadonis wrote:
> > Hi,
> >
> > This patch/hack allows my Motorola V60 to be detected as a ACM
> > device. I'm able to send it AT like commands and connect to hosts at
> > 14.4k!
>
> Is this a modem, or a phone?
Ah, I found your later post - a phone.
> > This doesn't seem like it should go here. Does anyone know where the
> > vendor/device IDs are enumerated?
> >
> > Thanks
> >
> > --- /home/nick/linux/drivers/usb/acm.c Fri Oct 5 15:06:08 2001
> > +++ acm.c Fri May 3 19:45:08 2002
> > @@ -650,6 +650,7 @@
> >
> > static struct usb_device_id acm_ids[] = {
> > { USB_DEVICE_INFO(USB_CLASS_COMM, 0, 0) },
> > + { USB_DEVICE(0x22b8, 0x5) },
> > { }
> > };
>
> That looks pretty right to me. Can you send the descriptors (ie
> /proc/bus/busb/devices entry) for this device?
Also found in your later post.
The reason why this is needed is that the device is advertising a non-zero
Device sub-class code.
That is, the line that says:
D: Ver= 1.10 Cls=02(comm.) Sub=02 Prot=00 MxPS= 8 #Cfgs= 1
should read
D: Ver= 1.10 Cls=02(comm.) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
Which means that your device is wrong, if I'm reading the CDC spec correctly.
There is no way you can fix this without contacting the manufacturer,
convincing them that they have stuffed up, and getting a firmware upgrade for
the phone...
I think that the extra entry above is probably the best solution (although not
the only solution). You might like to add a comment saying what the
vendor/product ID is, and why you had to add it, before sending this patch to
[EMAIL PROTECTED] (who is the maintainer of the acm code).
Brad
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel