bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: oskit driver for i8042 keyboard controller


From: Marcus Brinkmann
Subject: Re: oskit driver for i8042 keyboard controller
Date: Fri, 8 Nov 2002 19:11:53 +0100
User-agent: Mutt/1.4i

On Thu, Nov 07, 2002 at 01:43:28PM -0500, Roland McGrath wrote:
> > Confirmed.  What is the non-bus-walk name of these devices (just curious)?
> 
> What do you mean?  Devices don't have flat names.  The names like "eth0"
> and so forth are compatibility hacks in bus_walk_from_compat_string.

I thought the bus walk was to find a leaf in a hierarchy of devices, where
the bus is a top node of the devices on the bus.  Ie, like "i8042:kbd" etc. 
But that might be pure fiction, I never really groked the way devices are
organized in oskit.
 
> > Ah, which reminds me that I still use device_read and not
> > device_read_inband, in my kbd driver.
> 
> Well that's just silly.  But they should both work.

Yeah, I just c&p'ed that line from some other place.

> > Writing of the bytes doesn't seem to work properly, I set up streamio
> > (cat'ing from that works fine), and then I tried
> > 
> > echo $'\xED\x07' > kbd
> 
> The examples/x86/i8042 test program does just that, and it works (lights go
> on).  So this must be a problem interacting with oskit-mach.

Ok, I will go into the debugging.
 
Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    marcus@gnu.org
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
Marcus.Brinkmann@ruhr-uni-bochum.de
http://www.marcus-brinkmann.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]