Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
iio-proxy for sensors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Unb0rn
n00b
n00b


Joined: 12 Jun 2012
Posts: 63

PostPosted: Wed Nov 23, 2016 10:10 am    Post subject: iio-proxy for sensors Reply with quote

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
View user's profile Send private message
poncho
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2011
Posts: 88

PostPosted: Thu Nov 24, 2016 2:13 pm    Post subject: Reply with quote

I've once wrote an ebuild. You can get it from https://bugs.gentoo.org/show_bug.cgi?id=565904
Back to top
View user's profile Send private message
Unb0rn
n00b
n00b


Joined: 12 Jun 2012
Posts: 63

PostPosted: Sat Nov 26, 2016 3:21 pm    Post subject: Reply with quote

poncho wrote:
I've once wrote an ebuild. You can get it from https://bugs.gentoo.org/show_bug.cgi?id=565904

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
View user's profile Send private message
poncho
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2011
Posts: 88

PostPosted: Sat Nov 26, 2016 5:00 pm    Post subject: Reply with quote

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
View user's profile Send private message
Unb0rn
n00b
n00b


Joined: 12 Jun 2012
Posts: 63

PostPosted: Sun Nov 27, 2016 1:03 pm    Post subject: Reply with quote

poncho wrote:
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

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
View user's profile Send private message
Unb0rn
n00b
n00b


Joined: 12 Jun 2012
Posts: 63

PostPosted: Mon Nov 28, 2016 7:43 am    Post subject: Reply with quote

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
View user's profile Send private message
poncho
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2011
Posts: 88

PostPosted: Sat Dec 03, 2016 11:32 am    Post subject: Reply with quote

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
View user's profile Send private message
Unb0rn
n00b
n00b


Joined: 12 Jun 2012
Posts: 63

PostPosted: Sun Dec 18, 2016 2:07 pm    Post subject: Reply with quote

poncho wrote:
I've once wrote an ebuild. You can get it from https://bugs.gentoo.org/show_bug.cgi?id=565904


2.0 version is out. Any plans for an update? =)
Back to top
View user's profile Send private message
poncho
Tux's lil' helper
Tux's lil' helper


Joined: 06 Mar 2011
Posts: 88

PostPosted: Sun Dec 18, 2016 8:10 pm    Post subject: Reply with quote

Unb0rn wrote:
2.0 version is out. Any plans for an update? =)


done :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum