
    -_gQ                     d    d dl mZmZmZmZ  G d de      Z G d dee      Z G d deee      Zy)	    )PluginRedHatPluginDebianPluginUbuntuPluginc                       e Zd ZdZdZdZd Zy)	SoundcardzSound devices	soundcard)desktophardwarec                 L    | j                  d       | j                  g d       y )Nz/proc/asound/*)zaplay -lzaplay -Lamixer)add_copy_specadd_cmd_output)selfs    >/usr/lib/python3/dist-packages/sos/report/plugins/soundcard.pysetupzSoundcard.setup   s$    +, 
 	    N)__name__
__module____qualname__
short_descplugin_nameprofilesr    r   r   r   r      s     JK&Hr   r   c                        e Zd Z fdZ xZS )RedHatSoundcardc                 H    t         |           | j                  ddg       y )Nz/etc/alsa/*z/etc/asound.*superr   r   r   	__class__s    r   r   zRedHatSoundcard.setup   s%    
 	r   r   r   r   r   __classcell__r!   s   @r   r   r      s     r   r   c                        e Zd Z fdZ xZS )DebianSoundcardc                 D    t         |           | j                  d       y )Nz/etc/pulse/*r   r    s    r   r   zDebianSoundcard.setup(   s    >*r   r"   r$   s   @r   r&   r&   &   s    + +r   r&   N)sos.report.pluginsr   r   r   r   r   r   r&   r   r   r   <module>r)      s8    P O  i +i| +r   