All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tasslehoff Kjappfot <tasskjapp@gmail.com>
To: linux-omap@vger.kernel.org
Subject: msub: error running host mode on 3.1.0rc4
Date: Thu, 29 Sep 2011 13:21:38 +0200	[thread overview]
Message-ID: <4E8454C2.8060002@gmail.com> (raw)

We have a board similar to the beagleboard C3, but we have forced musb 
to host-mode and added an "smsc95xx" and an RJ45 connector instead. In 
2.6.39 I configured the musb driver to operate in host-mode, and that 
was all that was needed to make it work.

In 3.1.0rc4 that option has been removed from the Kconfig, and the 
default configuration of the musb driver is otg-mode. In my boardfile I 
changed the musb_board_data to:

static struct omap_musb_board_data musb_board_data = {
         .interface_type     = MUSB_INTERFACE_ULPI,
         .mode           = MUSB_HOST,
         .power          = 100,
}

That gives me the following output in dmesg:

[    0.120544] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
[    0.120697] omap_device: musb-omap2430.-1: new worst case activate 
latency 0: 30517
[    0.120727] musb-hdrc musb-hdrc: musb_init_controller failed with 
status -19
[    0.120758] (NULL device *): gadget not registered.

Reading drivers/usb/musb/omap2430.c, it seems the problem is that no 
transceiver is configured, but I'm not sure if its a configuration 
problem or a bug.

Tasslehoff

             reply	other threads:[~2011-09-29 11:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 11:21 Tasslehoff Kjappfot [this message]
2011-10-26 18:18 ` msub: error running host mode on 3.1.0rc4 Tasslehoff Kjappfot

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=4E8454C2.8060002@gmail.com \
    --to=tasskjapp@gmail.com \
    --cc=linux-omap@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.