On 23/03/15 09:21, Linus Walleij wrote: > On Sat, Mar 21, 2015 at 12:52 PM, Jonathan Cameron <jic23@xxxxxxxxxx> wrote: > >> We aren't going to move forward without doing something. >> Hence applied to the togreg branch of iio.git. > > Thanks! > >> Lets see >> whether anyone cares enough to add the stuff the other driver supports >> and this one doesn't. > > The one really interesting feature I saw was the free-fall detection. > I think it'd be nice if we had the ability to register for listening > to such events from the IIO accelerometer subsystem, but I'm > scared to even try to test it, god knows how many boards I'd > break before I had this properly supported... I used to have a couple of accelerometers on the end of really long cables for this sort of thing ;) Mind you we regularly put whole boards through accelerations well past the limits of most of these devices. Never broke one yet - though did break a lot of battery cables.. You raise a good point though. We really need a generic framework for handling freefall events. Various sources exist not all in IIO (and not all should be) but a slim lined interface /dev/freefall was discussed to allow a really fast response would probably make sense - afterall the point is usual to park mechanical parts before the device hits the ground. On second thoughts how many of the devices we care about actually have spinning disks anymore? Maybe we are 10 years too late on this one ;) > > Yours, > Linus Walleij > -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html