Skip to content

samsung-p4wifi: Load wifi modules, add audio output, remove touch screen calibration

postmarketOS Bot requested to merge Decatf:device-p4wifi into master

Created by: Decatf

In this set of changes:

  • Load WIFI module at boot. After setting up a WIFI access point it should just work (tm).
  • Add ALSA UCM configs. There is only headphone and speaker working on the mainline driver. I haven't been able to reverse the ALSA mixer configuration for microphones from the original Samsung driver. I used the xml2ucm tool to generate these UCM files. I'm mostly certain this method should get basic audio working for other devices too. That's even with the stock kernel drivers since Android uses ALSA.
  • The jack detection is a really simple udev rule which will trigger on (un)plug and nothing more. It would probably require something at a higher level to differentiate headphone + mic or no mic .
  • Lastly the touchscreen calibration is removed because it's not needed to in the first place.

Merge request reports