You are not logged in.
This is a chromebook that was functioning fine a few days ago, however I was forced to reinstall, and ever since then, I cannot get audio... and not for a lack of trying. To be fair though, ALSA/pulseaudio is quite foreign to me because it has always just worked.
I am currently on the latest linux 5.2.13 kernel, but I have also tried JSkier21's kernel (with UCM files) as well as some LTS kernels, and they all provide the same outcome. My sound card is visible and when I play audio from anything, I can see the activity in pavucontrol, but I have no sound. I know the sound works with the latest kernel that I am currently on from the previous install, so I'm sure it's just something that I am clueless about and apparently I just got lucky last time around.
Here is the relevant info:
pacmd list-cards
2 card(s) available.
index: 0
name: <alsa_card.pci-0000_00_1b.0>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xd0714000 irq 90"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-0000:00:1b.0"
sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
device.bus = "pci"
device.vendor.id = "8086"
device.vendor.name = "Intel Corporation"
device.product.id = "0f04"
device.product.name = "Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller"
device.form_factor = "internal"
device.string = "0"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-pci"
profiles:
output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
off: Off (priority 0, available: unknown)
active profile: <off>
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
properties:
device.icon_name = "video-display"
index: 1
name: <alsa_card.platform-cht-bsw-max98090>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = "1"
alsa.card_name = "chtmax98090"
alsa.long_card_name = "GOOGLE-Quawks-1.0-Quawks"
alsa.driver_name = "snd_soc_sst_cht_bsw_max98090_ti"
device.bus_path = "platform-cht-bsw-max98090"
sysfs.path = "/devices/pci0000:00/80860F28:00/cht-bsw-max98090/sound/card1"
device.form_factor = "internal"
device.string = "1"
device.description = "Built-in Audio"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
profiles:
HiFi: Default (priority 8000, available: unknown)
off: Off (priority 0, available: unknown)
active profile: <HiFi>
sinks:
alsa_output.platform-cht-bsw-max98090.HiFi__hw_chtmax98090__sink/#0: Built-in Audio Speakers + Headphone
sources:
alsa_output.platform-cht-bsw-max98090.HiFi__hw_chtmax98090__sink.monitor/#0: Monitor of Built-in Audio Speakers + Headphone
alsa_input.platform-cht-bsw-max98090.HiFi__hw_chtmax98090__source/#1: Built-in Audio Internal Mic + Headset Mic
ports:
[Out] Speakers: Speakers (priority 100, latency offset 0 usec, available: unknown)
properties:
[Out] Headphone: Headphone (priority 100, latency offset 0 usec, available: no)
properties:
[In] InternalMic: Internal Mic (priority 100, latency offset 0 usec, available: unknown)
properties:
[In] HeadsetMic: Headset Mic (priority 100, latency offset 0 usec, available: no)
properties:
pacmd list-sinks
1 sink(s) available.
* index: 0
name: <alsa_output.platform-cht-bsw-max98090.HiFi__hw_chtmax98090__sink>
driver: <module-alsa-card.c>
flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: RUNNING
suspend cause: (none)
priority: 9000
volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 63.10 ms
max request: 7 KiB
max rewind: 7 KiB
monitor source: 0
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 1
linked by: 1
configured latency: 40.00 ms; range is 0.50 .. 2000.00 ms
card: 1 <alsa_card.platform-cht-bsw-max98090>
module: 7
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 = "1"
alsa.card_name = "chtmax98090"
alsa.long_card_name = "GOOGLE-Quawks-1.0-Quawks"
alsa.driver_name = "snd_soc_sst_cht_bsw_max98090_ti"
device.bus_path = "platform-cht-bsw-max98090"
sysfs.path = "/devices/pci0000:00/80860F28:00/cht-bsw-max98090/sound/card1"
device.form_factor = "internal"
device.string = "hw:chtmax98090"
device.buffering.buffer_size = "384000"
device.buffering.fragment_size = "192000"
device.access_mode = "mmap+timer"
device.profile.name = "HiFi: hw:chtmax98090: sink"
device.profile.description = "Speakers + Headphone"
device.description = "Built-in Audio Speakers + Headphone"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card"
ports:
[Out] Speakers: Speakers (priority 100, latency offset 0 usec, available: unknown)
properties:
[Out] Headphone: Headphone (priority 100, latency offset 0 usec, available: no)
properties:
active port: <[Out] Speakers>
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: chtmax98090 [chtmax98090], device 0: 1 []
Subdevices: 0/1
Subdevice #0: subdevice #0
card 1: chtmax98090 [chtmax98090], device 1: Deep-Buffer Audio (*) []
Subdevices: 1/1
Subdevice #0: subdevice #0
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
jack
JACK Audio Connection Kit
pulse
PulseAudio Sound Server
default
Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=PCH,DEV=0
HDA Intel PCH, HDMI 0
HDMI Audio Output
hdmi:CARD=PCH,DEV=1
HDA Intel PCH, HDMI 1
HDMI Audio Output
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
sysdefault:CARD=chtmax98090
chtmax98090,
Default Audio Device
usbstream:CARD=chtmax98090
chtmax98090
USB Stream Output
systemctl --user status pulseaudio
● pulseaudio.service - Sound Service
Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
Active: active (running) since Mon 2019-09-09 19:43:34 PDT; 18min ago
Main PID: 661 (pulseaudio)
CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
├─661 /usr/bin/pulseaudio --daemonize=no
└─667 /usr/lib/pulse/gsettings-helper
Sep 09 19:43:33 chromebook systemd[405]: Starting Sound Service...
Sep 09 19:43:34 chromebook systemd[405]: Started Sound Service.
Sep 09 19:43:54 chromebook pulseaudio[661]: E: [alsa-sink-1] alsa-sink.c: ALSA woke us up to write new data to the device, but there was actually nothing to write.
Sep 09 19:43:54 chromebook pulseaudio[661]: E: [alsa-sink-1] alsa-sink.c: Most likely this is a bug in the ALSA driver 'snd_soc_sst_cht_bsw_max98090_ti'. Please report this issue to the ALSA developers.
Sep 09 19:43:54 chromebook pulseaudio[661]: E: [alsa-sink-1] alsa-sink.c: We were woken up with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.
Packages Installed related to pulse and alsa
libcanberra-pulse 0.30+2+gc0620e4-2
libpulse 12.2-2
pulseaudio 12.2-2
pulseaudio-alsa 2-5
alsa-lib 1.1.9-2
alsa-plugins 1.1.9-2
alsa-utils 1.1.9-1
zita-alsa-pcmi 0.3.2-1
I have also unmuted the required sections with alsamixer as well. There's no Master though. That last output from pulseaudio.service is obviously a little concerning, but I'm just not sure if it's relevant. Searches say that it's a deal breaking compatibility issue, but I've had pulseaudio working on this machine in the past.
Thanks for your time. Happy to provide anymore info as needed.
*edited to include related packages installed
Last edited by slip (2019-09-10 03:22:20)
Offline
Hi,
Audio issues are very common in a chromebook. My chromebook currently has audio with the LTS kernel, although my board is a Swanky.
The outputs from pacmd and aplay are almost identical, and I'm using the same kernel module as you.
I do not see the error in the systemctl output.
I'm not sure I can help you with the issue, but lets try some things:
Could you provide the output of amixer?
Also, in alsamixer if you haven't tried this yet, press F6 to choose a sound card, and choose the chtmax98090. There are close to 100 entries in this card, you can scroll with your arrow keys. Make sure these are unmuted:
Speaker, Speaker Left, Speaker Left Mixer, Speaker Right, Speaker Right Mixer. And waaaay over to the right: Left Speaker Mixer Left DAC, and Right Speaker Mixer Right DAC.
Last, in Pavucontrol, make sure that the "Built in audio" that is selected is the one corresponding to the cht card, not the intel one (that's for HDMI audio).
I hope this helps. Good luck!
Offline
Yeah, I remember it being a struggle the last time around, but it's really giving me problems this time.
Here's the amixer output
Simple mixer control 'Master',0
Capabilities: pvolume pswitch pswitch-joined
Playback channels: Front Left - Front Right
Limits: Playback 0 - 65536
Mono:
Front Left: Playback 65536 [100%] [on]
Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch cswitch-joined
Capture channels: Front Left - Front Right
Limits: Capture 0 - 65536
Front Left: Capture 65536 [100%] [on]
Front Right: Capture 65536 [100%] [on]
Alsamixer is all correctly set up and was done so using the UCM files from here - https://github.com/plbossart/UCM
Pavucontrol is also set up to play on built in speakers. It's really a mystery to me as to why it doesn't work this time around.
Offline
That's the pulse compat mixer, post
amixer -c1
instead.
Offline
ah, sorry. Here's the pastebin for that.
Offline