~mil/framebufferphone-devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH v2] f_audio: update device specific logic

Details
Message ID
<CO3P220MB0784E5509999F84FBE57D995D9209@CO3P220MB0784.NAMP220.PROD.OUTLOOK.COM>
DKIM signature
missing
Download raw message
Patch: +5 -1
From: Bobby Hamblin <hamblingreen@hotmail.com>

accidentally removed line 60 from script in v1
---
 scripts/f_audio | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scripts/f_audio b/scripts/f_audio
index 26d4e31..12afc0e 100755
--- a/scripts/f_audio
+++ b/scripts/f_audio
@@ -49,7 +49,11 @@ devicepine64pinephone() {
main() {
  local RUN OPTS
  env | grep -q "^$(basename "$0" | tr '[a-z]' '[A-Z]')=" || eval "$VAR"
  eval "$(grep deviceinfo_codename /etc/deviceinfo | cut -d= -f2 | tr -d \"- | xargs -ID echo deviceD)"
eval "$(
  grep -E 'deviceinfo_codename|PRETTY_HOSTNAME' /etc/deviceinfo /etc/machine-info | 
  cut -d= -f2 | tr '[:upper:]' '[:lower:]' | tr -d ' \"-' |
  xargs -ID echo deviceD
)"
  OPTS="speaker headphone earpiece volup voldown"
  [ -p /tmp/fbp.fifo ] && { echo -e "\b\f\r"; echo "$OPTS" | tr " " "\n"; } > /tmp/fbp.fifo
  while true; do
-- 
2.38.0
Reply to thread Export thread (mbox)