mma8425 driver: scan_elements name error in_accel_(null)_mag_falling_en

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Kernel version: 4.1.15
Part: mma8652

The sysfs node for what I think should be in_accel_x&y&z_mag_falling_en is output incorrectly and displayed as in_accel_(null)_mag_falling_en. Any suggestions on a fix for this?

Also, in an unrelated question for a novice with the iio subsystem. I've verified that I can read x/y/z raw values, setup thresholds, and interrupts are generated. What's the proper way for userspace to poll for these interrupts? I can't seem to find documentation on the sysfs node to poll. There is no character device node /dev/iio:deviceX which I've seen documentation on.

One last question that someone may be able to answer (activity on this driver dates back to a year?). A commit removed "TODO: autosleep" and opted for runtime pm, but this runtime PM will disable interrupts that can be generated by the accelerometer that the system can use to wake from a suspended state. The datasheet for the mma8652 clearly specifies that the accelerometer sleep state is intended to be used to wake up a suspended system. Was this not considered when opting for runtime pm of the accelerometer?

Thanks for any and all help!

Brandon
________________________________
________________________________


Please be advised that this email may contain confidential information. If you are not the intended recipient, please notify us by email by replying to the sender and delete this message. The sender disclaims that the content of this email constitutes an offer to enter into, or the acceptance of, any agreement; provided that the foregoing does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment.
--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux