[alsa-devel] No sound with Odys Winpad v10 - byt-rt5640
Hi, I'm having trouble getting sound to work and it looks like it's a bug in the driver.
Full description:
When loading the kernel-module for Bay Trail SoC TCO device (Version=3, TCOBASE=0x0460) the kernel throws a kernel trace depending on the firmware-image.
First I provided the firmware-image from kernel.org: fw_sst_0f28.bin-48kHz_i2s_master With this image the kernel loads the firmware but no sound-devices are found. /proc/asound/cards reports no cards. dmesg just tells [ 11.196018] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not registered
If I'm loading a firmware-image from Intel directly I get a sound-device in /proc but the module failes later with a kernel trace. The download-link to the intel-firmware: https://downloadcenter.intel.com/download/23903
The relevant parts of my dmesg for this problem:
[ 11.120805] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not registered [ 11.214831] iTCO_vendor_support: vendor-support=0 [ 11.215294] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11 [ 11.215391] iTCO_wdt: Found a Bay Trail SoC TCO device (Version=3, TCOBASE=0x0460) [ 11.215655] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0) [ 11.215997] byt-rt5640 byt-rt5640: ASoC: CPU DAI baytrail-pcm-audio not registered [ 11.232805] baytrail-pcm-audio baytrail-pcm-audio: FW version: 04.05.12.02 [ 11.232808] baytrail-pcm-audio baytrail-pcm-audio: Build type: 2 [ 11.232811] baytrail-pcm-audio baytrail-pcm-audio: Build date: Jan 16 2014 18:17:00 [ 11.259456] byt-rt5640 byt-rt5640: rt5640-aif1 <-> baytrail-pcm-audio mapping ok
[ 11.970293] audit: type=1305 audit(1441466901.770:2): audit_pid=608 old=0 auid=4294967295 ses=4294967295 res=1 [ 12.291031] irq 6: nobody cared (try booting with the "irqpoll" option) [ 12.294817] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G O 4.2.0-4-desktop #1 [ 12.294822] Hardware name: AXDIA International GmbH WINPAD V10/Type2 - Board Product Name, BIOS AD1012.1.03.017 11/21/2014 [ 12.294826] 00000000 00000000 f582df50 c080ecdd f5b3f500 f582df70 c02abab9 c09c9bfc [ 12.294839] 00000006 00000000 f582df6c f5b3f500 00000006 f582df94 c02abf49 f582df94 [ 12.294850] c05f400c fffb910a 00000000 f5b3f500 f5b3f570 00000000 f582dfd0 c02a9a53 [ 12.294861] Call Trace: [ 12.294874] [<c080ecdd>] dump_stack+0x48/0x69 [ 12.294882] [<c02abab9>] __report_bad_irq+0x29/0xd0 [ 12.294888] [<c02abf49>] note_interrupt+0x1c9/0x210 [ 12.294896] [<c05f400c>] ? add_interrupt_randomness+0x15c/0x190 [ 12.294902] [<c02a9a53>] handle_irq_event_percpu+0xa3/0x1c0 [ 12.294908] [<c02a9ba3>] handle_irq_event+0x33/0x50 [ 12.294914] [<c02ac3b5>] handle_fasteoi_irq+0x75/0x130 [ 12.294919] [<c02ac340>] ? handle_simple_irq+0x70/0x70 [ 12.294925] [<c0204b11>] handle_irq+0x71/0x90 [ 12.294929] <IRQ> [<c081603c>] do_IRQ+0x3c/0xd0 [ 12.294941] [<c08155b3>] common_interrupt+0x33/0x38 [ 12.294948] [<c06e753f>] ? cpuidle_enter_state+0xaf/0x2e0 [ 12.294954] [<c06e77a4>] cpuidle_enter+0x14/0x20 [ 12.294961] [<c02923f3>] call_cpuidle+0x33/0x70 [ 12.294967] [<c029268e>] cpu_startup_entry+0x25e/0x320 [ 12.294973] [<c080743b>] rest_init+0x7b/0x80 [ 12.294980] [<c0b34cd8>] start_kernel+0x456/0x45d [ 12.294986] [<c0b3464e>] ? set_init_arg+0x52/0x52 [ 12.294992] [<c0b3438c>] i386_start_kernel+0x13a/0x13d [ 12.294995] handlers: [ 12.298499] [<f8725c80>] sst_byt_irq [snd_soc_sst_baytrail_pcm] threaded [<f8724360>] sst_byt_irq_thread [snd_soc_sst_baytrail_pcm] [ 12.302073] Disabling IRQ #6
with my limited understanding it looks like the irq isn't handled correctly.
System information:
Linux klappstulle.XXX 4.2.0-4-desktop #1 SMP PREEMPT Mon Aug 31 12:34:37 UTC 2015 (efc468a) i686 i686 i386 GNU/Linux
Modules Loaded fuse dm_crypt drbg ansi_cprng algif_skcipher af_alg loop nf_log_ipv6 af_packet xt_pkttype nf_log_ipv4 nf_log_common xt_LOG xt_limit ip6t_REJECT xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw ipt_REJECT 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 xfs libcrc32c nls_iso8859_1 nls_cp437 vfat fat joydev hid_multitouch iTCO_wdt iTCO_vendor_support r8723bs snd_soc_sst_baytrail_pcm snd_soc_sst_ipc snd_soc_sst_dsp dw_dmac_core snd_soc_sst_byt_rt5640_mach intel_powerclamp coretemp kvm_intel kvm crc32_pclmul aesni_intel aes_i586 xts lrw gf128mul ablk_helper cryptd pcspkr efivars cfg80211 snd_intel_sst_acpi snd_intel_sst_core snd_soc_rt5640 snd_soc_sst_mfld_platform snd_soc_rl6231 snd_soc_core snd_compress lpc_ich mfd_core snd_pcm thermal mei_txe xhci_pci mei rfkill_gpio xhci_hcd 8250_fintek jsa1212 industrialio i2c_hid regmap_i2c battery rfkill snd_timer snd acpi_pad int3402_thermal int3403_thermal processor_thermal_device int340x_thermal_zone intel_soc_dts_iosf ac int3400_thermal acpi_thermal_rel soundcore ac97_bus snd_soc_sst_acpi i2c_designware_platform i2c_designware_core 8250_dw pwm_lpss_platform pwm_lpss processor dm_mod efivarfs btrfs xor raid6_pq mmc_block crc32c_intel i915 i2c_algo_bit drm_kms_helper drm button video sdhci_acpi sdhci mmc_core sg
Package versions gcc-4.8-7.1.2.i586 make-4.0-2.2.3.i586 binutils-2.24-6.1.7.i586 util-linux-2.25.1-17.1.i586 mount from util-linux 2.25.1 (libmount 2.25.0: selinux, assert, debug) glibc-2.19-16.15.1.i686 linux-glibc-devel-3.16-2.1.7.noarch
/proc/cmdline BOOT_IMAGE=/boot/vmlinuz-4.2.0-4-desktop root=UUID=fc064bad-46f0-4947-9364-3a7864bb0b6b ro nomodeset \ sdhci.debug_quirks=0x8000 quiet showopts
/proc/cpuinfo processor : *** 0 - 3 *** vendor_id : GenuineIntel cpu family : 6 model : 55 model name : Intel(R) Atom(TM) CPU Z3735F @ 1.33GHz stepping : 8 microcode : 0x82a cpu MHz : 1751.642 cache size : 1024 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fdiv_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 11 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx rdtscp lm constant_tsc arch_perfmon pebs bts xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand lahf_lm 3dnowprefetch ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid tsc_adjust smep erms bugs : bogomips : 2662.40 clflush size : 64 cache_alignment : 64 address sizes : 36 bits physical, 48 bits virtual power management:
/proc/asound/cards 0 [bytrt5640 ]: byt-rt5640 - byt-rt5640 byt-rt5640
/proc/asound/devices 2: [ 0] : control 3: [ 0- 0]: digital audio playback 4: [ 0- 0]: digital audio capture 33: : timer
Please see attached for full dmesg.
Kind regards Moritz
participants (1)
-
Moritz