Please post output from this script (amixer info)

Non release banter
User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

Please post output from this script (amixer info)

Post#1 by Slaxmax » 06 Apr 2016, 02:01

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!
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

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

Post#2 by donald » 06 Apr 2016, 02:52

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]
Last edited by donald on 06 Apr 2016, 04:26, edited 2 times in total.

User avatar
Ed_P
Contributor
Contributor
Posts: 8343
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

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

Post#3 by Ed_P » 06 Apr 2016, 03:57

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:~$ 
Ed

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

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

Post#4 by Bogomips » 06 Apr 2016, 11:43

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:
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

donald
Full of knowledge
Full of knowledge
Posts: 2064
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

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

Post#5 by donald » 06 Apr 2016, 12:40

@ 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

Bogomips
Full of knowledge
Full of knowledge
Posts: 2564
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

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

Post#6 by Bogomips » 06 Apr 2016, 13:06

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
--------------------------------------------------------------------------
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Jack
Contributor
Contributor
Posts: 1857
Joined: 09 Aug 2013, 14:25
Distribution: Porteus and Nemesis
Location: USA

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

Post#7 by Jack » 06 Apr 2016, 15:59

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.
I just like Slackware because I think it teach you about Linux to build packages where Ubuntu is like Windows you just install programs you want.

User avatar
Slaxmax
Contributor
Contributor
Posts: 408
Joined: 03 Jan 2013, 09:51
Distribution: KDE4
Location: Campinas Brazil https://goo.gl/yrxwKi

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

Post#8 by Slaxmax » 09 Apr 2016, 23:42

thanks guys :good:
“DNA is like a computer program but far, far more advanced than any software ever created.”
― Bill Gates, The Road Ahead

User avatar
Tonio
Contributor
Contributor
Posts: 276
Joined: 28 Dec 2010, 16:37
Distribution: Slackware,porteus,FreeBSD,Slax
Location: 127.0.0.1

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

Post#9 by Tonio » 10 Apr 2016, 01:32

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]

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

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

Post#10 by brokenman » 10 Apr 2016, 20:20

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
--------------------------------------------------------------------------
How do i become super user?
Wear your underpants on the outside and put on a cape.

ztrapl
Contributor
Contributor
Posts: 198
Joined: 29 Aug 2013, 21:36
Distribution: Porteus 3.1 KDE4 32bit
Location: Czech Republic

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

Post#11 by ztrapl » 10 Apr 2016, 20:36

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

Post Reply