Discussion:
Mouse pointer speed
Bent Bracke
2016-03-05 12:51:52 UTC
Permalink
Hi

In all the examples that come with Genode, the mouse pointer moves at what seems like an erratic speed.
Is this a driver issue or something else?
--
Kind regards
Bent Bracke
Norman Feske
2016-03-07 16:14:18 UTC
Permalink
Hello Bent,
Post by Bent Bracke
In all the examples that come with Genode, the mouse pointer moves at
what seems like an erratic speed.
Is this a driver issue or something else?
I am afraid that your question is too unspecific to give you a good
answer. Do you observe the erratic behavior on different machines and
with different mouses? Are you referring to a PS/2 mouse (with the PS/2
driver) or a USB HID mouse (with the USB driver)? Or are you using a USB
mouse with the PS/2 driver? In the latter case, the BIOS provides some
rudimentary PS/2 emulation. It is really hard to diagnose the problem
remotely.

That said, our PS/2 driver is indeed rather simple. It resets the mouse
but does not attempt to set any specific parameters with respect to
mouse speed or acceleration. You can have a look at
repos/os/src/drivers/input/ps2/ to investigate.

If you observe the problem with the USB HID driver, this would surprise
me because we are actually using the Linux USB driver on Genode. So the
mouse should work just as well as on Linux.

Cheers
Norman
--
Dr.-Ing. Norman Feske
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Nobody III
2016-03-07 21:56:32 UTC
Permalink
I'll add that my pointer moves very slowly when I use my touchpad in
Turmvilla.
Post by Bent Bracke
Hi
In all the examples that come with Genode, the mouse pointer moves at what
seems like an erratic speed.
Is this a driver issue or something else?
--
Kind regards
Bent Bracke
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Bent Bracke
2016-03-09 06:15:45 UTC
Permalink
Hi

Sorry about the lack of details.

It is possible that it's just too fast. I'm simply having difficulties clicking on anything because the mouse pointer moves around so quickly.

I'm running genode with qemu on Ubuntu on macbookpro via parallels.

It is a usb trackball which works fine on Ubuntu and OS X.

Kind regards
Bent Bracke
Post by Norman Feske
Hello Bent,
Post by Bent Bracke
In all the examples that come with Genode, the mouse pointer moves at
what seems like an erratic speed.
Is this a driver issue or something else?
I am afraid that your question is too unspecific to give you a good
answer. Do you observe the erratic behavior on different machines and
with different mouses? Are you referring to a PS/2 mouse (with the PS/2
driver) or a USB HID mouse (with the USB driver)? Or are you using a USB
mouse with the PS/2 driver? In the latter case, the BIOS provides some
rudimentary PS/2 emulation. It is really hard to diagnose the problem
remotely.
That said, our PS/2 driver is indeed rather simple. It resets the mouse
but does not attempt to set any specific parameters with respect to
mouse speed or acceleration. You can have a look at
repos/os/src/drivers/input/ps2/ to investigate.
If you observe the problem with the USB HID driver, this would surprise
me because we are actually using the Linux USB driver on Genode. So the
mouse should work just as well as on Linux.
Cheers
Norman
--
Dr.-Ing. Norman Feske
Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Stefan Kalkowski
2016-03-09 07:40:28 UTC
Permalink
Hello Bent,
Post by Bent Bracke
Hi
Sorry about the lack of details.
It is possible that it's just too fast. I'm simply having difficulties clicking on anything because the mouse pointer moves around so quickly.
I'm running genode with qemu on Ubuntu on macbookpro via parallels.
It is a usb trackball which works fine on Ubuntu and OS X.
so you run Genode inside a virtual machine (Qemu) inside a virtual
machine (parallels)? Then of course the actual hardware, your usb
trackball, does not play a role anymore. Using this kind of nested
virtualization lead to different various problems for different people
in the past.

A possible solution to circumvent the nesting of virtualization
techniques would be to use your Ubuntu VM for building the Genode
scenario, but instead of executing it within Qemu, you could boot the
resulting ISO image again via parallels natively on your Mac OS in a
second VM.

Regards
Stefan
Post by Bent Bracke
Kind regards
Bent Bracke
Post by Norman Feske
Hello Bent,
Post by Bent Bracke
In all the examples that come with Genode, the mouse pointer moves at
what seems like an erratic speed.
Is this a driver issue or something else?
I am afraid that your question is too unspecific to give you a good
answer. Do you observe the erratic behavior on different machines and
with different mouses? Are you referring to a PS/2 mouse (with the PS/2
driver) or a USB HID mouse (with the USB driver)? Or are you using a USB
mouse with the PS/2 driver? In the latter case, the BIOS provides some
rudimentary PS/2 emulation. It is really hard to diagnose the problem
remotely.
That said, our PS/2 driver is indeed rather simple. It resets the mouse
but does not attempt to set any specific parameters with respect to
mouse speed or acceleration. You can have a look at
repos/os/src/drivers/input/ps2/ to investigate.
If you observe the problem with the USB HID driver, this would surprise
me because we are actually using the Linux USB driver on Genode. So the
mouse should work just as well as on Linux.
Cheers
Norman
--
Dr.-Ing. Norman Feske
Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
--
Stefan Kalkowski
Genode Labs

http://www.genode-labs.com/ · http://genode.org/
Christian Prochaska
2016-03-09 12:06:05 UTC
Permalink
Hello Bent,
Post by Bent Bracke
It is possible that it's just too fast. I'm simply having difficulties clicking on anything because the mouse pointer moves around so quickly.
I'm running genode with qemu on Ubuntu on macbookpro via parallels.
an 'export SDL_VIDEO_X11_DGAMOUSE=0' in the Linux VM might help a bit
with this kind of problem.

Christian
Bent Bracke
2016-03-13 19:34:01 UTC
Permalink
Hi

I ran it without qemu like you suggested and it worked :-)

Thank you!

Kind regards
Bent Bracke
Post by Norman Feske
Hello Bent,
Post by Bent Bracke
Hi
Sorry about the lack of details.
It is possible that it's just too fast. I'm simply having difficulties clicking on anything because the mouse pointer moves around so quickly.
I'm running genode with qemu on Ubuntu on macbookpro via parallels.
It is a usb trackball which works fine on Ubuntu and OS X.
so you run Genode inside a virtual machine (Qemu) inside a virtual
machine (parallels)? Then of course the actual hardware, your usb
trackball, does not play a role anymore. Using this kind of nested
virtualization lead to different various problems for different people
in the past.
A possible solution to circumvent the nesting of virtualization
techniques would be to use your Ubuntu VM for building the Genode
scenario, but instead of executing it within Qemu, you could boot the
resulting ISO image again via parallels natively on your Mac OS in a
second VM.
Regards
Stefan
Post by Bent Bracke
Kind regards
Bent Bracke
Post by Norman Feske
Hello Bent,
Post by Bent Bracke
In all the examples that come with Genode, the mouse pointer moves at
what seems like an erratic speed.
Is this a driver issue or something else?
I am afraid that your question is too unspecific to give you a good
answer. Do you observe the erratic behavior on different machines and
with different mouses? Are you referring to a PS/2 mouse (with the PS/2
driver) or a USB HID mouse (with the USB driver)? Or are you using a USB
mouse with the PS/2 driver? In the latter case, the BIOS provides some
rudimentary PS/2 emulation. It is really hard to diagnose the problem
remotely.
That said, our PS/2 driver is indeed rather simple. It resets the mouse
but does not attempt to set any specific parameters with respect to
mouse speed or acceleration. You can have a look at
repos/os/src/drivers/input/ps2/ to investigate.
If you observe the problem with the USB HID driver, this would surprise
me because we are actually using the Linux USB driver on Genode. So the
mouse should work just as well as on Linux.
Cheers
Norman
--
Dr.-Ing. Norman Feske
Genode Labs
http://www.genode-labs.com · http://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
--
Stefan Kalkowski
Genode Labs
http://www.genode-labs.com/ · http://genode.org/
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
genode-main mailing list
https://lists.sourceforge.net/lists/listinfo/genode-main
Continue reading on narkive:
Loading...