Sound stopped working after I tried a USB Sound Adapter, which only lit its indicator leds.
Normally the following should produce sound from the loudspeaker. [root@box6 bobg]# aplay /usr/share/sounds/purple/login.wav ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave aplay: main:660: audio open error: Device or resource busy
It does not, and no sound shows on the PAVC input or output bars. I'm not certain of how signal moves through the sound circuit but it looks like it doesn't get from PA to ALSA input?
I can feed a signal into the sound input jack and produce normal indications on the PAVC display and sound at the loudspeaker.
Apparently plugging in that USB "sound adapter" switched something in the logic. Rebooting has not changed things? Is there a default conig. file somewhere?
I've tried everything I can think of via the alsamixer display settings.
Everything did work normally before this.
Also, it would be helpful if there was a way to generate a continuous tone or keep aplay looping continuously when messing with cables under the desk, etc. I have not been able to find anything to do that.
Suggestions wanted, what do I do next?
Bob .
On 02/03/2012 12:26 PM, Bob Goodwin wrote:
Sound stopped working after I tried a USB Sound Adapter, which only lit its indicator leds.
Normally the following should produce sound from the loudspeaker. [root@box6 bobg]# aplay /usr/share/sounds/purple/login.wav ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave aplay: main:660: audio open error: Device or resource busy
It does not, and no sound shows on the PAVC input or output bars. I'm not certain of how signal moves through the sound circuit but it looks like it doesn't get from PA to ALSA input?
I can feed a signal into the sound input jack and produce normal indications on the PAVC display and sound at the loudspeaker.
Apparently plugging in that USB "sound adapter" switched something in the logic. Rebooting has not changed things? Is there a default conig. file somewhere?
I've tried everything I can think of via the alsamixer display settings.
Everything did work normally before this.
Also, it would be helpful if there was a way to generate a continuous tone or keep aplay looping continuously when messing with cables under the desk, etc. I have not been able to find anything to do that.
Suggestions wanted, what do I do next?
Bob .
while [ 1 <> 0 ] do aplay sound.wav done
On Fri, 2012-02-03 at 20:01 -0500, Mark LaPierre wrote:
On 02/03/2012 12:26 PM, Bob Goodwin wrote:
Sound stopped working after I tried a USB Sound Adapter, which only lit its indicator leds.
Normally the following should produce sound from the loudspeaker. [root@box6 bobg]# aplay /usr/share/sounds/purple/login.wav ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave aplay: main:660: audio open error: Device or resource busy
It does not, and no sound shows on the PAVC input or output bars. I'm not certain of how signal moves through the sound circuit but it looks like it doesn't get from PA to ALSA input?
I can feed a signal into the sound input jack and produce normal indications on the PAVC display and sound at the loudspeaker.
Apparently plugging in that USB "sound adapter" switched something in the logic. Rebooting has not changed things? Is there a default conig. file somewhere?
I've tried everything I can think of via the alsamixer display settings.
Everything did work normally before this.
Also, it would be helpful if there was a way to generate a continuous tone or keep aplay looping continuously when messing with cables under the desk, etc. I have not been able to find anything to do that.
Suggestions wanted, what do I do next?
Bob .
while [ 1 <> 0 ] do aplay sound.wav done
while true do ... etc.
poc
On 03/02/12 23:11, Patrick O'Callaghan wrote:
On Fri, 2012-02-03 at 20:01 -0500, Mark LaPierre wrote:
On 02/03/2012 12:26 PM, Bob Goodwin wrote:
Sound stopped working after I tried a USB Sound Adapter, which only lit its indicator leds.
Also, it would be helpful if there was a way to generate a continuous tone or keep aplay looping continuously when messing with cables under the desk, etc. I have not been able to find anything to do that.
Suggestions wanted, what do I do next?
Bob .
while [ 1<> 0 ] do aplay sound.wav done
while true do ... etc.
poc
Good, this works but how to stop once started? All I found is Ctrl Alt Backspace which is inconvenient.
As for the original problem I now suspect hardware, perhaps the headphone jack on the front panel but that's a work in "progress."
Thanks,
Bob
On 02/04/2012 03:42 AM, Bob Goodwin wrote:
On 03/02/12 23:11, Patrick O'Callaghan wrote:
On Fri, 2012-02-03 at 20:01 -0500, Mark LaPierre wrote:
On 02/03/2012 12:26 PM, Bob Goodwin wrote:
Sound stopped working after I tried a USB Sound Adapter, which only lit its indicator leds.
Also, it would be helpful if there was a way to generate a continuous tone or keep aplay looping continuously when messing with cables under the desk, etc. I have not been able to find anything to do that.
Suggestions wanted, what do I do next?
Bob .
while [ 1<> 0 ] do aplay sound.wav done
while true do ... etc.
poc
Good, this works but how to stop once started? All I found is Ctrl Alt Backspace which is inconvenient.
As for the original problem I now suspect hardware, perhaps the headphone jack on the front panel but that's a work in "progress."
Thanks,
Bob
Just kill the terminal that it's running in. As long as you haven't started it with "&" it will die when the terminal dies.
On 04/02/12 10:25, Mark LaPierre wrote:
On 02/04/2012 03:42 AM, Bob Goodwin wrote:
On 03/02/12 23:11, Patrick O'Callaghan wrote:
On Fri, 2012-02-03 at 20:01 -0500, Mark LaPierre wrote:
On 02/03/2012 12:26 PM, Bob Goodwin wrote:
Sound stopped working after I tried a USB Sound Adapter, which only lit its indicator leds.
Also, it would be helpful if there was a way to generate a continuous tone or keep aplay looping continuously when messing with cables under the desk, etc. I have not been able to find anything to do that.
Suggestions wanted, what do I do next?
Bob .
while [ 1<> 0 ] do aplay sound.wav done
while true do ... etc.
poc
Good, this works but how to stop once started? All I found is Ctrl Alt Backspace which is inconvenient.
As for the original problem I now suspect hardware, perhaps the headphone jack on the front panel but that's a work in "progress."
Thanks,
Bob
Just kill the terminal that it's running in. As long as you haven't started it with "&" it will die when the terminal dies.
Ok, that will work for me.
Tnx
On Feb 3, 2012 10:27 AM, "Bob Goodwin" bobgoodwin@wildblue.net wrote:
Sound stopped working after I tried a USB Sound Adapter, which only lit its indicator leds. Normally the following should produce sound from the loudspeaker. [root@box6 bobg]# aplay /usr/share/sounds/purple/login.wav ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave aplay: main:660: audio open error: Device or resource busy It does not, and no sound shows on the PAVC input or output bars. I'm not certain of how signal moves through the sound circuit but it looks like it doesn't get from PA to ALSA input? I can feed a signal into the sound input jack and produce normal indications on the PAVC display and sound at the loudspeaker. Apparently plugging in that USB "sound adapter" switched something in the logic. Rebooting has not changed things? Is there a default conig. file somewhere? I've tried everything I can think of via the alsamixer display settings. Everything did work normally before this. Also, it would be helpful if there was a way to generate a continuous tone or keep aplay looping continuously when messing with cables under the desk, etc. I have not been able to find anything to do that. Suggestions wanted, what do I do next? Bob
If aplay is working then something is probably screwed up in your PulseAudio configuration.
Please post the full output of "pacmd info", which dumps Pulse's configuration.
-T.C.
On 04/02/12 03:51, T.C. Hollingsworth wrote:
On Feb 3, 2012 10:27 AM, "Bob Goodwin" bobgoodwin@wildblue.net wrote:
Sound stopped working after I tried a USB Sound Adapter, which only lit its indicator leds.If aplay is working then something is probably screwed up in your PulseAudio configuration.
Please post the full output of "pacmd info", which dumps Pulse's configuration.
-T.C.
Is "pacmd info" a command? I cant seem to do anything with it, "locate" shows nothing?
I need to look at the headphone jack circuit, it causes the output on the back panel to be switched on/off and I am suspecting something intermittent there?
Bob
On 04/02/12 03:51, T.C. Hollingsworth wrote:
On Feb 3, 2012 10:27 AM, "Bob Goodwin" bobgoodwin@wildblue.net wrote:
Sound stopped working after I tried a USB Sound Adapter, which only lit its indicator leds. BobIf aplay is working then something is probably screwed up in your PulseAudio configuration.
Please post the full output of "pacmd info", which dumps Pulse's configuration.
-T.C.
[bobg@box6 ~]$ pacmd info Welcome to PulseAudio! Use "help" for usage information.
Memory blocks currently allocated: 1, size: 63.9 KiB.
Memory blocks allocated during the whole lifetime: 3796, size: 21.8 MiB. Memory blocks imported from other processes: 0, size: 0 B. Memory blocks exported to other processes: 0, size: 0 B. Total sample cache size: 0 B. Default sample spec: s16le 2ch 44100Hz Default channel map: front-left,front-right Default sink name: alsa_output.pci-0000_00_1e.2.analog-stereo Default source name: alsa_output.pci-0000_00_1e.2.analog-stereo.monitor Memory blocks of type POOL: 1 allocated/1445 accumulated. Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated. Memory blocks of type APPENDED: 0 allocated/0 accumulated. Memory blocks of type USER: 0 allocated/0 accumulated. Memory blocks of type FIXED: 0 allocated/2351 accumulated. Memory blocks of type IMPORTED: 0 allocated/0 accumulated. 18 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 = "0.9.23" 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 = "0.9.23" 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 = "0.9.23" 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 = "0.9.23" index: 4 name: <module-alsa-card> argument: <device_id="0" name="pci-0000_00_1e.2" card_name="alsa_card.pci-0000_00_1e.2" tsched=yes ignore_dB=no card_properties="module-udev-detect.discovered=1"> used: 0 load once: no properties: module.author = "Lennart Poettering" module.description = "ALSA Card" module.version = "0.9.23" 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 = "0.9.23" index: 6 name: <module-bluetooth-discover> argument: <> used: -1 load once: yes properties: module.author = "Joao Paulo Rechi Vita" module.description = "Detect available bluetooth audio devices and load bluetooth audio drivers" module.version = "0.9.23" 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 = "0.9.23" 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 = "0.9.23" 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 = "0.9.23" 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 their streams to the default sink/source" module.version = "0.9.23" 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 = "0.9.23" index: 12 name: <module-intended-roles> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Automatically set device of streams based of intended roles of devices" module.version = "0.9.23" index: 13 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 = "0.9.23" index: 14 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 = "0.9.23" index: 15 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 = "0.9.23" index: 16 name: <module-cork-music-on-phone> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "Mute or cork music while a phone stream exists" module.version = "0.9.23" index: 17 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 = "0.9.23" 1 sink(s) available. * index: 0 name: <alsa_output.pci-0000_00_1e.2.analog-stereo> driver: <module-alsa-card.c> flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 9959 volume: 0: 79% 1: 79% 0: -6.00 dB 1: -6.00 dB balance 0.00 base volume: 63% -12.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 .. 371.52 ms card: 0 <alsa_card.pci-0000_00_1e.2> module: 4 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "Intel ICH6" alsa.id = "Intel ICH" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "Intel ICH6" alsa.long_card_name = "Intel ICH6 with AD1980 at irq 23" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:1e.2" sysfs.path = "/devices/pci0000:00/0000:00:1e.2/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "266e" device.product.name = "82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "65536" device.access_mode = "mmap+timer" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Internal Audio Analog Stereo" alsa.mixer_name = "Analog Devices AD1980" alsa.components = "AC97a:41445370" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" ports: analog-output;output-amplifier-on: Analog Output / Amplifier (priority 9910) analog-output;output-amplifier-off: Analog Output / No Amplifier (priority 9900) analog-output-mono;output-amplifier-on: Analog Mono Output / Amplifier (priority 5010) analog-output-mono;output-amplifier-off: Analog Mono Output / No Amplifier (priority 5000) analog-output-lfe-on-mono;output-amplifier-on: Analog Output (LFE) / Amplifier (priority 4010) analog-output-lfe-on-mono;output-amplifier-off: Analog Output (LFE) / No Amplifier (priority 4000) active port: <analog-output;output-amplifier-on> 2 source(s) available. * index: 0 name: <alsa_output.pci-0000_00_1e.2.analog-stereo.monitor> driver: <module-alsa-card.c> flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 1950 volume: 0: 76% 1: 76% 0: -7.31 dB 1: -7.31 dB balance 0.00 base volume: 100% 0.00 dB volume steps: 65537 muted: no current latency: 0.00 ms max rewind: 0 KiB 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 .. 371.52 ms monitor_of: 0 card: 0 <alsa_card.pci-0000_00_1e.2> module: 4 properties: device.description = "Monitor of Internal Audio Analog Stereo" device.class = "monitor" alsa.card = "0" alsa.card_name = "Intel ICH6" alsa.long_card_name = "Intel ICH6 with AD1980 at irq 23" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:1e.2" sysfs.path = "/devices/pci0000:00/0000:00:1e.2/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "266e" device.product.name = "82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller" device.form_factor = "internal" device.string = "0" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" index: 1 name: <alsa_input.pci-0000_00_1e.2.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: 9959 volume: 0: 42% 1: 42% 0: -22.50 dB 1: -22.50 dB balance 0.00 base volume: 42% -22.50 dB volume steps: 65537 muted: no current latency: 0.00 ms max rewind: 0 KiB 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 .. 371.52 ms card: 0 <alsa_card.pci-0000_00_1e.2> module: 4 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "Intel ICH6" alsa.id = "Intel ICH" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "Intel ICH6" alsa.long_card_name = "Intel ICH6 with AD1980 at irq 23" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:1e.2" sysfs.path = "/devices/pci0000:00/0000:00:1e.2/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "266e" device.product.name = "82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "65536" device.access_mode = "mmap+timer" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Internal Audio Analog Stereo" alsa.mixer_name = "Analog Devices AD1980" alsa.components = "AC97a:41445370" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" ports: analog-input-microphone;input-microphone-1: Analog Microphone / Microphone 1 (priority 10020) analog-input-microphone;input-microphone-2: Analog Microphone / Microphone 2 (priority 10019) analog-input-linein: Analog Line-In (priority 9000) analog-input: Analog Input (priority 9000) analog-input-video: Analog Video (priority 7000) active port: <analog-input-linein> 6 client(s) logged in. index: 0 driver: <module-console-kit.c> owner module: 14 properties: application.name = "ConsoleKit Session /org/freedesktop/ConsoleKit/Session1" console-kit.session = "/org/freedesktop/ConsoleKit/Session1" index: 1 driver: <module-console-kit.c> owner module: 14 properties: application.name = "ConsoleKit Session /org/freedesktop/ConsoleKit/Session2" console-kit.session = "/org/freedesktop/ConsoleKit/Session2" index: 3 driver: <protocol-native.c> owner module: 8 properties: application.name = "xfce4-mixer-plugin" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "1285" application.process.user = "bobg" application.process.host = "box6" application.process.binary = "xfce4-mixer-plugin" window.x11.display = ":0.0" application.language = "en_US.UTF-8" application.process.machine_id = "1a9cf5cd30180dcb1e4149420000000f" application.process.session_id = "1a9cf5cd30180dcb1e4149420000000f-1328342993.211226-1865209455" index: 4 driver: <protocol-native.c> owner module: 8 properties: application.name = "xfce4-mixer-plugin" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "1285" application.process.user = "bobg" application.process.host = "box6" application.process.binary = "xfce4-mixer-plugin" window.x11.display = ":0.0" application.language = "en_US.UTF-8" application.process.machine_id = "1a9cf5cd30180dcb1e4149420000000f" application.process.session_id = "1a9cf5cd30180dcb1e4149420000000f-1328342993.211226-1865209455" index: 5 driver: <protocol-native.c> owner module: 8 properties: application.name = "xfce4-mixer-plugin" native-protocol.peer = "UNIX socket client" native-protocol.version = "16" application.process.id = "1285" application.process.user = "bobg" application.process.host = "box6" application.process.binary = "xfce4-mixer-plugin" window.x11.display = ":0.0" application.language = "en_US.UTF-8" application.process.machine_id = "1a9cf5cd30180dcb1e4149420000000f" application.process.session_id = "1a9cf5cd30180dcb1e4149420000000f-1328342993.211226-1865209455" index: 17 driver: <cli.c> owner module: 17 properties: application.name = "UNIX socket client" 1 card(s) available. index: 0 name: <alsa_card.pci-0000_00_1e.2> driver: <module-alsa-card.c> owner module: 4 properties: alsa.card = "0" alsa.card_name = "Intel ICH6" alsa.long_card_name = "Intel ICH6 with AD1980 at irq 23" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:1e.2" sysfs.path = "/devices/pci0000:00/0000:00:1e.2/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "266e" device.product.name = "82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller" device.form_factor = "internal" device.string = "0" device.description = "Internal Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" profiles: output:analog-stereo: Analog Stereo Output (priority 6000) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060) output:analog-surround-40: Analog Surround 4.0 Output (priority 700) output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760) output:analog-surround-41: Analog Surround 4.1 Output (priority 800) output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860) output:analog-surround-50: Analog Surround 5.0 Output (priority 700) output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760) output:analog-surround-51: Analog Surround 5.1 Output (priority 800) output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860) input:analog-stereo: Analog Stereo Input (priority 60) off: Off (priority 0) active profile: output:analog-stereo+input:analog-stereo sinks: alsa_output.pci-0000_00_1e.2.analog-stereo/#0: Internal Audio Analog Stereo sources: alsa_output.pci-0000_00_1e.2.analog-stereo.monitor/#0: Monitor of Internal Audio Analog Stereo alsa_input.pci-0000_00_1e.2.analog-stereo/#1: Internal Audio Analog Stereo 0 sink input(s) available. 0 source outputs(s) available. 0 cache entrie(s) available.
[bobg@box6 ~]$ pacmd info Welcome to PulseAudio! Use "help" for usage information.
<snip unhelpful part>
Below is the part that lists devices that output sounds. It's only showing one device, so theoretically the USB device isn't confusing PulseAudio.
1 sink(s) available. * index: 0 name: <alsa_output.pci-0000_00_1e.2.analog-stereo> driver: <module-alsa-card.c> flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY FLAT_VOLUME DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 9959 volume: 0: 79% 1: 79% 0: -6.00 dB 1: -6.00 dB balance 0.00 base volume: 63% -12.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 .. 371.52 ms card: 0 <alsa_card.pci-0000_00_1e.2> module: 4 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "Intel ICH6" alsa.id = "Intel ICH" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "Intel ICH6" alsa.long_card_name = "Intel ICH6 with AD1980 at irq 23" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:1e.2" sysfs.path = "/devices/pci0000:00/0000:00:1e.2/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "266e" device.product.name = "82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "65536" device.buffering.fragment_size = "65536" device.access_mode = "mmap+timer" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Internal Audio Analog Stereo" alsa.mixer_name = "Analog Devices AD1980" alsa.components = "AC97a:41445370" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci"
With some devices you can switch the headphone jack/speakers using `pacmd set-sink-port 0 <port>`, where <port> is one of the ports listed below. Unfortunately, it doesn't look like you can do that with your card. :-(
I suppose there's a small chance that the amplifier business is causing problems, so it ` pacmd set-sink-port 0 'analog-output;output-amplifier-off' ` might be worth a shot, but try the set-card-profile thing explained below first.
ports: analog-output;output-amplifier-on: Analog Output / Amplifier (priority 9910) analog-output;output-amplifier-off: Analog Output / No Amplifier (priority 9900) analog-output-mono;output-amplifier-on: Analog Mono Output / Amplifier (priority 5010) analog-output-mono;output-amplifier-off: Analog Mono Output / No Amplifier (priority 5000) analog-output-lfe-on-mono;output-amplifier-on: Analog Output (LFE) / Amplifier (priority 4010) analog-output-lfe-on-mono;output-amplifier-off: Analog Output (LFE) / No Amplifier (priority 4000) active port: <analog-output;output-amplifier-on>
2 source(s) available.
<snip microphone/monitor stuff>
6 client(s) logged in.
<snip mixers and other utilities hooked up to PA>
And we're finally to the actual hardware:
1 card(s) available. index: 0 name: <alsa_card.pci-0000_00_1e.2> driver: <module-alsa-card.c> owner module: 4 properties: alsa.card = "0" alsa.card_name = "Intel ICH6" alsa.long_card_name = "Intel ICH6 with AD1980 at irq 23" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:1e.2" sysfs.path = "/devices/pci0000:00/0000:00:1e.2/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "266e" device.product.name = "82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller" device.form_factor = "internal" device.string = "0" device.description = "Internal Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci"
This might be the problem:
profiles: output:analog-stereo: Analog Stereo Output (priority 6000) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060) output:analog-surround-40: Analog Surround 4.0 Output (priority 700) output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760) output:analog-surround-41: Analog Surround 4.1 Output (priority 800) output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860) output:analog-surround-50: Analog Surround 5.0 Output (priority 700) output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760) output:analog-surround-51: Analog Surround 5.1 Output (priority 800) output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860) input:analog-stereo: Analog Stereo Input (priority 60) off: Off (priority 0) active profile: output:analog-stereo+input:analog-stereo
In my experience, having the active profile set as anything with "input" in it results in no sound, though I haven't the slightest idea why.
Try `pacmd set-card-profile 0 output:analog-stereo`.
sinks: alsa_output.pci-0000_00_1e.2.analog-stereo/#0: Internal Audio Analog Stereo sources: alsa_output.pci-0000_00_1e.2.analog-stereo.monitor/#0: Monitor of Internal Audio Analog Stereo alsa_input.pci-0000_00_1e.2.analog-stereo/#1: Internal Audio Analog Stereo
Below would list all the apps feeding or eating sound from PulseAudio at the time you ran the command, if there were any. If you play some sound, you can see the application playing it listed here and what audio device it's using. Might be useful if you attempt to use the USB card again.
0 sink input(s) available. 0 source outputs(s) available. 0 cache entrie(s) available.
Sorry I can't be of more help. If any of the above doesn't work, you're probably right about it being a hardware issue. Everything else in PA-land looks fine.
-T.C.
On 04/02/12 05:21, T.C. Hollingsworth wrote:
Sorry I can't be of more help. If any of the above doesn't work, you're probably right about it being a hardware issue. Everything else in PA-land looks fine. -T.C.
No, that's a lot of help, it gives me more insight into how to troubleshoot the problem.
Mainly I need sound to announce incoming e-mail/text messages. I filter them to voice announcements, etc.
The trouble arose with a program [from yum] fldigi which interconnects the computer with the HF radio providing phase shift keying for transmit and receive. PA enables controlling the levels, the signaling is via audio frequencies, and normally it works well. I'm running out of jacks so have been using the front panel audio output jack and have been pulling the plug when I wanted to use the radio system, perhaps resulting in a failure there ... However the problem seemed to happen after I plugged in that USB sound gadget to see if I could get an extra jack there, after which I began to have audio problems.
Anyway armed with new information I will have another go at it later.
Thanks much,
Bob
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 02/04/2012 06:47 AM, Bob Goodwin wrote:
On 04/02/12 05:21, T.C. Hollingsworth wrote:
Sorry I can't be of more help. If any of the above doesn't work,
you're probably right about it being a hardware issue. Everything else in PA-land looks fine. -T.C.
No, that's a lot of help, it gives me more insight into how to troubleshoot the problem.
Mainly I need sound to announce incoming e-mail/text messages. I filter them to voice announcements, etc.
The trouble arose with a program [from yum] fldigi which interconnects the computer with the HF radio providing phase shift keying for transmit and receive. PA enables controlling the levels, the signaling is via audio frequencies, and normally it works well. I'm running out of jacks so have been using the front panel audio output jack and have been pulling the plug when I wanted to use the radio system, perhaps resulting in a failure there ... However the problem seemed to happen after I plugged in that USB sound gadget to see if I could get an extra jack there, after which I began to have audio problems.
Anyway armed with new information I will have another go at it later.
Thanks much,
Bob
You may want to check the default output in PA. It sounds like it is getting changed when you plug in the USB sound device. This would be especially true if you booted with the USB sound device, and later removed it.
I missed the start of this thread, so I do not know if your sound card is being detected as card 0, or card 1. (aplay -L) If it is card one, then the USB sound device is probably being dected as card 0.
One nice thing about PA is that you can select where the sound output of a specific program goes. You can have the system sounds go to your sound card, and HF radio going to the USB sound card.
I hope this helps. Mikkel - -- Do not meddle in the affairs of dragons, for thou art crunchy and taste good with Ketchup!