From: Tuomas Räsänen tuomas.rasanen@opinsys.fi
Not using hidraw backend for non-hidraw device is the expected behavior. Warning about such cases is not justified. --- dlls/winebus.sys/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/winebus.sys/main.c b/dlls/winebus.sys/main.c index dceba4747b8..b884162692f 100644 --- a/dlls/winebus.sys/main.c +++ b/dlls/winebus.sys/main.c @@ -618,9 +618,11 @@ static DWORD CALLBACK bus_main_thread(void *args) case BUS_EVENT_TYPE_DEVICE_CREATED: { const struct device_desc *desc = &event->device_created.desc; - if (!desc->is_hidraw != !is_hidraw_enabled(desc->vid, desc->pid)) + if (!desc->is_hidraw) + break; + if (!is_hidraw_enabled(desc->vid, desc->pid)) { - WARN("ignoring %shidraw device %04x:%04x\n", desc->is_hidraw ? "" : "non-", desc->vid, desc->pid); + WARN("ignoring hidraw device %04x:%04x\n", desc->vid, desc->pid); break; }