Share PC's mouse with the BeagleBoard!

40 views
Skip to first unread message

Pramode C.E

unread,
Oct 21, 2008, 9:19:54 AM10/21/08
to beagl...@googlegroups.com
Hello,

With a few lines of code, we can share the PC's mouse/keyboard with the
BeagleBoard; please check out the tiny program which I wrote for this
purpose:

http://blog.fosstronics.com/code/rmouse.tgz

The idea is to read mouse "events" from /dev/input/eventN, send it to
the Beagle via the usb0 interface and "inject" the events into the
Beagle kernel via the "uinput" interface - it works well for me.

Are there easier ways to achieve the same effect? Any suggestions for
improvement?

Regards,
Pramode
------------


Kees Jongenburger

unread,
Oct 21, 2008, 1:35:29 AM10/21/08
to beagl...@googlegroups.com
Hello Pramode

On Tue, Oct 21, 2008 at 3:19 PM, Pramode C.E <pra...@fosstronics.com> wrote:
>
> Are there easier ways to achieve the same effect? Any suggestions for
> improvement?

You did a nice hack :p

The Synergy[1] project is a really great project for doing just the
same thing. You can tell it "where your screens are" are move the
mouse from one screen to an other and the keyboard wil follows. It
also happens to works well under windows.
It is different to you program in that it works on a different level
as it sends X events using the xtest extention.
just like your implementation it needs a network connection

greetings

[1] http://synergy2.sourceforge.net/

Pramode C.E

unread,
Oct 21, 2008, 9:50:34 AM10/21/08
to beagl...@googlegroups.com
> > Are there easier ways to achieve the same effect? Any suggestions for
> > improvement?
> You did a nice hack :p
>
Thank you!

> The Synergy[1] project is a really great project for doing just the
> same thing. You can tell it "where your screens are" are move the
> mouse from one screen to an other and the keyboard wil follows. It

This seems to be a much better solution ... should try it out ... thanks
for the link!

Regards,
Pramode
------------

Jakov af Wallby

unread,
Oct 21, 2008, 4:32:02 AM10/21/08
to beagl...@googlegroups.com

Depends. Synergy can do a lot more. I like your solution and downloaded it right away. It is more general and does not depend on X11, which is good in some situations.


regards,
Jakob

Reply all
Reply to author
Forward
0 new messages