[U-Boot] USB power is not enabled fro BeagleBone Black

Hi all,
The latest git version does not turn on USB power on BeagleBone Black: "usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.
Thanks for advises, - Sergey
-- View this message in context: http://u-boot.10912.n7.nabble.com/USB-power-is-not-enabled-fro-BeagleBone-Bl... Sent from the U-Boot mailing list archive at Nabble.com.

On Sat, Jul 01, 2017 at 12:51:41PM -0700, sm wrote:
Hi all,
The latest git version does not turn on USB power on BeagleBone Black: "usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.
Yes, I think this may be intentional?

Are we sure that's intentional? One of the common use cases for black is to plug in a usb keyboard/mouse and hdmi cable; what requirement is driving this? It would be great to have u-boot console support ala cubox/allwinner.
Just checking...
Steve
On Fri, Jul 7, 2017 at 7:41 AM, Tom Rini trini@konsulko.com wrote:
On Sat, Jul 01, 2017 at 12:51:41PM -0700, sm wrote:
Hi all,
The latest git version does not turn on USB power on BeagleBone Black: "usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.
Yes, I think this may be intentional?
-- Tom
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

On Fri, Jul 07, 2017 at 02:47:40PM -0700, Stephen Arnold wrote:
Are we sure that's intentional? One of the common use cases for black is to plug in a usb keyboard/mouse and hdmi cable; what requirement is driving this? It would be great to have u-boot console support ala cubox/allwinner.
My thought was that we might not have enough power coming in? But maybe it's just more incidental fallout from the speed grade changes. I'd be happy to look at a patch that does bring things back.
Just checking...
Steve
On Fri, Jul 7, 2017 at 7:41 AM, Tom Rini trini@konsulko.com wrote:
On Sat, Jul 01, 2017 at 12:51:41PM -0700, sm wrote:
Hi all,
The latest git version does not turn on USB power on BeagleBone Black: "usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.
Yes, I think this may be intentional?
-- Tom
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot

(sorry for top posting, sending from a phone)
I would agree it's intentional at the first stage: we don't want to power external devices which we may not need, however, the "usb start" command must enable it, otherwise it's useless...
-S. Original Message From: Tom Rini Sent: Friday, July 7, 2017 18:41 To: sm; Lokesh Vutla Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] USB power is not enabled fro BeagleBone Black
On Sat, Jul 01, 2017 at 12:51:41PM -0700, sm wrote:
Hi all,
The latest git version does not turn on USB power on BeagleBone Black: "usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.
Yes, I think this may be intentional?

On 7/8/2017 8:50 AM, Sergey Manucharian wrote:
(sorry for top posting, sending from a phone)
I would agree it's intentional at the first stage: we don't want to power external devices which we may not need, however, the "usb start" command must enable it, otherwise it's useless...
Right. Any chance you bisected to the commit which caused the issue?
Thanks and regards, Lokesh
-S. Original Message From: Tom Rini Sent: Friday, July 7, 2017 18:41 To: sm; Lokesh Vutla Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] USB power is not enabled fro BeagleBone Black
On Sat, Jul 01, 2017 at 12:51:41PM -0700, sm wrote:
Hi all,
The latest git version does not turn on USB power on BeagleBone Black: "usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.
Yes, I think this may be intentional?

New findings:
The problem is different, it happens only with USB 3 flash drives, USB 2 devices are powered properly. I don't have real statistics, but the newest SanDisk's drives won't work.
However, it's hard to believe that a tiny USB drive requests more than 500mA to assume that the controller and/or u-boot decide to not provide power to it.
Sergey
Excerpts from Lokesh Vutla's message from Mon 10-Jul-17 18:47:
On 7/8/2017 8:50 AM, Sergey Manucharian wrote:
(sorry for top posting, sending from a phone)
I would agree it's intentional at the first stage: we don't want to power external devices which we may not need, however, the "usb start" command must enable it, otherwise it's useless...
Right. Any chance you bisected to the commit which caused the issue?
Thanks and regards, Lokesh
-S. Original Message From: Tom Rini Sent: Friday, July 7, 2017 18:41 To: sm; Lokesh Vutla Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] USB power is not enabled fro BeagleBone Black
On Sat, Jul 01, 2017 at 12:51:41PM -0700, sm wrote:
Hi all,
The latest git version does not turn on USB power on BeagleBone Black: "usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.
Yes, I think this may be intentional?

One thing we have come across is that some USB drives require a longer delay between powering up and initialization.
I have historically also run into a lot of problems with both Sandisk USB devices and Sandisk SD cards, finding instances where they do not follow the standards.
-Aaron
On Thursday, July 27, 2017 1:42:02 PM PDT Sergey Manucharian wrote:
New findings:
The problem is different, it happens only with USB 3 flash drives, USB 2 devices are powered properly. I don't have real statistics, but the newest SanDisk's drives won't work.
However, it's hard to believe that a tiny USB drive requests more than 500mA to assume that the controller and/or u-boot decide to not provide power to it.
Sergey
Excerpts from Lokesh Vutla's message from Mon 10-Jul-17 18:47:
On 7/8/2017 8:50 AM, Sergey Manucharian wrote:
(sorry for top posting, sending from a phone)
I would agree it's intentional at the first stage: we don't want to power external devices which we may not need, however, the "usb start" command must enable it, otherwise it's useless...>
Right. Any chance you bisected to the commit which caused the issue?
Thanks and regards, Lokesh
-S.
Original Message
From: Tom Rini Sent: Friday, July 7, 2017 18:41 To: sm; Lokesh Vutla Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] USB power is not enabled fro BeagleBone Black
On Sat, Jul 01, 2017 at 12:51:41PM -0700, sm wrote:
Hi all,
The latest git version does not turn on USB power on BeagleBone Black: "usb start" reports that the port is not accessible, but with external power provided it detects the plugged in device.
Yes, I think this may be intentional?
U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot
participants (6)
-
Aaron Williams
-
Lokesh Vutla
-
Sergey Manucharian
-
sm
-
Stephen Arnold
-
Tom Rini