I have some known issue - no sound at bytcr-rt5640 (HP Pavilion x2 10-k055ur)
I'd tryed everything what I can find here, but cant fixing it. This'is my first Linux using experience so sorry for noob questions.
First of all, HP x2 10 CPU Intel Atom Z3736F got 64 bit data width, but all system need 32 bit UEFI. I download linuxmint-20.1-xfce-64bit.iso, made bootload flash by Rufus (GPT, UEFI non CSM), download 32 bit UEFI (https://github.com/jfwells/linux-asus-t ... otia32.efi), and run it on notebook.
After successful installation, I found a broken sound. A search took me to this forum, where I found several ways to solve this problem. But they didn't help me. I decided to install a cinnamon version. This also did not help solve the problem.
When I use Win8/10 there is no sound problems at all. BIOS got no audio settings. And I couldnt find any another version of BOIS for my model.
Here some logs, OS - linuxmint-20.1-cinnamon-64bit:
inxi -Fxxxrz
Code: Select all
~$ inxi -Fxxxrz
System: Kernel: 5.4.0-65-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 wm: muffin 4.8.1
dm: LightDM 1.30.0 Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
Machine: Type: Laptop System: Hewlett-Packard product: HP Pavilion x2 Detachable PC 10 v: 096C200000405F00090350900
serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: Hewlett-Packard model: 8021 serial: <filter> UEFI: Insyde v: F.07 date: 12/25/2014
Battery: ID-1: axp288_fuel_gauge charge: 38% condition: N/A volts: 3.6/N/A model: N/A type: Li-ion serial: N/A
status: Discharging
CPU: Topology: Quad Core model: Intel Atom Z3736F bits: 64 type: MCP arch: Silvermont rev: 8 L2 cache: 1024 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 10666
Speed: 663 MHz min/max: 500/2166 MHz Core speeds (MHz): 1: 693 2: 583 3: 500 4: 500
Graphics: Device-1: Intel Atom Processor Z36xxx/Z37xxx Series Graphics & Display vendor: Hewlett-Packard driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:0f31
Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa resolution: 1280x800~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics (BYT) v: 4.2 Mesa 20.2.6 compat-v: 3.0 direct render: Yes
Audio: Device-1: bytcr-rt5640 driver: bytcr-rt5640 message: bus/chip ids unavailable
Sound Server: ALSA v: k5.4.0-65-generic
Network: Message: No Device data found.
IF-ID-1: wlan0 state: up mac: <filter>
Drives: Local Storage: total: 30.97 GiB used: 8.94 GiB (28.9%)
ID-1: /dev/mmcblk0 model: SA02G size: 1.85 GiB serial: <filter> scheme: MBR
ID-2: /dev/mmcblk2 model: SEM32G size: 29.12 GiB serial: <filter> rev: 0x6 scheme: GPT
Partition: ID-1: / size: 28.04 GiB used: 8.30 GiB (29.6%) fs: ext4 dev: /dev/mmcblk2p2
Sensors: System Temperatures: cpu: 49.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http://packages.linuxmint.com ulyssa main upstream import backport
2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
6: deb http://archive.canonical.com/ubuntu/ focal partner
Info: Processes: 216 Uptime: 7m Memory: 1.87 GiB used: 1.10 GiB (59.0%) Init: systemd v: 245 runlevel: 5 Compilers:
gcc: 9.3.0 alt: 9 Shell: bash v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
Code: Select all
~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: bytcrrt5640 [bytcr-rt5640], device 0: 1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: bytcrrt5640 [bytcr-rt5640], device 1: Deep-Buffer Audio (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
Code: Select all
~$ pacmd list-sinks
1 sink(s) available.
* index: 1
name: <alsa_output.platform-bytcr_rt5640.HiFi__hw_bytcrrt5640__sink>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9003
volume: front-left: 62259 / 95% / -1,34 dB, front-right: 62259 / 95% / -1,34 dB
balance 0,00
base volume: 65536 / 100% / 0,00 dB
volume steps: 65537
muted: no
current latency: 0,00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0,00 ms; range is 0,50 .. 2000,00 ms
card: 0 <alsa_card.platform-bytcr_rt5640>
module: 23
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = ""
alsa.id = "1"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "0"
alsa.card_name = "bytcr-rt5640"
alsa.long_card_name = "bytcr-rt5640-stereo-spk-in3-mic"
alsa.driver_name = "snd_soc_sst_bytcr_rt5640"
device.bus_path = "platform-bytcr_rt5640"
sysfs.path = "/devices/platform/80860F28:00/bytcr_rt5640/sound/card0"
device.form_factor = "internal"
device.string = "hw:bytcrrt5640"
device.buffering.buffer_size = "384000"
device.buffering.fragment_size = "192000"
device.access_mode = "mmap+timer"
device.profile.name = "HiFi: hw:bytcrrt5640: sink"
device.profile.description = "Speakers + Headphones"
alsa.mixer_device = "hw:bytcrrt5640"
device.description = "Built-in Audio Speakers + Headphones"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
ports:
[Out] Speaker: Speakers (priority 100, latency offset 0 usec, available: unknown)
properties:
[Out] Headphones: Headphones (priority 300, latency offset 0 usec, available: no)
properties:
active port: <[Out] Speaker>
Code: Select all
~$ dmesg | grep snd
[ 12.199105] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> media-cpu-dai mapping ok
[ 12.200797] bytcr_rt5640 bytcr_rt5640: snd-soc-dummy-dai <-> deepbuffer-cpu-dai mapping ok
Code: Select all
~$ sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: helga 805 F.... pulseaudio
Code: Select all
cd ~
apt install git
git clone https://github.com/plbossart/UCM.git
sudo cp -rf ~/UCM/bytcr-rt5640 /usr/share/alsa/ucm
sudo cp ~/UCM/bytcr-rt5651/asound.state /var/lib/alsa
sudo alsa force-reload
Pulse Audio volume control shows sound is playing and after blacklist configuration I have no options to select audio output. Any idea what else can I do to fix sound problem? Maybe I made a mistake somewhere (to be honest, I don’t understand 98% terminal logs).