linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ADB probing
@ 1999-10-06 23:47 Tom Rini
  1999-10-07  9:27 ` Michael Schmitz
  1999-10-07 16:15 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 15+ messages in thread
From: Tom Rini @ 1999-10-06 23:47 UTC (permalink / raw)
  To: linuxppc-dev


Hello all.

I've run into a wierd problem with ADB stuff, and I wonder if anyone has
an idea on how to work/fix this.  What I'm trying to do right now is fix
up kudzu so it can probe for things on the ADB bus.  Right now it does
what all the other old config tools did, and pokes at /dev/adbmouse.  The
problem is right now this works if there's any adb device present (one of
the machines I checked only has an adb kbd, tho adbmouse suport is
compiled in).  Also, is there any way to see if the machine has an adb
keyboard installed?  Thanks..

---
Tom Rini (TR1265)
http://gate.crashing.org/~trini/


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: ADB probing
@ 1999-10-07 16:21 Benjamin Herrenschmidt
  1999-10-07 18:28 ` Michael Schmitz
  0 siblings, 1 reply; 15+ messages in thread
From: Benjamin Herrenschmidt @ 1999-10-07 16:21 UTC (permalink / raw)
  To: Michael Schmitz, linuxppc-dev


On Thu, Oct 7, 1999, Michael Schmitz
<schmitz@opal.biophys.uni-duesseldorf.de> wrote:

>I'd rather not poll the ADB bus if it can be avoided. How does MacOS detect
>a new mouse device? But you could always force a bus reset and rescan via 
>/dev/adb. 

Be careful that the bus reset will cause an automatic re-probing and
re-init of the bus and devices by the drivers in mac_keyb.c. (This way,
we could make a userland tool that sends the bus reset and have a real
hot-swap ADB, just reset the bus after the hot swap). This feature is
mainly used by the sleep code for now.

-- 
           Perso. e-mail: <mailto:bh40@calva.net>
           Work   e-mail: <mailto:benh@mipsys.com>
BenH.      Web   : <http://calvaweb.calvacom.fr/bh40/>


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~1999-10-11 12:28 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-06 23:47 ADB probing Tom Rini
1999-10-07  9:27 ` Michael Schmitz
1999-10-07 11:22   ` Timothy Wall
1999-10-07 12:16     ` Michael Schmitz
1999-10-07 16:15 ` Benjamin Herrenschmidt
  -- strict thread matches above, loose matches on Subject: below --
1999-10-07 16:21 Benjamin Herrenschmidt
1999-10-07 18:28 ` Michael Schmitz
1999-10-07 19:38   ` David A. Gatwood
1999-10-08  9:44     ` Michael Schmitz
1999-10-08 23:07       ` Brad Midgley
1999-10-11 12:28         ` Michael Schmitz
1999-10-08 10:08   ` Benjamin Herrenschmidt
1999-10-08 12:33     ` Michael Schmitz
1999-10-08 13:06       ` Benjamin Herrenschmidt
1999-10-11  9:46         ` Michael Schmitz

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).