From: Benjamin Herrenschmidt <bh40@calva.net>
To: Hubert Figuiere <hub@point-barre.fr>, linuxppc-dev@lists.linuxppc.org
Subject: Re: ADB Reset
Date: Fri, 5 Mar 1999 15:32:07 +0100 [thread overview]
Message-ID: <19990305153207.016764@mail.mipsys.com> (raw)
In-Reply-To: <19990305110825.A602@giordino.point-barre.fr>
On Fri, Mar 5, 1999, Hubert Figuiere <hub@point-barre.fr> wrote:
>Can anybody tell me how to reset the ADB bus. Just because when I
>snooze the PowerBook, the mouse become really slow....
>
>How can I ask to redect all the ADB peripherals. I want to be able
>to plug and unplug my kensington mouse.
>
>The goal is to make a small set of utilities for this :-)
For the reset on snooze, the adb.c code should register a sleep queue
element to be notified of snooze, and do a reset from it. (For infos
about sleep notifications, look at other drivers like the chipsfb).
The reset is currently done thru a function pointer filled by the
low-level driver (be careful, it could be NULL). You should find it by
looking at adb.c code.
As far as plug/unplug is concerned, this could be done by adding a ioctl
to the ADB driver.
I have already done part of those in experimental hacks here, if you can
wait one or two weeks, I'll clean all this up and make patches. If you
can't then implement them yourself, it's not very complicated. I'm too
busy to finish that stuff now.
--
E-Mail: <mailto:bh40@calva.net>
BenH. Web : <http://calvaweb.calvacom.fr/bh40/>
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
next prev parent reply other threads:[~1999-03-05 14:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-05 10:08 ADB Reset Hubert Figuiere
1999-03-05 14:32 ` Benjamin Herrenschmidt [this message]
1999-03-10 11:36 ` Hubert Figuiere
1999-03-10 12:19 ` Benjamin Herrenschmidt
1999-03-10 16:40 ` Hubert Figuiere
1999-03-10 22:51 ` Paul Mackerras
1999-03-11 11:53 ` Benjamin Herrenschmidt
1999-03-11 7:55 ` Hubert Figuiere
1999-03-11 15:37 ` David A. Gatwood
1999-03-10 15:43 ` David A. Gatwood
-- strict thread matches above, loose matches on Subject: below --
1999-03-05 13:47 Christian Jaeger
1999-03-05 18:46 ` Hubert Figuiere
1999-03-11 13:16 Benjamin Herrenschmidt
1999-03-11 14:26 ` Geert Uytterhoeven
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=19990305153207.016764@mail.mipsys.com \
--to=bh40@calva.net \
--cc=hub@point-barre.fr \
--cc=linuxppc-dev@lists.linuxppc.org \
/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;
as well as URLs for NNTP newsgroup(s).