-
Notifications
You must be signed in to change notification settings - Fork 30
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
stuck in "Polling data" until I manually cat "in_..._raw" #26
Comments
I'm using the same laptop and trying to get sensor data. |
There appears that the sensors get into particular states that are not always handled well by the IIO subsystem. I had these problems in kernels 3.13 and 3.14, but have not had any problems since 3.15. Without access to the actual hardware, it is very hard to determine just what is going wrong. |
Any idea in which direction to look? We are glad about every hint or link we can get. Maybe some resources which helped you while developing your code? |
It's likely to be some part of the drivers for the hardware. The most likely culprit, I think, is that the particular hardware may need to be added to the list of hardware that uses the wrong origin for offsets. To check this you need to find out what your sensor chip is, using You will be looking for a USB device that is an HID Sensor. Here is what show up on at Yoga 2 Pro - the vendor and product numbers are what are needed. Bus 002 Device 003: ID 2047:0855 Texas Instruments Invensense Embedded MotionApp HID Sensor |
When I run your program (or I even tried to build my own minimalistic program which behaves the same way", then it is stuck in the poll() command. It get's out of it when I manually cat in the sysfs the raw data file in_..._raw. Afterwards the sensor outputs the correct sensor data etc.
It is not a permissions problem (I checked that).
Do you have an idea what else could have caused the problem?
I am using Lenovo ThinkPad Twist S230u with Ubuntu 14.10 (Kernel 3.16).
The text was updated successfully, but these errors were encountered: