mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Christoph Fritz <chf.fritz@googlemail.com>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] USB: host: hub: increase delay after device removal
Date: Wed, 23 May 2018 15:36:26 +0200	[thread overview]
Message-ID: <20180523133626.x2egdqxwmiyllctx@pengutronix.de> (raw)
In-Reply-To: <1526976551.2078.18.camel@googlemail.com>

On Tue, May 22, 2018 at 10:09:11AM +0200, Christoph Fritz wrote:
> On Tue, 2018-05-22 at 09:54 +0200, Sascha Hauer wrote:
> > On Thu, May 17, 2018 at 06:19:32PM +0200, Christoph Fritz wrote:
> 
> > > # still 4 USB Devices found, ...?
> > > # starting 'usb' again hits a NULL pointer dereference:
> > 
> > Disconnecting USB devices during runtime of barebox is not really
> > supported. We should probably make that clear somewhere. The code is not
> > prepared for that case and trying to fix it is likely to be a bottomless
> > pit.
> > 
> > Can you reproduce a problem without removing a device?
> 
> Yes I can, please see the scenario below.
> But the USB device plugged in isn't USB certified and Linux-Kernel needs
> the quirk too... so...?

What do the Linux guys say? Maybe someone comes up with a solution that
solves the issue without additional config options.

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2018-05-23 13:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-28 15:29 Christoph Fritz
2017-01-09  8:38 ` Sascha Hauer
2018-05-17 16:19   ` Christoph Fritz
2018-05-22  7:54     ` Sascha Hauer
2018-05-22  8:09       ` Christoph Fritz
2018-05-23 13:36         ` Sascha Hauer [this message]

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=20180523133626.x2egdqxwmiyllctx@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=chf.fritz@googlemail.com \
    /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