now all in one repo to avoid an explosion of git repos for the blog

This commit is contained in:
Erik Brakkee 2023-02-26 13:41:04 +01:00
parent 6a75c512c4
commit 092c830f52
4 changed files with 41 additions and 0 deletions

2
asusN7601ZM/README.md Normal file
View File

@ -0,0 +1,2 @@
This repository contains some utilities and setup info for the
ASUS N7601ZM on linux.

View File

@ -0,0 +1,5 @@
This directory contains the scripts:
* [processlinux](processlinux): A script that converts the output of the linux realtek dump to the format expected for verbs in the firmware patch file.
* [processwindows](processwindows): A script that processes the realtek dump taken on windows and converts it to the verb format erquired by the firmware patch file.

16
asusN7601ZM/audio/processlinux Executable file
View File

@ -0,0 +1,16 @@
#!/bin/bash
awk '
/^Node/ {
node = $2
next
}
/ *Coeff/ {
gsub(/^ *Coeff /, "")
gsub(/:/, "")
print node " " $0
}
' "$@"

View File

@ -0,0 +1,18 @@
#!/bin/bash
awk '
/Wid=/ {
node=$2
gsub(/^.*\[/, "", node)
gsub(/\].*$/, "", node)
#print node
next;
}
/^Index/ {
if (node <= "0x26" ) {
print node " " $2 " " $3
}
}
' "$@"