I have issued the command amixer -c0 and amixer -c1 as non root user for both I got the output as below
Device-E21ECF:~/Downloads # su rupeshforu3
rupeshforu3@Device-E21ECF:/root/Downloads> amixer -c0
Invalid card number.
Usage: amixer <options> [command]
Available options:
-h,--help this help
-c,--card N select the card
-D,--device N select the device, default 'default'
-d,--debug debug mode
-n,--nocheck do not perform range checking
-v,--version print version of this program
-q,--quiet be quiet
-i,--inactive show also inactive controls
-a,--abstract L select abstraction level (none or basic)
-s,--stdin Read and execute commands from stdin sequentially
-R,--raw-volume Use the raw value (default)
-M,--mapped-volume Use the mapped volume
Available commands:
scontrols show all mixer simple controls
scontents show contents of all mixer simple controls (default command)
sset sID P set contents for one mixer simple control
sget sID get contents for one mixer simple control
controls show all controls for given card
contents show contents of all controls for given card
cset cID P set control contents for one control
cget cID get control contents for one control
rupeshforu3@Device-E21ECF:/root/Downloads> amixer -c1
Invalid card number.
Usage: amixer <options> [command]
Available options:
-h,--help this help
-c,--card N select the card
-D,--device N select the device, default 'default'
-d,--debug debug mode
-n,--nocheck do not perform range checking
-v,--version print version of this program
-q,--quiet be quiet
-i,--inactive show also inactive controls
-a,--abstract L select abstraction level (none or basic)
-s,--stdin Read and execute commands from stdin sequentially
-R,--raw-volume Use the raw value (default)
-M,--mapped-volume Use the mapped volume
Available commands:
scontrols show all mixer simple controls
scontents show contents of all mixer simple controls (default command)
sset sID P set contents for one mixer simple control
sget sID get contents for one mixer simple control
controls show all controls for given card
contents show contents of all controls for given card
cset cID P set control contents for one control
cget cID get control contents for one control
rupeshforu3@Device-E21ECF:/root/Downloads> whoami
rupeshforu3
rupeshforu3@Device-E21ECF:/root/Downloads>
I have issued the command ***/usr/sbin/alsa-info.sh ***and its output I am providing below
cat: /proc/asound/version: No such file or directory
grep: /proc/asound/cards: No such file or directory
cat: /proc/asound/cards: No such file or directory
pcilib: sysfs_read_vpd: read failed: Input/output error
cat: /proc/asound/modules: No such file or directory
ls: cannot access '/dev/snd/*': No such file or directory
grep: /proc/asound/cards: No such file or directory
/usr/sbin/alsactl: save_state:1595: No soundcards found...
cat: /tmp/alsa-info.45FYfjSpmS/alsactl.tmp: No such file or directory
After that it has displayed automatically upload alsa information to www.alsa-project.org I have selected save to local and it saved to /tmp/alsa-info.txt.3IZpRKubT2 of which I am providing its content below
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.64
!!################################
!!Script ran on: Thu Jun 8 21:58:28 UTC 2017
!!Linux Distribution
!!------------------
Welcome to openSUSE Leap 42.2 - Kernel \r (\l). openSUSE 42.2 (x86_64) # /etc/SuSE-release is deprecated and will be removed in the future, use /etc/os-release instead NAME="openSUSE Leap" ID=opensuse ID_LIKE="suse" PRETTY_NAME="openSUSE Leap 42.2" CPE_NAME="cpe:/o:opensuse:leap:42.2" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/"
!!DMI Information
!!---------------
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: GA-78LMT-S2PT
Product Version:
Firmware Version: F2
!!Kernel Information
!!------------------
Kernel release: 4.4.27-2-default
Operating System: GNU/Linux
Architecture: x86_64
Processor: x86_64
SMP Enabled: Yes
!!ALSA Version
!!------------
Driver version:
Library version: 1.1.2
Utilities version: 1.1.2
!!Loaded ALSA modules
!!-------------------
!!Sound Servers on this system
!!----------------------------
Pulseaudio:
Installed - Yes (/usr/bin/pulseaudio)
Running - No
ESound Daemon:
Installed - Yes (/usr/bin/esd)
Running - No
!!Soundcards recognised by ALSA
!!-----------------------------
!!PCI Soundcards installed in the system
!!--------------------------------------
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!-------------------------------------------------------
00:14.2 0403: 1002:4383
Subsystem: 1458:a002
!!Loaded sound module options
!!---------------------------
!!ALSA Device nodes
!!-----------------
!!Aplay/Arecord output
!!--------------------
APLAY
aplay: device_list:268: no soundcards found...
ARECORD
arecord: device_list:268: no soundcards found...
!!Amixer output
!!-------------
!!Alsactl output
!!--------------
--startcollapse--
--endcollapse--
!!All Loaded Modules
!!------------------
Module
af_packet
rndis_wlan
rndis_host
cdc_ether
usbnet
cfg80211
mii
rfkill
nls_iso8859_1
nls_cp437
vfat
fat
uas
usb_storage
nls_utf8
isofs
fuse
nf_log_ipv6
xt_pkttype
nf_log_ipv4
nf_log_common
xt_LOG
xt_limit
ip6t_REJECT
nf_reject_ipv6
xt_tcpudp
nf_conntrack_ipv6
nf_defrag_ipv6
ip6table_raw
ipt_REJECT
nf_reject_ipv4
iptable_raw
xt_CT
iptable_filter
ip6table_mangle
nf_conntrack_netbios_ns
nf_conntrack_broadcast
nf_conntrack_ipv4
nf_defrag_ipv4
ip_tables
xt_conntrack
nf_conntrack
ip6table_filter
ip6_tables
x_tables
kvm_amd
kvm
irqbypass
atl1c
sp5100_tco
8250_fintek
shpchp
i2c_piix4
edac_mce_amd
ppdev
k10temp
fam15h_power
edac_core
crct10dif_pclmul
parport_pc
crc32_pclmul
parport
fjes
acpi_cpufreq
crc32c_intel
drbg
serio_raw
pcspkr
ansi_cprng
processor
button
aesni_intel
aes_x86_64
lrw
gf128mul
glue_helper
ablk_helper
cryptd
ext4
crc16
jbd2
mbcache
hid_generic
usbhid
sd_mod
sr_mod
cdrom
ata_generic
ohci_pci
amdkfd
amd_iommu_v2
ahci
libahci
pata_atiixp
ohci_hcd
radeon
ehci_pci
ehci_hcd
i2c_algo_bit
usbcore
drm_kms_helper
usb_common
syscopyarea
sysfillrect
sysimgblt
fb_sys_fops
ttm
libata
drm
sg
scsi_mod
autofs4
!!ALSA/HDA dmesg
!!--------------
please suggest how to configure sound card