[alsa-devel] [PATCH 1/4] alsa-info.sh: Do not automatically upload alsa info

Wu Fengguang fengguang.wu at intel.com
Wed Jul 8 15:25:07 CEST 2009


On Wed, Jul 08, 2009 at 09:07:23PM +0800, Wu, Fengguang wrote:
> - the greeting dialog informs that the script collects info, waits
>   for OK button. It affords a concrete listing of information to collect:
>   /proc/asound/, aplay, etc. This not only shows respect for user privacy,
>   but also serves as basic debugging tips for ALSA newbies.
> - when --upload option is given, the data will be automatically uploaded.
> - when --no-upload option is given, the data is just stored locally and quit.
> - when neither options are given, show a dialog to ask to upload or not.
> 
> The above ideas mostly come from Takashi.

With this patch the dialogs will look like:
                       
 ┌─────────────────────────ALSA-Info script v 0.4.56────────────────────────────┐
 │                                                                              │  
 │ This script visits the following commands/files to collect diagnostic        │  
 │ information about your ALSA installation and sound related hardware.         │  
 │                                                                              │  
 │   lspci                                                                      │  
 │   lsmod                                                                      │  
 │   aplay                                                                      │  
 │   amixer                                                                     │  
 │   alsactl                                                                    │  
 │   /proc/asound/                                                              │  
 │   /sys/class/sound/                                                          │  
 │   ~/.asoundrc (etc.)                                                         │  
 │                                                                              │  
 │ See './alsa-info.sh --help' for command line options.                        │  
 │                                                                              │  
 │                                                                              │  
 ├──────────────────────────────────────────────────────────────────────────────┤  
 │                                   <  OK  >                                   │  
 └──────────────────────────────────────────────────────────────────────────────┘  
                                                                                   

                        
 ┌───────────────────────────Information collected──────────────────────────────┐
 │                                                                              │  
 │                                                                              │  
 │ Automatically upload ALSA information to www.alsa-project.org?               │  
 │                                                                              │  
 │                                                                              │  
 │                                                                              │  
 ├──────────────────────────────────────────────────────────────────────────────┤  
 │               < UPLOAD / SHARE >        <  SAVE LOCALLY  >                   │  
 └──────────────────────────────────────────────────────────────────────────────┘  
                                                                                   
         

           ┌─────────────────Information collected────────────────────┐
           │                                                          │  
           │                                                          │  
           │ Your ALSA information is in /tmp/alsa-info.txt           │  
           │                                                          │  
           │                                                          │  
           │                                                          │  
           ├──────────────────────────────────────────────────────────┤  
           │                         <  OK  >                         │  
           └──────────────────────────────────────────────────────────┘  
                                                                         

Thanks,
Fengguang



More information about the Alsa-devel mailing list