Hi Steve,

Sorry, let my explain my trouble. My ADB works well before I modprobe
usbserial, see below messages.
cat /sys/kernel/debug/usb/devices
....
T:  Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=0489 ProdID=c000 Rev= 2.26
S:  Manufacturer=FIH
S:  Product=Android HSUSB Device
S:  SerialNumber=1234567890ABCDEF
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-
storage
E:  Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
I:* If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff
Driver=(none)     //acm can not be recognized
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=42 Prot=01
Driver=(none)     //acm can not be recognized
E:  Ad=85(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

On my host, I have the file 51-android.rules located at /etc/udev/
rules.d/ includes two lines.
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0489", MODE="0666"
SUBSYSTEM=="cdc_acm", SYSFS{idVendor}=="0489", MODE="0666"

I expect the ACM serial (ACM0) can be recognized after enable
CONFIG_USB_ANDROID_ACM on android side.
Correct messages like,
I:* If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01
Driver=cdc_acm        // acm is supported
E:  Ad=83(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00
Driver=cdc_acm        // acm is supported
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Do you have idea about why host fails to load acm driver on host?

thanks,
chihchia

On 4月7日, 上午10時01分, Steve Modica <mod...@small-tree.com> wrote:
> On Apr 6, 2011, at 8:59 PM, Squall.Hung wrote:
>
> > Hi,
>
> > I don't really know what you mean about the instructions for updating
> > the udev configuration?
> > May you tell me more details what instructions you mentioned for
> > update udev?
>
> I think he's referring to this:
>
> http://annoyingtechnicaldetails.wordpress.com/2011/04/05/supporting-a...
>
>
>
> > thanks,
> > chihchia
>
> > On 4月5日, 上午8時00分, A Curtis <ajcurti...@gmail.com> wrote:
> >>> I have same question, too.
> >>> CDC-ACM works well with usbserial, but USB ADB feature gets trouble
> >>> after modprobe usbserial .
>
> >> Did you follow the instructions for updating the udev configuration?
>
> > --
> > unsubscribe: android-kernel+unsubscr...@googlegroups.com
> > website:http://groups.google.com/group/android-kernel
>
> --
> Steve Modica
> CTO -  Small Tree Communicationswww.small-tree.com
> phone: 651-209-6509 ext 301
> mobile: 651-261-3201

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to