Mad Mouse

Christian Helmuth ch12 at os.inf.tu-dresden.de
Wed Nov 7 16:09:53 CET 2007


Cheers,

On Wed, Nov 07, 2007 at 03:09:24PM +0100, Marc CHALAND wrote:
> I've found a mouse which perfectly works ;).

So, you use a working PS/2 mouse now?

> > The package was missing from our remotely available SVN repository, but
> > Adam added it today (will be available tomorrow). For a first test you
> > could download http://os.inf.tu-dresden.de/~ch12/sub/usbhid-20071107.tar.gz,
> > unpack it into your l4/pkg directory and build it.
> 
> Thank you. I've built it and it works fine with a... PS/2 mouse. Is
> there an explanation ???

Ehm, for us here usbhid successfully drives at least OHCI and UHCI host
controllers and connected USB HID devices, e.g., a USB mouse. Does this
work for you too?

> I've found a little typo into one log of l4io :
> Index: server/src/res.c
> ===================================================================
> --- server/src/res.c    (revision 235)
> +++ server/src/res.c    (working copy)
> @@ -410,7 +410,7 @@
>        if (err || !dw1)
>            Panic("sigma0 request for I/O ports [%04x,%04x) failed
> (err=%d dw1=%ld)\n",
>                   regions[i].fpage.iofp.iopage,
> -                 regions[i].fpage.iofp.iopage + regions[i].fpage.iofp.iosize,
> +                 regions[i].fpage.iofp.iopage + (1 <<
> regions[i].fpage.iofp.iosize) - 1,
>                   err, dw1);
>    }

Thanks
-- 
Christian Helmuth

TU Dresden, Dept. of CS
Operating Systems Group
http://os.inf.tu-dresden.de/~ch12




More information about the l4-hackers mailing list