Bug 24877 - integrate iio-sensor to RPM on GNOME Wayland
Summary: integrate iio-sensor to RPM on GNOME Wayland
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal enhancement
Target Milestone: ---
Assignee: GNOME maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-28 21:39 CEST by Guillaume Royer
Modified: 2020-11-06 15:13 CET (History)
2 users (show)

See Also:
Source RPM: iio-sensor-proxy
CVE:
Status comment:


Attachments

Description Guillaume Royer 2019-05-28 21:39:27 CEST
With a GNOME 3.18 (or newer) based system, orientation changes will automatically be applied when rotating the panel, ambient light will be used to change the screen brightness, and Geoclue will be able to read the compass data to show the direction in Maps.
Guillaume Royer 2019-05-28 21:40:56 CEST

Version: Cauldron => 7

Lewis Smith 2019-05-29 10:16:00 CEST

CC: (none) => lewyssmith
Assignee: bugsquad => gnome
Severity: normal => enhancement

Comment 1 Olav Vitters 2020-04-10 21:13:11 CEST
I noticed:
1. some packaging issues (geoclue ran as root, iio-sensor-proxy assumed it ran as geoclue user)
2. iio-sensor-proxy needs to depend on geoclue (to ensure geoclue user exists; else dbus service doesn't want to start)
3. Mageia needs to somehow install iio-sensor-proxy when the hardware is available

I fixed problem 1 and 2. For problem 3 I asked on Mageia dev mailing list. Though as workaround you should be able to just install iio-sensor-proxy I think.

CC: (none) => olav
Source RPM: iio-senso-proxy => iio-sensor-proxy

Comment 2 Lewis Smith 2020-04-11 20:35:59 CEST
Thank you Olav for your intervention. It is all meaningless to me!

CC: lewyssmith => (none)

Comment 3 Olav Vitters 2020-04-11 22:55:02 CEST
Do you run the development version of Mageia, called Cauldron? Can you check if iio-sensor-proxy is installed on either Cauldron or Mageia 7?

After installation, please try rotating whatever you wanted to rotate, then tell me if it worked and maybe attach the output of the following command:
  journalctl -n 500
e.g. sudo journalctl -n 500 > /tmp/journalctl.log

Please remove anything privacy sensitive.
Comment 4 Olav Vitters 2020-04-12 14:53:55 CEST
Per discussion on dev mailing list I've added within gnome-shell a Recommends: for the iio-sensor-proxy package. I'm double checking if more needs to be done or not. There was also something about kernel modules.

https://ml.mageia.org/l/arc/dev/2020-04/msg00207.html
Comment 5 Christian Lohmaier 2020-04-15 17:41:02 CEST
> 2. iio-sensor-proxy needs to depend on geoclue (to ensure geoclue user exists; > else dbus service doesn't want to start)

that certainly is not the case on my mga7 install. iio-sensor-proxy works just fine without having geoclue installed/without having geoclue user.

Please don't make this a hard dependency. I'd be very surprised that it really is about missing system user that would prevent the service from starting.

CC: (none) => lohmaier+mageia

Comment 6 Olav Vitters 2020-04-20 14:43:37 CEST
Ah, it didn't start on my system and that message was the only thing I saw in the systemd journal. Just to confirm, the functionality of iio-sensor-proxy works fine for you? Feel free to make changes to this package btw, unfortunately I cannot get it to actually start.
Comment 7 Olav Vitters 2020-04-20 14:49:14 CEST
So to be clear: please remove geoclue and see if it still starts. If it does, either remove the recommends (changed it just now from a require) or tell me here.
Comment 8 Guillaume Royer 2020-08-26 21:24:18 CEST
I don’t use Gnome anymore.
It’s too heavy for my computer.
I installed LxQt instead.
Do we have to close this report?
Comment 9 Olav Vitters 2020-08-27 12:21:43 CEST
We can close it, I cannot test if my changes worked. I'll mark it as OLD

Resolution: (none) => OLD
Status: NEW => RESOLVED

Comment 10 Christian Lohmaier 2020-08-31 11:56:24 CEST
well I though I already stated that it is not needed, that it works in mga7 without the geoclue package and without having the geoclue user on the system.
Christian Lohmaier 2020-11-06 15:13:08 CET

See Also: (none) => https://bugs.mageia.org/show_bug.cgi?id=27573


Note You need to log in before you can comment on or make changes to this bug.