Skip to content

Document EBADF on string dumps #330

Description

@gonX

EBADF happens on Linux when trying to open a file descriptor (like a USB device) that can't be opened and running ioctl's on it:

Image

Relevant code:
https://github.com/InfinityGhost/HIDSharpCore/blob/944a386ea6d51480ccd7dde7bb78e78768da8e1d/HidSharp/Platform/Linux/LinuxHidDevice.cs#L185-L195

Could probably also be fixed inside of OpenTabletDriver GUI by not trying to send string requests to knowingly unavailable devices?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions