Mycroft Community Forum

Audio jack not working in picroft

Hi all,
I’m new to the Mycroft community, but I’ve been playing with Mycroft for a while, so one day I tried to install magic mirror in the picroft image, bought a two-way mirror and a driver for my display, and since I connected the display via HDMI, audio just stopped being outputted from the jack. I’ve tried changing the output in raspiconfig, with amixer cset, and booting without the HDMI cable, and nothing seems to work. The error is system-wide. (Probably this is just some simple noob error.)

Hi Sam, can you check the current pulseaudio settings?
https://mycroft-ai.gitbook.io/docs/using-mycroft-ai/troubleshooting/audio-troubleshooting#pulseaudio-settings

pactl info
should give you the current default sink, then
pactl list sinks short
to see what devices are available and their associated number, finally
pactl set-default-sink 1
to set a new default

let us know if that works

I already tried this before posting and it didn’t worked. Anyway Here Is the information

Server String: /run/user/1000/pulse/native
Library Protocol Version: 32
Server Protocol Version: 32
Is Local: yes
Client Index: 44
Tile Size: 65496
User Name: pi
Host Name: Samcroft
Server Name: pulseaudio
Server Version: 12.2
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: auto_null
Default Source: alsa_input.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00.analog-mono
Cookie: a9a7:2436

pactl list sinks short

0 auto_null module-null-sink.c s16le 2ch 44100Hz SUSPENDED

Failure: No such entity

pactl set-default-sink 0

Doesn’t give an error but audio still not outputting.

pactl list modules

Module #0
Name: module-device-restore
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Automatically restore the volume/mute state of devices”
module.version = “12.2”

Module #1
Name: module-stream-restore
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Automatically restore the volume/mute/device state of streams”
module.version = “12.2”

Module #2
Name: module-card-restore
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Automatically restore profile of cards”
module.version = “12.2”

Module #3
Name: module-augment-properties
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Augment the property sets of streams with additional static information”
module.version = “12.2”

Module #4
Name: module-switch-on-port-available
Argument:
Usage counter: n/a
Properties:
module.author = “David Henningsson”
module.description = “Switches ports and profiles when devices are plugged/unplugged”
module.version = “12.2”

Module #5
Name: module-udev-detect
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Detect available audio hardware and load matching drivers”
module.version = “12.2”

Module #6
Name: module-alsa-card
Argument: device_id=“1” name=“usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00” card_name=“alsa_card.usb-C-Media_Electronics_Inc._USB_PnP_Sound_Device-00” 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”
Usage counter: 1
Properties:
module.author = “Lennart Poettering”
module.description = “ALSA Card”
module.version = “12.2”

Module #7
Name: module-bluetooth-policy
Argument:
Usage counter: n/a
Properties:
module.author = “Frédéric Dalleau, Pali Rohár”
module.description = “Policy module to make using bluetooth devices out-of-the-box easier”
module.version = “12.2”

Module #8
Name: module-bluetooth-discover
Argument:
Usage counter: n/a
Properties:
module.author = “João Paulo Rechi Vita”
module.description = “Detect available Bluetooth daemon and load the corresponding discovery module”
module.version = “12.2”

Module #9
Name: module-bluez5-discover
Argument:
Usage counter: n/a
Properties:
module.author = “João Paulo Rechi Vita”
module.description = “Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers”
module.version = “12.2”

Module #10
Name: module-native-protocol-unix
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Native protocol (UNIX sockets)”
module.version = “12.2”

Module #11
Name: module-default-device-restore
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Automatically restore the default sink and source”
module.version = “12.2”

Module #12
Name: module-rescue-streams
Argument:
Usage counter: n/a
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 = “12.2”

Module #13
Name: module-always-sink
Argument:
Usage counter: n/a
Properties:
module.author = “Colin Guthrie”
module.description = “Always keeps at least one sink loaded even if it’s a null one”
module.version = “12.2”

Module #14
Name: module-null-sink
Argument: sink_name=auto_null sink_properties=‘device.description=“Dummy Output”’
Usage counter: 0
Properties:
module.author = “Lennart Poettering”
module.description = “Clocked NULL sink”
module.version = “12.2”

Module #15
Name: module-intended-roles
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Automatically set device of streams based on intended roles of devices”
module.version = “12.2”

Module #16
Name: module-suspend-on-idle
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “When a sink/source is idle for too long, suspend it”
module.version = “12.2”

Module #17
Name: module-console-kit
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Create a client for each ConsoleKit session of this user”
module.version = “12.2”

Module #18
Name: module-systemd-login
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Create a client for each login session of this user”
module.version = “12.2”

Module #19
Name: module-position-event-sounds
Argument:
Usage counter: n/a
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 = “12.2”

Module #20
Name: module-role-cork
Argument:
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Mute & cork streams with certain roles while others exist”
module.version = “12.2”

Module #21
Name: module-filter-heuristics
Argument:
Usage counter: n/a
Properties:
module.author = “Colin Guthrie”
module.description = “Detect when various filters are desirable”
module.version = “12.2”

Module #22
Name: module-filter-apply
Argument:
Usage counter: n/a
Properties:
module.author = “Colin Guthrie”
module.description = “Load filter sinks automatically when needed”
module.version = “12.2”

Module #23
Name: module-x11-publish
Argument: display=:0
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “X11 credential publisher”
module.version = “12.2”

Module #24
Name: module-x11-cork-request
Argument: display=:0
Usage counter: n/a
Properties:
module.author = “Lennart Poettering”
module.description = “Synthesize X11 media key events when cork/uncork is requested”
module.version = “12.2”