Hello, I'm trying to get
alsa working properly with a usb codec. Its a new codec so I'm sure no
alsa drivers are available. I need help in setting up asound.conf to
use the codecs built in volume and mute. But also I am having issue in
getting proper default setting to work.
If trying anything like aplay hw:1,0 I get an argument error.
The only way it will play without problems is like
this. aplay -Dfront:soundcard Track04.wav
If
I try to from just aplay -Dsoundcard track04.wav it knocks my keyboard
offline but plays music!. Even when in working condition I noticed
alsamixer will not control volume.
Having
2 sound devices, I figured I would make front:soundcard my default
device. but the below setting used in asound.conf below still causes my
keyboard to go offline.
pcm.!default sysdefault:soundcard
Is
there a way to specify front:soundcard as my default pcm device device?
By the way if i try to use hw:1,0 it wont work at all.
I would like to have asound settings to control volume and mute also if possible.
Thanks For any
help.
Jay Steele
heres shortened devices list.
aplay -LI
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Black
TI BeagleBone Black,
Default Audio Device
sysdefault:CARD=Black
TI BeagleBone Black,
Default Audio Device.......................
default:CARD=soundcard
CC2251 USB stereo soundcard, USB Audio
Default Audio Device
sysdefault:CARD=soundcard
CC2251 USB stereo soundcard, USB Audio
Default Audio Device
front:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
Front speakers
surround40:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
Direct sample mixing device
dsnoop:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
Direct sample snooping device
hw:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
Direct hardware device without any conversions
plughw:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
Hardware device with all software conversions
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=Black
TI BeagleBone Black,
Default Audio Device
sysdefault:CARD=Black
TI BeagleBone Black,
Default Audio Device.......................
default:CARD=soundcard
CC2251 USB stereo soundcard, USB Audio
Default Audio Device
sysdefault:CARD=soundcard
CC2251 USB stereo soundcard, USB Audio
Default Audio Device
front:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
Front speakers
surround40:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
Direct sample mixing device
dsnoop:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
Direct sample snooping device
hw:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
Direct hardware device without any conversions
plughw:CARD=soundcard,DEV=0
CC2251 USB stereo soundcard, USB Audio
Hardware device with all software conversions
......................................................................................
amixer -csoundcard contents
numid=2,iface=MIXER,name='PCM Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=3,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=100,step=0
: values=67
| dBminmax-min=-50.00dB,max=0.00dB
numid=1,iface=PCM,name='Playback Channel Map'
; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
: values=0,0
| | unk-257-0x00000003,0x00000004,
numid=2,iface=MIXER,name='PCM Playback Switch'
; type=BOOLEAN,access=rw------,values=1
: values=on
numid=3,iface=MIXER,name='PCM Playback Volume'
; type=INTEGER,access=rw---R--,values=1,min=0,max=100,step=0
: values=67
| dBminmax-min=-50.00dB,max=0.00dB
numid=1,iface=PCM,name='Playback Channel Map'
; type=INTEGER,access=r----R--,values=2,min=0,max=36,step=0
: values=0,0
| | unk-257-0x00000003,0x00000004,
------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user