now all in one repo to avoid an explosion of git repos for the blog
This commit is contained in:
parent
6a75c512c4
commit
092c830f52
2
asusN7601ZM/README.md
Normal file
2
asusN7601ZM/README.md
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
This repository contains some utilities and setup info for the
|
||||||
|
ASUS N7601ZM on linux.
|
5
asusN7601ZM/audio/README.md
Normal file
5
asusN7601ZM/audio/README.md
Normal 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
16
asusN7601ZM/audio/processlinux
Executable file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
awk '
|
||||||
|
/^Node/ {
|
||||||
|
node = $2
|
||||||
|
next
|
||||||
|
}
|
||||||
|
|
||||||
|
/ *Coeff/ {
|
||||||
|
gsub(/^ *Coeff /, "")
|
||||||
|
gsub(/:/, "")
|
||||||
|
print node " " $0
|
||||||
|
}
|
||||||
|
|
||||||
|
' "$@"
|
||||||
|
|
18
asusN7601ZM/audio/processwindows
Executable file
18
asusN7601ZM/audio/processwindows
Executable 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
|
||||||
|
}
|
||||||
|
}
|
||||||
|
' "$@"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user