This is an automated email from the ASF dual-hosted git repository.

GUIDINGLI pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 469466f7908acd41c69367de8ecbf12e96dd90ae
Author: rongyichang <[email protected]>
AuthorDate: Wed Jun 10 20:37:14 2026 +0800

    drivers/virtio/virtio-input: name the tablet device in the dump
    
    virtio_input_dump() reports a virtio-tablet device as "unknown": the type
    lookup knows the keyboard, mouse and touch handlers but not the tablet
    one. Add it.
    
    Signed-off-by: rongyichang <[email protected]>
    Signed-off-by: Bowen Wang <[email protected]>
---
 drivers/virtio/virtio-input.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/virtio/virtio-input.c b/drivers/virtio/virtio-input.c
index 5926d1b5983..48280ca33e3 100644
--- a/drivers/virtio/virtio-input.c
+++ b/drivers/virtio/virtio-input.c
@@ -553,6 +553,10 @@ static void virtio_input_dump(FAR struct virtio_device 
*vdev)
     {
       type = "touch";
     }
+  else if (priv->eventhandler == virtio_input_send_tablet_event)
+    {
+      type = "tablet";
+    }
 
   syslog(LOG_EMERG, "    name=%s, type=%s, evtnum=%zu\n",
          priv->name, type, priv->evtnum);

Reply via email to