OpenTabletDriver / opentabletdriver.github.io

The next version of OpenTabletDriver.Web
http://opentabletdriver.net/
GNU Affero General Public License v3.0
1 stars 5 forks source link

[Linux] document that {Input,Output,Feature}ReportLength == -1 equals missing udev rules #117

Open gonX opened 1 year ago

gonX commented 1 year ago

can look like this:

      "DevicePath": "/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.1/0003:056A:00DB.0007/hidraw/hidraw6",
      "Manufacturer": "Wacom Co.,Ltd.",
      "ProductName": "CTH-661",
      "SerialNumber": "",
      "FriendlyName": "CTH-661",
      "VendorID": 1386,
      "ProductID": 219,
      "InputReportLength": -1,
      "OutputReportLength": -1,
      "FeatureReportLength": -1,
      "CanOpen": true

CanOpen is a misnomer seemingly

jamesbt365 commented 1 year ago

-1 means no permission, this could mean that other applications running as root or kernel drivers can cause this.

From my knowledge CanOpen is also if the hid device can be opened, it doesn't have anything to do with the permissions.