No sound on Lenovo 100S (Baytrail, rt5640)

Getting your soundcard to work, using Debian on non-i386 hardware, etc

No sound on Lenovo 100S (Baytrail, rt5640)

Postby amenoko » 2017-09-20 23:43

Hi,

Last winter I bought the Lenovo 100S which had Windows 10 preinstalled. I succeeded in installing Debian on it but ran into various problems. Apart from the network chip not working (I'm using a usb wifi dongle now) and the inability to check the battery, my main problem now is that I have no audio output. I upgraded to unstable and after some troubleshooting found (through dmesg) that I was missing files which suggested I should install firmware-linux-nonfree and firmware-intel-sound.

After installing these packages the firmware seems to load without problems.

Code: Select all
(...)
[    4.836840] bytcr_rt5640 bytcr_rt5640: BIOS Routing: AIF1 connected
[    4.836846] bytcr_rt5640 bytcr_rt5640: quirk IN1_MAP enabled
[    4.836848] bytcr_rt5640 bytcr_rt5640: quirk DIFF_MIC enabled
[    4.836850] bytcr_rt5640 bytcr_rt5640: quirk SSP0_AIF1 enabled
[    4.836852] bytcr_rt5640 bytcr_rt5640: quirk MCLK_EN enabled
[    4.847217] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[    4.847287] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
[    4.847339] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
[    4.852594] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    4.852719] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    4.854492] bytcr_rt5640 bytcr_rt5640: rt5640-aif1 <-> ssp0-port mapping ok
(...)


The device seems to be recognised as a soundcard, and shows up in alsamixer with the Speakers slider being modifiable.
Code: Select all
ame@lenovo:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: bytcrrt5640 [bytcr-rt5640], device 0: Baytrail Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: bytcrrt5640 [bytcr-rt5640], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audio [Intel HDMI/DP LPE Audio], device 0: HdmiLpeAudio [Intel HDMI/DP LPE Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Weirdly enough it doesn't show up in lspci.
Code: Select all
ame@lenovo:~$ lspci
00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0f)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0f)
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0f)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0f)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0f)


Despite it being recognised, apparently my system fails to utilise it.
Code: Select all
ame@lenovo:~$ speaker-test -c2

speaker-test 1.1.3

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 204800
Period size range from 8 to 102400
Using max buffer size 204800
Periods = 4
Unable to set hw params for playback: Invalid argument
Setting of hwparams failed: Invalid argument

Code: Select all
ame@lenovo:~/Desktop$ mplayer sekimatsu.mp3
Creating config file: /home/ame/.mplayer/config
MPlayer 1.3.0 (Debian), built with gcc-7 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing sekimatsu.mp3.
libavformat version 57.71.100 (external)
Audio only file format detected.
Load subtitles in ./
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 320.0 kbit/22.68% (ratio: 40000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
[AO_ALSA] alsa-lib: pcm_hw.c:603:(snd_pcm_hw_prepare) SNDRV_PCM_IOCTL_PREPARE failed (-22): Invalid argument
[AO_ALSA] Unable to set hw-parameters: Invalid argument
Failed to initialize audio driver 'alsa'
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format s16le
[AO SDL] using aalib audio driver.
[AO SDL] Unable to open audio: No available audio device
Failed to initialize audio driver 'sdl:aalib'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)

Code: Select all
ame@lenovo:~/Desktop$ pulseaudio
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-bytcr_rt5640" card_name="alsa_card.platform-bytcr_rt5640" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1""): initialization failed.
Killed


Whenever any program tries to start playback, this message pops up in dmesg many times:
Code: Select all
[  139.657252]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  245.281111]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  307.683859]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  326.905170]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  343.583402]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  358.579559]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
(...)


Here is my full dmesg.
Code: Select all
[    0.000000] Linux version 4.12.0-2-amd64 (debian-kernel@lists.debian.org) (gcc version 6.4.0 20170915 (Debian 6.4.0-6) ) #1 SMP Debian 4.12.13-1 (2017-09-19)
[    0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.12.0-2-amd64 root=UUID=ab82575a-74dc-4955-b6a0-a2382d80348e ro quiet
[    0.000000] x86/fpu: x87 FPU will use FXSAVE
[    0.000000] e820: BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000008efff] usable
[    0.000000] BIOS-e820: [mem 0x000000000008f000-0x000000000008ffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000000090000-0x000000000009dfff] usable
[    0.000000] BIOS-e820: [mem 0x000000000009e000-0x000000000009ffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x000000001fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000020000000-0x00000000201fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000020200000-0x00000000771e1fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000771e2000-0x00000000771e2fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000771e3000-0x00000000771ebfff] type 20
[    0.000000] BIOS-e820: [mem 0x00000000771ec000-0x000000007727efff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007727f000-0x00000000772fffff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x0000000077300000-0x000000007b078fff] usable
[    0.000000] BIOS-e820: [mem 0x000000007b079000-0x000000007b0d8fff] type 20
[    0.000000] BIOS-e820: [mem 0x000000007b0d9000-0x000000007b2f8fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007b2f9000-0x000000007b2f9fff] usable
[    0.000000] BIOS-e820: [mem 0x000000007b2fa000-0x000000007b2fafff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007b2fb000-0x000000007b2fcfff] usable
[    0.000000] BIOS-e820: [mem 0x000000007b2fd000-0x000000007b2fdfff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007b2fe000-0x000000007bcf1fff] usable
[    0.000000] BIOS-e820: [mem 0x000000007bcf2000-0x000000007c5f1fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007c5f2000-0x000000007c7fffff] usable
[    0.000000] BIOS-e820: [mem 0x000000007cc00000-0x000000007cc1efff] usable
[    0.000000] BIOS-e820: [mem 0x000000007cc1f000-0x000000007cc46fff] reserved
[    0.000000] BIOS-e820: [mem 0x000000007cc47000-0x000000007ccb6fff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000007ccb7000-0x000000007ccf6fff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000007ccf7000-0x000000007ccfffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000e00f8000-0x00000000e00f8fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fed01000-0x00000000fed01fff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000ffd00000-0x00000000ffffffff] reserved
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.40 by INSYDE Corp.
[    0.000000] efi:  ACPI 2.0=0x7ccf6014  ESRT=0x7b1ec010  SMBIOS=0x7b2af000
[    0.000000] SMBIOS 2.8 present.
[    0.000000] DMI: LENOVO 80R2/Aristotle 11.6, BIOS E2CN13WW 12/22/2015
[    0.000000] e820: update [mem 0x00000000-0x00000fff] usable ==> reserved
[    0.000000] e820: remove [mem 0x000a0000-0x000fffff] usable
[    0.000000] e820: last_pfn = 0x7cd00 max_arch_pfn = 0x400000000
[    0.000000] MTRR default type: uncachable
[    0.000000] MTRR fixed ranges enabled:
[    0.000000]   00000-9FFFF write-back
[    0.000000]   A0000-FFFFF write-protect
[    0.000000] MTRR variable ranges enabled:
[    0.000000]   0 base 0FFD00000 mask FFFC00000 write-protect
[    0.000000]   1 base 000000000 mask F80000000 write-back
[    0.000000]   2 base 07E000000 mask FFE000000 uncachable
[    0.000000]   3 base 07D000000 mask FFF000000 uncachable
[    0.000000]   4 base 07CE00000 mask FFFE00000 uncachable
[    0.000000]   5 base 07CD00000 mask FFFF00000 uncachable
[    0.000000]   6 disabled
[    0.000000]   7 disabled
[    0.000000] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WC  UC- WT 
[    0.000000] esrt: Reserving ESRT space from 0x000000007b1ec010 to 0x000000007b1ec048.
[    0.000000] Base memory trampoline at [ffffa0efc0098000] 98000 size 24576
[    0.000000] BRK [0x1a754000, 0x1a754fff] PGTABLE
[    0.000000] BRK [0x1a755000, 0x1a755fff] PGTABLE
[    0.000000] BRK [0x1a756000, 0x1a756fff] PGTABLE
[    0.000000] BRK [0x1a757000, 0x1a757fff] PGTABLE
[    0.000000] BRK [0x1a758000, 0x1a758fff] PGTABLE
[    0.000000] BRK [0x1a759000, 0x1a759fff] PGTABLE
[    0.000000] BRK [0x1a75a000, 0x1a75afff] PGTABLE
[    0.000000] BRK [0x1a75b000, 0x1a75bfff] PGTABLE
[    0.000000] BRK [0x1a75c000, 0x1a75cfff] PGTABLE
[    0.000000] BRK [0x1a75d000, 0x1a75dfff] PGTABLE
[    0.000000] BRK [0x1a75e000, 0x1a75efff] PGTABLE
[    0.000000] BRK [0x1a75f000, 0x1a75ffff] PGTABLE
[    0.000000] Secure boot could not be determined
[    0.000000] RAMDISK: [mem 0x358cf000-0x36c5efff]
[    0.000000] ACPI: Early table checksum verification disabled
[    0.000000] ACPI: RSDP 0x000000007CCF6014 000024 (v02 LENOVO)
[    0.000000] ACPI: XSDT 0x000000007CCCF188 0000EC (v01 LENOVO CB-01    00000001      01000013)
[    0.000000] ACPI: FACP 0x000000007CCEF000 00010C (v05 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: DSDT 0x000000007CCDB000 00EC5C (v02 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: UEFI 0x000000007CCF5000 000236 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: TCPA 0x000000007CCF4000 000032 (v02 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: MSDM 0x000000007CCF3000 000055 (v03 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: UEFI 0x000000007CCF2000 000042 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: OEM0 0x000000007CCF1000 000084 (v05 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: DBG2 0x000000007CCF0000 000072 (v00 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: HPET 0x000000007CCEE000 000038 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: LPIT 0x000000007CCED000 000104 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: APIC 0x000000007CCEC000 00006C (v03 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: MCFG 0x000000007CCEB000 00003C (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: SLIC 0x000000007CCEA000 000176 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: SSDT 0x000000007CCDA000 0005C1 (v01 LENOVO CpuDptf  00000003 ACPI 00040000)
[    0.000000] ACPI: SSDT 0x000000007CCD7000 0024BC (v01 LENOVO DptfTab  00000003 ACPI 00040000)
[    0.000000] ACPI: SSDT 0x000000007CCD6000 000058 (v01 LENOVO LowPwrM  00000003 ACPI 00040000)
[    0.000000] ACPI: SSDT 0x000000007CCD5000 0000FF (v01 LENOVO SoCDptf  00000003 ACPI 00040000)
[    0.000000] ACPI: SSDT 0x000000007CCD4000 00043A (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: TPM2 0x000000007CCD3000 000034 (v03 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: SSDT 0x000000007CCD2000 000763 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: SSDT 0x000000007CCD1000 000290 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: SSDT 0x000000007CCD0000 00017A (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: FPDT 0x000000007CCCE000 000044 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: WDAT 0x000000007CCCD000 000104 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: CSRT 0x000000007CCCC000 00014C (v00 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: BGRT 0x000000007CCCB000 000038 (v01 LENOVO CB-01    00000001 ACPI 00040000)
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] No NUMA configuration found
[    0.000000] Faking a node at [mem 0x0000000000000000-0x000000007ccfffff]
[    0.000000] NODE_DATA(0) allocated [mem 0x7cc1a000-0x7cc1efff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.000000]   DMA32    [mem 0x0000000001000000-0x000000007ccfffff]
[    0.000000]   Normal   empty
[    0.000000]   Device   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000001000-0x000000000008efff]
[    0.000000]   node   0: [mem 0x0000000000090000-0x000000000009dfff]
[    0.000000]   node   0: [mem 0x0000000000100000-0x000000001fffffff]
[    0.000000]   node   0: [mem 0x0000000020200000-0x00000000771e1fff]
[    0.000000]   node   0: [mem 0x0000000077300000-0x000000007b078fff]
[    0.000000]   node   0: [mem 0x000000007b2f9000-0x000000007b2f9fff]
[    0.000000]   node   0: [mem 0x000000007b2fb000-0x000000007b2fcfff]
[    0.000000]   node   0: [mem 0x000000007b2fe000-0x000000007bcf1fff]
[    0.000000]   node   0: [mem 0x000000007c5f2000-0x000000007c7fffff]
[    0.000000]   node   0: [mem 0x000000007cc00000-0x000000007cc1efff]
[    0.000000]   node   0: [mem 0x000000007ccf7000-0x000000007ccfffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000001000-0x000000007ccfffff]
[    0.000000] On node 0 totalpages: 506148
[    0.000000]   DMA zone: 64 pages used for memmap
[    0.000000]   DMA zone: 22 pages reserved
[    0.000000]   DMA zone: 3996 pages, LIFO batch:0
[    0.000000]   DMA32 zone: 7924 pages used for memmap
[    0.000000]   DMA32 zone: 502152 pages, LIFO batch:31
[    0.000000] x86/hpet: Will disable the HPET for this platform because it's not reliable
[    0.000000] Reserving Intel graphics memory at 0x000000007cf00000-0x000000007eefffff
[    0.000000] ACPI: Local APIC address 0xfee00000
[    0.000000] IOAPIC[0]: apic_id 2, version 32, address 0xfec00000, GSI 0-86
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    0.000000] Using ACPI (MADT) for SMP configuration information
[    0.000000] ACPI: HPET id: 0x8086a201 base: 0xfed00000
[    0.000000] smpboot: Allowing 4 CPUs, 0 hotplug CPUs
[    0.000000] PM: Registered nosave memory: [mem 0x00000000-0x00000fff]
[    0.000000] PM: Registered nosave memory: [mem 0x0008f000-0x0008ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x0009e000-0x0009ffff]
[    0.000000] PM: Registered nosave memory: [mem 0x000a0000-0x000fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x20000000-0x201fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x771e2000-0x771e2fff]
[    0.000000] PM: Registered nosave memory: [mem 0x771e3000-0x771ebfff]
[    0.000000] PM: Registered nosave memory: [mem 0x771ec000-0x7727efff]
[    0.000000] PM: Registered nosave memory: [mem 0x7727f000-0x772fffff]
[    0.000000] PM: Registered nosave memory: [mem 0x7b079000-0x7b0d8fff]
[    0.000000] PM: Registered nosave memory: [mem 0x7b0d9000-0x7b2f8fff]
[    0.000000] PM: Registered nosave memory: [mem 0x7b2fa000-0x7b2fafff]
[    0.000000] PM: Registered nosave memory: [mem 0x7b2fd000-0x7b2fdfff]
[    0.000000] PM: Registered nosave memory: [mem 0x7bcf2000-0x7c5f1fff]
[    0.000000] PM: Registered nosave memory: [mem 0x7c800000-0x7cbfffff]
[    0.000000] PM: Registered nosave memory: [mem 0x7cc1f000-0x7cc46fff]
[    0.000000] PM: Registered nosave memory: [mem 0x7cc47000-0x7ccb6fff]
[    0.000000] PM: Registered nosave memory: [mem 0x7ccb7000-0x7ccf6fff]
[    0.000000] e820: [mem 0x7ef00000-0xe00f7fff] available for PCI devices
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.000000] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645519600211568 ns
[    0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:4 nr_node_ids:1
[    0.000000] percpu: Embedded 38 pages/cpu @ffffa0f03ae00000 s114840 r8192 d32616 u524288
[    0.000000] pcpu-alloc: s114840 r8192 d32616 u524288 alloc=1*2097152
[    0.000000] pcpu-alloc: [0] 0 1 2 3
[    0.000000] Built 1 zonelists in Node order, mobility grouping on.  Total pages: 498138
[    0.000000] Policy zone: DMA32
[    0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.12.0-2-amd64 root=UUID=ab82575a-74dc-4955-b6a0-a2382d80348e ro quiet
[    0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000] Calgary: detecting Calgary via BIOS EBDA area
[    0.000000] Calgary: Unable to locate Rio Grande table in EBDA - bailing!
[    0.000000] Memory: 1925052K/2024592K available (6485K kernel code, 1145K rwdata, 2908K rodata, 1468K init, 704K bss, 99540K reserved, 0K cma-reserved)
[    0.000000] ftrace: allocating 28157 entries in 110 pages
[    0.000000] Hierarchical RCU implementation.
[    0.000000]    RCU restricting CPUs from NR_CPUS=512 to nr_cpu_ids=4.
[    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000] NR_IRQS:33024 nr_irqs:1024 0
[    0.000000] Console: colour dummy device 80x25
[    0.000000] console [tty0] enabled
[    0.000000] tsc: Detected 1332.800 MHz processor
[    0.000017] Calibrating delay loop (skipped), value calculated using timer frequency.. 2665.60 BogoMIPS (lpj=5331200)
[    0.000024] pid_max: default: 32768 minimum: 301
[    0.000073] ACPI: Core revision 20170303
[    0.004000] ACPI: 9 ACPI AML tables successfully acquired and loaded
[    0.004000] Security Framework initialized
[    0.004000] Yama: disabled by default; enable with sysctl kernel.yama.*
[    0.004000] AppArmor: AppArmor disabled by boot time parameter
[    0.004000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
[    0.004000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.004000] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.004000] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
[    0.004000] CPU: Physical Processor ID: 0
[    0.004000] CPU: Processor Core ID: 0
[    0.004000] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[    0.004000] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[    0.004000] mce: CPU supports 6 MCE banks
[    0.004000] CPU0: Thermal monitoring enabled (TM1)
[    0.004000] process: using mwait in idle threads
[    0.004000] Last level iTLB entries: 4KB 48, 2MB 0, 4MB 0
[    0.004000] Last level dTLB entries: 4KB 128, 2MB 16, 4MB 16, 1GB 0
[    0.004000] Freeing SMP alternatives memory: 24K
[    0.004000] smpboot: Max logical packages: 1
[    0.004000] TSC deadline timer enabled
[    0.004000] smpboot: CPU0: Intel(R) Atom(TM) CPU  Z3735F @ 1.33GHz (family: 0x6, model: 0x37, stepping: 0x8)
[    0.004000] Performance Events: PEBS fmt2+, 8-deep LBR, Silvermont events, 8-deep LBR, full-width counters, Intel PMU driver.
[    0.004000] ... version:                3
[    0.004000] ... bit width:              40
[    0.004000] ... generic registers:      2
[    0.004000] ... value mask:             000000ffffffffff
[    0.004000] ... max period:             0000007fffffffff
[    0.004000] ... fixed-purpose events:   3
[    0.004000] ... event mask:             0000000700000003
[    0.004000] smp: Bringing up secondary CPUs ...
[    0.004000] x86: Booting SMP configuration:
[    0.004000] .... node  #0, CPUs:      #1
[    0.080159] NMI watchdog: enabled on all CPUs, permanently consumes one hw-PMU counter.
[    0.080595]  #2 #3
[    0.240053] smp: Brought up 1 node, 4 CPUs
[    0.240053] smpboot: Total of 4 processors activated (10669.88 BogoMIPS)
[    0.240824] sched_clock: Marking stable (240000000, 0)->(285623145, -45623145)
[    0.241427] devtmpfs: initialized
[    0.241588] x86/mm: Memory block size: 128MB
[    0.250721] PM: Registering ACPI NVS region [mem 0x0008f000-0x0008ffff] (4096 bytes)
[    0.250726] PM: Registering ACPI NVS region [mem 0x7727f000-0x772fffff] (528384 bytes)
[    0.250771] PM: Registering ACPI NVS region [mem 0x7cc47000-0x7ccb6fff] (458752 bytes)
[    0.250931] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.250956] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.251096] pinctrl core: initialized pinctrl subsystem
[    0.251421] NET: Registered protocol family 16
[    0.251890] cpuidle: using governor ladder
[    0.251980] cpuidle: using governor menu
[    0.251985] PCCT header not found.
[    0.252048] ACPI: bus type PCI registered
[    0.252052] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.252229] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000)
[    0.252255] PCI: not using MMCONFIG
[    0.252259] PCI: Using configuration type 1 for base access
[    0.255141] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.255916] ACPI: Added _OSI(Module Device)
[    0.255920] ACPI: Added _OSI(Processor Device)
[    0.255922] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.255924] ACPI: Added _OSI(Processor Aggregator Device)
[    0.283376] ACPI: Dynamic OEM Table Load:
[    0.283398] ACPI: SSDT 0xFFFFA0F039B20800 00048C (v01 PmRef  Cpu0Ist  00003000 INTL 20130117)
[    0.284132] ACPI: Dynamic OEM Table Load:
[    0.284151] ACPI: SSDT 0xFFFFA0F03A118000 000433 (v01 PmRef  Cpu0Cst  00003001 INTL 20130117)
[    0.285671] ACPI: Dynamic OEM Table Load:
[    0.285689] ACPI: SSDT 0xFFFFA0F03A119600 00015F (v01 PmRef  ApIst    00003000 INTL 20130117)
[    0.286341] ACPI: Dynamic OEM Table Load:
[    0.286358] ACPI: SSDT 0xFFFFA0F039BA4CC0 00008D (v01 PmRef  ApCst    00003000 INTL 20130117)
[    0.290873] ACPI: Interpreter enabled
[    0.290916] ACPI: (supports S0 S5)
[    0.290919] ACPI: Using IOAPIC for interrupt routing
[    0.291012] PCI: MMCONFIG for domain 0000 [bus 00-3f] at [mem 0xe0000000-0xe3ffffff] (base 0xe0000000)
[    0.298926] [Firmware Info]: PCI: MMCONFIG at [mem 0xe0000000-0xe3ffffff] not reserved in ACPI motherboard resources
[    0.298931] PCI: not using MMCONFIG
[    0.298939] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.304103] ACPI: Power Resource [USBC] (on)
[    0.305617] ACPI: Power Resource [WWPR] (off)
[    0.315055] ACPI: Power Resource [PLPE] (on)
[    0.330978] ACPI: Power Resource [CLK0] (on)
[    0.331111] ACPI: Power Resource [CLK1] (on)
[    0.338736] ACPI: Power Resource [P28X] (off)
[    0.338874] ACPI: Power Resource [P18X] (off)
[    0.339010] ACPI: Power Resource [P28P] (off)
[    0.339150] ACPI: Power Resource [P18P] (off)
[    0.339283] ACPI: Power Resource [P28T] (off)
[    0.339422] ACPI: Power Resource [P18T] (off)
[    0.339555] ACPI: Power Resource [P1XT] (off)
[    0.351493] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[    0.351505] acpi PNP0A08:00: _OSC: OS supports [ASPM ClockPM Segments MSI]
[    0.351653] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[    0.351686] acpi PNP0A08:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.352479] PCI host bridge to bus 0000:00
[    0.352486] pci_bus 0000:00: root bus resource [io  0x0070-0x0077]
[    0.352491] pci_bus 0000:00: root bus resource [io  0x0000-0x006f window]
[    0.352495] pci_bus 0000:00: root bus resource [io  0x0078-0x0cf7 window]
[    0.352499] pci_bus 0000:00: root bus resource [io  0x0d00-0xffff window]
[    0.352504] pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff window]
[    0.352508] pci_bus 0000:00: root bus resource [mem 0x000c0000-0x000dffff window]
[    0.352512] pci_bus 0000:00: root bus resource [mem 0x000e0000-0x000fffff window]
[    0.352516] pci_bus 0000:00: root bus resource [mem 0x7cf00001-0x7ef00000 window]
[    0.352520] pci_bus 0000:00: root bus resource [mem 0x80000000-0x908ffffe window]
[    0.352524] pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed40fff window]
[    0.352530] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.352546] pci 0000:00:00.0: [8086:0f00] type 00 class 0x060000
[    0.352766] pci 0000:00:02.0: [8086:0f31] type 00 class 0x030000
[    0.352784] pci 0000:00:02.0: reg 0x10: [mem 0x90000000-0x903fffff]
[    0.352799] pci 0000:00:02.0: reg 0x18: [mem 0x80000000-0x8fffffff pref]
[    0.352813] pci 0000:00:02.0: reg 0x20: [io  0x1000-0x1007]
[    0.353040] pci 0000:00:14.0: [8086:0f35] type 00 class 0x0c0330
[    0.353064] pci 0000:00:14.0: reg 0x10: [mem 0x90800000-0x9080ffff 64bit]
[    0.353143] pci 0000:00:14.0: PME# supported from D3hot D3cold
[    0.353329] pci 0000:00:1a.0: [8086:0f18] type 00 class 0x108000
[    0.353354] pci 0000:00:1a.0: reg 0x10: [mem 0x90700000-0x907fffff]
[    0.353368] pci 0000:00:1a.0: reg 0x14: [mem 0x90600000-0x906fffff]
[    0.353468] pci 0000:00:1a.0: PME# supported from D0 D3hot
[    0.353640] pci 0000:00:1f.0: [8086:0f1c] type 00 class 0x060100
[    0.354934] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.355163] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.355390] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.355615] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.355842] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.356069] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.356313] ACPI: PCI Interrupt Link [LNKG] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.356539] ACPI: PCI Interrupt Link [LNKH] (IRQs 3 4 5 6 10 11 12 14 15) *0, disabled.
[    0.367527] acpi 80860F09:00: Device [PWM1] is in always present list
[    0.377134] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[    0.377140] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[    0.377146] pci 0000:00:02.0: vgaarb: bridge control possible
[    0.377148] vgaarb: loaded
[    0.377275] EDAC MC: Ver: 3.0.0
[    0.377505] Registered efivars operations
[    0.388856] PCI: Using ACPI for IRQ routing
[    0.388862] PCI: pci_cache_line_size set to 64 bytes
[    0.388889] Expanded resource Reserved due to conflict with PCI Bus 0000:00
[    0.388895] e820: reserve RAM buffer [mem 0x0008f000-0x0008ffff]
[    0.388899] e820: reserve RAM buffer [mem 0x0009e000-0x0009ffff]
[    0.388903] e820: reserve RAM buffer [mem 0x771e2000-0x77ffffff]
[    0.388906] e820: reserve RAM buffer [mem 0x7b079000-0x7bffffff]
[    0.388909] e820: reserve RAM buffer [mem 0x7b2fa000-0x7bffffff]
[    0.388912] e820: reserve RAM buffer [mem 0x7b2fd000-0x7bffffff]
[    0.388915] e820: reserve RAM buffer [mem 0x7bcf2000-0x7bffffff]
[    0.388918] e820: reserve RAM buffer [mem 0x7c800000-0x7fffffff]
[    0.388923] e820: reserve RAM buffer [mem 0x7cc1f000-0x7fffffff]
[    0.388927] e820: reserve RAM buffer [mem 0x7cd00000-0x7fffffff]
[    0.389362] clocksource: Switched to clocksource refined-jiffies
[    0.418908] VFS: Disk quotas dquot_6.6.0
[    0.418960] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.419176] pnp: PnP ACPI init
[    0.419326] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[    0.419511] system 00:01: [io  0x0680-0x069f] has been reserved
[    0.419517] system 00:01: [io  0x0400-0x047f] has been reserved
[    0.419522] system 00:01: [io  0x0500-0x05fe] has been reserved
[    0.419526] system 00:01: [io  0x0600-0x061f] has been reserved
[    0.419531] system 00:01: [io  0x164e-0x164f] has been reserved
[    0.419540] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[    0.424279] pnp: PnP ACPI: found 2 devices
[    0.429637] pci_bus 0000:00: resource 4 [io  0x0070-0x0077]
[    0.429643] pci_bus 0000:00: resource 5 [io  0x0000-0x006f window]
[    0.429647] pci_bus 0000:00: resource 6 [io  0x0078-0x0cf7 window]
[    0.429651] pci_bus 0000:00: resource 7 [io  0x0d00-0xffff window]
[    0.429655] pci_bus 0000:00: resource 8 [mem 0x000a0000-0x000bffff window]
[    0.429659] pci_bus 0000:00: resource 9 [mem 0x000c0000-0x000dffff window]
[    0.429663] pci_bus 0000:00: resource 10 [mem 0x000e0000-0x000fffff window]
[    0.429668] pci_bus 0000:00: resource 11 [mem 0x7cf00001-0x7ef00000 window]
[    0.429672] pci_bus 0000:00: resource 12 [mem 0x80000000-0x908ffffe window]
[    0.429676] pci_bus 0000:00: resource 13 [mem 0xfed40000-0xfed40fff window]
[    0.429886] NET: Registered protocol family 2
[    0.430304] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.430407] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
[    0.430523] TCP: Hash tables configured (established 16384 bind 16384)
[    0.430610] UDP hash table entries: 1024 (order: 3, 32768 bytes)
[    0.430640] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
[    0.430773] NET: Registered protocol family 1
[    0.430810] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[    0.431246] PCI: CLS 64 bytes, default 64
[    0.431371] Unpacking initramfs...
[    1.285993] Freeing initrd memory: 20032K
[    1.286142] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x133626f6b26, max_idle_ns: 440795214178 ns
[    1.286177] clocksource: Switched to clocksource tsc
[    1.287106] audit: initializing netlink subsys (disabled)
[    1.287263] audit: type=2000 audit(1505958231.289:1): state=initialized audit_enabled=0 res=1
[    1.288054] workingset: timestamp_bits=40 max_order=19 bucket_order=0
[    1.288146] zbud: loaded
[    2.481964] Key type asymmetric registered
[    2.481968] Asymmetric key parser 'x509' registered
[    2.482016] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[    2.482089] io scheduler noop registered
[    2.482092] io scheduler deadline registered
[    2.482141] io scheduler cfq registered (default)
[    2.482143] io scheduler mq-deadline registered
[    2.482450] efifb: probing for efifb
[    2.482478] efifb: framebuffer at 0x80000000, using 4160k, total 4160k
[    2.482481] efifb: mode is 1366x768x32, linelength=5504, pages=1
[    2.482482] efifb: scrolling: redraw
[    2.482485] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    2.492397] Console: switching to colour frame buffer device 170x48
[    2.501937] fb0: EFI VGA frame buffer device
[    2.501960] intel_idle: MWAIT substates: 0x33000020
[    2.501963] intel_idle: v0.4.1 model 0x37
[    2.502399] intel_idle: lapic_timer_reliable_states 0xffffffff
[    2.507189] GHES: HEST is not enabled!
[    2.507376] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    2.527669] serial8250: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[    2.551250] 80860F0A:00: ttyS1 at MMIO 0x90919000 (irq = 186, base_baud = 2764800) is a 16550A
[    2.571264] 80860F0A:01: ttyS2 at MMIO 0x9091b000 (irq = 187, base_baud = 2764800) is a 16550A
[    2.572103] hpet: number irqs doesn't agree with number of timers
[    2.572178] Linux agpgart interface v0.103
[    2.572388] AMD IOMMUv2 driver by Joerg Roedel <jroedel@suse.de>
[    2.572391] AMD IOMMUv2 functionality not available on this system
[    2.573711] i8042: PNP: No PS/2 controller found.
[    2.574133] mousedev: PS/2 mouse device common for all mice
[    2.574215] ACPI Warning: Could not enable fixed event - RealTimeClock (4) (20170303/evxface-654)
[    2.574471] rtc_cmos 00:00: rtc core: registered rtc_cmos as rtc0
[    2.574484] rtc_cmos 00:00: no alarms, y3k, 242 bytes nvram
[    2.574505] intel_pstate: Intel P-state driver initializing
[    2.576283] ledtrig-cpu: registered to indicate activity on CPUs
[    2.579001] NET: Registered protocol family 10
[    2.580885] Segment Routing with IPv6
[    2.580970] mip6: Mobile IPv6
[    2.580980] NET: Registered protocol family 17
[    2.580996] mpls_gso: MPLS GSO support
[    2.584349] microcode: sig=0x30678, pf=0x2, revision=0x832
[    2.585285] microcode: Microcode Update Driver: v2.2.
[    2.589525] registered taskstats version 1
[    2.589630] zswap: loaded using pool lzo/zbud
[    2.592288] ima: No TPM chip found, activating TPM-bypass! (rc=-19)
[    2.592953] rtc_cmos 00:00: setting system clock to 2017-09-21 01:43:52 UTC (1505958232)
[    2.593156] PM: Hibernation image not present or could not be loaded.
[    2.610223] Freeing unused kernel memory: 1468K
[    2.610226] Write protecting the kernel read-only data: 12288k
[    2.612409] Freeing unused kernel memory: 1692K
[    2.619679] Freeing unused kernel memory: 1188K
[    2.622697] x86/mm: Checked W+X mappings: passed, no W+X pages found.
[    2.806199] sdhci: Secure Digital Host Controller Interface driver
[    2.806204] sdhci: Copyright(c) Pierre Ossman
[    2.807824] mmc0: SDHCI controller on ACPI [INT33BB:00] using ADMA
[    2.827105] mmc1: SDHCI controller on ACPI [80860F14:00] using ADMA
[    2.836134] [Firmware Bug]: No valid trip found
[    2.841202] ACPI: bus type USB registered
[    2.841284] usbcore: registered new interface driver usbfs
[    2.841322] usbcore: registered new interface driver hub
[    2.841420] usbcore: registered new device driver usb
[    2.844673] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    2.844694] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[    2.845796] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x00009810
[    2.845803] xhci_hcd 0000:00:14.0: cache line size of 64 is not supported
[    2.845983] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    2.845988] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    2.845991] usb usb1: Product: xHCI Host Controller
[    2.845993] usb usb1: Manufacturer: Linux 4.12.0-2-amd64 xhci-hcd
[    2.845996] usb usb1: SerialNumber: 0000:00:14.0
[    2.846344] hub 1-0:1.0: USB hub found
[    2.846365] hub 1-0:1.0: 6 ports detected
[    2.873481] mmc0: new high speed SDIO card at address 0001
[    2.911150] mmc2: SDHCI controller on ACPI [80860F14:02] using ADMA
[    2.943285] SSE version of gcm_enc/dec engaged.
[    3.003540] hidraw: raw HID events driver (C) Jiri Kosina
[    3.023772] Potential Error: Setting GPIO with direct_irq_en to output
[    3.023826] ------------[ cut here ]------------
[    3.023849] WARNING: CPU: 3 PID: 116 at /build/linux-VIJNLT/linux-4.12.13/drivers/pinctrl/intel/pinctrl-baytrail.c:1035 byt_gpio_set_direction+0x98/0xa0
[    3.023853] Modules linked in: mmc_block i2c_hid(+) hid crc32c_intel aesni_intel aes_x86_64 crypto_simd cryptd glue_helper xhci_pci(+) xhci_hcd usbcore usb_common thermal i2c_designware_platform sdhci_acpi i2c_designware_core sdhci mmc_core
[    3.023933] CPU: 3 PID: 116 Comm: systemd-udevd Not tainted 4.12.0-2-amd64 #1 Debian 4.12.13-1
[    3.023938] Hardware name: LENOVO 80R2/Aristotle 11.6, BIOS E2CN13WW 12/22/2015
[    3.023945] task: ffffa0eff5d12180 task.stack: ffffba51c07b4000
[    3.023955] RIP: 0010:byt_gpio_set_direction+0x98/0xa0
[    3.023962] RSP: 0018:ffffba51c07b7728 EFLAGS: 00010082
[    3.023972] RAX: 000000000000003a RBX: ffffa0f03b8b8b98 RCX: ffffffffa084b508
[    3.023978] RDX: 0000000000000000 RSI: 0000000000000092 RDI: 0000000000000083
[    3.023983] RBP: 0000000000000000 R08: 000000000000003a R09: 00000000000001b5
[    3.023989] R10: 0000000000000001 R11: 0000000000000003 R12: ffffba51c04251f8
[    3.023995] R13: ffffba51c04251f0 R14: 0000000000000000 R15: ffffa0f03b8b8a18
[    3.024004] FS:  00007f60b69d98c0(0000) GS:ffffa0f03af80000(0000) knlGS:0000000000000000
[    3.024010] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.024016] CR2: 00007ffd49f9cf00 CR3: 0000000035d16000 CR4: 00000000001006e0
[    3.024022] Call Trace:
[    3.024042]  ? pinctrl_gpio_direction+0x7c/0xa0
[    3.024053]  ? byt_gpio_direction_output+0x1f/0x50
[    3.024067]  ? _gpiod_direction_output_raw+0xa3/0x290
[    3.024078]  ? acpi_gpio_adr_space_handler+0x1f4/0x340
[    3.024092]  ? down_timeout+0x31/0x50
[    3.024102]  ? acpi_can_fallback_to_crs.part.8+0x110/0x110
[    3.024115]  ? acpi_ev_address_space_dispatch+0x1ef/0x24d
[    3.024126]  ? acpi_ex_access_region+0x1df/0x25e
[    3.024137]  ? acpi_ex_write_data_to_field+0x19a/0x1fb
[    3.024148]  ? acpi_ex_store_object_to_node+0x14d/0x17c
[    3.024158]  ? acpi_ex_store+0xc6/0x256
[    3.024168]  ? acpi_ex_opcode_1A_1T_1R+0x408/0x545
[    3.024179]  ? acpi_ds_exec_end_op+0xc6/0x3c8
[    3.024191]  ? acpi_ps_parse_loop+0x51d/0x590
[    3.024195]  ? acpi_ps_parse_aml+0x91/0x27f
[    3.024199]  ? acpi_ps_execute_method+0x145/0x179
[    3.024203]  ? acpi_ns_evaluate+0x1bc/0x23a
[    3.024207]  ? acpi_evaluate_object+0x13e/0x247
[    3.024213]  ? acpi_dev_pm_explicit_set.part.2+0x47/0x70
[    3.024222]  ? i2c_hid_probe+0x431/0x626 [i2c_hid]
[    3.024226]  ? acpi_device_wakeup+0x21/0x90
[    3.024232]  ? i2c_hid_start+0x130/0x130 [i2c_hid]
[    3.024237]  ? i2c_device_probe+0x174/0x210
[    3.024243]  ? driver_probe_device+0x293/0x440
[    3.024247]  ? __driver_attach+0xda/0xe0
[    3.024251]  ? driver_probe_device+0x440/0x440
[    3.024256]  ? driver_probe_device+0x440/0x440
[    3.024259]  ? bus_for_each_dev+0x67/0xb0
[    3.024264]  ? bus_add_driver+0x16a/0x260
[    3.024268]  ? driver_register+0x57/0xc0
[    3.024272]  ? i2c_register_driver+0x3d/0x90
[    3.024275]  ? 0xffffffffc01e2000
[    3.024280]  ? do_one_initcall+0x4e/0x190
[    3.024284]  ? __vunmap+0x71/0xb0
[    3.024290]  ? do_init_module+0x5b/0x1fe
[    3.024294]  ? load_module+0x2635/0x2b90
[    3.024301]  ? SYSC_finit_module+0xc6/0xf0
[    3.024305]  ? SYSC_finit_module+0xc6/0xf0
[    3.024312]  ? system_call_fast_compare_end+0xc/0x97
[    3.024314] Code: 89 df e8 2c 36 2c 00 48 83 c4 08 31 c0 5b 5d 41 5c 41 5d 41 5e c3 83 cd 02 eb e0 48 c7 c7 d0 87 64 a0 48 89 34 24 e8 2e 76 df ff <0f> ff 48 8b 34 24 eb c8 0f 1f 44 00 00 55 53 89 d5 e8 72 aa ff
[    3.024391] ---[ end trace b724efa9793f7566 ]---
[    3.042319] random: fast init done
[    3.074065] input: ENEE3730:00 6243:0001 as /devices/platform/80860F41:02/i2c-2/i2c-ENEE3730:00/0018:6243:0001.0001/input/input0
[    3.077507] hid-generic 0018:6243:0001.0001: input,hidraw0: I2C HID v1.00 Keyboard [ENEE3730:00 6243:0001] on i2c-ENEE3730:00
[    3.138399] mmc1: new HS200 MMC card at address 0001
[    3.140228] mmcblk1: mmc1:0001 DB4032 29.1 GiB
[    3.141030] mmcblk1boot0: mmc1:0001 DB4032 partition 1 4.00 MiB
[    3.141977] mmcblk1boot1: mmc1:0001 DB4032 partition 2 4.00 MiB
[    3.142940] mmcblk1rpmb: mmc1:0001 DB4032 partition 3 4.00 MiB
[    3.153050]  mmcblk1: p1 p2 p3 p4 p5
[    3.387781] xhci_hcd 0000:00:14.0: xHCI Host Controller
[    3.387813] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[    3.389672] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[    3.389685] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.389694] usb usb2: Product: xHCI Host Controller
[    3.389703] usb usb2: Manufacturer: Linux 4.12.0-2-amd64 xhci-hcd
[    3.389711] usb usb2: SerialNumber: 0000:00:14.0
[    3.390899] hub 2-0:1.0: USB hub found
[    3.390959] hub 2-0:1.0: 1 port detected
[    3.597842] EXT4-fs (mmcblk1p5): mounted filesystem with ordered data mode. Opts: (null)
[    3.716735] usb 1-1: new high-speed USB device number 2 using xhci_hcd
[    3.855187] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[    3.855201] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    3.855210] usb 1-1: Product: USB 2.0 Hub
[    3.857245] hub 1-1:1.0: USB hub found
[    3.857319] hub 1-1:1.0: 4 ports detected
[    3.857776] usb: port power management may be unreliable
[    3.867616] systemd[1]: RTC configured in localtime, applying delta of 120 minutes to system time.
[    3.909938] ip_tables: (C) 2000-2006 Netfilter Core Team
[    3.955359] systemd[1]: systemd 234 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN default-hierarchy=hybrid)
[    3.955708] systemd[1]: Detected architecture x86-64.
[    3.958246] systemd[1]: Set hostname to <lenovo>.
[    4.061819] systemd-gpt-auto-generator[220]: Failed to dissect: Input/output error
[    4.066072] systemd[214]: /lib/systemd/system-generators/systemd-gpt-auto-generator failed with error code 1.
[    4.150665] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd
[    4.178895] systemd[1]: Listening on Syslog Socket.
[    4.179139] systemd[1]: Listening on Journal Socket.
[    4.179704] systemd[1]: Created slice System Slice.
[    4.182453] systemd[1]: Starting Load Kernel Modules...
[    4.184464] systemd[1]: Mounting Kernel Debug File System...
[    4.184674] systemd[1]: Listening on fsck to fsckd communication Socket.
[    4.209477] EXT4-fs (mmcblk1p5): re-mounted. Opts: errors=remount-ro
[    4.251395] usb 1-1.1: New USB device found, idVendor=7392, idProduct=7811
[    4.251400] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    4.251404] usb 1-1.1: Product: 802.11n WLAN Adapter
[    4.251406] usb 1-1.1: Manufacturer: Realtek
[    4.251409] usb 1-1.1: SerialNumber: 00e04c000001
[    4.316806] systemd-journald[232]: Received request to flush runtime journal from PID 1
[    4.334405] usb 1-1.3: new high-speed USB device number 4 using xhci_hcd
[    4.426489] ACPI: AC: found native INT33F4 PMIC, not loading
[    4.429519] ACPI: Battery: found native INT33F4 PMIC, not loading
[    4.458491] usb 1-1.3: New USB device found, idVendor=5986, idProduct=0673
[    4.458496] usb 1-1.3: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    4.458499] usb 1-1.3: Product: Lenovo EasyCamera
[    4.458502] usb 1-1.3: Manufacturer: Bison Corp.
[    4.458505] usb 1-1.3: SerialNumber: 200901010001
[    4.562537] dw_dmac INTL9C60:00: DesignWare DMA Controller, 8 channels
[    4.606909] dw_dmac INTL9C60:01: DesignWare DMA Controller, 8 channels
[    4.608789] input: Lid Switch as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0D:00/input/input1
[    4.608869] ACPI: Lid Switch [LID0]
[    4.613060] ACPI: AC: found native INT33F4 PMIC, not loading
[    4.628873] intel_sst_acpi 80860F28:00: Detected Baytrail-CR platform
[    4.629662] intel_sst_acpi 80860F28:00: LPE base: 0x90a00000 size:0x200000
[    4.629666] intel_sst_acpi 80860F28:00: IRAM base: 0x90ac0000
[    4.629695] intel_sst_acpi 80860F28:00: DRAM base: 0x90b00000
[    4.629704] intel_sst_acpi 80860F28:00: SHIM base: 0x90b40000
[    4.629733] intel_sst_acpi 80860F28:00: Mailbox base: 0x90b44000
[    4.629741] intel_sst_acpi 80860F28:00: DDR base: 0x20000000
[    4.631259] intel_sst_acpi 80860F28:00: Got drv data max stream 25
[    4.633259] rtl8192cu: Chip version 0x10
[    4.677727] EFI Variables Facility v0.08 2004-May-17
[    4.679210] [drm] Memory usable by graphics device = 2048M
[    4.679217] checking generic (80000000 410000) vs hw (80000000 10000000)
[    4.679219] fb: switching to inteldrmfb from EFI VGA
[    4.679272] Console: switching to colour dummy device 80x25
[    4.679558] [drm] Replacing VGA console driver
[    4.679817] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    4.679819] [drm] Driver supports precise vblank timestamp query.
[    4.681378] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    4.688692] intel_sst_acpi 80860F28:00: firmware: direct-loading firmware intel/fw_sst_0f28.bin
[    4.696760] pstore: using zlib compression
[    4.696792] pstore: Registered efi as persistent store backend
[    4.706501] input: PC Speaker as /devices/platform/pcspkr/input/input2
[    4.710473] [drm] Initialized i915 1.6.0 20170403 for 0000:00:02.0 on minor 0
[    4.712225] ACPI: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    4.712897] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
[    4.713496] [drm] HDaudio controller not detected, using LPE audio instead

[    4.718274] rtl8192cu: Board Type 0
[    4.718372] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
[    4.718445] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
[    4.718499] usb 1-1.1: firmware: failed to load rtlwifi/rtl8192cufw_TMSC.bin (-2)
[    4.718513] usb 1-1.1: Direct firmware load for rtlwifi/rtl8192cufw_TMSC.bin failed with error -2
[    4.718538] usb 1-1.1: firmware: failed to load rtlwifi/rtl8192cufw.bin (-2)
[    4.718547] usb 1-1.1: Direct firmware load for rtlwifi/rtl8192cufw.bin failed with error -2
[    4.718550] rtlwifi: Loading alternative firmware rtlwifi/rtl8192cufw.bin
[    4.739512] fbcon: inteldrmfb (fb0) is primary device
[    4.778890] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[    4.779387] usbcore: registered new interface driver rtl8192cu
[    4.795946] input: gpio-keys as /devices/platform/gpio-keys.0.auto/input/input4
[    4.796478] input: gpio-keys as /devices/platform/gpio-keys.1.auto/input/input5
[    4.805957] iTCO_vendor_support: vendor-support=0
[    4.808028] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[    4.808156] iTCO_wdt: Found a Bay Trail SoC TCO device (Version=3, TCOBASE=0x0460)
[    4.815771] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[    4.836840] bytcr_rt5640 bytcr_rt5640: BIOS Routing: AIF1 connected
[    4.836846] bytcr_rt5640 bytcr_rt5640: quirk IN1_MAP enabled
[    4.836848] bytcr_rt5640 bytcr_rt5640: quirk DIFF_MIC enabled
[    4.836850] bytcr_rt5640 bytcr_rt5640: quirk SSP0_AIF1 enabled
[    4.836852] bytcr_rt5640 bytcr_rt5640: quirk MCLK_EN enabled
[    4.847217] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[    4.847287] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
[    4.847339] compress asoc: snd-soc-dummy-dai <-> compress-cpu-dai mapping ok
[    4.852594] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    4.852719] (NULL device *): hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().
[    4.854492] bytcr_rt5640 bytcr_rt5640: rt5640-aif1 <-> ssp0-port mapping ok
[    4.861213] intel_rapl: Found RAPL domain package
[    4.861215] intel_rapl: Found RAPL domain core
[    4.867211] rtl8192cu 1-1.1:1.0 wlx74da386b1505: renamed from wlan0
[    4.887775] media: Linux media interface: v0.10
[    4.901133] Linux video capture interface: v2.00
[    4.920196] uvcvideo: Found UVC 1.00 device Lenovo EasyCamera (5986:0673)
[    4.933074] uvcvideo 1-1.3:1.0: Entity type for entity Extension 7 was not initialized!
[    4.933078] uvcvideo 1-1.3:1.0: Entity type for entity Processing 2 was not initialized!
[    4.933081] uvcvideo 1-1.3:1.0: Entity type for entity Camera 1 was not initialized!
[    4.933084] uvcvideo 1-1.3:1.0: Entity type for entity Extension 4 was not initialized!
[    4.933263] input: Lenovo EasyCamera as /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.3/1-1.3:1.0/input/input6
[    4.933417] usbcore: registered new interface driver uvcvideo
[    4.933419] USB Video Class driver (1.1.1)
[    5.529314] rtl8192cu: MAC auto ON okay!
[    5.540386] rtl8192cu: Tx queue select: 0x05
[    6.058600] rtl8192c_common: Polling FW ready fail! REG_MCUFWDL:0x00000006.
[    6.058601] rtl8192c_common: Firmware is not ready to run!
[    6.397884] IPv6: ADDRCONF(NETDEV_UP): wlx74da386b1505: link is not ready
[    6.439226] NET: Registered protocol family 4
[    6.447058] NET: Registered protocol family 3
[    6.452543] NET: Registered protocol family 5
[    6.471061] Console: switching to colour frame buffer device 170x48
[    6.495206] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
[    6.540695] input: Intel HDMI/DP LPE Audio HDMI/DP as /devices/pci0000:00/0000:00:02.0/hdmi-lpe-audio/sound/card1/input7
[   12.639364] random: crng init done
[   14.521547] rtl8192cu: MAC auto ON okay!
[   14.533989] rtl8192cu: Tx queue select: 0x05
[   15.060280] rtl8192c_common: Polling FW ready fail! REG_MCUFWDL:0x00000006.
[   15.060288] rtl8192c_common: Firmware is not ready to run!
[   15.401513] IPv6: ADDRCONF(NETDEV_UP): wlx74da386b1505: link is not ready
[   15.599429] rtl8192cu: MAC auto ON okay!
[   15.620944] rtl8192cu: Tx queue select: 0x05
[   16.147949] rtl8192c_common: Polling FW ready fail! REG_MCUFWDL:0x00000006.
[   16.147957] rtl8192c_common: Firmware is not ready to run!
[   16.486438] IPv6: ADDRCONF(NETDEV_UP): wlx74da386b1505: link is not ready
[   19.778410] wlx74da386b1505: authenticate with 00:1c:10:b2:68:78
[   19.799747] wlx74da386b1505: send auth to 00:1c:10:b2:68:78 (try 1/3)
[   19.819326] wlx74da386b1505: authenticated
[   19.819413] rtl8192cu 1-1.1:1.0 wlx74da386b1505: disabling HT/VHT due to WEP/TKIP use
[   19.819424] rtl8192cu 1-1.1:1.0 wlx74da386b1505: disabling HT as WMM/QoS is not supported by the AP
[   19.819434] rtl8192cu 1-1.1:1.0 wlx74da386b1505: disabling VHT as WMM/QoS is not supported by the AP
[   19.826887] wlx74da386b1505: associate with 00:1c:10:b2:68:78 (try 1/3)
[   19.852472] wlx74da386b1505: RX AssocResp from 00:1c:10:b2:68:78 (capab=0x431 status=0 aid=2)
[   19.954873] wlx74da386b1505: associated
[   19.954908] IPv6: ADDRCONF(NETDEV_CHANGE): wlx74da386b1505: link becomes ready
[  139.656250] intel_sst_acpi 80860F28:00: FW Version 01.0c.00.01
[  139.657252]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  245.281111]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  307.683859]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  326.905170]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  343.583402]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  358.579559]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[  432.328907]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[ 2051.312802]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
[ 2086.723906]  Baytrail Audio Port: ASoC: no backend DAIs enabled for Baytrail Audio Port
(...)


I'm at a loss honestly, there is no information on the Internet about my specific configuration, apparently it works for everyone else and Lenovo just done goofed hard with this Laptop. I'm suspecting it may have to do with some mismatched IDs or something but I don't know well enough how Alsa works to be able to tell. Hopefully I can find someone here who knows what might be wrong. I'll make sure to respond and provide information and log files when necessary. Thank you for reading this if you made it this far and thanks for any potential input in advance.
amenoko
 
Posts: 2
Joined: 2017-09-20 23:13

Re: No sound on Lenovo 100S (Baytrail, rt5640)

Postby stevepusser » 2017-09-21 01:24

Just sayin' that you probably could have got in working in Jessie with jessie-backport packages for the kernel, mesa, video-driver, etc., without the need to go to Sid. Many others have followed the directions and got jessie to work with new Intel hardware; we even have some users successfully using Ryzen processors on Jessie-based MX 16. Debian Stretch might work out of the box..how much experimentation have you done with live sessions for Stretch with the non-free firmware ISO image, or other related distros that also include the firmware?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8905
Joined: 2009-10-06 05:53

Re: No sound on Lenovo 100S (Baytrail, rt5640)

Postby amenoko » 2017-09-21 16:13

stevepusser wrote:Just sayin' that you probably could have got in working in Jessie with jessie-backport packages for the kernel, mesa, video-driver, etc., without the need to go to Sid. Many others have followed the directions and got jessie to work with new Intel hardware; we even have some users successfully using Ryzen processors on Jessie-based MX 16. Debian Stretch might work out of the box..how much experimentation have you done with live sessions for Stretch with the non-free firmware ISO image, or other related distros that also include the firmware?


I looked it up, are you talking about this? https://cdimage.debian.org/cdimage/unofficial/non-free/.


I figured Unstable would be better considering the hardware in this laptop only officially got support in the kernel this or last year but I might try out Jessie for funsies. I installed Stretch straight from the USB drive, but only installed the two packages mentioned in my first post after I've upgraded to Unstable. Audio and network didn't work before and I'm not sure if it would've worked with the two packages...

As for other Distros, I only remember trying out a Ubuntu live ISO a while ago (must have been 16.04, maybe 17.04) and I didn't have sound back then out of the box either. No idea if the Ubuntu live ISO has non-free software.
amenoko
 
Posts: 2
Joined: 2017-09-20 23:13


Return to Hardware

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable