USB type C audio adapter (from a Pixel 3) doesn't produce any sound

Bug #1810861 reported by Nicholas Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned
pulseaudio (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

I use a logitech z200 that works fine, i use it with a usb type c adapter that came with my pixel 3, my speakers arent shown at all in the settings or make sound, its not the usb c adapter because it works fine on my windows dual boot and has worked at one point on ubuntu, regardless of the fact that ubuntu has never recognized my thunderbolt port, i use ubuntu 18.10 by the way when i use lsusb, one of the results is google inc., which is my headphone adapter, i can tell because when i unplug it it goes away, even when i plug it into the 3.5 mm headphone jack it doesn't work, i don't know if im forgetting something or not, this is the second time im typing this because i accidentally closed the first tab of this, whats interesting, is now that i go to alsamixer, and press f6 i see option 1.Headphone Adapter, i select it and set the volume all the way up and go to something that makes audio and nothing happens, then i unplug it and see if it disappears, surely enough it does
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu13.1
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-id', '/dev/snd/controlC2', '/dev/snd/pcmC2D0c', '/dev/snd/pcmC2D0p', '/dev/snd/by-path', '/dev/snd/controlC1', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D2c', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D11p', '/dev/snd/pcmC0D10p', '/dev/snd/pcmC0D9p', '/dev/snd/pcmC0D8p', '/dev/snd/pcmC0D7p', '/dev/snd/pcmC0D3p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 18.10
InstallationDate: Installed on 2018-10-21 (78 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 (20181017.3)
IwConfig:
 lo no wireless extensions.

 enp37s0 no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
Package: pulseaudio 1:12.2-0ubuntu4
PackageArchitecture: amd64
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-13-generic root=UUID=db7dbcfb-4be9-4405-88a9-8d91489e5a68 ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 4.18.0-13.14-generic 4.18.17
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.18.0-13-generic N/A
 linux-backports-modules-4.18.0-13-generic N/A
 linux-firmware 1.175.1
RfKill:

Tags: cosmic
Uname: Linux 4.18.0-13-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 07/05/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P5.00
dmi.board.name: AB350 Gaming K4
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP5.00:bd07/05/2018:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnAB350GamingK4:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: To Be Filled By O.E.M.
dmi.product.name: To Be Filled By O.E.M.
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
Nicholas Johnson (waffledragon122) wrote :
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please run this command to send us more information about the system:

  apport-collect 1810861

summary: - Speakers dont show or make audio
+ USB type C audio adapter (from a Pixel 3) doesn't produce any sound
affects: alsa-driver (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Revision history for this message
Nicholas Johnson (waffledragon122) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected cosmic
description: updated
Revision history for this message
Nicholas Johnson (waffledragon122) wrote : CRDA.txt

apport information

Revision history for this message
Nicholas Johnson (waffledragon122) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Nicholas Johnson (waffledragon122) wrote : Dependencies.txt

apport information

Revision history for this message
Nicholas Johnson (waffledragon122) wrote : Lspci.txt

apport information

Revision history for this message
Nicholas Johnson (waffledragon122) wrote : Lsusb.txt

apport information

Revision history for this message
Nicholas Johnson (waffledragon122) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Nicholas Johnson (waffledragon122) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Nicholas Johnson (waffledragon122) wrote : ProcModules.txt

apport information

Revision history for this message
Nicholas Johnson (waffledragon122) wrote : UdevDb.txt

apport information

Revision history for this message
Nicholas Johnson (waffledragon122) wrote : WifiSyslog.txt

apport information

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

This looks odd: PulseAudio is not running, so of course you won't get any sound:

!!Sound Servers on this system
!!----------------------------

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - No

To try and fix that please add a line to /etc/pulse/daemon.conf:

  realtime-scheduling = no

and then reboot.

If that doesn't fix the problem then please also follow these instructions to search for possible pulseaudio crashes: https://wiki.ubuntu.com/Bugs/Responses#Missing_a_crash_report_or_having_a_.crash_attachment

Revision history for this message
Nicholas Johnson (waffledragon122) wrote :

How exactly should i add the line, just right below the last one? When i type sudo nano /etc/pulse/daemon.conf i get this

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out. Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; enable-memfd = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-1
; avoid-resampling = false
; enable-remixing = yes
; remixing-use-all-sink-channels = yes
; enable-lfe-remixing = no
; lfe-crossover-freq = 0

flat-volumes = no

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

; default-fragments = 4
; default-fragment-size-msec = 25

; enable-deferred-volume = yes
deferred-volume-safety-margin-usec = 1
; deferred-volume-extra-delay-usec = 0
realtime-scheduling = no

The "realtime-scheduling = no", was put there by me, but should i have put the ; in front of it like the others or something?

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

No, don't put a semicolon (;) in front. The semicolon is a comment character which tells the system to ignore everything after it. Just use:

realtime-scheduling = no

anywhere in that file.

Revision history for this message
Nicholas Johnson (waffledragon122) wrote :

I was able to fix the issue my own way

Revision history for this message
Nicholas Johnson (waffledragon122) wrote :

How i fixed the issue was simply reinstalling the OS, i had no personal files installed onto it, only on the windows dual boot side, so that had fixed the issue for a while, but after rebooting just after a day of running the reinstalled os, the bug was back, and simultaneously several other bugs i had been experiencing at the same time as this one, such as, terminal not launching (i use xterm to launch it) sometimes nautilus not launching, having to use xterm for that, even gedit, and all it takes is a simple reboot, now i'm beginning to think i should not be using ubuntu 18.10, but i like ubuntu 18.10 so much better than 18.04, the theme, some better performance and loading times and other things are much appreciated but i keep getting this bug, i think its not just an audio glitch, but a system wide thing, and i have no idea how it happens

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If the problem is that mentioned in comment #14 then indeed it will come and go randomly.

Please finish following the steps in comment #14.

Revision history for this message
Nicholas Johnson (waffledragon122) wrote :

I did, it didn't work I forgot to mention

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

OK, if "realtime-scheduling = no" didn't work then at least we still know that you have:

Pulseaudio:
      Installed - Yes (/usr/bin/pulseaudio)
      Running - No <--- most likely crashed

so next please:

1. Look in /var/crash for crash files and if found run:
    ubuntu-bug YOURFILE.crash
Then tell us the ID of the newly-created bug.

2. If step 1 failed then look at https://errors.ubuntu.com/user/ID where ID is the content of file /var/lib/whoopsie/whoopsie-id on the machine. Do you find any links to recent problems on that page? If so then please send the links to us.

3. If step 2 also failed then apply the workaround from bug 994921, reboot, reproduce the crash, and retry step 1.

Please take care to avoid attaching .crash files to bugs as we are unable to process them as file attachments. It would also be a security risk for yourself.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.