PA version is 0.9.22, udev support is build, hal support not. Also now Im not in front of the "test" system, so I can't know if it's producing sound, but I get this: [kongoni at kongoni ~]$ pasuspender bash [kongoni at kongoni ~]$ speaker-test -D hw:0 -c 2 speaker-test 1.0.23 Playback device is hw:0 Stream parameters are 48000Hz, S16_LE, 2 channels Using 16 octaves of pink noise Rate set to 48000Hz (requested 48000Hz) Buffer size range from 8 to 16384 Period size range from 8 to 16384 Using max buffer size 16384 Periods = 4 was set period_size = 4096 was set buffer_size = 16384 0 - Front Left 1 - Front Right Time per period = 5.444608 0 - Front Left 1 - Front Right Time per period = 6.004962 0 - Front Left 1 - Front Right pacmd list: >>> [kongoni at kongoni ~]$ pacmd list Welcome to PulseAudio! Use "help" for usage information. >>> Memory blocks currently allocated: 1, size: 64.0 KiB. Memory blocks allocated during the whole lifetime: 1156, size: 3.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 48000Hz Default channel map: front-left,front-right Default sink name: alsa_output.hw_0 Default source name: alsa_input.hw_0 Memory blocks of type POOL: 1 allocated/1 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/1155 accumulated. Memory blocks of type IMPORTED: 0 allocated/0 accumulated. 20 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.22" 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.22" 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.22" 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.22" index: 4 name: <module-alsa-sink> argument: <device=hw:0> used: 0 load once: no properties: module.author = "Lennart Poettering" module.description = "ALSA Sink" module.version = "0.9.22" index: 5 name: <module-alsa-source> argument: <device=hw:0> used: 0 load once: no properties: module.author = "Lennart Poettering" module.description = "ALSA Source" module.version = "0.9.22" index: 6 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.22" index: 7 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.22" index: 8 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.22" index: 9 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.22" index: 10 name: <module-gconf> argument: <> used: -1 load once: yes properties: module.author = "Lennart Poettering" module.description = "GConf Adapter" module.version = "0.9.22" index: 11 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.22" index: 12 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.22" index: 13 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.22" index: 14 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.22" index: 15 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.22" index: 16 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.22" 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 = "0.9.22" index: 18 name: <module-alsa-card> argument: <device_id="0" name="pci-0000_00_05.0" card_name="alsa_card.pci-0000_00_05.0" 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.22" index: 19 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.22" 2 sink(s) available. * index: 0 name: <alsa_output.hw_0> driver: <module-alsa-sink.c> flags: HARDWARE DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9950 volume: 0: 100% 1: 100% 0: 0.00 dB 1: 0.00 dB balance 0.00 base volume: 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 48000Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 fixed latency: 80.00 ms module: 4 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "Intel 82801AA-ICH" alsa.id = "Intel ICH" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "Intel 82801AA-ICH" alsa.long_card_name = "Intel 82801AA-ICH with STAC9700,83,84 at irq 21" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:05.0" sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "2415" device.product.name = "82801AA AC'97 Audio Controller" device.form_factor = "internal" device.string = "hw:0" device.buffering.buffer_size = "15360" device.buffering.fragment_size = "1920" device.access_mode = "mmap" device.description = "Internal Audio" device.icon_name = "audio-card-pci" index: 1 name: <alsa_output.pci-0000_00_05.0.analog-stereo> driver: <module-alsa-card.c> flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9959 volume: 0: 28% 1: 28% 0: -33.00 dB 1: -33.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: 2 sample spec: s16le 2ch 48000Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 fixed latency: 80.00 ms card: 0 <alsa_card.pci-0000_00_05.0> module: 18 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "Intel 82801AA-ICH" alsa.id = "Intel ICH" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "Intel 82801AA-ICH" alsa.long_card_name = "Intel 82801AA-ICH with STAC9700,83,84 at irq 21" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:05.0" sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "2415" device.product.name = "82801AA AC'97 Audio Controller" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "15360" device.buffering.fragment_size = "1920" device.access_mode = "mmap" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Internal Audio Analog Stereo" alsa.mixer_name = "SigmaTel STAC9700,83,84" alsa.components = "AC97a:83847600" 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> 4 source(s) available. index: 0 name: <alsa_output.hw_0.monitor> driver: <module-alsa-sink.c> flags: DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 1000 volume: 0: 100% 1: 100% 0: 0.00 dB 1: 0.00 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 48000Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 fixed latency: 80.00 ms monitor_of: 0 module: 4 properties: device.description = "Monitor of Internal Audio" device.class = "monitor" device.icon_name = "audio-input-microphone" * index: 1 name: <alsa_input.hw_0> driver: <module-alsa-source.c> flags: HARDWARE DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9950 volume: 0: 100% 1: 100% 0: 0.00 dB 1: 0.00 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 48000Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 fixed latency: 80.00 ms module: 5 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "Intel 82801AA-ICH" alsa.id = "Intel ICH" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "Intel 82801AA-ICH" alsa.long_card_name = "Intel 82801AA-ICH with STAC9700,83,84 at irq 21" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:05.0" sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "2415" device.product.name = "82801AA AC'97 Audio Controller" device.form_factor = "internal" device.string = "hw:0" device.buffering.buffer_size = "15360" device.buffering.fragment_size = "1920" device.access_mode = "mmap" device.description = "Internal Audio" device.icon_name = "audio-input-microphone-pci" index: 2 name: <alsa_output.pci-0000_00_05.0.analog-stereo.monitor> driver: <module-alsa-card.c> flags: DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 1950 volume: 0: 100% 1: 100% 0: 0.00 dB 1: 0.00 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 48000Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 fixed latency: 80.00 ms monitor_of: 1 card: 0 <alsa_card.pci-0000_00_05.0> module: 18 properties: device.description = "Monitor of Internal Audio Analog Stereo" device.class = "monitor" alsa.card = "0" alsa.card_name = "Intel 82801AA-ICH" alsa.long_card_name = "Intel 82801AA-ICH with STAC9700,83,84 at irq 21" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:05.0" sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "2415" device.product.name = "82801AA AC'97 Audio Controller" device.form_factor = "internal" device.string = "0" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" index: 3 name: <alsa_input.pci-0000_00_05.0.analog-stereo> driver: <module-alsa-card.c> flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9959 volume: 0: 67% 1: 67% 0: -10.50 dB 1: -10.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 48000Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 fixed latency: 80.00 ms card: 0 <alsa_card.pci-0000_00_05.0> module: 18 properties: alsa.resolution_bits = "16" device.api = "alsa" device.class = "sound" alsa.class = "generic" alsa.subclass = "generic-mix" alsa.name = "Intel 82801AA-ICH" alsa.id = "Intel ICH" alsa.subdevice = "0" alsa.subdevice_name = "subdevice #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "Intel 82801AA-ICH" alsa.long_card_name = "Intel 82801AA-ICH with STAC9700,83,84 at irq 21" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:05.0" sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "2415" device.product.name = "82801AA AC'97 Audio Controller" device.form_factor = "internal" device.string = "front:0" device.buffering.buffer_size = "15360" device.buffering.fragment_size = "1920" device.access_mode = "mmap" device.profile.name = "analog-stereo" device.profile.description = "Analog Stereo" device.description = "Internal Audio Analog Stereo" alsa.mixer_name = "SigmaTel STAC9700,83,84" alsa.components = "AC97a:83847600" 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-microphone;input-microphone-1> 1 client(s) logged in. index: 2 driver: <cli.c> owner module: 19 properties: application.name = "UNIX socket client" 1 card(s) available. index: 0 name: <alsa_card.pci-0000_00_05.0> driver: <module-alsa-card.c> owner module: 18 properties: alsa.card = "0" alsa.card_name = "Intel 82801AA-ICH" alsa.long_card_name = "Intel 82801AA-ICH with STAC9700,83,84 at irq 21" alsa.driver_name = "snd_intel8x0" device.bus_path = "pci-0000:00:05.0" sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "2415" device.product.name = "82801AA 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) 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_05.0.analog-stereo/#1: Internal Audio Analog Stereo sources: alsa_output.pci-0000_00_05.0.analog-stereo.monitor/#2: Monitor of Internal Audio Analog Stereo alsa_input.pci-0000_00_05.0.analog-stereo/#3: Internal Audio Analog Stereo 0 sink input(s) available. 0 source outputs(s) available. 0 cache entrie(s) available. On Thu, Dec 9, 2010 at 12:43, Colin Guthrie <gmane at colin.guthr.ie> wrote: > Hi, > > 'Twas brillig, and Robert Gabriel at 09/12/10 11:10 did gyre and gimble: > > Hello, Im trying to implement pulseaudio on a Slackware based > > distribution which Im working on. > > I have also rebuild phonon so it will support properly pulseaudio and > > gstreamer package too. > > They really should compile support for this in by default. > > > Basically it works, just there is no actual sound and I get this error > > in syslog: > > > > Dec 9 11:08:06 kongoni pulseaudio[898]: alsa-util.c: Disabling > > timer-based scheduling because running inside a VM. > > Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-sink.c: ALSA woke us up to > > write new data to the device, but there was actually nothing to write! > > Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-sink.c: Most likely this > > is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to > > the ALSA developers. > > Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-sink.c: We were woken up > > with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or > > another value < min_avail. > > Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-util.c: Disabling > > timer-based scheduling because running inside a VM. > > Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-source.c: ALSA woke us up > > to read new data from the device, but there was actually nothing to read! > > Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-source.c: Most likely this > > is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to > > the ALSA developers. > > Dec 9 11:08:07 kongoni pulseaudio[898]: alsa-source.c: We were woken up > > with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or > > another value < min_avail. > > This is generally a non-fatal error. It doens't usually result in a > total lack of sound. > > Can you supply the output of "pacmd list" please? > > Also have you confirmed that your VM sound output is actually connected > to something? e.g. can you get sound from alsa directly? > > e.g. doing type the following in a shell inside your VM: > > pasuspender bash > speaker-test -D hw:0 -c 2 > CTRL+C (after the test is run) > exit > > Does it produce sound? > > > > [root at kongoni ~]$ cat /etc/pulse/default.pa <http://default.pa> |grep hw > > load-module module-alsa-sink device=hw:0 > > load-module module-alsa-source device=hw:0 > > Is there a reason you had to change the default.pa from the default? > Normally udev-detect should do everything for you. It's also generally > bad practice to use "hw" directly, better to use e.g. front:0 > > > > NOTE: Pulseaudio is build with --disable-hal if it matters. > > As we'd recommend seeing as hal is dead these days. Is udev support > compiled in? It replaced hal these days. > > Also what version of PA? I'd recommend 0.9.22. > > > Col > > > > -- > > Colin Guthrie > gmane(at)colin.guthr.ie > http://colin.guthr.ie/ > > Day Job: > Tribalogic Limited [http://www.tribalogic.net/] > Open Source: > Mageia Contributor [http://www.mageia.org/] > PulseAudio Hacker [http://www.pulseaudio.org/] > Trac Hacker [http://trac.edgewall.org/] > > _______________________________________________ > pulseaudio-discuss mailing list > pulseaudio-discuss at mail.0pointer.de > https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20101209/022f44b6/attachment.htm>