From: Tomasz Mloduchowski <tomasz.mloduchowski@xlogic.pl>
To: balbi@ti.com
Cc: linux-omap@vger.kernel.org
Subject: Re: twl4030_usb porting advice
Date: Wed, 15 Dec 2010 13:09:42 +0000 [thread overview]
Message-ID: <4D08BE16.4020704@xlogic.pl> (raw)
In-Reply-To: <20101215123912.GC6734@legolas.emea.dhcp.ti.com>
On 12/15/10 12:39, Felipe Balbi wrote:
> On Wed, Dec 15, 2010 at 12:27:10PM +0000, Tomasz Mloduchowski wrote:
>>>> I would gladly welcome any pointers that could help me solve this
>>>> issue.
>>>
>>> you're connecting a FS/LS device to EHCI port, that doesn't work. OMAP
>>> can't handle port handoff to companion OHCI controller, then it fails
>>> not being able to enumerate the device. Try remuxing your port to OHCI
>>> controller and disabling EHCI from Kconfig.
>>
>> It actually is a HS device (it's a 4-port hub) - when booting the
>> vendor supplied kernel (based off 2.6.32, i.e. pre -IR redesign), the
>> device identifies as follows:
>>
>> Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB
>>
>> with the following boot messages:
>>
>> usb 1-2: new high speed USB device using ehci-omap and address 2
>> usb 1-2: New USB device found, idVendor=05e3, idProduct=0608
>> usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
>> usb 1-2: Product: USB2.0 Hub
>> hub 1-2:1.0: USB hub found
>> hub 1-2:1.0: 4 ports detected
>>
>>
>> I've pasted the boot log for my kernel:
>> http://pastie.org/1379102
>>
>> And the boot log for the original kernel:
>> http://pastie.org/1379100
>
> It could be a bug on the reset sequence on ehci-omap.c, do you have
> anything connected to any of the hub ports ?
>
> Please enable CONFIG_USB_DEBUG on your kernel config and grab a bit more
> information.
>
> Also, boot the machine without the device attached and after booting
> run:
>
> # dmesg -c
>
> then attach the device, then grab the output of dmesg.
>
I don't have the ability to disconnect the hub - it's integrated on the
board :(
I've also made a mistake describing the pastebins - the working, PSP
kernel boot log is here:
http://pastie.org/1379102
while the non-working git kernel messages are here (with CONFIG_USB_DEBUG):
http://pastie.org/1379100
Cheers,
Tomasz
next prev parent reply other threads:[~2010-12-15 13:10 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-15 11:55 twl4030_usb porting advice Tomasz Mloduchowski
2010-12-15 12:10 ` Felipe Balbi
2010-12-15 12:27 ` Tomasz Mloduchowski
2010-12-15 12:39 ` Felipe Balbi
2010-12-15 13:09 ` Tomasz Mloduchowski [this message]
2010-12-16 9:09 ` Felipe Balbi
2010-12-17 7:23 ` Tomasz Mloduchowski
2010-12-17 10:11 ` Felipe Balbi
2010-12-17 11:14 ` Tomasz Mloduchowski
2010-12-17 12:43 ` 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=4D08BE16.4020704@xlogic.pl \
--to=tomasz.mloduchowski@xlogic.pl \
--cc=balbi@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox