All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicolas Mailhot <Nicolas.Mailhot@laPoste.net>
To: Pavel Machek <pavel@ucw.cz>
Cc: linux-kernel@vger.kernel.org, linux-usb-users@lists.sourceforge.net
Subject: Re: [2.5] EHCI HID keyboard not unloaded at reboot time ?
Date: 18 Feb 2003 22:11:14 +0100	[thread overview]
Message-ID: <1045602674.2091.8.camel@rousalka> (raw)
In-Reply-To: <20030216212801.GA2546@elf.ucw.cz>

[-- Attachment #1: Type: text/plain, Size: 1533 bytes --]

Le dim 16/02/2003 à 22:28, Pavel Machek a écrit :
> Hi!
> 
> > 	This is a question related to :
> > http://bugzilla.kernel.org/show_bug.cgi?id=9
> > 
> > 	Basically I have a usb keyboard plugged on an external USB2 hub. Using
> > a monolithic ehci/hid kernel I can get it to work in 2.5. It's also used
> > in usb1 mode by the bios and the bootloader.
> > 
> > 	However when I shut down or reboot from 2.5, I loose keyboard support
> > in the bios/bootloader/linux 2.4 (used to loose it in linux 2.5 also but
> > recent ehci enhancements enable 2.5 to recover it). Nothing short of a
> > PSU stop (neither reset nor stop button works) will recover it.
> 
> Well, if reset does not work, it looks like hw bug ;-). OTOH this
> might be quite easy to workaround in sw. What happens if you unplug
> and replug the keyboard?

Hey, thanks for the reply.

Turns out I was right about the diagnostic. 2.5 *did* *not* *unload*
*ehci*. So after the reboot all usb1-aware systems (bios, linux 2.4,
etc) found usb components that expected usb2 commands. David Brownell
send me a patch that forced ehci unload at shutdown (via a reboot
notifier) and all's been well since. So it was a real 2.5 bug.

Sure the hardware could have moped up usb remains better, but since
other evil OSes cleanup their usb stack correctly, I guess they didn't
bother (plus I suspect it would have made boot times a bit longer).

Anyway, closing one of the first ten bugzilla bugs at last one feels
very good:)

-- 
Nicolas Mailhot

[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2003-02-18 21:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-15 16:03 [2.5] EHCI HID keyboard not unloaded at reboot time ? Nicolas Mailhot
2003-02-16 21:28 ` Pavel Machek
2003-02-18 21:11   ` Nicolas Mailhot [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=1045602674.2091.8.camel@rousalka \
    --to=nicolas.mailhot@laposte.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-users@lists.sourceforge.net \
    --cc=pavel@ucw.cz \
    /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 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.