Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error 11 : write could not complete without blocking #207

Open
mangemayur opened this issue Jan 9, 2024 · 0 comments
Open

Error 11 : write could not complete without blocking #207

mangemayur opened this issue Jan 9, 2024 · 0 comments

Comments

@mangemayur
Copy link

mangemayur commented Jan 9, 2024

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))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant