ToBeReplaced

Results 19 comments of ToBeReplaced

Depending on your needs, for a temporary workaround, you can do the following, which type checks with `--strict`. ```python import abc import dataclasses class AbstractClass(abc.ABC): """An abstract class.""" @abc.abstractmethod def...

Confirming I see the same issue. Moreover, if you bump core.cache to 0.6.4, you get back to the `Could not resolve var` issue for `>!` and `

If I drop `.irq_type`, then perform the above, I get an `edge` file set to `none`. Even if I set the `edge` to `rising`, no `POLLPRI` events are generated. I...

First, thank you so much for the work you already put in to the driver, and thanks for taking the time to help me out. I checked out 452fdc50d359f836c9a281b8f1e2cbf0674ae55a (HEAD)...

I was looking at https://github.com/raspberrypi/linux/blob/rpi-4.1.y/arch/arm/mach-bcm2708/bcm2708_gpio.c for inspiration, but a literal translation proved too challenging for me. In particular, I wasn't sure how to translate macros like `GPIOREN`, whether we really...

I clearly don't understand irq or really anything that happens in kernel space ;). My goal would be to have gpio interrupts exposed in userspace via setting POLLPRI in the...

Quick guess... `python --version` is `Python 3.x.x` not `Python 2.x.x`? If so, try: ``` python -c 'import select; p = select.poll(); f = open("/sys/class/gpio/unused255/value"); p.register(f, select.POLLPRI | select.POLLERR); print(p.poll(5000)); print(f.read().rstrip());...

I pulled down master and had to omit some code due to being on an older kernel (3.10). Unfortunately, `mask` didn't show up in `irq_data` until 3.11. ``` diff --git...

I'm using the following on CentOS 7.2, because I like having deterministic spidev numbers, and because I needed to use `$kernel` instead of `$id` from above. It sets the bus...