Skip to contentSkip to conversation

alsa-info.sh debugging script

DISCUSSION Travis Place 3 participants 7 messages Feb 2, 2008 – Feb 9, 2008

lore
Share & tools
lore
#0 lore raw

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)

Signature · 2 lines
Happiness is like peeing your pants. Everyone can see it, but only you can 
feel its warmth 
#1 lore raw
Quoted 8 lines · Travis Place

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).

Quoted 5 lines

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 <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

#2 lore raw
Quoted 33 lines · Jaroslav Kysela
Quoted 8 lines · Travis Place

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).

Quoted 5 lines

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 <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

Quoted 4 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
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.

Signature · 2 lines
Happiness is like peeing your pants. Everyone can see it, but only you can 
feel its warmth 
#3 lore raw
In reply to Jaroslav Kysela
Quoted 33 lines · Jaroslav Kysela
Quoted 8 lines · Travis Place

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).

Quoted 5 lines

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 <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

Quoted 4 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
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

Signature · 2 lines
Happiness is like peeing your pants. Everyone can see it, but only you can 
feel its warmth 
#4 lore raw
Quoted 45 lines · Travis Place
Quoted 33 lines · Jaroslav Kysela
Quoted 8 lines · Travis Place

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).

Quoted 5 lines

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 <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.

Quoted 4 lines

_______________________________________________
Alsa-devel mailing list
[email protected]
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..

Quoted 4 lines

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

Signature · 2 lines
Happiness is like peeing your pants. Everyone can see it, but only you can 
feel its warmth 
#5 lore raw
Quoted 5 lines · 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 ?

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).

Signature · 5 lines
Tobin Davis 


Cold, adj.:
	When the politicians walk around with their hands in their own pockets.
#6 lore raw
Quoted 16 lines · Tobin Davis
Quoted 5 lines · 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 ?

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).

Quoted 7 lines

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.

Signature · 2 lines
Happiness is like peeing your pants. Everyone can see it, but only you can 
feel its warmth