View Single Post
Posts: 306 | Thanked: 566 times | Joined on Jan 2010 @ Romania
#1014
Because uB plug have power pins longer than id pin and vbus "select case" is first then sensing id never happen with power on vbus.

589 spin_lock_irqsave(&twl->lock, flags);
590 switch (twl->linkstat) {
591 case USB_LINK_VBUS:
592 link = "vbus";
593 break;

594 case USB_LINK_ID:
595 link = "idpin";
596 break;
597 case USB_LINK_NONE:
598 link = "none";
599 break;
600 default:
601 link = "unknown";
602 break;
603 }

this is the reason for using sequence described in my post #992 because i use stock kernel

Last edited by blue_led; 2010-06-02 at 00:17.
 

The Following 4 Users Say Thank You to blue_led For This Useful Post: