Mad Mouse

Marc CHALAND l4 at marc-chaland.net
Wed Nov 7 15:09:24 CET 2007


2007/11/7, Christian Helmuth <ch12 at os.inf.tu-dresden.de>:
>
> sorry for the delay ;)

No problem :). sometimes, I make mistakes with my mailbox :/.
I've found a mouse which perfectly works ;).

> 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 ???

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);
   }




More information about the l4-hackers mailing list