Re: [PATCH] hw: dev-wacom: Support wacom tablet emulation in linux qemu

2020-08-21 Thread Michael Nazzareno Trimarchi
Hi On Wed, Aug 19, 2020 at 7:52 AM Gerd Hoffmann wrote: > > Hi, > > > > > Have another small question. Do you know how force show cursor working > > > > in this case? > > > > > > Which display and which vga do you use? > > > > -vga std \ > > So stdvga (has no hardware cursor support). > > disp

Re: [PATCH] hw: dev-wacom: Support wacom tablet emulation in linux qemu

2020-08-18 Thread Gerd Hoffmann
Hi, > > > Have another small question. Do you know how force show cursor working > > > in this case? > > > > Which display and which vga do you use? > > -vga std \ So stdvga (has no hardware cursor support). display not specified, so it is the default. i.e. gtk or sdl depending on what config

Re: [PATCH] hw: dev-wacom: Support wacom tablet emulation in linux qemu

2020-08-18 Thread Michael Nazzareno Trimarchi
Hi On Tue, Aug 18, 2020 at 8:02 AM Gerd Hoffmann wrote: > > On Mon, Aug 17, 2020 at 06:42:02PM +0200, Michael Nazzareno Trimarchi wrote: > > Hi Gerd > > > > Have another small question. Do you know how force show cursor working > > in this case? > > Which display and which vga do you use? /usr/b

Re: [PATCH] hw: dev-wacom: Support wacom tablet emulation in linux qemu

2020-08-17 Thread Gerd Hoffmann
On Mon, Aug 17, 2020 at 06:42:02PM +0200, Michael Nazzareno Trimarchi wrote: > Hi Gerd > > Have another small question. Do you know how force show cursor working > in this case? Which display and which vga do you use? take care, Gerd

Re: [PATCH] hw: dev-wacom: Support wacom tablet emulation in linux qemu

2020-08-17 Thread Michael Nazzareno Trimarchi
Hi Gerd Have another small question. Do you know how force show cursor working in this case? Michael On Mon, Aug 17, 2020 at 9:28 AM Gerd Hoffmann wrote: > > Hi, > > > > > +static const uint8_t qemu_wacom_hid_report_descriptor[] = { > > > > + 0x05, 0x01, > > > > + 0x09, 0x02, > > > >

Re: [PATCH] hw: dev-wacom: Support wacom tablet emulation in linux qemu

2020-08-17 Thread Gerd Hoffmann
Hi, > > > +static const uint8_t qemu_wacom_hid_report_descriptor[] = { > > > + 0x05, 0x01, > > > + 0x09, 0x02, > > > > Where does this come from? Created from scratch? Copied from real > > No, there are dump of several descriptor on github. I will put in the > commit message A commen

Re: [PATCH] hw: dev-wacom: Support wacom tablet emulation in linux qemu

2020-08-16 Thread Michael Nazzareno Trimarchi
Hi Gerd On Mon, Aug 17, 2020 at 8:47 AM Gerd Hoffmann wrote: > > On Wed, Aug 12, 2020 at 05:21:49PM +0200, Michael Trimarchi wrote: > > Linux need to fill up the hid descriptor in order to let > > the driver be emulated. This patch was tested on top of > > qemu 4.2.0 and recent linux kernel. > >

Re: [PATCH] hw: dev-wacom: Support wacom tablet emulation in linux qemu

2020-08-16 Thread Gerd Hoffmann
On Wed, Aug 12, 2020 at 05:21:49PM +0200, Michael Trimarchi wrote: > Linux need to fill up the hid descriptor in order to let > the driver be emulated. This patch was tested on top of > qemu 4.2.0 and recent linux kernel. > > modprobe wacom.ko > evtest tool > > Signed-off-by: Michael Trimarchi >

[PATCH] hw: dev-wacom: Support wacom tablet emulation in linux qemu

2020-08-12 Thread Michael Trimarchi
Linux need to fill up the hid descriptor in order to let the driver be emulated. This patch was tested on top of qemu 4.2.0 and recent linux kernel. modprobe wacom.ko evtest tool Signed-off-by: Michael Trimarchi --- hw/usb/dev-wacom.c | 70 ++ 1 file