David Lechner

Results 1520 comments of David Lechner

Wait a minute. I thought you were saying that there was already a way to do this from `/sys`. I say, no, don't write a button class because it will...

By the way, proper use of the LCD screen requires ioctls as well.

The linux input framework is really meant to be event based, which is why there is only an ioctl for this. You can read `/dev/input/eventX`and it will tell you whenever...

You have a bit of conflict of interests here I think. To get something in `/sys`, you have to write a kernel driver. A system daemon is user space. But,...

Here's an idea. I was considering making a configfs sensor driver for userspace sensor drivers (I was mainly thinking of doing this for mindsensors.com BT sense android app). Basically you...

I still don't like the idea of doing something "specifically for the EV3 buttons". If we are going to put the effort into it, I think we should do something...

> libev3dev Do you mean [libevdev](http://www.freedesktop.org/wiki/Software/libevdev/) or [ev3devKit](https://github.com/ev3dev/ev3devKit)?

I still think using configfs is the way to do this (as in https://github.com/ev3dev/ev3dev-lang/issues/121#issuecomment-157945285). You setup the virtual sensor using configfs then in `/sys/class/lego-sensor/...`, the `bin_data`attribute will be writable. So,...

OK, so how about I work on the configfs stuff and you handle the userspace program.