I just got an Audio assignment and it's Intel baytrial board with android Kitkat OS.
I am newbie in ALSA. The system can't find the soundcard (Realtek ALC5642). I someone please help me.
When the board startup I got these logs:
[ 5.279213] snd_byt_bl_rt5642: Baytrail Machine Driver byt_rt5642 registerd
[ 5.287138] snd_byt_cr_aic3100: Baytrail Machine Driver byt_aic31xx registerd
[ 5.295181] ALSA device list:
[ 5.298499] No soundcards found.
These information I got when I use these tools:
alsa_aplay -l
aplay: device_list:236: no soundcards found...
/proc/asound # cat cards
--- no soundcards ---
cat devices
1: : sequencer
33: : timer
/proc/asound/oss # cat sndstat
Sound Driver:3.8.1a-980706 (ALSA emulation code)
Kernel: Linux localhost 3.10.20 #1 SMP PREEMPT Wed Jun 25 15:22:06 CEST 2014 i686
Config options: 0
Installed drivers:
Type 10: ALSA emulation
Card config:
--- no soundcards ---
Audio devices: NOT ENABLED IN CONFIG
Synth devices: NOT ENABLED IN CONFIG
Midi devices: NOT ENABLED IN CONFIG
Timers:
7: system timer
Mixers: NOT ENABLED IN CONFIG
/proc/asound # cat version
Advanced Linux Sound Architecture Driver Version k3.10.20.
cat asound.conf
# Android ALSA configuration file
#
# Mixer Devices
#
ctl.AndroidPlayback {
type hw
card 0
device 0
}
ctl.AndroidPlayback_Widi {
type hw
card Loopback
device 0
}
ctl.AndroidPlayback_Widi-Loopback {
type hw
card Loopback
device 0
}
ctl.AndroidRecord {
type hw
card 0
device 0
}
ctl.AndroidPlayback_HDMIAudio {
type hw
card 0
device 0
}
#
# Playback Devices
#
pcm.AndroidPlayback {
type plug
slave.pcm "both"
}
pcm.AndroidPlayback_Speaker_normal {
type plug
slave.pcm "speaker"
}
pcm.AndroidPlayback_Headset_normal {
type plug
slave.pcm "headphone"
}
pcm.both {
type hooks
slave.pcm {
type hw
card 0
device 0
}
hooks.0 {
type ctl_elems
hook_args [
{name "Speaker Mux Playback Route" value [1 1]}
{name "Mode Playback Route" value 0}
{name "Playback Switch" value 1}
]
}
}
pcm.speaker {
type hooks
slave.pcm {
type hw
card 0
device 0
}
hooks.0 {
type ctl_elems
hook_args [
{name "Speaker Mux Playback Route" value [1 1]}
{name "Mode Playback Route" value 0}
{name "Playback Switch" value 0}
]
}
}
pcm.headphone {
type hooks
slave.pcm {
type hw
card 0
device 0
}
hooks.0 {
type ctl_elems
hook_args [
{name "Speaker Mux Playback Route" value [0 0]}
{name "Mode Playback Route" value 0}
{name "Playback Switch" value 1}
]
}
}
#
# HDMI routing
#
pcm.HDMIAudio {
type hw
card 0
device 0
}
pcm.AndroidPlayback_HDMIAudio {
type linear
slave {
pcm HDMIAudio
format S24_LE
}
}
pcm.AndroidPlayback_HDMIAudio_normal {
type linear
slave {
pcm HDMIAudio
format S24_LE
}
}
#
# WIDI routing
#
pcm.AndroidPlayback_Widi{
type hw
card Loopback
device 0
subdevice 0
}
pcm.AndroidPlayback_Widi-Loopback{
type plug
slave.pcm "loopback_sink"
}
pcm.AndroidPlayback_Widi-Loopback_normal{
type plug
slave.pcm "loopback_sink"
}
pcm.loopback_sink {
type hw
card Loopback
device 0
subdevice 0
}
#
# Capture device
#
pcm.AndroidCapture {
type hooks
slave.pcm {
type hw
card 0
device 0
}
hooks.0 {
type ctl_elems
hook_args [
{name "DMIC12 Capture Route" value 1}
{name "DMIC34 Capture Route" value 1}
{name "Txpath1 Capture Route" value 0}
{name "Txpath2 Capture Route" value 2}
{name "Txpath3 Capture Route" value 6}
{name "Txpath4 Capture Route" value 6}
]
}
}
#
# WIDI
#
pcm.loopback_src {
type hw
card Loopback
device 1
subdevice 0
}
Best Regards,
Zaid
------------------------------------------------------------------------------ Open source business process management suite built on Java and Eclipse Turn processes into business applications with Bonita BPM Community Edition Quickly connect people, data, and systems into organized workflows Winner of BOSSIE, CODIE, OW2 and Gartner awards http://p.sf.net/sfu/Bonitasoft
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user