You are not logged in.

#1 2019-11-04 18:38:02

adrianmay
Member
Registered: 2017-12-19
Posts: 64

Sound probs on chromebook

Hi Folks,

I'm getting this symptom:

speaker-test 

speaker-test 1.1.9

Playback device is default
Stream parameters are 48000Hz, S16_LE, 1 channels
Using 16 octaves of pink noise
Channels count (1) not available for playbacks: Invalid argument
Setting of hwparams failed: Invalid argument

Likewise with sudo or with -Dsysdefault or -Ddefault.

Here are some diags:

aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: chtrt5650 [chtrt5650], device 0: Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: chtrt5650 [chtrt5650], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  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
sysdefault:CARD=chtrt5650
    chtrt5650, 
    Default Audio Device
usbstream:CARD=chtrt5650
    chtrt5650
    USB Stream Output
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
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
usbstream:CARD=PCH
    HDA Intel PCH
    USB Stream Output


cat /etc/modprobe.d/alsa.conf 
options snd_hda_intel index=1 model=,alc283-chrome


cat .asoundrc
# Standard
pcm.!default {
  type hw
  card 0
  device 0
}

ctl.!default {
  type hw
  card 0
}

pcm_slave.slavej {
  pcm "hw:1"
  channels 2
  rate 44100
}

pcm.plugj {
  type plug
  slave slavej
}

I removed pulseaudio to keep things simple.

In alsamixer the analog card is selected by default and I can unmute it.

TIA, Adrian.

Offline

#2 2019-11-04 21:23:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Sound probs on chromebook

Mono channels work on the minority of setups, use

speaker-test -c2

to specify dual channel audio. You might also want to explicitly test with

speaker-test -c2 -Dhw:0,1

in case you have to invoke on the other device.

Last edited by V1del (2019-11-04 21:25:30)

Offline

#3 2019-11-05 10:00:58

adrianmay
Member
Registered: 2017-12-19
Posts: 64

Re: Sound probs on chromebook

Tried various -c values and -D values. By googling for chtrt5650 I found out that this wasn't supported by the kernel in 2016 - dunno if that changed yet - and that people tried asound.state files but these were no help either.

The problem is that there are so many variables to twiddle and I don't understand any of the principles so I have bazzillions of combinations to try and I never know which error messages mean I'm getting closer or further away. It would be nice if there was some kind of step by step guide to help me put one brick on top of another.

Offline

#4 2019-11-13 15:54:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Sound probs on chromebook

If none worked you might have to install https://aur.archlinux.org/packages/ucm_plbossart-git you might also want to remove that model definition, setting that randomly often doesn't help and is counter productive to what the autodetection does.

Offline

#5 2020-01-21 03:54:26

uhmzilighase
Member
Registered: 2020-01-21
Posts: 5

Re: Sound probs on chromebook

On that soundcard the issue is specifially alsa-lib.
https://bbs.archlinux.org/viewtopic.php?id=252123

Downgrade to alsa-lib 1.1.9-2

Offline

#6 2020-01-21 08:18:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Sound probs on chromebook

Again, this problem existed when alsa-lib was 1.1.9

Closing.

Offline

Board footer

Powered by FluxBB