xiaomi-santoni: Added support for osk-sdl and improvements
Merge request reports
Activity
Full Disk Encryption barely working on this device. After unlocking, it goes on black screen forever, this is what shown in dmesg:
[ 22.148732] device-mapper: table: 252:1: linear: dm-linear: Device lookup famled Y 22.148767]$device-mapper: ioctl: error adding target to table [ 22.15▒202] device-mapper: table: 252:1▒ linear: dm-linear: Device lookup failed [ 22.558237] device-mapper: ioctl: error adding target to table
pmOS is installed in a SD Card.
By Danct12 on 2019-04-28T17:43:56
- Resolved by Administrator
The patch looks good as is, and it is already an improvement. If you want, we can merge it already, and you can fix it up further from there on.
Regarding the colors, you would probably need another format than rgba (maybe you can also play with the settings in the kernel and change the mode there?).
Regarding the dm-crypt error: that is a weird one. I found this random patch, which suggests that maybe your kernel might be reporting a "device lookup failed" error instead of a "device busy" error, which it should display instead. Maybe this is helpful - you could check in your kernel's source if that is the case. And regarding debuggging: try to open it manually: https://wiki.postmarketos.org/wiki/Osk-sdl#Unlocking_via_telnet
As always, thanks for your great work @danct12
By Oliver Smith on 2019-04-29T12:27:46
Edited by Ghost User
added 5 commits
-
f554c858...4e9d08d3 - 2 commits from branch
postmarketOS:master
- 531a9f7f - device-xiaomi-santoni: Added support for osk-sdl
- ba08691e - linux-xiaomi-santoni: rebased the latest commit from bitrvmpd and patched...
- f86f59b8 - linux-xiaomi-santoni: libudev support
By Danct12 on 2019-04-30T19:50:30
Toggle commit list-
f554c858...4e9d08d3 - 2 commits from branch
@danct12 it's not implemented yet, see https://gitlab.com/postmarketOS/charging-sdl/issues/18
By Daniele Debernardi on 2019-05-01T17:19:48
added 1 commit
- 3d991cc0 - device-xiaomi-santoni: Added udev rules and scripts for charging led
By Danct12 on 2019-05-01T17:39:45
added 1 commit
- 540c18a8 - device-xiaomi-santoni: Added udev rules and scripts for charging led
By Danct12 on 2019-05-01T18:21:14
- Resolved by Administrator
@ollieparanoid Should we ignore the p2p0 interface (used for Wi-Fi Direct)? Some people doesn't know and attempted to connect to access point through that interface, which doesn't work.
By Danct12 on 2019-05-02T21:52:09
Edited by Ghost User
- Resolved by Administrator
I've seen you pushing my patch, awesome. Anyway, I'm currently looking into jack detection:
- When headphones are plugged, /sys/devices/virtual/switch/h2w/state changes to 1 and 3, or sometimes 4.
- When nothing is plugged, it changes to 0.
I'll push a patch to @danct12 when I figured out how the jack detection works.
By Asriel Dreemurr on 2019-05-01T20:00:35
added 1 commit
- a56b1121 - device-xiaomi-santoni: Added udev rule for jack detection.
By Danct12 on 2019-05-02T02:12:52
added 1 commit
- 496f2789 - device-xiaomi-santoni: Added udev rule for jack detection.
By Danct12 on 2019-05-02T04:00:31
added 1 commit
- ec64c2b2 - device-xiaomi-santoni: Added (hacky) udev rule for jack detection.
By Asriel Dreemurr on 2019-05-02T16:26:12
added 1 commit
- 195114e4 - xiaomi-santoni: Added pulseaudio files and silenced substream kernel messages
By Danct12 on 2019-05-02T19:39:17
This should be alright to be merged now, I'll try to think how to get PulseAudio runs as user on startup in the future.
Changes that I've did with the latest commit:
- Make all applications to use pulseaudio by default, if pulseaudio doesn't exist (not started) then it'll use the sysdefault fallback.
- Disabled tsched due to audio being choppy and glitching (had something to do with the CPU or qcom's DSP)
- Commented kernel spam due to substream runtime not found:
[ 3753.419598] msm_pcm_volume_ctl_get substream runtime not found
By Danct12 on 2019-05-02T19:48:14
Edited by Administrator