X11 has some way to work with gpm as its source not sure how it works.

On 7/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> hi, I am pretty new to directfb, and I was having problems with the ps2
> and serial mouse drivers, I do not have a ps2, serial, usb, or bus mouse,
> but gpm works great!
>
> I modified ps2mouse to make gpmmouse, and it works great for me, it reads
> from /dev/gpmctl, not /dev/gpmdata.
>
> ps2mouse can read from /dev/gpmdata, and then it has to decode the data
> again. The only protocol that works for me is ps2, which does not support
> the wheel or any additional buttons.  If set up incorrectly it actually
> crashes my computer to a point which I must reboot.
>
> The only reason for not including the patch is I had to modify gpm very
> slightly (2 lines of code).  The reason is gpm stops sending data to
> clients if it detects it is in a graphical mode (by using an ioctl).  I am
> going to hopefully get gpm patched to support this in the future.
>
> I appreciate any feedback, I will gladly make a tarball with both DirectFB
> and gpm patches with instructions if it can be distributed with DirectFB
> (maybe in the patches folder)
>
> I also would like to know how most people debug DirectFB, I have resorted
> to D_INFO everywhere, then read it after the program exits.  I can't use a
> debugger because running it in a different vc causes the directfb program
> to change, is it possible to attach a debugger remotely?
>
> Thanks,
> Sean D'Epagnier
>
>
>
>
>
>
> _______________________________________________
> directfb-dev mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to