<div dir="ltr"><div>Dear Sir,</div><div><br></div><div>I am testing both framebuffer(PL111) and PS/2 Mouse driver on QEMU for Realview-pbx-a9.</div><div><br></div><div>At this time, I completed to test RGB color output for framebuffer(PL111).</div><div>But, I was failed to test PS/2 mouse(PL050) driver.</div><div><br></div><div>When I test framebuffer, I used below command.</div><div>"qemu-system-arm -no-reboot -net none -M realview-pbx-a9 -m 256M -serial stdio -kernel o-optimize/framebuffer_example.exe</div><div><br></div><div>Also, when I test PS/2 mouse, I used below command.</div><div>"qemu-system-arm -no-reboot -net none -M realview-pbx-a9 -m 256M -show-cursor -chardev msmouse,id=mouse -serial stdio -kernel o-optimize/ps2_test.exe"</div><div><br></div><div>That is, I added QEMU option, "-show-cursor -chardev msmouse,id=mouse" for handling mouse data.</div><div><br></div><div>My testing code is below;</div><div><br></div><div>int fd = 0;</div><div>int main(int argc, char *argv[]) <br>{ <br> fd = open("/dev/psaux", O_RDWR);<br> int i, n, count=0;<br> char str[16];<br> <br> while (1)<br> {<br>     n = read(fd, str, 16);<br>  if ( n > 0) {<br>   printf("fd.rx_num=%d\n", n);<br>   for (i=0; i<n; i++)<br>    printf("%02x ", str[i]);<br>   putchar('\n');<br>  }<br></div><div>}</div><div><br></div><div>When I click screen of QEMU window, there is not interrupt handling for pl050_interrupt() function of arm-pl050.c</div><div><br></div><div>Please could you let me know how to detect mouse click event on QEMU window in this case ?</div><div><br></div><div>Best Regards,</div><div>Thomas Kim</div><div><br></div><div><br></div></div>