Skip to content

Error 11 : write could not complete without blocking #207

Open

Description

@mangemayur

I am using evedev for Raspberry Pi Zero : Bluetooth HID Proxy - primarily based on https://github.com/Hacksore/bt-hid-proxy

everything works fine when i am in windows - or even when i switch the OS things works smooth

but when i am in bios / UEFI setting -> to make any bios changes - basically either to switch boot options or providing boot locker key to boot -> i run into error

Error 11 : write could not complete without blocking -> the error is in the write method

can some one please help me to fix it or any work around

def send_keys(packet):
    with open(hid_path, "wb+") as hid_handle:
        assert len(packet) == 8
        hid_handle.write(bytearray(packet))

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions