Hi figure out how to use the alsa-info.sh (needed sudo infront :-) )
This is from version 5:
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.62
!!################################
!!Script ran on: Wed Sep 11 15:02:08 UTC 2013
!!Linux Distribution
!!------------------
!!DMI Information
!!---------------
Manufacturer:
Product Name:
Product Version:
Firmware Version:
!!Kernel Information
!!------------------
Kernel release: 3.10.10-piCore
Operating System: GNU/Linux
Architecture: armv6l
Processor: unknown
SMP Enabled: No
!!ALSA Version
!!------------
Driver version: k3.10.10-piCore
Library version:
Utilities version: 1.0.27.2
!!Loaded ALSA modules
!!-------------------
snd_bcm2835
!!Sound Servers on this system
!!----------------------------
No sound servers found.
!!Soundcards recognised by ALSA
!!-----------------------------
0 [ALSA ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA
bcm2835 ALSA
!!Loaded sound module options
!!---------------------------
!!Module: snd_bcm2835
force_bulk : N
!!ALSA Device nodes
!!-----------------
crw------- 1 root root 116, 0 Jan 1 1970 /dev/snd/controlC0
crw------- 1 root root 116, 16 Jan 1 1970 /dev/snd/pcmC0D0p
crw------- 1 root root 116, 33 Jan 1 1970 /dev/snd/timer
!!Aplay/Arecord output
!!--------------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
ARECORD
**** List of CAPTURE Hardware Devices ****
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [ALSA]
Card hw:0 'ALSA'/'bcm2835 ALSA'
Mixer name : 'Broadcom Mixer'
Components : ''
Controls : 3
Simple ctrls : 1
Simple mixer control 'PCM',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback 0 [96%] [0.00dB] [on]
!!Alsactl output
!!--------------
--startcollapse--
state.ALSA {
control.1 {
iface MIXER
name 'PCM Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '-10239 - 400'
dbmin -9999999
dbmax 400
dbvalue.0 0
}
}
control.2 {
iface MIXER
name 'PCM Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.3 {
iface MIXER
name 'PCM Playback Route'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 2'
}
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
snd_bcm2835
snd_pcm
snd_page_alloc
snd_timer
snd
squashfs
lzo_decompress
!!ALSA/HDA dmesg
!!--------------
******************************************************
Here is the output from my version of picoreplayer using 4.7.7
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.62
!!################################
!!Script ran on: Wed Sep 11 15:11:56 UTC 2013
!!Linux Distribution
!!------------------
!!DMI Information
!!---------------
Manufacturer:
Product Name:
Product Version:
Firmware Version:
!!Kernel Information
!!------------------
Kernel release: 3.8.13-piCore+
Operating System: GNU/Linux
Architecture: armv6l
Processor: unknown
SMP Enabled: No
!!ALSA Version
!!------------
Driver version: k3.8.13-piCore+
Library version:
Utilities version: 1.0.26
!!Loaded ALSA modules
!!-------------------
snd_usb_audio
snd_bcm2835
!!Sound Servers on this system
!!----------------------------
No sound servers found.
!!Soundcards recognised by ALSA
!!-----------------------------
0 [Set ]: USB-Audio - C-Media USB Headphone Set
C-Media USB Headphone Set at usb-bcm2708_usb-1.3, full speed
1 [ALSA ]: BRCM bcm2835 ALSbcm2835 ALSA - bcm2835 ALSA
bcm2835 ALSA
!!Loaded sound module options
!!---------------------------
!!Module: snd_usb_audio
device_setup : 0,0,0,0,0,0,0,0
enable : Y,Y,Y,Y,Y,Y,Y,Y
id : (null),(null),(null),(null),(null),(null),(null),(null)
ignore_ctl_error : N
index : -1,-1,-1,-1,-1,-1,-1,-1
nrpacks : 8
pid : -1,-1,-1,-1,-1,-1,-1,-1
vid : -1,-1,-1,-1,-1,-1,-1,-1
!!Module: snd_bcm2835
force_bulk : N
!!USB Mixer information
!!---------------------
--startcollapse--
USB Mixer: usb_id=0x0d8c000c, ctrlif=0, ctlerr=0
Card: C-Media USB Headphone Set at usb-bcm2708_usb-1.3, full speed
Unit: 9
Control: name="Headphone Playback Volume", index=0
Info: id=9, control=2, cmask=0x3, channels=2, type="S16"
Volume: min=-7264, max=-16, dBmin=-2837, dBmax=-6
Unit: 9
Control: name="Headphone Playback Switch", index=0
Info: id=9, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name="Auto Gain Control", index=0
Info: id=10, control=7, cmask=0x0, channels=1, type="BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 10
Control: name="Mic Capture Volume", index=0
Info: id=10, control=2, cmask=0x0, channels=1, type="S16"
Volume: min=0, max=6096, dBmin=0, dBmax=2381
Unit: 10
Control: name="Mic Capture Switch", index=0
Info: id=10, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
Unit: 13
Control: name="Mic Playback Volume", index=0
Info: id=13, control=2, cmask=0x0, channels=1, type="S16"
Volume: min=0, max=12240, dBmin=0, dBmax=4781
Unit: 13
Control: name="Mic Playback Switch", index=0
Info: id=13, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
Volume: min=0, max=1, dBmin=0, dBmax=0
--endcollapse--
!!ALSA Device nodes
!!-----------------
crw-rw---T 1 root staff 116, 0 Jan 1 1970 /dev/snd/controlC0
crw-rw---T 1 root staff 116, 32 Jan 1 1970 /dev/snd/controlC1
crw-rw---T 1 root staff 116, 24 Jan 1 1970 /dev/snd/pcmC0D0c
crw-rw---T 1 root staff 116, 16 Jan 1 1970 /dev/snd/pcmC0D0p
crw-rw---T 1 root staff 116, 48 Jan 1 1970 /dev/snd/pcmC1D0p
crw-rw---T 1 root staff 116, 33 Jan 1 1970 /dev/snd/timer
/dev/snd/by-id:
total 0
drwxr-xr-x 2 root root 0 Jan 1 1970 .
drwxr-xr-x 4 root root 0 Jan 1 1970 ..
lrwxrwxrwx 1 root root 12 Jan 1 1970 usb-0d8c_C-Media_USB_Headphone_Set-00 -> ../controlC0
/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root 0 Jan 1 1970 .
drwxr-xr-x 4 root root 0 Jan 1 1970 ..
lrwxrwxrwx 1 root root 12 Jan 1 1970 platform-bcm2708_usb-usb-0:1.3:1.0 -> ../controlC0
lrwxrwxrwx 1 root root 12 Jan 1 1970 platform-bcm2835_AUD0.0 -> ../controlC1
!!ALSA configuration files
!!------------------------
!!System wide config file (/etc/asound.conf)
#Use you own ALSA settings below
!!Aplay/Arecord output
!!--------------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]
Subdevices: 7/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
ARECORD
**** List of CAPTURE Hardware Devices ****
card 0: Set [C-Media USB Headphone Set], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
!!Amixer output
!!-------------
!!-------Mixer controls for card 0 [Set]
Card hw:0 'Set'/'C-Media USB Headphone Set at usb-bcm2708_usb-1.3, full speed'
Mixer name : 'USB Mixer'
Components : 'USB0d8c:000c'
Controls : 8
Simple ctrls : 3
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 151
Mono:
Front Left: Playback 150 [99%] [0.25dB] [on]
Front Right: Playback 150 [99%] [0.25dB] [on]
Simple mixer control 'Mic',0
Capabilities: pvolume pvolume-joined cvolume cvolume-joined pswitch pswitch-joined cswitch cswitch-joined
Playback channels: Mono
Capture channels: Mono
Limits: Playback 0 - 32 Capture 0 - 16
Mono: Playback 23 [72%] [34.36dB] [off] Capture 0 [0%] [0.00dB] [on]
Simple mixer control 'Auto Gain Control',0
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
!!-------Mixer controls for card 1 [ALSA]
Card hw:1 'ALSA'/'bcm2835 ALSA'
Mixer name : 'Broadcom Mixer'
Components : ''
Controls : 3
Simple ctrls : 1
Simple mixer control 'PCM',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback -10239 - 400
Mono: Playback 0 [96%] [0.00dB] [on]
!!Alsactl output
!!--------------
--startcollapse--
state.Set {
control.1 {
iface PCM
name 'Playback Channel Map'
value.0 0
value.1 0
comment {
access read
type INTEGER
count 2
range '0 - 36'
}
}
control.2 {
iface MIXER
name 'Mic Playback Switch'
value false
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.3 {
iface MIXER
name 'Mic Playback Volume'
value 23
comment {
access 'read write'
type INTEGER
count 1
range '0 - 32'
dbmin 0
dbmax 4781
dbvalue.0 3436
}
}
control.4 {
iface MIXER
name 'Headphone Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.5 {
iface MIXER
name 'Headphone Playback Volume'
value.0 150
value.1 150
comment {
access 'read write'
type INTEGER
count 2
range '0 - 151'
dbmin -2837
dbmax -6
dbvalue.0 -25
dbvalue.1 -25
}
}
control.6 {
iface MIXER
name 'Mic Capture Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.7 {
iface MIXER
name 'Mic Capture Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 16'
dbmin 0
dbmax 2381
dbvalue.0 0
}
}
control.8 {
iface MIXER
name 'Auto Gain Control'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
}
state.ALSA {
control.1 {
iface MIXER
name 'PCM Playback Volume'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '-10239 - 400'
dbmin -9999999
dbmax 400
dbvalue.0 0
}
}
control.2 {
iface MIXER
name 'PCM Playback Switch'
value true
comment {
access 'read write'
type BOOLEAN
count 1
}
}
control.3 {
iface MIXER
name 'PCM Playback Route'
value 0
comment {
access 'read write'
type INTEGER
count 1
range '0 - 2'
}
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
snd_bcm2835
snd_usb_audio
snd_usbmidi_lib
snd_rawmidi
snd_seq_device
snd_pcm
snd_page_alloc
snd_timer
snd_hwdep
snd
squashfs
loop
evdev
i2c_bcm2708
spi_bcm2708
!!ALSA/HDA dmesg
!!--------------
Steen