[pulseaudio-discuss] pulseaudio-0.9.21, alsa-1.0.23, kde-4.4.5, consolekit, dbus

sibu xolo sibxol at btconnect.com
Tue Sep 14 05:33:02 PDT 2010


On Monday 13 September 2010 11:59:14 Colin Guthrie wrote:
> 'Twas brillig, and sibu xolo at 13/09/10 11:10 did gyre and gimble:
 First of all thanks  (or shall I say 'kallu kalay')  for the help. 

> I'm not sure why udev-detect would cause problems. I would suggest to
> double check your udev setup and make sure the relevant udev rules are
> present on your system. udev 147 is pretty old, perhaps a newer version
> is needed (I can't remember the minimum system requirements), but
> certainly: /lib/udev/rules.d/78-sound-card.rules



I updated udev to udev-162.  And  I can report some progress and some 
glitches.

PROGRESS:
--------
---a) the first login and logout  via kdm gives the  welcome and exit sounds
---b)the  kde/~Multimedia dialog has  a dummy greyed-out icon and another as 
'Internal Audio analog stereo'
---c) aplay plays wav files in konsole  -as well as on the cli in/before/after 
startkde/kdm-logout


GLITCHES
-----------
---d) kde/sound is mute for all other logins and logouts  bar the first
---e) audio CDROMs do not play neither with KsCD nor Kaffeine for any logins

-----------------------------------------------------------------------------


######## 'pacmd -ls' looks like this after login via kdm

Welcome to PulseAudio! Use "help" for usage information.
>>> Memory blocks currently allocated: 1, size: 63.9 KiB.
Memory blocks allocated during the whole lifetime: 85, size: 2.6 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_07.0.analog-stereo
Default source name: alsa_input.pci-0000_00_07.0.analog-stereo
Memory blocks of type POOL: 1 allocated/28 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/57 accumulated.
Memory blocks of type IMPORTED: 0 allocated/0 accumulated.
22 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.21"
    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.21"
    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.21"
    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.21"
    index: 4
        name: <module-alsa-card>
        argument: <device_id="0" name="pci-0000_00_07.0" 
card_name="alsa_card.pci-0000_00_07.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.21"
    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.21"
    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.21"
    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.21"
    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.21"
    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.21"
    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.21"
    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.21"
    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.21"
    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.21"
    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.21"
    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.21"
    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.21"
    index: 18
        name: <module-device-manager>
        argument: <do_routing=1>
        used: -1
        load once: yes
        properties:
                module.author = "Colin Guthrie"
                module.description = "Keep track of devices (and their 
descriptions) 
both past and present and prioritise by role"
                module.version = "0.9.21"
    index: 21
        name: <module-x11-publish>
        argument: <display=:0>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 credential publisher"
                module.version = "0.9.21"
    index: 22
        name: <module-x11-cork-request>
        argument: <display=:0>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "Synthesize X11 media key events when 
cork/uncork is requested"
                module.version = "0.9.21"
    index: 23
        name: <module-x11-xsmp>
        argument: <display=:0 session_manager=local/hooter.b-
lux.balls:@/tmp/.ICE-unix/2242,unix/hooter.b-lux.balls:/tmp/.ICE-
unix/2242,inet6/hooter.b-lux.balls:60628,inet/hooter.b-lux.balls:47470>
        used: -1
        load once: no
        properties:
                module.author = "Lennart Poettering"
                module.description = "X11 session management"
                module.version = "0.9.21"
    index: 24
        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.21"
1 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_00_07.0.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:  74% 1:  74%
                0: -7.80 dB 1: -7.80 dB
                balance 0.00
        base volume: 100%
                     0.00 dB
        volume steps: 65537
        muted: no
        current latency: 0.00 ms
        max request: 64 KiB
        max rewind: 64 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_07.0>
        module: 4
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC662 rev1 Analog"
                alsa.id = "ALC662 rev1 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xfde78000 irq 21"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:07.0"
                sysfs.path = "/devices/pci0000:00/0000:00:07.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.product.id = "055c"
                device.form_factor = "internal"
                hal.udi = 
"/org/freedesktop/Hal/devices/pci_10de_55c_sound_card_0"
                hal.product = "HDA NVidia Sound Card"
                hal.card_id = "HDA NVidia"
                device.string = "front:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "32768"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Internal Audio Analog Stereo"
                alsa.mixer_name = "Realtek ALC662 rev1"
                alsa.components = "HDA:10ec0662,18493662,00100101"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output: Analog Output (priority 9900)
                analog-output-headphones: Analog Headphones (priority 9000)
        active port: <analog-output>
2 source(s) available.
    index: 0
        name: <alsa_output.pci-0000_00_07.0.analog-stereo.monitor>
        driver: <module-alsa-card.c>
        flags: DECIBEL_VOLUME LATENCY DYNAMIC_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: 64 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_07.0>
        module: 4
        properties:
                device.description = "Monitor of Internal Audio Analog Stereo"
                device.class = "monitor"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xfde78000 irq 21"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:07.0"
                sysfs.path = "/devices/pci0000:00/0000:00:07.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.product.id = "055c"
                device.form_factor = "internal"
                hal.udi = 
"/org/freedesktop/Hal/devices/pci_10de_55c_sound_card_0"
                hal.product = "HDA NVidia Sound Card"
                hal.card_id = "HDA NVidia"
                device.string = "0"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
  * index: 1
        name: <alsa_input.pci-0000_00_07.0.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:  45% 1:  45%
                0: -21.00 dB 1: -21.00 dB
                balance 0.00
        base volume:  28%
                     -33.00 dB
        volume steps: 65537
        muted: yes
        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_07.0>
        module: 4
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC662 rev1 Analog"
                alsa.id = "ALC662 rev1 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xfde78000 irq 21"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:07.0"
                sysfs.path = "/devices/pci0000:00/0000:00:07.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.product.id = "055c"
                device.form_factor = "internal"
                hal.udi = 
"/org/freedesktop/Hal/devices/pci_10de_55c_sound_card_0"
                hal.product = "HDA NVidia Sound Card"
                hal.card_id = "HDA NVidia"
                device.string = "front:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "32768"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Internal Audio Analog Stereo"
                alsa.mixer_name = "Realtek ALC662 rev1"
                alsa.components = "HDA:10ec0662,18493662,00100101"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                input-microphone-1: Microphone 1 (priority 20)
                input-microphone-2: Microphone 2 (priority 19)
                input-linein: Line-In (priority 18)
        active port: <input-microphone-1>
4 client(s) logged in.
    index: 8
        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: 13
        driver: <module-x11-xsmp.c>
        owner module: 23
        properties:
                application.name = "XSMP Session on KDE as 
1025a2651a4214000128440250300000022420012"
                xsmp.vendor = "KDE"
                xsmp.client.id = "1025a2651a4214000128440250300000022420012"
    index: 14
        driver: <protocol-native.c>
        owner module: 8
        properties:
                application.name = "libphonon"
                native-protocol.peer = "UNIX socket client"
                native-protocol.version = "16"
                application.process.id = "2251"
                application.process.user = "sx"
                application.process.host = "hooter.b-lux.balls"
                application.process.binary = "knotify4"
                application.language = "C"
                window.x11.display = ":0.0"
                application.process.machine_id = 
"1385ab3a82291ea28004768900000006"
                application.process.session_id = 
"1385ab3a82291ea28004768900000006-1284402497.313752-1099366720"
    index: 15
        driver: <cli.c>
        owner module: 24
        properties:
                application.name = "UNIX socket client"
1 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_00_07.0>
        driver: <module-alsa-card.c>
        owner module: 4
        properties:
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xfde78000 irq 21"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:07.0"
                sysfs.path = "/devices/pci0000:00/0000:00:07.0/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.product.id = "055c"
                device.form_factor = "internal"
                hal.udi = 
"/org/freedesktop/Hal/devices/pci_10de_55c_sound_card_0"
                hal.product = "HDA NVidia Sound Card"
                hal.card_id = "HDA NVidia"
                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-stereo+input:iec958-stereo: Analog Stereo Output 
+ 
Digital Stereo (IEC958) Input (priority 6055)
                output:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 
5500)
                output:iec958-stereo+input:analog-stereo: Digital Stereo 
(IEC958) 
Output + Analog Stereo Input (priority 5560)
                output:iec958-stereo+input:iec958-stereo: Digital Stereo 
(IEC958) 
Output + Digital Stereo (IEC958) Input (priority 5555)
                input:analog-stereo: Analog Stereo Input (priority 60)
                input:iec958-stereo: Digital Stereo (IEC958) Input (priority 
55)
                off: Off (priority 0)
        active profile: <output:analog-stereo+input:analog-stereo>
        sinks:
                alsa_output.pci-0000_00_07.0.analog-stereo/#0: Internal Audio 
Analog 
Stereo
        sources:
                alsa_output.pci-0000_00_07.0.analog-stereo.monitor/#0: Monitor 
of 
Internal Audio Analog Stereo
                alsa_input.pci-0000_00_07.0.analog-stereo/#1: Internal Audio 
Analog 
Stereo
0 sink input(s) available.
0 source outputs(s) available.
0 cache entrie(s) available.
>>> 

##############################################################





apologies for the long post,  it is submitted in the hope of aiding  debugging 
pulse-audio and  its development.

Suggestions of a fix  for  reliable sound  on ALL KDE logins  and on playing 
CDROMs would be appreciated.

sincerely
sibuXolo



More information about the pulseaudio-discuss mailing list