Ubuntu 18.04.1
Löysin Winen sivuilta seuraavaa:
https://appdb.winehq.org/objectManager.php?sClass=version&iId=37035 1. First plug in your watch
2. Open a terminal window
3. Type " sudo lsusb" to show the usb devices
4. You See a "Polar Electro Oy Loop" device
5. Write "dmesg | grep -i usb"
6. Seach for Polar you see also the serial no of the product later also something like " hid-generic 0003:0E24:0035.0003: hiddev0,hidraw0: USB HID v1.11 Device [Polar Electro Oy Polar M400] on usb-0000:00:14.0-2/input0"
7. That is good :-)
8. We have to create a rule to allow us to rw the hidraw0 device. If you type "ls -l /dev/" you see hidraw0 is grand to root only
9. Go to "/etc/udev/rules.d" create a new file with the editor "sudo nano hid.rules"
10. Add > KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="dialout" < i use the "dialout" for a test.
11. Save the file
12. We have to reload the rules by typing "sudo udevadm control --reload-rules"
13. To check type "ls -l /dev/" you see dialout as Group by hidraw0
14. We go to the wine cmd by typing "wine cmd"
15. You see the Version of wine Microsoft Windows 6.1.7601 (3.0) (I select in Q4wine windows 7)
16. We start the wine hid bus "net start winebus" see also WineHQ HID
17. We change to the Polar Syc directory and start the flowsync.exe
18. Normal the flow app start and after some seconds you see your watch for sync.
19. You know it from windows the browser will open and you have to login. i disconect my watch and conect it again to sync in my flow account.
20. Maybe you have to restart the Flow app if you reconnect your watch.
Muuten tuntuu selvältä, mutta tuo hidraw on minulla kuten alla eli hidraw2. En tiedä mistä tuo Mode 0664 on peräisin. Joka tapauksessa ei se kuitenkaan toimi, mutta
täytyy yrittää.
[ 403.772551] usb 1-6: USB disconnect, device number 8
[ 2286.294521] usb 1-6: new full-speed USB device number 9 using xhci_hcd
[ 2286.444514] usb 1-6: New USB device found, idVendor=0da4, idProduct=0008
[ 2286.444524] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2286.444530] usb 1-6: Product: Polar V800
[ 2286.444536] usb 1-6: Manufacturer: Polar Electro Oy
[ 2286.444542] usb 1-6: SerialNumber: 9E6E0A16
[ 2286.448438] hid-generic 0003:0DA4:0008.0005: hiddev1,hidraw2: USB HID v1.11 Device [Polar Electro Oy Polar V800] on usb-0000:00:14.0-6/input0