Skip to content

Error 11 : write could not complete without blocking #207

@mangemayur

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))

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