Sxmo/Pixel 3a: Difference between revisions
Fdelamotte (talk | contribs) |
Fdelamotte (talk | contribs) |
||
Line 37: | Line 37: | ||
Gnome snapshot works, but some things are not setup straightforward : | Gnome snapshot works, but some things are not setup straightforward : | ||
* You'll need to change permissions | * You'll need to change permissions for <code>/dev/udmabuf</code> (set it to 777 for now) | ||
* You'll need to start <code>pipewire</code> and <code>wireplumber</code> manually (the superd rule does not start them, need to know why ... and I still want pulse for audio) | * You'll need to start <code>pipewire</code> and <code>wireplumber</code> manually (the superd rule does not start them, need to know why ... and I still want pulse for audio) | ||
When snapshot works, other applications using the same stack (such as decode for qr-code) work too, even as flatpak. It should also be possible to use the camera in firefox. | |||
Megapixel has a configuration for pixel3a, but it does only take into account the front camera and the program closes when changing camera or taking photo. | Megapixel has a configuration for pixel3a, but it does only take into account the front camera and the program closes when changing camera or taking photo. |
Revision as of 18:26, 18 October 2024
SXMO works on Pixel 3A.
Sound
It seems to work better with pulse at the moment.
To force the use of pulse, select sxmo-utils-audio-pulseaudio
as extra package in pmbootstrap.
With Pipewire, I get the same kind of problems I had with the op6 (for some things you need to have the mixer opened (placing calls) but for others (recorder) it blocks if mixer is opened.
Placing Calls
That is what a phone is for (no ?).
Current UCM profiles do not work (callaudio won't swich), so you'll have to use the ones that are worked on at this address [1] and place it in /usr/share/alsa/ucm2/Google/sargo/
.
For the moment, there are issues with the internal mic (it works using gnome-calls) ... started to talk about it in the UCM MR ...
Sensors
Proximity, light and accelerometer all work using iio-sensor-proxy
. Once running it can be queried using monitor-sensor
.
You can to do the same as with Oneplus6. Here is the sxmo_proximitylock.sh
script I currently use [2].
If you don't want monitor-sensor
to be run as root, you can use this polkit rule (it should be placed in /etc/polkit-1/rules.d/
) :
polkit.addRule(function(action, subject) { if (action.id == "net.hadess.SensorProxy.claim-sensor" && subject.isInGroup("plugdev")) { return polkit.Result.YES; } });
Camera
Gnome snapshot works, but some things are not setup straightforward :
- You'll need to change permissions for
/dev/udmabuf
(set it to 777 for now) - You'll need to start
pipewire
andwireplumber
manually (the superd rule does not start them, need to know why ... and I still want pulse for audio)
When snapshot works, other applications using the same stack (such as decode for qr-code) work too, even as flatpak. It should also be possible to use the camera in firefox.
Megapixel has a configuration for pixel3a, but it does only take into account the front camera and the program closes when changing camera or taking photo.
Working around the notch
Just kiddin', there is no notch on this phone !!!
But if you're upset by the rounded corners, you can always add some gaps on the status bar :
bar { gaps 0 20 0 20 height 20 ...
Device profile
The deviceprofile for this device is in /usr/bin/sxmo_deviceprofile_google,b4s4-sdm670.sh
#!/bin/sh # SPDX-License-Identifier: AGPL-3.0-only # Copyright 2022 Sxmo Contributors export SXMO_VOLUME_BUTTON="1:1:gpio-keys 0:0:pm8941_resin" export SXMO_POWER_BUTTON="0:0:pm8941_pwrkey" export SXMO_SWAY_SCALE="3"
Issues
Most of them are minor, should be fixed quickly ;)
- GPS not working (not really optimistic about this one)
- Internal mic mute with sxmo dialer (works with gnome-calls)
- Headset headphones not working (but mic does)