ALSA works, but Pulseaudio doesn't (Samsung Chromebook)

This forum is for discussion about general software issues.

ALSA works, but Pulseaudio doesn't (Samsung Chromebook)

Postby nermolov » Sun Jul 03, 2016 7:04 pm

I setup everything on my chromebook pretty well, but pulseaudio is refusing to work. ALSA gives me very good playback using the built in DAISY-I2S card after I unmuted the outputs, but pulseaudio refuses to create any sinks for the card. you can see in the below output of pacmd list shows pulseaudio finding the card, but not creating any sinks. I setup pulse by just installing the pulseaudio package and restarting

Does anybody know how to either manually add a sink to pulseaudio or make it automatically detect them?

Output of pacmd list
$this->bbcode_second_pass_code('', '22 module(s) loaded.
index: 0
name: <module-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "9.0"
index: 1
name: <module-stream-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute/device state of streams"
module.version = "9.0"
index: 2
name: <module-card-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = "9.0"
index: 3
name: <module-augment-properties>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Augment the property sets of streams with additional static information"
module.version = "9.0"
index: 4
name: <module-switch-on-port-available>
argument: <>
used: -1
load once: no
properties:

index: 5
name: <module-udev-detect>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching drivers"
module.version = "9.0"
index: 6
name: <module-alsa-card>
argument: <device_id="0" name="platform-sound.8" card_name="alsa_card.platform-sound.8" 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">
used: 0
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ALSA Card"
module.version = "9.0"
index: 7
name: <module-esound-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ESOUND protocol (UNIX sockets)"
module.version = "9.0"
index: 8
name: <module-native-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "9.0"
index: 9
name: <module-default-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink and source"
module.version = "9.0"
index: 10
name: <module-rescue-streams>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
module.version = "9.0"
index: 11
name: <module-always-sink>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Always keeps at least one sink loaded even if it's a null one"
module.version = "9.0"
index: 12
name: <module-null-sink>
argument: <sink_name=auto_null sink_properties='device.description="Dummy Output"'>
used: 0
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Clocked NULL sink"
module.version = "9.0"
index: 13
name: <module-intended-roles>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically set device of streams based on intended roles of devices"
module.version = "9.0"
index: 14
name: <module-suspend-on-idle>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is idle for too long, suspend it"
module.version = "9.0"
index: 15
name: <module-console-kit>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Create a client for each ConsoleKit session of this user"
module.version = "9.0"
index: 16
name: <module-systemd-login>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Create a client for each login session of this user"
module.version = "9.0"
index: 17
name: <module-position-event-sounds>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
module.version = "9.0"
index: 18
name: <module-role-cork>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Mute & cork streams with certain roles while others exist"
module.version = "9.0"
index: 19
name: <module-filter-heuristics>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Detect when various filters are desirable"
module.version = "9.0"
index: 20
name: <module-filter-apply>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Load filter sinks automatically when needed"
module.version = "9.0"
index: 21
name: <module-cli-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Command line interface protocol (UNIX sockets)"
module.version = "9.0"
1 sink(s) available.
* index: 0
name: <auto_null>
driver: <module-null-sink.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: IDLE
suspend cause:
priority: 1000
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: 2083.31 ms
max request: 344 KiB
max rewind: 344 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
module: 12
properties:
device.description = "Dummy Output"
device.class = "abstract"
device.icon_name = "audio-card"
1 source(s) available.
* index: 0
name: <auto_null.monitor>
driver: <module-null-sink.c>
flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
state: IDLE
suspend cause:
priority: 1000
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: 0.00 ms
max rewind: 344 KiB
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 2000.00 ms; range is 0.50 .. 2000.00 ms
monitor_of: 0
module: 12
properties:
device.description = "Monitor of Dummy Output"
device.class = "monitor"
device.icon_name = "audio-input-microphone"
2 client(s) logged in.
index: 0
driver: <module-systemd-login.c>
owner module: 16
properties:
application.name = "Login Session c1"
systemd-login.session = "c1"
index: 1
driver: <cli.c>
owner module: 21
properties:
application.name = "UNIX socket client"
1 card(s) available.
index: 0
name: <alsa_card.platform-sound.8>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = "0"
alsa.card_name = "DAISY-I2S"
alsa.long_card_name = "DAISY-I2S"
device.bus_path = "platform-sound.8"
sysfs.path = "/devices/sound.8/sound/card0"
device.string = "0"
device.description = "DAISY-I2S"
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>
0 sink input(s) available.
0 source output(s) available.
0 cache entrie(s) available.
')
Output of aplay -L
$this->bbcode_second_pass_code('', '
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=DAISYI2S
DAISY-I2S,
Default Audio Device
sysdefault:CARD=DAISYI2S
DAISY-I2S,
Default Audio Device
')

I setup arch on my samsung chromebook using the official guide to create the drive then used the following script I made to install everything:
$this->bbcode_second_pass_code('', '
#!/bin/bash

useradd -m -G wheel -s /bin/bash nermolov
passwd nermolov

pacman -Syu
pacman -S vim xorg-server xorg-xinit i3 xterm lxappearance ttf-croscore gnu-free-fonts noto-fonts-emoji ttf-freefont ttf-droid slim connman archlinux-themes-slim xf86-input-libinput base-devel dmenu chromium acpi feh terminator ttf-dejavu

echo ' %wheel ALL=(ALL) ALL' >> /etc/sudoers
echo ' %wheel ALL=(ALL) NOPASSWD: /sbin/shutdown' >> /etc/sudoers

systemctl enable slim.service

systemctl enable connman

cp slim.conf /etc/slim.conf
')
nermolov
 
Posts: 1
Joined: Sun Jul 03, 2016 6:55 pm

Return to General

Who is online

Users browsing this forum: No registered users and 14 guests