means can i remove the comments on bMasterInterface0 & bSlaveInterface0. is that the solution.
On Wed, Apr 13, 2011 at 2:17 PM, Squall.Hung <squall.h...@gmail.com> wrote: > Thanks All, > > I found the root cause and solved it on device side. > In my cause bMasterInterface and bSlaveInterface of usb_cdc_union_desc > are not correctly mapped to host side (usb interface generation). > Temporary I changed the sequence of usb function initialization (make > acm be as first one initialzation) to solve it. > > static struct usb_cdc_union_desc acm_union_desc = { > .bLength = sizeof(acm_union_desc), > .bDescriptorType = USB_DT_CS_INTERFACE, > .bDescriptorSubType = USB_CDC_UNION_TYPE, > /* .bMasterInterface0 = DYNAMIC */ > /* .bSlaveInterface0 = DYNAMIC */ > }; > > br, > Chihchia > > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel