All of lore.kernel.org
 help / color / mirror / Atom feed
* sunxi: Endless musb_bus_suspend warnings when booting A23 tablet with OTG
@ 2016-09-06 11:02 wens Tsai
  2016-09-06 11:28 ` [linux-sunxi] " Hans de Goede
  0 siblings, 1 reply; 5+ messages in thread
From: wens Tsai @ 2016-09-06 11:02 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Hans,

I've built the latest sunxi-next branches of Linux and U-boot and
tried it on my Q8 A23 tablet. My tablet has an OTG adapter with a
USB ethernet adapter connected all the time. Upon booting into
Linux I get an endless stream of:

    musb_bus_suspend 2586: trying to suspend as a_wait_bcon while active

messages. To get out of this I have to physically remove the OTG
adapter. Booting without the OTG adapter to begin with also gets
rid of the problem.

Have you run into this problem? I wonder if we should disable VBUS
just before leaving U-boot? Now that we support DRIVEVBUS this
shouldn't be a problem.

Regards
ChenYu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-sunxi] sunxi: Endless musb_bus_suspend warnings when booting A23 tablet with OTG
  2016-09-06 11:02 sunxi: Endless musb_bus_suspend warnings when booting A23 tablet with OTG wens Tsai
@ 2016-09-06 11:28 ` Hans de Goede
  2016-09-06 15:31   ` wens Tsai
  0 siblings, 1 reply; 5+ messages in thread
From: Hans de Goede @ 2016-09-06 11:28 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On 06-09-16 13:02, wens Tsai wrote:
> Hi Hans,
>
> I've built the latest sunxi-next branches of Linux and U-boot and
> tried it on my Q8 A23 tablet. My tablet has an OTG adapter with a
> USB ethernet adapter connected all the time. Upon booting into
> Linux I get an endless stream of:
>
>     musb_bus_suspend 2586: trying to suspend as a_wait_bcon while active
>
> messages. To get out of this I have to physically remove the OTG
> adapter. Booting without the OTG adapter to begin with also gets
> rid of the problem.
>
> Have you run into this problem? I wonder if we should disable VBUS
> just before leaving U-boot? Now that we support DRIVEVBUS this
> shouldn't be a problem.

I've not seen such a problem. I'm fine with disabling Vbus when
leaving u-boot, that certainly is the safe thing to do anyways.

I guess I'll get a u-boot patch from you if that indeed fixes
things ?

Regards,

Hans

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-sunxi] sunxi: Endless musb_bus_suspend warnings when booting A23 tablet with OTG
  2016-09-06 11:28 ` [linux-sunxi] " Hans de Goede
@ 2016-09-06 15:31   ` wens Tsai
  2016-09-07 10:44     ` Hans de Goede
  0 siblings, 1 reply; 5+ messages in thread
From: wens Tsai @ 2016-09-06 15:31 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Sep 6, 2016 at 7:28 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> Hi,
>
> On 06-09-16 13:02, wens Tsai wrote:
>>
>> Hi Hans,
>>
>> I've built the latest sunxi-next branches of Linux and U-boot and
>> tried it on my Q8 A23 tablet. My tablet has an OTG adapter with a
>> USB ethernet adapter connected all the time. Upon booting into
>> Linux I get an endless stream of:
>>
>>     musb_bus_suspend 2586: trying to suspend as a_wait_bcon while active
>>
>> messages. To get out of this I have to physically remove the OTG
>> adapter. Booting without the OTG adapter to begin with also gets
>> rid of the problem.
>>
>> Have you run into this problem? I wonder if we should disable VBUS
>> just before leaving U-boot? Now that we support DRIVEVBUS this
>> shouldn't be a problem.
>
>
> I've not seen such a problem. I'm fine with disabling Vbus when
> leaving u-boot, that certainly is the safe thing to do anyways.

Seems there's no distinction between "USB reset" and leaving
U-boot, as you mentioned in your patch removing the "power off"
code from the USB drivers. Are you OK with power cycling during
USB reset as well?

> I guess I'll get a u-boot patch from you if that indeed fixes
> things ?

Yup. In progress. Though my ethernet adapter is acting up, so I'll
need to swap in something else to test it properly.

ChenYu

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-sunxi] sunxi: Endless musb_bus_suspend warnings when booting A23 tablet with OTG
  2016-09-06 15:31   ` wens Tsai
@ 2016-09-07 10:44     ` Hans de Goede
  2016-09-07 15:15       ` wens Tsai
  0 siblings, 1 reply; 5+ messages in thread
From: Hans de Goede @ 2016-09-07 10:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

On 06-09-16 17:31, wens Tsai wrote:
> On Tue, Sep 6, 2016 at 7:28 PM, Hans de Goede <hdegoede@redhat.com> wrote:
>> Hi,
>>
>> On 06-09-16 13:02, wens Tsai wrote:
>>>
>>> Hi Hans,
>>>
>>> I've built the latest sunxi-next branches of Linux and U-boot and
>>> tried it on my Q8 A23 tablet. My tablet has an OTG adapter with a
>>> USB ethernet adapter connected all the time. Upon booting into
>>> Linux I get an endless stream of:
>>>
>>>     musb_bus_suspend 2586: trying to suspend as a_wait_bcon while active
>>>
>>> messages. To get out of this I have to physically remove the OTG
>>> adapter. Booting without the OTG adapter to begin with also gets
>>> rid of the problem.
>>>
>>> Have you run into this problem? I wonder if we should disable VBUS
>>> just before leaving U-boot? Now that we support DRIVEVBUS this
>>> shouldn't be a problem.
>>
>>
>> I've not seen such a problem. I'm fine with disabling Vbus when
>> leaving u-boot, that certainly is the safe thing to do anyways.
>
> Seems there's no distinction between "USB reset" and leaving
> U-boot, as you mentioned in your patch removing the "power off"
> code from the USB drivers. Are you OK with power cycling during
> USB reset as well?

I would prefer not too, but if it is hard to get around that
I can live with it.

>
>> I guess I'll get a u-boot patch from you if that indeed fixes
>> things ?
>
> Yup. In progress. Though my ethernet adapter is acting up, so I'll
> need to swap in something else to test it properly.

Cool.

Thanks & Regards,

Hans

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [linux-sunxi] sunxi: Endless musb_bus_suspend warnings when booting A23 tablet with OTG
  2016-09-07 10:44     ` Hans de Goede
@ 2016-09-07 15:15       ` wens Tsai
  0 siblings, 0 replies; 5+ messages in thread
From: wens Tsai @ 2016-09-07 15:15 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, Sep 7, 2016 at 6:44 PM, Hans de Goede <hdegoede@redhat.com> wrote:
> Hi,
>
> On 06-09-16 17:31, wens Tsai wrote:
>>
>> On Tue, Sep 6, 2016 at 7:28 PM, Hans de Goede <hdegoede@redhat.com> wrote:
>>>
>>> Hi,
>>>
>>> On 06-09-16 13:02, wens Tsai wrote:
>>>>
>>>>
>>>> Hi Hans,
>>>>
>>>> I've built the latest sunxi-next branches of Linux and U-boot and
>>>> tried it on my Q8 A23 tablet. My tablet has an OTG adapter with a
>>>> USB ethernet adapter connected all the time. Upon booting into
>>>> Linux I get an endless stream of:
>>>>
>>>>     musb_bus_suspend 2586: trying to suspend as a_wait_bcon while active
>>>>
>>>> messages. To get out of this I have to physically remove the OTG
>>>> adapter. Booting without the OTG adapter to begin with also gets
>>>> rid of the problem.
>>>>
>>>> Have you run into this problem? I wonder if we should disable VBUS
>>>> just before leaving U-boot? Now that we support DRIVEVBUS this
>>>> shouldn't be a problem.
>>>
>>>
>>>
>>> I've not seen such a problem. I'm fine with disabling Vbus when
>>> leaving u-boot, that certainly is the safe thing to do anyways.
>>
>>
>> Seems there's no distinction between "USB reset" and leaving
>> U-boot, as you mentioned in your patch removing the "power off"
>> code from the USB drivers. Are you OK with power cycling during
>> USB reset as well?
>
>
> I would prefer not too, but if it is hard to get around that
> I can live with it.

Unfortunately musb USB reset does not work. I tested without my
patch (the one I sent out today). So I think this point is
irrelevant, at least until someone fixes musb.

ChenYu

>>
>>> I guess I'll get a u-boot patch from you if that indeed fixes
>>> things ?
>>
>>
>> Yup. In progress. Though my ethernet adapter is acting up, so I'll
>> need to swap in something else to test it properly.
>
>
> Cool.
>
> Thanks & Regards,
>
> Hans

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-07 15:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-06 11:02 sunxi: Endless musb_bus_suspend warnings when booting A23 tablet with OTG wens Tsai
2016-09-06 11:28 ` [linux-sunxi] " Hans de Goede
2016-09-06 15:31   ` wens Tsai
2016-09-07 10:44     ` Hans de Goede
2016-09-07 15:15       ` wens Tsai

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.