Page 1 of 1

Please post output from this script (amixer info)

Posted: 06 Apr 2016, 02:01
by Slaxmax
I need info for my tests
Please download this script http://www.mediafire.com/download/9abci ... r-mic-info
execute and post the output information from terminal

to execute (example)

Code: Select all

guest@porteus:~$ sh /home/guest/Downloads/amixer-mic-info
output info from terminal (my pc)

Code: Select all

card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]
card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]
card 2: PCH [HDA Intel PCH], device 0: CX20751/2 Analog [CX20751/2 Analog]
#CARD 2 ##################################################################
Simple mixer control 'Mic Boost',0
Simple mixer control 'Internal Mic Boost',0
--------------------------------------------------------------------------
Thank you!

Re: Please post output from this script (amixer info)

Posted: 06 Apr 2016, 02:52
by donald
Hi Slaxmax....here we go:

Code: Select all

guest@localhost:~/Downloads$ ./amixer-mic-info
Invalid card number.
Invalid card number.
Invalid card number.

#CARD 0 ##################################################################
Simple mixer control 'Front Mic',0
Simple mixer control 'Front Mic Boost',0
  Items: 'Rear Mic' 'Front Mic' 'Line'
  Item0: 'Rear Mic'
  Items: 'Rear Mic' 'Front Mic' 'Line'
  Item0: 'Rear Mic'
Simple mixer control 'Rear Mic',0
Simple mixer control 'Rear Mic Boost',0
--------------------------------------------------------------------------
guest@localhost:~/Downloads$ 
EDIT
--> arecord -l | grep card >> /tmp/amixer-info.txt <--
This part in your script didn't work on my non english system.
I replaced it with arecord -l or for germans with arecord -l | grep -i karte
here is the (additional) output

Code: Select all

guest@localhost:~$ arecord -l
**** Liste der Hardware-Geräte (CAPTURE) ****
Karte 0: NVidia [HDA NVidia], Gerät 0: ALC888 Analog [ALC888 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 1: ALC888 Digital [ALC888 Digital]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
Karte 0: NVidia [HDA NVidia], Gerät 2: ALC888 Analog [ALC888 Analog]
  Sub-Geräte: 1/1
  Sub-Gerät #0: subdevice #0
and

Code: Select all

guest@localhost:~$ arecord -l | grep -i karte
Karte 0: NVidia [HDA NVidia], Gerät 0: ALC888 Analog [ALC888 Analog]
Karte 0: NVidia [HDA NVidia], Gerät 1: ALC888 Digital [ALC888 Digital]
Karte 0: NVidia [HDA NVidia], Gerät 2: ALC888 Analog [ALC888 Analog]

Re: Please post output from this script (amixer info)

Posted: 06 Apr 2016, 03:57
by Ed_P

Code: Select all

guest@porteus:~$ sh /home/guest/Downloads/amixer-mic-info
Invalid card number.
Invalid card number.

card 1: SB [HDA ATI SB], device 0: CX20588 Analog [CX20588 Analog]
card 1: SB [HDA ATI SB], device 2: CX20588 Alt Analog [CX20588 Alt Analog]
#CARD 1 ##################################################################
Simple mixer control 'Mic Boost',0
  Items: 'Mic' 'Internal Mic' 'Mic 1'
  Item0: 'Internal Mic'
  Items: 'Mic' 'Internal Mic' 'Mic 1'
  Item0: 'Mic'
  Items: 'Mic' 'Internal Mic' 'Mic 1'
  Item0: 'Mic'
--------------------------------------------------------------------------
guest@porteus:~$ 

Re: Please post output from this script (amixer info)

Posted: 06 Apr 2016, 11:43
by Bogomips
3rd try at downloading. All I get is Preparing Download
If it's not more than 64K, it makes life easier by posting in a code block. :wink:

Re: Please post output from this script (amixer info)

Posted: 06 Apr 2016, 12:40
by donald
@ Bogomips
downloaded the script "amixer-mic-info" for you:

Code: Select all

 #!/bin/bash
 
rm -rf /tmp/amixer-info.txt
a=$(amixer -c 0 | grep Mic )
b=$(amixer -c 1 | grep Mic )
c=$(amixer -c 2 | grep Mic )
d=$(amixer -c 3 | grep Mic )

arecord -l | grep card >> /tmp/amixer-info.txt

if [ -n "$a" ] ;then 
echo  "#CARD 0 ##################################################################"  >> /tmp/amixer-info.txt
amixer -c 0 | grep Mic >> /tmp/amixer-info.txt
echo  "--------------------------------------------------------------------------"  >> /tmp/amixer-info.txt
fi
if [ -n "$b" ];then 
echo  "#CARD 1 ##################################################################"  >> /tmp/amixer-info.txt
amixer -c 1 | grep Mic >> /tmp/amixer-info.txt
echo  "--------------------------------------------------------------------------"  >> /tmp/amixer-info.txt
fi
if [ -n "$c" ];then 
echo  "#CARD 2 ##################################################################"  >> /tmp/amixer-info.txt
amixer -c 2 | grep Mic >> /tmp/amixer-info.txt
echo  "--------------------------------------------------------------------------"  >> /tmp/amixer-info.txt
fi
if [ -n "$d" ];then 
echo  "#CARD 3 ##################################################################"  >> /tmp/amixer-info.txt
amixer -c 3 | grep Mic >> /tmp/amixer-info.txt
echo  "--------------------------------------------------------------------------"  >> /tmp/amixer-info.txt
fi
clear
cat /tmp/amixer-info.txt
rm -rf /tmp/amixer-info.txt

Re: Please post output from this script (amixer info)

Posted: 06 Apr 2016, 13:06
by Bogomips
Ta, donald.

Code: Select all

guest@porteus:~$ . am
Invalid card number.
Invalid card number.
Invalid card number.

card 0: NVidia [HDA NVidia], device 0: VT1708BCE Analog [VT1708BCE Analog]
#CARD 0 ##################################################################
Simple mixer control 'Front Mic',0
Simple mixer control 'Front Mic Boost',0
Simple mixer control 'Rear Mic',0
Simple mixer control 'Rear Mic Boost',0
--------------------------------------------------------------------------

Re: Please post output from this script (amixer info)

Posted: 06 Apr 2016, 15:59
by Jack
Here is my output on my Compaq CQ50-217nr laptop.

Code: Select all

guest@porteus:~/Documents$ sh amixer-mic-info
Invalid card number.
Invalid card number.
Invalid card number.

card 0: NVidia [HDA NVidia], device 0: CX20561 Analog [CX20561 Analog]
#CARD 0 ##################################################################
Simple mixer control 'Mic Boost',0
Simple mixer control 'Internal Mic Boost',0
--------------------------------------------------------------------------
guest@porteus:~/Documents$ 
I will post the output of a desktop when I can. It is a HP dc5750 Small Form Factor.

EDIT:
Here is the output on that desktop.

Code: Select all

guest@porteus:/mnt/sdc1$ sh amixer-mic-info
Invalid card number.
Invalid card number.
Invalid card number.

card 0: SB [HDA ATI SB], device 0: ALC260 Analog [ALC260 Analog]
card 0: SB [HDA ATI SB], device 2: ALC260 Alt Analog [ALC260 Alt Analog]
#CARD 0 ##################################################################
Simple mixer control 'Mic',0
  Items: 'Mic' 'Line' 'Aux'
  Item0: 'Mic'
  Items: 'Mic' 'Line' 'Aux'
  Item0: 'Mic'
--------------------------------------------------------------------------
guest@porteus:/mnt/sdc1$ 
Hope my info helps you.

Re: Please post output from this script (amixer info)

Posted: 09 Apr 2016, 23:42
by Slaxmax
thanks guys :good:

Re: Please post output from this script (amixer info)

Posted: 10 Apr 2016, 01:32
by Tonio

Code: Select all

amixer-mic-info: a=Simple: not found
Invalid card number.
amixer-mic-info: b=: not found
Invalid card number.
amixer-mic-info: c=: not found
Invalid card number.
amixer-mic-info: d=: not found

card 0: Intel [HDA Intel], device 0: ALC272X Analog [ALC272X Analog]

Re: Please post output from this script (amixer info)

Posted: 10 Apr 2016, 20:20
by brokenman
Invalid card number.
Invalid card number.

card 1: PCH [HDA Intel PCH], device 0: ALC3234 Analog [ALC3234 Analog]
#CARD 1 ##################################################################
Simple mixer control 'Headphone Mic',0
Simple mixer control 'Headphone Mic Boost',0
Simple mixer control 'Headset Mic',0
Simple mixer control 'Headset Mic Boost',0
Simple mixer control 'Internal Mic',0
Simple mixer control 'Internal Mic Boost',0
--------------------------------------------------------------------------

Re: Please post output from this script (amixer info)

Posted: 10 Apr 2016, 20:36
by ztrapl

Code: Select all

root@porteus:~/Desktop# ./amixer
Invalid card number.
Invalid card number.
Invalid card number.

card 0: Intel [HDA Intel], device 0: ALC268 Analog [ALC268 Analog]
card 0: Intel [HDA Intel], device 2: ALC268 Alt Analog [ALC268 Alt Analog]
#CARD 0 ##################################################################
Simple mixer control 'Mic Boost',0
  Items: 'Internal Mic' 'Mic' 'Line'
  Item0: 'Internal Mic'
  Items: 'Internal Mic' 'Mic' 'Line'
  Item0: 'Internal Mic'
Simple mixer control 'Internal Mic Boost',0
--------------------------------------------------------------------------