[alsa-devel] alsa-info.sh debugging script
Hi everyone,
I am new to this list, so be nice please :P
I am the author of the alsa-info.sh debugging script, and heard you may want to use it within ALSA.. I have been speaking to Tobin, and he mentioned that a few things may need to be added (like alsactl output).
I just want to get some ideas of things i can add, and if they should be included automatically, or require a --with-alsactl (for example).
I have added the alsactl output to the script now, its included by default.. Any other ideas/changes that need to be made ?
Travis Place (wishie)
On Sat, 2 Feb 2008, Travis Place wrote:
Hi everyone,
I am new to this list, so be nice please :P
I am the author of the alsa-info.sh debugging script, and heard you may want to use it within ALSA.. I have been speaking to Tobin, and he mentioned that a few things may need to be added (like alsactl output).
I just want to get some ideas of things i can add, and if they should be included automatically, or require a --with-alsactl (for example).
I have added the alsactl output to the script now, its included by default.. Any other ideas/changes that need to be made ?
Hi,
First, thank you for your contribution. I just played with script and added alsactl functionality, too. (Sorry for duplicate work.) Also, I made few other changes to show --help, --about, --update without /tmp/alsa-info.txt file processing. The alsa-info.sh is hosted in HG repository now available at:
http://hg.alsa-project.org/alsa/raw-file/tip/alsa-info.sh http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
On Mon, 4 Feb 2008 10:01:04 pm Jaroslav Kysela wrote:
On Sat, 2 Feb 2008, Travis Place wrote:
Hi everyone,
I am new to this list, so be nice please :P
I am the author of the alsa-info.sh debugging script, and heard you may want to use it within ALSA.. I have been speaking to Tobin, and he mentioned that a few things may need to be added (like alsactl output).
I just want to get some ideas of things i can add, and if they should be included automatically, or require a --with-alsactl (for example).
I have added the alsactl output to the script now, its included by default.. Any other ideas/changes that need to be made ?
Hi,
First, thank you for your contribution. I just played with script and added alsactl functionality, too. (Sorry for duplicate work.) Also, I made few other changes to show --help, --about, --update without /tmp/alsa-info.txt file processing. The alsa-info.sh is hosted in HG repository now available at:
http://hg.alsa-project.org/alsa/raw-file/tip/alsa-info.sh http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh
Jaroslav
Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Ok, no worries.. did you happen to see my alsactl additions too ? are yours similar ? Did you notice the !! infront of lines that we want pastebin.ca to colour code for us ?
If we need anything else on the pastebin side of things, i can help there too, as i have a developer login and code access for pastebin.ca .. For example, we can make an output type to suit us.. currently im using "script log" which the pastebin.ca owner made especially for this script. We can also encode posts, and make them expire if we wish.
Also, do you think we can add Real Names, or maybe email addresses to the --about output ?
Travis Place.
On Mon, 4 Feb 2008 10:01:04 pm Jaroslav Kysela wrote:
On Sat, 2 Feb 2008, Travis Place wrote:
Hi everyone,
I am new to this list, so be nice please :P
I am the author of the alsa-info.sh debugging script, and heard you may want to use it within ALSA.. I have been speaking to Tobin, and he mentioned that a few things may need to be added (like alsactl output).
I just want to get some ideas of things i can add, and if they should be included automatically, or require a --with-alsactl (for example).
I have added the alsactl output to the script now, its included by default.. Any other ideas/changes that need to be made ?
Hi,
First, thank you for your contribution. I just played with script and added alsactl functionality, too. (Sorry for duplicate work.) Also, I made few other changes to show --help, --about, --update without /tmp/alsa-info.txt file processing. The alsa-info.sh is hosted in HG repository now available at:
http://hg.alsa-project.org/alsa/raw-file/tip/alsa-info.sh http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh
Jaroslav
Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Also note, the --update code is fairly flawed, and prone to errors, but it was ok, since i was manually controlling the version numbers, and knew what to avoid.. basically, if the version number on the server is different at all (higher OR lower) it will download the copy from the server.. perhaps someone can help implement a better mechanism..
To be honest, this script was my first real bash script.. I was (and still am) a bash newbie, so to speak.
Travis Place
On Tue, 5 Feb 2008 12:23:19 am Travis Place wrote:
On Mon, 4 Feb 2008 10:01:04 pm Jaroslav Kysela wrote:
On Sat, 2 Feb 2008, Travis Place wrote:
Hi everyone,
I am new to this list, so be nice please :P
I am the author of the alsa-info.sh debugging script, and heard you may want to use it within ALSA.. I have been speaking to Tobin, and he mentioned that a few things may need to be added (like alsactl output).
I just want to get some ideas of things i can add, and if they should be included automatically, or require a --with-alsactl (for example).
I have added the alsactl output to the script now, its included by default.. Any other ideas/changes that need to be made ?
Hi,
First, thank you for your contribution. I just played with script and added alsactl functionality, too. (Sorry for duplicate work.) Also, I made few other changes to show --help, --about, --update without /tmp/alsa-info.txt file processing. The alsa-info.sh is hosted in HG repository now available at:
http://hg.alsa-project.org/alsa/raw-file/tip/alsa-info.sh http://hg.alsa-project.org/alsa/log/tip/alsa-info.sh
Jaroslav
Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Also note, the --update code is fairly flawed, and prone to errors, but it was ok, since i was manually controlling the version numbers, and knew what to avoid.. basically, if the version number on the server is different at all (higher OR lower) it will download the copy from the server.. perhaps someone can help implement a better mechanism..
To be honest, this script was my first real bash script.. I was (and still am) a bash newbie, so to speak.
Travis Place
I am still adding features to the alsa-info.sh script from time to time, with support for encrypting posts, and tidying up the scripts output etc..
How can i get these up to the HG repo ?
Thanks, Travis Place
On Sat, 2008-02-09 at 23:23 +1000, Travis Place wrote:
I am still adding features to the alsa-info.sh script from time to time, with support for encrypting posts, and tidying up the scripts output etc..
How can i get these up to the HG repo ?
First thing to do is install mercurial. It should be available for your distribution. If not, get it here: http://www.selenic.com/mercurial/wiki/
Once that is installed, set up a development directory, cd into it, and type "hg clone http://hg.alsa-project.org/alsa" (this is where your script has been added - other hg repos have alsa-driver, alsa-kernel, alsa-lib, etc).
Now that you have a working copy of the repository, you can edit your file in here. Periodically, and especially before you upload a patch, type "hg pull" from within the repository you are working with to sync with the main branch, then either run "hg diff -r tip <file>" to generate a patch for mailing, or I think you can push back to the main pool with "hg push" (someone else will need to jump in here as I email all my patches for peer review).
On Sun, 10 Feb 2008 1:48:54 am Tobin Davis wrote:
On Sat, 2008-02-09 at 23:23 +1000, Travis Place wrote:
I am still adding features to the alsa-info.sh script from time to time, with support for encrypting posts, and tidying up the scripts output etc..
How can i get these up to the HG repo ?
First thing to do is install mercurial. It should be available for your distribution. If not, get it here: http://www.selenic.com/mercurial/wiki/
Once that is installed, set up a development directory, cd into it, and type "hg clone http://hg.alsa-project.org/alsa" (this is where your script has been added - other hg repos have alsa-driver, alsa-kernel, alsa-lib, etc).
Now that you have a working copy of the repository, you can edit your file in here. Periodically, and especially before you upload a patch, type "hg pull" from within the repository you are working with to sync with the main branch, then either run "hg diff -r tip <file>" to generate a patch for mailing, or I think you can push back to the main pool with "hg push" (someone else will need to jump in here as I email all my patches for peer review).
Thanks so far Tobin.. ive got the copy locally now, and made the changes.. having trouble submitting though.
Have to wait and see if anyone else can help.
Travis.
participants (3)
-
Jaroslav Kysela
-
Tobin Davis
-
Travis Place