Skip to content

(Mac) Driver Having Issues with detecting tablet (G640) #4535

@kneshio

Description

@kneshio

I am on an M2 Ultra Mac Studio, and I constantly have issues with the tablet driver disconnecting and failing to detect my tablet. The first connection is usually okay, and I can play normally for a few minutes. However, the instant the tablet gets slightly disconnected, I will immediately be met with the Failed to open USB device: 0xE00002C5 error. The tablet will still work, but it will be locked to full area (the tablet is plugged in properly but the driver cannot detect it).

I heard from a different post that a different driver is connecting to my tablet. However, I have no other tablet drivers installed. I do, however, have osu!lazer, which does have its own tablet driver. However, I have that permanently closed during my osu runs.

I've scrolled through multiple issues, such as #2497 and #2639, so it might as well be a duplicate issue for these two. However, I am so fed up with the tablet driver randomly disconnecting during my runs that I want a clear answer on what is going on.

I'm not sure if this is fixable on OpenTabletDriver's end, but I will appreciate any troubleshooting steps that can help me get through this problem.

Things I have tried:

Things I have not tried yet:

  • Uninstalling osu!lazer
  • Checking for sure that no other tablet drivers are left
    • Except I never really installed any other than lazer
Here are my Console logs

[Detect:Info] No tablets were detected.
[Settings:Info] Presets have been refreshed. Loaded 0 presets.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[Detect:Info] Found tablet 'XP-Pen Star G640'
[XP-Pen Star G640:Info] Output mode: Absolute Mode
[XP-Pen Star G640:Info] Display area: [2048x1152@<1024, 576>:0°],
[XP-Pen Star G640:Info] Tablet area: [51x28.6875@<25.5, 27.02291>:0°],
[XP-Pen Star G640:Info] Clipping: Enabled
[XP-Pen Star G640:Info] Ignoring reports outside area: Disabled
[XP-Pen Star G640:Info] Pressure: Enabled
[XP-Pen Star G640:Info] Tilt: Enabled
[XP-Pen Star G640:Info] Tip Binding: [Mouse Button Binding: Left]@0%
[Settings:Info] Driver is enabled.
[Device:Info] Device disconnected.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[Detect:Info] Found tablet 'XP-Pen Star G640'
[XP-Pen Star G640:Info] Output mode: Absolute Mode
[XP-Pen Star G640:Info] Display area: [2048x1152@<1024, 576>:0°],
[XP-Pen Star G640:Info] Tablet area: [51x28.6875@<25.5, 27.02291>:0°],
[XP-Pen Star G640:Info] Clipping: Enabled
[XP-Pen Star G640:Info] Ignoring reports outside area: Disabled
[XP-Pen Star G640:Info] Pressure: Enabled
[XP-Pen Star G640:Info] Tilt: Enabled
[XP-Pen Star G640:Info] Tip Binding: [Mouse Button Binding: Left]@0%
[Settings:Info] Driver is enabled.
[Device:Info] Device disconnected.
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[Detect:Info] Searching for tablets...
[Detect:Info] No tablets were detected.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.
[RootHub:Info] Debounced HidSharpDeviceRootHub's DevicesChanged event
[Detect:Info] Searching for tablets...
[DeviceIOException:Warning] Failed to open USB device: 0xE00002C5
at HidSharp.Platform.MacOS.MacHidDevice.GetDeviceString(Int32 index)
at OpenTabletDriver.Devices.HidSharpBackend.HidSharpEndpoint.GetDeviceString(Byte index) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/HidSharpBackend/HidSharpEndpoint.cs:line 38
at OpenTabletDriver.InputDevice.Initialize() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 68
at OpenTabletDriver.Devices.DeviceReader1.Start() in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Devices/DeviceReader.cs:line 96 at OpenTabletDriver.InputDevice..ctor(IDriver driver, IDeviceEndpoint device, TabletConfiguration configuration, DeviceIdentifier identifier) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/InputDevice.cs:line 36 at OpenTabletDriver.Driver.MatchDevice(TabletConfiguration config, IList1 identifiers) in /home/runner/work/OpenTabletDriver/OpenTabletDriver/OpenTabletDriver/Driver.cs:line 152
[Detect:Info] No tablets were detected.

Appreciate any help. Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageThis issue or PR has not been properly labeled yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions