public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>
To: Yegor Yefremov <yegorslists-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org>
Cc: Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org>,
	Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
	Enric Balletbo Serra
	<eballetbo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: USB OTG doesn't work in HOST mode on OMAP3 processor on 3.18-rc5
Date: Mon, 1 Dec 2014 08:35:48 -0600	[thread overview]
Message-ID: <20141201143548.GB9264@saruman> (raw)
In-Reply-To: <CAGm1_ku4UYL0DX9DuSJWn9-QKhcq+mUKyVTA433F6XbRe2FnHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 2378 bytes --]

On Mon, Dec 01, 2014 at 08:57:14AM +0100, Yegor Yefremov wrote:
> On Sat, Nov 29, 2014 at 4:35 PM, Felipe Balbi <balbi-l0cyMroinI0@public.gmane.org> wrote:
> > Hi,
> >
> > On Fri, Nov 28, 2014 at 11:35:53AM +0100, Yegor Yefremov wrote:
> >> On Wed, Nov 19, 2014 at 6:53 PM, Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org> wrote:
> >> > * Enric Balletbo Serra <eballetbo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> [141119 03:14]:
> >> >> 2014-11-18 16:42 GMT+01:00 Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>:
> >> >>
> >> >> Checked again, and no luck. It's very weird because from the OTG point
> >> >> of view, OTG is exactly the same between Beagleboard-XM and IGEPv2.
> >> >>
> >> >> Can you confirm that you're using kernel 3.18-rc5 without other
> >> >> patches applied ? At this moment, I don't have a Beagleboard-XM to
> >> >> test, I'll try to get one because at this moment I'm a bit stuck with
> >> >> this problem.
> >> >
> >> > Yes it was with v3.18-rc5 and the defconfig patch I posted except
> >> > I had to disable all the other MUSB platforms. Also tested it with
> >> > built in modules.
> >> >
> >> > Maybe you need to check the .dts pinctrl entries for hsusb0_* lines?
> >>
> >> Just my 2 cents, My am335x based board shows similar symptoms
> >> (CONFIG_USB_MUSB_DUAL_ROLE enabled). Only if I specify  dr_mode =
> >> "host"; in my DTS I get device enumerated. 3.15, that I had before
> >> made no problems as OTG.
> >
> > Are you sure your ID pin is properly routed ? If you set dr_mode to otg,
> > then you *must* have a properly routed ID pin and use a proper
> > micro-/mini-ab receptacle. That's not true for e.g. beagle bone black.
> >
> > One USB port is using a Standard-A while the other uses mini-B. You
> > can't do any role swapping with those.
> 
> Yes, I'm sure, that ID pin is routed properly. It is also not BBB, but
> real device Baltos iR 5221
> (http://visionsystems.de/produkte/baltos-ir-5221.html). With 3.15 I'm
> able to use OTG port both as device and host. I boot the device,
> insert FTDI based hardware into OTG port and my ttyUSBx devices, then
> disconnect and connect to PC and I get usb0 network interface and can
> communicate with PC.

if you know it works on v3.15, then you have a bisection point. Can you
bisect it down to one commit ?

-- 
balbi

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2014-12-01 14:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17 15:13 USB OTG doesn't work in HOST mode on OMAP3 processor on 3.18-rc5 Enric Balletbo Serra
2014-11-17 18:04 ` Tony Lindgren
2014-11-18  9:02   ` Enric Balletbo Serra
     [not found]     ` <CAFqH_52LV8k6OyH04dUmhzZChnHrtJR23qu1ewhU49iOVT1Mwg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-11-18 10:42       ` Enric Balletbo Serra
2014-11-18 15:42     ` Tony Lindgren
     [not found]       ` <20141118154204.GI7046-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2014-11-19 11:12         ` Enric Balletbo Serra
2014-11-19 17:53           ` Tony Lindgren
     [not found]             ` <20141119175348.GK7046-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>
2014-11-28 10:35               ` Yegor Yefremov
2014-11-29 15:35                 ` Felipe Balbi
2014-12-01  7:57                   ` Yegor Yefremov
     [not found]                     ` <CAGm1_ku4UYL0DX9DuSJWn9-QKhcq+mUKyVTA433F6XbRe2FnHg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-01 14:35                       ` Felipe Balbi [this message]
     [not found] <CAJt7siu_JiSe3CfM2=0UZLQjRevdLuX+=UL566fiW6XefTTWGA@mail.gmail.com>
     [not found] ` <CAJt7siu_JiSe3CfM2=0UZLQjRevdLuX+=UL566fiW6XefTTWGA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-12-19 11:16   ` Eduard Gavin
2014-12-23 18:41     ` Felipe Balbi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141201143548.GB9264@saruman \
    --to=balbi-l0cymroini0@public.gmane.org \
    --cc=eballetbo-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-omap-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
    --cc=yegorslists-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox