[Bug 53387] New: Vernier USB sensors are not usable in WINE

WineHQ Bugzilla wine-bugs at winehq.org
Wed Jul 20 06:37:02 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=53387

            Bug ID: 53387
           Summary: Vernier USB sensors are not usable in WINE
           Product: Wine
           Version: 7.13
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
          Assignee: wine-bugs at winehq.org
          Reporter: tuomas.nurmi at opinsys.fi
      Distribution: ---

Created attachment 72775
  --> https://bugs.winehq.org/attachment.cgi?id=72775
Logs from various situations described in the bug report

Vernier USB student laboratory sensors (
https://www.vernier.com/products/go-direct/ ) are not usable with WINE. Tested
on Debian 11 Bullseye (equivalent), kernel 5.10, wine 7.13 from
https://wiki.winehq.org/Debian . (Earlier tests with previous wine versions
have also been negatives, however, they haven't been as comprehensive and
well-documented as this)

Tested with an earlier sensor model, a Go! Temp ver 1.53 and a later Go Direct
Sensor (idVendor 08f7, idProducts 0002 and 0010, respectively). They show up in
Linux syslog as shown in attachment section 1.

Udev rules for the devices are in place, as described by (the somewhat
outdated) https://wiki.winehq.org/Hid and Vernier's native library guidelines
at https://github.com/VernierST/godirect-examples/tree/main/python , as
follows:

KERNEL=="hidraw*", SUBSYSTEM=="hidraw", GROUP="plugdev", MODE="0666"
KERNEL=="hiddev*", MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="08f7", MODE="0666"
SUBSYSTEM=="usb_device", ATTRS{idVendor}=="08f7", MODE="0666"

resulting into following permissions with plugged devices
crw-rw-rw- 1 root plugdev 242, 0 20. 7. 13:36 /dev/hidraw0
crw-rw-rw- 1 root root 180, 0 20. 7. 13:36 /dev/usb/hiddev0

Resulting in functioning sensors with the native library example software from
Vernier (attachment section 2), as well as with an earlier discontinued Linux
version of LoggerPro, and the Vernier Graphical Analysis Chrome app (
https://chrome.google.com/webstore/detail/vernier-graphical-analysi/dncgedbnidfkppmdgfgidcepclnokpkb
)


The sensors were tested also Windows 10, and were visible/detected by both the
Microsoft hid example application hclient.exe and Vernier LoggerPro3.

However, the devices are not recognized by LoggerPro3 nor hclient.exe run
through wine-7.13. Logs with WINEDEBUG=+hid,+wineusb,+plugplay of these are
shown in attachment sections 3, 4, and 5.


Not a specialist in any of the related fields, but the logs show seemingly
correctly recognized plugging of the device,
00cc:trace:wineusb:add_usb_device Adding new device 0x7f9330001f80, vendor
08f7, product 0010.
00d0:trace:wineusb:add_unix_device Adding new device 00007F934C016ED0, vendor
08f7, product 0010.
...
00c8:trace:plugplay:enumerate_new_device Creating new device
L"USB\\VID_08F7&PID_0010\\0".

but the device is not recognized by LoggerPro, nor listed by hclient.exe.

(I don't know if the plugplay:install_device_driver error following in the logs
is related)

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list