View previous topic :: View next topic |
Author |
Message |
Unb0rn n00b
Joined: 12 Jun 2012 Posts: 63
|
Posted: Wed Nov 23, 2016 10:10 am Post subject: iio-proxy for sensors |
|
|
Does gentoo have something like iio-sensor-proxy to use sensors(like ambient light) in gnome?
Is there any other way than compile it from github? |
|
Back to top |
|
|
poncho Tux's lil' helper
Joined: 06 Mar 2011 Posts: 92
|
|
Back to top |
|
|
Unb0rn n00b
Joined: 12 Jun 2012 Posts: 63
|
Posted: Sat Nov 26, 2016 3:21 pm Post subject: |
|
|
Great! Thanks! It installed fine, I can start it, but it has no effect. Should I use any patches? Running Gnome 3.20.2 on Wayland... |
|
Back to top |
|
|
poncho Tux's lil' helper
Joined: 06 Mar 2011 Posts: 92
|
Posted: Sat Nov 26, 2016 5:00 pm Post subject: |
|
|
See https://github.com/hadess/iio-sensor-proxy/blob/master/README.md#usage for usage information. You need to enable the appropriate sensors in your kernel.
You can start the sensor-proxy with Code: | systemctl start iio-sensor-proxy.service | and enable it with Code: | systemctl enable iio-sensor-proxy.service |
|
|
Back to top |
|
|
Unb0rn n00b
Joined: 12 Jun 2012 Posts: 63
|
Posted: Sun Nov 27, 2016 1:03 pm Post subject: |
|
|
I have enabled iio sensors in kernel, they're detected correctly, according to hwinfo and are listed in /dev as iio:device0, and so forth.
As I said before, I can start the service with systemctl start, but I'm unable to "enable" it. Such command would fail with "This unit files have no installation config..." message.
Running this service changes nothing-Gnome behaves exactly as before service start... |
|
Back to top |
|
|
Unb0rn n00b
Joined: 12 Jun 2012 Posts: 63
|
Posted: Mon Nov 28, 2016 7:43 am Post subject: |
|
|
Upd. After updating virtual udev and init scripts, while trying to solve my other problem, I noticed, sensors are working now! Thanks!
The only problem is screen rotation in gnome on wayland. There is an icon to disable screen rotation and it responds to ALS, but rotation itself doesn't work on Wayland for me... |
|
Back to top |
|
|
poncho Tux's lil' helper
Joined: 06 Mar 2011 Posts: 92
|
Posted: Sat Dec 03, 2016 11:32 am Post subject: |
|
|
Unb0rn wrote: | Upd. After updating virtual udev and init scripts, while trying to solve my other problem, I noticed, sensors are working now! Thanks!
The only problem is screen rotation in gnome on wayland. There is an icon to disable screen rotation and it responds to ALS, but rotation itself doesn't work on Wayland for me... |
I've only used screen rotation with x11. I'm not able to help with wayland related issues, sorry. |
|
Back to top |
|
|
Unb0rn n00b
Joined: 12 Jun 2012 Posts: 63
|
Posted: Sun Dec 18, 2016 2:07 pm Post subject: |
|
|
2.0 version is out. Any plans for an update? =) |
|
Back to top |
|
|
poncho Tux's lil' helper
Joined: 06 Mar 2011 Posts: 92
|
Posted: Sun Dec 18, 2016 8:10 pm Post subject: |
|
|
Unb0rn wrote: | 2.0 version is out. Any plans for an update? =) |
done |
|
Back to top |
|
|
|