Re: [Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-21 Thread Ming Lei
@Joseph Salisbury, yes, it is not needed at least in i386 and amd64. For arm arch, some machine may need the option enabled if there are otg controller integrated in the SoC. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-15 Thread Ming Lei
CONFIG_USB_OTG may not be enabled for i386/amd64 because ehci/uhci/xhci is not a otg controller and just a common host controller. But it should be a usbcore bug. Thanks, -- Ming Lei -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-12 Thread benpicco
Am Thu, 11 Oct 2012 18:29:15 - schrieb Joseph Salisbury joseph.salisb...@canonical.com: Thanks for the update. I updated the bisect with your testing results. I built the next test kernel, which is built up to commit: 6a68b6f574c8ad2c1d90f0db8fd95b8abe8a0a73 This kernel is available

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-11 Thread Joseph Salisbury
Thanks for the update. I updated the bisect with your testing results. I built the next test kernel, which is built up to commit: 6a68b6f574c8ad2c1d90f0db8fd95b8abe8a0a73 This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test that kernel and report back

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-11 Thread Peter Júnoš
Sorry for mistakes - I have tried multiple older and newer kernels (also 3.2) and bug depends on CONFIG_USB_OTG. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047527 Title: Dual-Role OTG device on

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-11 Thread Joseph Salisbury
Thanks for the info, Peter. @benpicco, you can hold off on testing the kernel in comment #31. I'll build a Quantal kernel with CONFIG_USB_OTG disabled and post a link to it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-10 Thread benpicco
Yes, like I said it is bad too, but shows up as rc5, which is rather confusing. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047527 Title: Dual-Role OTG device on non-HNP port - unable to

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-09 Thread Joseph Salisbury
@benpicco Were you able to test the kernel mentioned in comment #21? ** Changed in: linux (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047527 Title:

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-06 Thread Kate Stewart
** Changed in: linux (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047527 Title: Dual-Role OTG device on non-HNP port - unable to enumerate USB

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-05 Thread benpicco
Yes, I don't see the bug in 3.3 final from http://kernel.ubuntu.com /~kernel-ppa/mainline/v3.3-precise/ but in 2f978366984a418f38fcf44137be1fbc5a89cfd9 (which is named -rc5, so it might be indeed a different config than http://kernel.ubuntu.com /~kernel-ppa/mainline/v3.4-rc6-precise/ that I used).

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-02 Thread Joseph Salisbury
@Peter Junos, I wonder if you are seeing a different bug. Per comment #6, benpicco reports the first kernel that has the bug is v3.4 final. @benpicco, Just to confirm, you do not see this bug in v3.3 final: v3.3 final: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-precise/ -- You

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-02 Thread juniper
doesn't work also on 12.10 beta 2: Linux g* 3.5.0-16-generic #25-Ubuntu SMP Fri Sep 28 22:31:15 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux [ 48.712017] usb 2-5: new high-speed USB device number 3 using ehci_hcd [ 48.844864] usb 2-5: Dual-Role OTG device on non-HNP port [ 48.844986] usb

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-02 Thread Peter Júnoš
@jsalisbury: So he probably reported about Ubuntu-built kernel, I was reporting about *vanilla* kernel with full configs. I explored 3.3 kernel you mentioned, but it did not contain CONFIG_USB_OTG=y and therefore it has to work, as I said in #23. Sorry for bad expression of my ideas, but I did

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-01 Thread Joseph Salisbury
I built the next test kernel, which is built up to commit: 2f978366984a418f38fcf44137be1fbc5a89cfd9 This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test that kernel and report back if it has the bug or not? -- You received this bug notification because

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-01 Thread Joseph Salisbury
I will also build a test kernel with OTG disabled as mentioned in comment #17. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047527 Title: Dual-Role OTG device on non-HNP port - unable to

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-01 Thread Peter Júnoš
#22: disabling OTG (CONFIG_USB_OTG) helps, I have already built such kernel and it works as expected and it doesn't with OTG enabled. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047527 Title:

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-10-01 Thread Peter Júnoš
And I forgot, that in my tests with vanilla kernel, bug appeared somewhere between v3.2 and v3.3, so bisecting everything after 3.3 should return status bad. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-29 Thread benpicco
Am Fri, 28 Sep 2012 13:04:29 - schrieb Joseph Salisbury joseph.salisb...@canonical.com: I built the next test kernel, which is built up to commit: 301cdf5c75695addaaf3b4857b6df7a1d764503e This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-28 Thread Peter Júnoš
This is probably bug in OTG, read: http://forums.gentoo.org/viewtopic-t-906866-start-0.html Recommendations from that page: - Unset OTG in kernel config (under USB support) and compile a new kernel. There is no other way to fix this OTF. OR - Use a USB Hub. OTG only works on direct connections

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-28 Thread Joseph Salisbury
I built the next test kernel, which is built up to commit: 301cdf5c75695addaaf3b4857b6df7a1d764503e This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test that kernel and report back if it has the bug or not? -- You received this bug notification because

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-28 Thread Joseph Salisbury
@Peter Junos, Thanks for the link in comment #17, I'll take a look at it. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047527 Title: Dual-Role OTG device on non-HNP port - unable to enumerate

Re: [Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-27 Thread benpicco
Am Mon, 24 Sep 2012 21:46:30 - schrieb Joseph Salisbury joseph.salisb...@canonical.com: I built the next test kernel, which is built up to commit: 4ed6cedeefe8bbcad7c446db939450a6c902c16d This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-24 Thread Joseph Salisbury
I built the next test kernel, which is built up to commit: 4ed6cedeefe8bbcad7c446db939450a6c902c16d This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test that kernel and report back if it has the bug or not? -- You received this bug notification because

Re: [Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-23 Thread benpicco
Am Wed, 19 Sep 2012 18:57:15 - schrieb Joseph Salisbury joseph.salisb...@canonical.com: I built the next test kernel, which is built up to commit: 22b6dd78aec32abf38d9b187dea2e0a8b28aa186 This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test

Re: [Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-19 Thread benpicco
Am Mon, 17 Sep 2012 21:05:54 - schrieb Joseph Salisbury joseph.salisb...@canonical.com: I built the next test kernel, which is built up to commit: 7c283324da366a3e6ffaad4352a51a3c71fcae17 This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-19 Thread Joseph Salisbury
Thanks for testing. I have the next test kernel building now. There is some details of the build process at the following wiki: https://wiki.ubuntu.com/Kernel/Dev/KernelBuildScripts -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-19 Thread Joseph Salisbury
I built the next test kernel, which is built up to commit: 22b6dd78aec32abf38d9b187dea2e0a8b28aa186 This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test that kernel and report back if it has the bug or not? -- You received this bug notification because

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-17 Thread Joseph Salisbury
I built the next test kernel, which is built up to commit: 7c283324da366a3e6ffaad4352a51a3c71fcae17 This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test that kernel and report back if it has the bug or not? -- You received this bug notification because

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-12 Thread Joseph Salisbury
Thanks for testing. I'll start a bisect between v3.4-rc6 and v3.4 final and post a test kernel shortly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047527 Title: Dual-Role OTG device on non-HNP

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-12 Thread Joseph Salisbury
The first test kernel is built up to commit: 4e6304b8420aba5311ba21fd68dab2924ae4d91a This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test that kernel and report back if it has the bug or not? -- You received this bug notification because you are a

Re: [Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-12 Thread benpicco
Am Wed, 12 Sep 2012 19:54:53 - schrieb Joseph Salisbury joseph.salisb...@canonical.com: The first test kernel is built up to commit: 4e6304b8420aba5311ba21fd68dab2924ae4d91a This kernel is available from: http://people.canonical.com/~jsalisbury/lp1047527 Can you test that kernel and

Re: [Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-08 Thread benpicco
The first kernel that has the bug is v3.4 final (3.4.0-030400-generic #201205221131 SMP Tue May 22 15:32:22 UTC 2012 x86_64), 3.4-rc6 (3.4.0-030400rc6-generic #201205061835 SMP Sun May 6 22:36:08 UTC 2012 x86_64) is the last kernel that doesn't exhibit this behaviour. -- You received this bug

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-07 Thread Joseph Salisbury
Hi Ben, It would be good to first see if this bug is already fixed in the latest mainline kernel. Can you test the v3.6-rc4 kernel and post back if it also has the bug[0]? If mainline also has the bug, we can start the kernel bisect process to identify the commit that caused this regression.

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-07 Thread Joseph Salisbury
The latest mainline kernel can be downloaded from: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc4-quantal/ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047527 Title: Dual-Role OTG device

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-07 Thread Joseph Salisbury
** Changed in: linux (Ubuntu) Importance: Undecided = Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1047527 Title: Dual-Role OTG device on non-HNP port - unable to enumerate USB device

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-07 Thread benpicco
Am Fri, 07 Sep 2012 18:11:36 - schrieb Joseph Salisbury joseph.salisb...@canonical.com: Hi Ben, It would be good to first see if this bug is already fixed in the latest mainline kernel. Can you test the v3.6-rc4 kernel and post back if it also has the bug[0]? If mainline also has

[Bug 1047527] Re: Dual-Role OTG device on non-HNP port - unable to enumerate USB device on port 1

2012-09-07 Thread Joseph Salisbury
Thanks for testing. To start he bisect, we first need to identify the first kernel after v3.2 that introduced the bug. Can you test the following kernels: v3.3 final: http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.3-precise/ v3.4 final: