-
Notifications
You must be signed in to change notification settings - Fork 427
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
Linux accelerometer facade #68
Conversation
Thanks for the clean up! |
@Davideddu Sure! Np. I am waiting for some one to review this and merge. |
I'm glad they added the new features. If I have enough time I'll work on it again and add the SMS feature on Linux through ModemManager/NetworkManager (I made some cool python/bash scripts to mess with USB modems last year, I still have to push them though :/ ) |
I just need to see how both the facades work, their API and the expected behavior on the already supported platforms. |
It seems that FreeDesktop totally revolutioned ModemManager's DBus API, and I cannot understand how to port the existing scripts created by Novell for the previous API... EDIT: @trivedigaurav actually with D-Feet and an old Nokia phone (in which I miraculously managed to insert my MicroSIM) I kind of managed to explore the new DBus interface... I want to test it a little bit and port the old utilities to ModemManager1, then create the new Linux facade. |
Why is this not getting merged? @tito |
Linux accelerometer facade
@Davideddu I think I will go ahead and merge this since there seems to be no comments on this. Thanks for the reminder. |
Now Linux looks as good as OSX :D |
That's nice! This thread also talks about your ModemManager feature. You might want to open a separate issue for that so that we don't forget about it. |
Yeah I want to work on it, but the new modem manager implementation is either not up to date or it doesn't sent texts through my old Nokia phone. I asked the CyanogenMod maintainer for my phone to enable USB modem in the kernel but he hasn't answered yet. |
Today I found this interesting code: https://github.com/willcast/hp-touchpad-ubuntu/blob/master/rotationd.c I think I will implement it soon, as I think most of the accelerometers work this way to minimize power consumption. |
This should be re-written using the SensorProxy API: https://developer.gnome.org/iio-sensor-proxy/stable/gdbus-net.hadess.SensorProxy.html |
@depau if the current implementation returns the correct results and is only marked as deprecated (or only as old or something), feel free to add a new implementation, but leave the current one in place as a fallback or add the reasoning for using dbus, please. I got 503 from that website. :/ Edit: From what I see this approach uses kernel's sysclass, so this is the most desired approach in my opinion since the only software problem (excluding python + our implementation) is perhaps an issue with the kernel alone + it does not depend on 3rd party stuff. |
Cleaned up version of @Davideddu's pull request: #51