Re: OT, Ubuntu Sound Trouble
Hi Jude,
I think card 0 is unmuted, but I don't know how to select it as the main
source.
I tried
pacmd set-default-sink card0
and it did not recognize card0 or card 0 as a device name.
Based on the below, from pacmd list-sinks
I get the list, but I don't know what name to use:
Thanks:
1 sink(s) available.
* index: 0
name:
<alsa_output.usb-C-Media_Electronics_Inc._USB_Audio_Device-00.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
DYNAMIC_LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9049
volume: front-left: 30419 / 46% / -20.00 dB, front-right: 30419 / 46%
/ -20.00 dB
balance 0.00
base volume: 65536 / 100% / 0.00 dB
volume steps: 65537
muted: no
current latency: 0.00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 0
sample spec: s16le 2ch 44100Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
card: 0 <alsa_card.usb-C-Media_Electronics_Inc._USB_Audio_Device-00>
module: 7
properties:
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "USB Audio"
alsa.id = "USB Audio"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "USB Audio Device"
alsa.long_card_name = "C-Media Electronics Inc. USB Audio Device at
usb-0000:00:14.0-1.1, full speed"
alsa.driver_name = "snd_usb_audio"
device.bus_path = "pci-0000:00:14.0-usb-0:1.1:1.0"
sysfs.path =
"/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0/sound/card1"
udev.id = "usb-C-Media_Electronics_Inc._USB_Audio_Device-00"
device.bus = "usb"
device.vendor.id = "0d8c"
device.vendor.name = "C-Media Electronics, Inc."
device.product.id = "0014"
device.product.name = "Audio Adapter (Unitek Y-247A)"
device.serial = "C-Media_Electronics_Inc._USB_Audio_Device"
device.string = "front:1"
device.buffering.buffer_size = "352800"
device.buffering.fragment_size = "176400"
device.access_mode = "mmap+timer"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
device.description = "Audio Adapter (Unitek Y-247A) Analog Stereo"
alsa.mixer_name = "USB Mixer"
alsa.components = "USB0d8c:0014"
module-udev-detect.discovered = "1"
device.icon_name = "audio-card-usb"
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec,
available: unknown)
properties:
device.icon_name = "audio-speakers"
active port: <analog-output-speaker>
----- Original Message -----
From: "Jude DaShiell" <jdashiel@panix.com>
To: "K0LNY_Glenn" <glenn@ervin.email>;
<debian-accessibility@lists.debian.org>
Sent: Tuesday, March 28, 2023 5:33 PM
Subject: Re: OT, Ubuntu Sound Trouble
Try running pulseaudio in ssh with nothing on the command line, that may
start it up.
--
Jude <jdashiel at panix dot com>
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and amo.
Please use in that order."
Ed Howdershelt 1940.
On Tue, 28 Mar 2023, K0LNY_Glenn wrote:
> Hi Jude,
> in terminal, I ran
> paplay file.wav
> and it played like with aplay.
> Then, via SSH, I ran
> pulseaudio --status
> and it came back with
> unrecognized option --status
>
> Glenn
> ----- Original Message -----
> From: "Jude DaShiell" <jdashiel@panix.com>
> To: "K0LNY_Glenn" <glenn@ervin.email>;
> <debian-accessibility@lists.debian.org>
> Sent: Tuesday, March 28, 2023 2:59 PM
> Subject: Re: OT, Ubuntu Sound Trouble
>
>
> I've never run into any command like that. Try running paplay and see if
> you can play a sound file with that command. You may also want to run
> pulseaudio --status and see what's going on with that system.
>
>
> -- Jude <jdashiel at panix dot com> "There are four boxes to be used in
> defense of liberty: soap, ballot, jury, and amo. Please use in that
> order." Ed Howdershelt 1940.
>
> On Tue, 28 Mar 2023, K0LNY_Glenn wrote:
>
> > Is pulseaudio not always running?
> > Here's where I'm at now.
> > I plugged in a USB soundcard, and in the terminal, I can play a wav file
> > with aplay.
> > But no GUI audio.
> > Orca should be running, but there is no sound.
> > speaker-test and aplay do work now in the terminal with the USB
> > soundcard.
> > Is there a command that will list all sound devices and their states
> > with
> > regard to volume and mute status?
> >
> > Thanks
> > ----- Original Message -----
> > From: "Jude DaShiell" <jdashiel@panix.com>
> > To: "K0LNY_Glenn" <glenn@ervin.email>;
> > <debian-accessibility@lists.debian.org>
> > Sent: Tuesday, March 28, 2023 2:11 PM
> > Subject: Re: OT, Ubuntu Sound Trouble
> >
> >
> > Was pulseaudio started before that script got run? If not, pactl has
> > nothing to control.
> >
> >
> > -- Jude <jdashiel at panix dot com> "There are four boxes to be used in
> > defense of liberty: soap, ballot, jury, and amo. Please use in that
> > order." Ed Howdershelt 1940.
> >
> > On Tue, 28 Mar 2023, K0LNY_Glenn wrote:
> >
> > > Can anyone tell me why I get permission problems on the below command?
> > > I found this command on-line while searching for any sort of solution
> > > to
> > > get
> > > audio back:
> > > sudo pactl set-sink-mute @DEFAULT_SINK@ toggle
> > > I made it into a bash script and ran
> > > sudo bash file.sh
> > > Here's a copy of the command and the error:
> > > lenny@lenny-desktop:~$ sudo bash unmutetoggle.sh
> > > graphic 192 Home directory not accessible: Permission denied
> > >
> > > Connection failure: Connection refused
> > > pa_context_connect() failed: Connection refused
> > > graphic 545 lenny@lenny-desktop:~$
> > > ----- Original Message -----
> > > From: "Jude DaShiell" <jdashiel@panix.com>
> > > To: "K0LNY_Glenn" <glenn@ervin.email>;
> > > <debian-accessibility@lists.debian.org>
> > > Sent: Tuesday, March 28, 2023 1:31 PM
> > > Subject: Re: OT, Ubuntu Sound Trouble
> > >
> > >
> > > You wouldn't get the feedback since it's over ssh.
> > >
> > >
> >
> >
>
>
Reply to:
- References:
- OT, Ubuntu Sound Trouble
- From: "K0LNY_Glenn" <glenn@ervin.email>
- Re: OT, Ubuntu Sound Trouble
- From: Jude DaShiell <jdashiel@panix.com>
- Re: OT, Ubuntu Sound Trouble
- From: "K0LNY_Glenn" <glenn@ervin.email>
- Re: OT, Ubuntu Sound Trouble
- From: Jude DaShiell <jdashiel@panix.com>
- Re: OT, Ubuntu Sound Trouble
- From: "K0LNY_Glenn" <glenn@ervin.email>
- Re: OT, Ubuntu Sound Trouble
- From: Jude DaShiell <jdashiel@panix.com>
- Re: OT, Ubuntu Sound Trouble
- From: "K0LNY_Glenn" <glenn@ervin.email>
- Re: OT, Ubuntu Sound Trouble
- From: Jude DaShiell <jdashiel@panix.com>
- Re: OT, Ubuntu Sound Trouble
- From: "K0LNY_Glenn" <glenn@ervin.email>
- Re: OT, Ubuntu Sound Trouble
- From: Jude DaShiell <jdashiel@panix.com>
- Re: OT, Ubuntu Sound Trouble
- From: "K0LNY_Glenn" <glenn@ervin.email>
- Re: OT, Ubuntu Sound Trouble
- From: Jude DaShiell <jdashiel@panix.com>