On Mon, Feb 14, 2011 at 11:45 AM, Praveena Nadahally
<nadahally.prave...@gmail.com> wrote:
> Hello All,
>
> I need some help on RNDIS and USB Tethering using RNDIS.
>
> As windows doesn't support any other interfaces when RNDIS is enabled.
> So, How should be the behaviour of RNDIS in the USB composite mode? Is
> there any details available on this?
>
> 1) When the Tethering is enabled from the android menu, the following
> actions are taken
>  a. Enable RNDIS
>  b. Disable Mass Storage and MTP (Why ACM (serial) and ADB are not
> disabled?)
>  c. Soft Re-connect the USB so that the new configuration with RNDIS
> is made available to PC.
>
> 2) When the Tethering is disabled from the MMI, the following actions
> are taken
>  a. Disable RNDIS
>  b. Enable Mass Storage and MTP (Why ACM (serial) and ADB are not
> enabled?)
>  c. Soft Re-connect the USB so that the new configuration with old
> classes are made available to PC.
>
> The following has been observed while doing the 1.c
> 1) Pre-Condition: Only RNDIS Class has been enabled in response to
> Enable Tethering.
> 2) Do Soft-Disconnect.
> 3) Disconnect event is propagated to android.


Which AFS are you using?
Is this Disconnect UMS event captured in Tethering.java?

I saw such a behaviour while adding UMS connect and DISCONNECT event
notifications, in onReceive() function in Tethering.java.

In our case USB connect event is based on ACTION_BATTERY_CHANGED intent.
Is it the same case for you?

Regards,
Maulik

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

Reply via email to