Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-25 Thread Anand Moon
Hi Krzysztof / Felipe,

On 20 July 2017 at 01:50, Krzysztof Kozlowski  wrote:
> On Wed, Jul 19, 2017 at 09:13:29PM +0300, Felipe Balbi wrote:
>>
>> Hi,
>>
>> Anand Moon  writes:
>> > Hi Krzysztof,
>> >
>> > Today I tried to compile the latest kernel for Odroid xu4.
>> > using exynos_defconfig I build and loaded the kernel.
>> > but to my surprise usb 3.0 device and missing.
>> >
>> > odroid login: root
>> > Password:
>> > Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2
>> > Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 
>> > armv7l)
>>
>> Dude, you have 27 thousand patches on top of v4.13-rc1??? Try vanilla
>> v4.13-rc1 and try a git bisect.
>
> Hi Anand,
>
> Beside Felipe's comment, I do not have XU4. I cannot reproduce it on
> XU3-Lite (but there is difference in USB2 and USB3, AFAIR).
>
> $ uname -a
> Linux odroidxu3 4.13.0-rc1-00071-ge06fdaf40a5c #1051 SMP PREEMPT Wed Jul 19 
> 22:07:41 CEST 2017 armv7l GNU/Linux
> $ lsusb
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 
> Fast Ethernet Adapter
> Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>
> Try to follow Felipe's advice of using vanilla kernel from Linus and
> bisecting it.
>
> Best regards,
> Krzysztof
>

I feel this is long standing issue with phy-exynos5-usbdrd.c
with following patch missing.

[0] https://patchwork.kernel.org/patch/5204471/

with some more updated to phy-exynos5-usbdrd.c
I was able to bring the phy up in cold boot.
but when I perform warm boot the issue persist.

root@odroidxu4q:~# uname -a
Linux odroidxu4q 4.13.0-rc2-xu4next-14488-g25f6a53-dirty #7 SMP
PREEMPT Tue Jul25 20:04:02 UTC 2017 armv7l armv7l armv7l GNU/Linux
root@odroidxu4q:~# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 5000M
|__ Port 1: Dev 3, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
|__ Port 2: Dev 4, If 1, Class=Video, Driver=uvcvideo, 5000M
|__ Port 2: Dev 4, If 0, Class=Video, Driver=uvcvideo, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
root@odroidxu4q:~#

Best Regards
-Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-21 Thread Anand Moon
Hi All,

On 21 July 2017 at 16:10, Anand Moon  wrote:
> Hi Markus Reichl/ Felipe/ Krzysztof / Jochen,
>
> On 21 July 2017 at 14:56, Markus Reichl  wrote:
>> Hi Anand,
>>
>> the issue below is fixed with
>> 4.13.0-rc1-next-20170721.
>>
>> Gruß,
>> --
>> Markus Reichl
>>
>> Am 19.07.2017 um 16:58 schrieb Anand Moon:
>>> Hi Krzysztof,
>>>
>>> Today I tried to compile the latest kernel for Odroid xu4.
>>> using exynos_defconfig I build and loaded the kernel.
>>> but to my surprise usb 3.0 device and missing.
>>>
>>> odroid login: root
>>> Password:
>>> Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2
>>> Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 
>>> armv7l)
>>>
>>>  * Documentation:  https://help.ubuntu.com
>>>  * Management: https://landscape.canonical.com
>>>  * Support:https://ubuntu.com/advantage
>>> root@odroid:~# lsusb
>>> Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>>> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>> Bus 002 Device 002: ID 0603:0002 Novatek Microelectronics Corp.
>>> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>>> root@odroid:~# lsusb -t
>>> /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
>>> /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
>>> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
>>> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
>>> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
>>> |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 
>>> 1.5M
>>> |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 
>>> 1.5M
>>> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
>>>
>>> Full dmesg can be found on blow link.
>>> https://pastebin.com/K3xfPCPe
>>>
>>> The reason for failed is below.
>>>
>>> [7.187096] usb usb4-port1: connect-debounce failed
>>>
>>> I tried to debug this but failed to find the root cause.
>>> Nothing is connected to the UBS 3.0 port for the failure to cause.
>>>
>>> If I load old kernel it seen to work correctly.
>>> If you provoid some input I will give this a try.
>>>
>
> Thanks for your tips and input.
>
> I was going to 'git bisect' over this weekend.
> But I will now check the 4.13.0-rc1-next-20170721
> and let you all know if this resolves the issue.
>

Just build and tested the 4.13.0-rc1-next-20170721.
so kernel is good enough to enumerate the usbdrd_dwc3_1 (usb port 6,5)
but this failed to enumerate the usbdrd_dwc3_10 (usb port 4,3).

root@odroidxu4q:~# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Vendor Specific Class, Driver=r8152, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/2p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M

Best Regards
-Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-21 Thread Felipe Balbi

Hi,

Sylwester Nawrocki  writes:
> Hi,
>
> On 07/21/2017 10:10 AM, Felipe Balbi wrote:
>> Jochen Sprickerhof  writes:
>
>>> I've send a patch for this some time ago here:
>>> http://marc.info/?l=linux-usb=149945465112440=2
>>>
>>> This goes along with the patch in this thread:
>>> http://marc.info/?l=linux-usb=149983203023058=2
>>>
>>> Would be great if you could give it a try and report back.
>>>
>>> @Felipe can I do anything more to get it accepted upstream?
>> you got rid of*all*  context. I have no idea what you're replying
>> to. Looking at the patch, though, I think this may be caused by the
>> regression on the order of when to get the PHY. That was fixed by TI,
>> patch is already on next and greg's queue for next -rc. Please check if
>> commit 541768b08a400d9d292cfd9c898401b8178856ac helps you guys.
>
> I tested with that commit on top of v4.13-rc1 and USB seems to
> be working properly on Odroid XU4, the mouse is working.

Thanks a lot ;-)

-- 
balbi


signature.asc
Description: PGP signature


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-21 Thread Sylwester Nawrocki

Hi,

On 07/21/2017 10:10 AM, Felipe Balbi wrote:

Jochen Sprickerhof  writes:



I've send a patch for this some time ago here:
http://marc.info/?l=linux-usb=149945465112440=2

This goes along with the patch in this thread:
http://marc.info/?l=linux-usb=149983203023058=2

Would be great if you could give it a try and report back.

@Felipe can I do anything more to get it accepted upstream?

you got rid of*all*  context. I have no idea what you're replying
to. Looking at the patch, though, I think this may be caused by the
regression on the order of when to get the PHY. That was fixed by TI,
patch is already on next and greg's queue for next -rc. Please check if
commit 541768b08a400d9d292cfd9c898401b8178856ac helps you guys.


I tested with that commit on top of v4.13-rc1 and USB seems to
be working properly on Odroid XU4, the mouse is working.

--
Regards,
Sylwester
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-21 Thread Anand Moon
Hi Markus Reichl/ Felipe/ Krzysztof / Jochen,

On 21 July 2017 at 14:56, Markus Reichl  wrote:
> Hi Anand,
>
> the issue below is fixed with
> 4.13.0-rc1-next-20170721.
>
> Gruß,
> --
> Markus Reichl
>
> Am 19.07.2017 um 16:58 schrieb Anand Moon:
>> Hi Krzysztof,
>>
>> Today I tried to compile the latest kernel for Odroid xu4.
>> using exynos_defconfig I build and loaded the kernel.
>> but to my surprise usb 3.0 device and missing.
>>
>> odroid login: root
>> Password:
>> Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2
>> Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 
>> armv7l)
>>
>>  * Documentation:  https://help.ubuntu.com
>>  * Management: https://landscape.canonical.com
>>  * Support:https://ubuntu.com/advantage
>> root@odroid:~# lsusb
>> Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
>> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> Bus 002 Device 002: ID 0603:0002 Novatek Microelectronics Corp.
>> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
>> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
>> root@odroid:~# lsusb -t
>> /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
>> /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
>> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
>> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
>> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
>> |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 
>> 1.5M
>> |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 
>> 1.5M
>> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
>>
>> Full dmesg can be found on blow link.
>> https://pastebin.com/K3xfPCPe
>>
>> The reason for failed is below.
>>
>> [7.187096] usb usb4-port1: connect-debounce failed
>>
>> I tried to debug this but failed to find the root cause.
>> Nothing is connected to the UBS 3.0 port for the failure to cause.
>>
>> If I load old kernel it seen to work correctly.
>> If you provoid some input I will give this a try.
>>

Thanks for your tips and input.

I was going to 'git bisect' over this weekend.
But I will now check the 4.13.0-rc1-next-20170721
and let you all know if this resolves the issue.

Best Regards
-Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-21 Thread Felipe Balbi

Hi,

Jochen Sprickerhof  writes:
> * Felipe Balbi  [2017-07-21 11:10]:
>> Hi,
>> 
>> Jochen Sprickerhof  writes:
>> > Hi,
>> >
>> > I've send a patch for this some time ago here:
>> >
>> > http://marc.info/?l=linux-usb=149945465112440=2
>> >
>> > This goes along with the patch in this thread:
>> >
>> > http://marc.info/?l=linux-usb=149983203023058=2
>> >
>> > Would be great if you could give it a try and report back.
>> >
>> > @Felipe can I do anything more to get it accepted upstream?
>> 
>> you got rid of *all* context. I have no idea what you're replying
>> to. Looking at the patch, though, I think this may be caused by the
>> regression on the order of when to get the PHY. That was fixed by TI,
>> patch is already on next and greg's queue for next -rc. Please check if
>> commit 541768b08a400d9d292cfd9c898401b8178856ac helps you guys.
>
> No, as I wrote In my patch, it's on top of 
> 541768b08a400d9d292cfd9c898401b8178856ac:
>
> | This needs and is supposed to be applied on top of
> | https://patchwork.kernel.org/patch/9815981/
>
> So we still need it.

no we do not. And that patch of yours would actually regress many
things. For one, you're moving dwc3_setup_phy() before we even *get* a
reference to the PHY. Not to mention that dwc3_core_is_valid() only
checks the revision register to verify that we're dealing with a *real*
Synopsys IP.

Your patch is not only unnecessary, it's also wrong.

-- 
balbi


signature.asc
Description: PGP signature


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-21 Thread Markus Reichl
Hi Anand,

the issue below is fixed with 
4.13.0-rc1-next-20170721.

Gruß,
-- 
Markus Reichl

Am 19.07.2017 um 16:58 schrieb Anand Moon:
> Hi Krzysztof,
> 
> Today I tried to compile the latest kernel for Odroid xu4.
> using exynos_defconfig I build and loaded the kernel.
> but to my surprise usb 3.0 device and missing.
> 
> odroid login: root
> Password:
> Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2
> Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 
> armv7l)
> 
>  * Documentation:  https://help.ubuntu.com
>  * Management: https://landscape.canonical.com
>  * Support:https://ubuntu.com/advantage
> root@odroid:~# lsusb
> Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 002: ID 0603:0002 Novatek Microelectronics Corp.
> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> root@odroid:~# lsusb -t
> /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
> |__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
> |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M
> 
> Full dmesg can be found on blow link.
> https://pastebin.com/K3xfPCPe
> 
> The reason for failed is below.
> 
> [7.187096] usb usb4-port1: connect-debounce failed
> 
> I tried to debug this but failed to find the root cause.
> Nothing is connected to the UBS 3.0 port for the failure to cause.
> 
> If I load old kernel it seen to work correctly.
> If you provoid some input I will give this a try.
> 
> Best Regards
> -Anand
> --
> To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" 
> in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-21 Thread Jochen Sprickerhof
* Felipe Balbi  [2017-07-21 11:10]:
> Hi,
> 
> Jochen Sprickerhof  writes:
> > Hi,
> >
> > I've send a patch for this some time ago here:
> >
> > http://marc.info/?l=linux-usb=149945465112440=2
> >
> > This goes along with the patch in this thread:
> >
> > http://marc.info/?l=linux-usb=149983203023058=2
> >
> > Would be great if you could give it a try and report back.
> >
> > @Felipe can I do anything more to get it accepted upstream?
> 
> you got rid of *all* context. I have no idea what you're replying
> to. Looking at the patch, though, I think this may be caused by the
> regression on the order of when to get the PHY. That was fixed by TI,
> patch is already on next and greg's queue for next -rc. Please check if
> commit 541768b08a400d9d292cfd9c898401b8178856ac helps you guys.

No, as I wrote In my patch, it's on top of 
541768b08a400d9d292cfd9c898401b8178856ac:

| This needs and is supposed to be applied on top of
| https://patchwork.kernel.org/patch/9815981/

So we still need it.

> ps: leave context on your replies next time, man. We get a TON of emails
> every day; it's difficult to keep track of everything without context.

Sorry for that.


signature.asc
Description: PGP signature


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-21 Thread Felipe Balbi

Hi,

Jochen Sprickerhof  writes:
> Hi,
>
> I've send a patch for this some time ago here:
>
> http://marc.info/?l=linux-usb=149945465112440=2
>
> This goes along with the patch in this thread:
>
> http://marc.info/?l=linux-usb=149983203023058=2
>
> Would be great if you could give it a try and report back.
>
> @Felipe can I do anything more to get it accepted upstream?

you got rid of *all* context. I have no idea what you're replying
to. Looking at the patch, though, I think this may be caused by the
regression on the order of when to get the PHY. That was fixed by TI,
patch is already on next and greg's queue for next -rc. Please check if
commit 541768b08a400d9d292cfd9c898401b8178856ac helps you guys.

ps: leave context on your replies next time, man. We get a TON of emails
every day; it's difficult to keep track of everything without context.

-- 
balbi


signature.asc
Description: PGP signature


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-21 Thread Jochen Sprickerhof
Hi,

I've send a patch for this some time ago here:

http://marc.info/?l=linux-usb=149945465112440=2

This goes along with the patch in this thread:

http://marc.info/?l=linux-usb=149983203023058=2

Would be great if you could give it a try and report back.

@Felipe can I do anything more to get it accepted upstream?

Cheers

Jochen


signature.asc
Description: PGP signature


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-19 Thread Krzysztof Kozlowski
On Wed, Jul 19, 2017 at 09:13:29PM +0300, Felipe Balbi wrote:
> 
> Hi,
> 
> Anand Moon  writes:
> > Hi Krzysztof,
> >
> > Today I tried to compile the latest kernel for Odroid xu4.
> > using exynos_defconfig I build and loaded the kernel.
> > but to my surprise usb 3.0 device and missing.
> >
> > odroid login: root
> > Password:
> > Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2
> > Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 
> > armv7l)
> 
> Dude, you have 27 thousand patches on top of v4.13-rc1??? Try vanilla
> v4.13-rc1 and try a git bisect.

Hi Anand,

Beside Felipe's comment, I do not have XU4. I cannot reproduce it on
XU3-Lite (but there is difference in USB2 and USB3, AFAIR).

$ uname -a
Linux odroidxu3 4.13.0-rc1-00071-ge06fdaf40a5c #1051 SMP PREEMPT Wed Jul 19 
22:07:41 CEST 2017 armv7l GNU/Linux
$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast 
Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Try to follow Felipe's advice of using vanilla kernel from Linus and
bisecting it.

Best regards,
Krzysztof

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-19 Thread Felipe Balbi

Hi,

Anand Moon  writes:
> Hi Krzysztof,
>
> Today I tried to compile the latest kernel for Odroid xu4.
> using exynos_defconfig I build and loaded the kernel.
> but to my surprise usb 3.0 device and missing.
>
> odroid login: root
> Password:
> Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2
> Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 
> armv7l)

Dude, you have 27 thousand patches on top of v4.13-rc1??? Try vanilla
v4.13-rc1 and try a git bisect.

-- 
balbi
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


USB 3.0 is broken on Odroid Xu4 on latest kernel

2017-07-19 Thread Anand Moon
Hi Krzysztof,

Today I tried to compile the latest kernel for Odroid xu4.
using exynos_defconfig I build and loaded the kernel.
but to my surprise usb 3.0 device and missing.

odroid login: root
Password:
Last login: Wed Jul 19 14:01:44 UTC 2017 on ttySAC2
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.13.0-rc1-xu4ml-27846-g74cbd96 armv7l)

 * Documentation:  https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support:https://ubuntu.com/advantage
root@odroid:~# lsusb
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 0603:0002 Novatek Microelectronics Corp.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@odroid:~# lsusb -t
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=exynos-ohci/3p, 12M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=exynos-ehci/3p, 480M

Full dmesg can be found on blow link.
https://pastebin.com/K3xfPCPe

The reason for failed is below.

[7.187096] usb usb4-port1: connect-debounce failed

I tried to debug this but failed to find the root cause.
Nothing is connected to the UBS 3.0 port for the failure to cause.

If I load old kernel it seen to work correctly.
If you provoid some input I will give this a try.

Best Regards
-Anand
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html