On Fri, 2007-11-16 at 10:48 -0500, Nalin Dahyabhai wrote: > The pulseaudio changeover didn't affect how permissions were handled -- > that was all about moving from using pam_console to letting ConsoleKit > manage it. > > Even though the ownership of the devices is still root, ConsoleKit > should be adding your user to the ACLs on the devices. > > Is the "ConsoleKit" service started? It needs to be running. > > Does running "getfacl" on those devices list you in the entry? If > things are working correctly, it should. Thanks. /dev/snd/*, /dev/dsp and /dev/mixer all have valid ACLs. (user:gilboa:rw-) It looks like a pulseaudio problem. While it does start, I get no sound and older OSS/Alsa application either fail miserably (cannot open /dev/dsp) or stay mute. (amarok over xine) Starting pulseaudio -vv and playing an MP3 from amarok (xine engine, surround40 configuration) doesn't play anything but leaves the following console-trail. $ pulseaudio -vv I: main.c: Page size is 4096 bytes I: main.c: Fresh high-resolution timers available! Bon appetit! D: cli-command.c: Checking for existance of '/usr/lib64/pulse-0.9/modules//module-hal-detect.so': success I: module-hal-detect.c: Trying capability alsa D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_timer D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/computer_alsa_sequencer D: module-hal-detect.c: Loading module-alsa-source with arguments 'device=hw:2 source_name=alsa_input.usb_device_46d_8ad_noserial_if1_alsa_capture_0' W: alsa-util.c: Device hw:2 doesn't support 44100 Hz, changed to 16000 Hz. W: alsa-util.c: Device hw:2 doesn't support 2 channels, changed to 1. I: module-alsa-source.c: Successfully enabled mmap() mode. W: alsa-util.c: Cannot find mixer control "Capture". I: source.c: Created source 0 "alsa_input.usb_device_46d_8ad_noserial_if1_alsa_capture_0" with sample spec "s16le 1ch 16000Hz" I: module-alsa-source.c: Using 4 fragments of size 2204 bytes. D: module-alsa-source.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+30 I: module.c: Loaded "module-alsa-source" (index: #0; argument: "device=hw:2 source_name=alsa_input.usb_device_46d_8ad_noserial_if1_alsa_capture_0"). D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_10de_59_alsa_playback_2 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_10de_59_alsa_capture_1 D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device=hw:1 sink_name=alsa_output.pci_10de_59_alsa_playback_0' I: module-alsa-sink.c: Successfully enabled mmap() mode. I: alsa-util.c: Using mixer control "Master". I: sink.c: Created sink 0 "alsa_output.pci_10de_59_alsa_playback_0" with sample spec "s16le 2ch 44100Hz" I: source.c: Created source 1 "alsa_output.pci_10de_59_alsa_playback_0.monitor" with sample spec "s16le 2ch 44100Hz" I: module-alsa-sink.c: Using 4 fragments of size 4408 bytes. D: module-alsa-sink.c: ALSA device has separate volumes controls for all 2 channels. D: module-alsa-sink.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+29 I: module-alsa-sink.c: Starting playback. I: module.c: Loaded "module-alsa-sink" (index: #1; argument: "device=hw:1 sink_name=alsa_output.pci_10de_59_alsa_playback_0"). D: module-hal-detect.c: Loading module-alsa-source with arguments 'device=hw:1 source_name=alsa_input.pci_10de_59_alsa_capture_0' I: module-alsa-source.c: Successfully enabled mmap() mode. I: alsa-util.c: Using mixer control "Capture". I: source.c: Created source 2 "alsa_input.pci_10de_59_alsa_capture_0" with sample spec "s16le 2ch 44100Hz" I: module-alsa-source.c: Using 4 fragments of size 4408 bytes. D: module-alsa-source.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+28 I: module.c: Loaded "module-alsa-source" (index: #2; argument: "device=hw:1 source_name=alsa_input.pci_10de_59_alsa_capture_0"). D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_playback_4 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_capture_4 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_playback_3 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_playback_2 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_capture_2 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_capture_1 D: module-hal-detect.c: Loading module-alsa-sink with arguments 'device=hw:0 sink_name=alsa_output.pci_1102_4_alsa_playback_0' I: module-alsa-sink.c: Successfully enabled mmap() mode. I: alsa-util.c: Using mixer control "Master". I: sink.c: Created sink 1 "alsa_output.pci_1102_4_alsa_playback_0" with sample spec "s16le 2ch 44100Hz" I: source.c: Created source 3 "alsa_output.pci_1102_4_alsa_playback_0.monitor" with sample spec "s16le 2ch 44100Hz" I: module-alsa-sink.c: Using 4 fragments of size 4408 bytes. I: module-alsa-sink.c: ALSA device lacks separate volumes controls for all 2 channels (2 available), falling back to software volume control. D: module-alsa-sink.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+27 I: module-alsa-sink.c: Starting playback. I: module.c: Loaded "module-alsa-sink" (index: #3; argument: "device=hw:0 sink_name=alsa_output.pci_1102_4_alsa_playback_0"). D: module-hal-detect.c: Loading module-alsa-source with arguments 'device=hw:0 source_name=alsa_input.pci_1102_4_alsa_capture_0' I: module-alsa-source.c: Successfully enabled mmap() mode. W: alsa-util.c: Cannot find mixer control "Capture". I: source.c: Created source 4 "alsa_input.pci_1102_4_alsa_capture_0" with sample spec "s16le 2ch 44100Hz" I: module-alsa-source.c: Using 2 fragments of size 4096 bytes. D: module-alsa-source.c: Thread starting up D: rtpoll.c: Acquired POSIX realtime signal SIGRTMIN+26 I: module.c: Loaded "module-alsa-source" (index: #4; argument: "device=hw:0 source_name=alsa_input.pci_1102_4_alsa_capture_0"). D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_midi_3 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_midi_2 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_midi_1 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_midi_0 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_hw_specific_2 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_hw_specific_0 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/usb_device_46d_8ad_noserial_if1_alsa_control__1 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_10de_59_alsa_control__1 D: module-hal-detect.c: Not loaded device /org/freedesktop/Hal/devices/pci_1102_4_alsa_control__1 I: module-hal-detect.c: Loaded 5 modules. I: module.c: Loaded "module-hal-detect" (index: #5; argument: ""). I: module.c: Loaded "module-esound-protocol-unix" (index: #6; argument: ""). I: protocol-native.c: loading cookie from disk. I: module.c: Loaded "module-native-protocol-unix" (index: #7; argument: ""). I: module-volume-restore.c: starting with empty ruleset. I: module.c: Loaded "module-volume-restore" (index: #8; argument: ""). I: module.c: Loaded "module-default-device-restore" (index: #9; argument: ""). I: module.c: Loaded "module-rescue-streams" (index: #10; argument: ""). D: module-suspend-on-idle.c: Sink alsa_output.pci_10de_59_alsa_playback_0 becomes idle. D: module-suspend-on-idle.c: Sink alsa_output.pci_1102_4_alsa_playback_0 becomes idle. D: module-suspend-on-idle.c: Source alsa_input.usb_device_46d_8ad_noserial_if1_alsa_capture_0 becomes idle. D: module-suspend-on-idle.c: Source alsa_output.pci_10de_59_alsa_playback_0.monitor becomes idle. D: module-suspend-on-idle.c: Source alsa_input.pci_10de_59_alsa_capture_0 becomes idle. D: module-suspend-on-idle.c: Source alsa_output.pci_1102_4_alsa_playback_0.monitor becomes idle. D: module-suspend-on-idle.c: Source alsa_input.pci_1102_4_alsa_capture_0 becomes idle. I: module.c: Loaded "module-suspend-on-idle" (index: #11; argument: ""). D: cli-command.c: Checking for existance of '/usr/lib64/pulse-0.9/modules//module-x11-publish.so': success D: module-x11-publish.c: using already loaded auth cookie. I: module.c: Loaded "module-x11-publish" (index: #12; argument: ""). D: cli-command.c: Checking for existance of '/usr/lib64/pulse-0.9/modules//module-gconf.so': success I: module.c: Loaded "module-gconf" (index: #13; argument: ""). I: main.c: Daemon startup complete. D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired I: module-suspend-on-idle.c: Source alsa_input.pci_1102_4_alsa_capture_0 idle for too long, suspending ... I: module-alsa-source.c: Device suspended... I: module-suspend-on-idle.c: Source alsa_output.pci_1102_4_alsa_playback_0.monitor idle for too long, suspending ... I: module-suspend-on-idle.c: Source alsa_input.pci_10de_59_alsa_capture_0 idle for too long, suspending ... I: module-alsa-source.c: Device suspended... I: module-suspend-on-idle.c: Source alsa_output.pci_10de_59_alsa_playback_0.monitor idle for too long, suspending ... I: module-suspend-on-idle.c: Source alsa_input.usb_device_46d_8ad_noserial_if1_alsa_capture_0 idle for too long, suspending ... I: module-alsa-source.c: Device suspended... I: module-suspend-on-idle.c: Sink alsa_output.pci_1102_4_alsa_playback_0 idle for too long, suspending ... I: module-alsa-sink.c: Device suspended... I: module-suspend-on-idle.c: Sink alsa_output.pci_10de_59_alsa_playback_0 idle for too long, suspending ... I: module-alsa-sink.c: Device suspended... I: client.c: Created 0 "Native client (UNIX socket client)" I: protocol-native.c: Got credentials: uid=800 gid=100 success=1 I: protocol-native.c: Enabled SHM for new connection I: client.c: Client 0 changed name from "Native client (UNIX socket client)" to "ALSA plug-in [amarokapp]" I: client.c: Freed 0 "ALSA plug-in [amarokapp]" I: protocol-native.c: connection died. I: client.c: Created 1 "Native client (UNIX socket client)" I: protocol-native.c: Got credentials: uid=800 gid=100 success=1 I: protocol-native.c: Enabled SHM for new connection I: client.c: Client 1 changed name from "Native client (UNIX socket client)" to "ALSA plug-in [amarokapp]" I: client.c: Freed 1 "ALSA plug-in [amarokapp]" I: protocol-native.c: connection died. I: client.c: Created 2 "Native client (UNIX socket client)" I: protocol-native.c: Got credentials: uid=800 gid=100 success=1 I: protocol-native.c: Enabled SHM for new connection I: client.c: Client 2 changed name from "Native client (UNIX socket client)" to "ALSA plug-in [amarokapp]" D: core-subscribe.c: dropped redundant event. I: client.c: Freed 2 "ALSA plug-in [amarokapp]" I: protocol-native.c: connection died. I: client.c: Created 3 "Native client (UNIX socket client)" I: protocol-native.c: Got credentials: uid=800 gid=100 success=1 I: protocol-native.c: Enabled SHM for new connection I: client.c: Client 3 changed name from "Native client (UNIX socket client)" to "ALSA plug-in [amarokapp]" I: client.c: Created 4 "Native client (UNIX socket client)" I: protocol-native.c: Got credentials: uid=800 gid=100 success=1 I: protocol-native.c: Enabled SHM for new connection I: client.c: Client 4 changed name from "Native client (UNIX socket client)" to "ALSA plug-in [amarokapp]" I: sink-input.c: Created input 0 "ALSA Playback" on alsa_output.pci_10de_59_alsa_playback_0 with sample spec s16le 2ch 44100Hz D: memblockq.c: memblockq requested: maxlength=264576, tlength=176384, base=4, prebuf=154336, minreq=22048 D: memblockq.c: memblockq sanitized: maxlength=264576, tlength=176384, base=4, prebuf=154336, minreq=22048 I: module-alsa-sink.c: Trying resume... I: module-alsa-sink.c: Resumed successfully... I: module-alsa-sink.c: Starting playback. D: module-suspend-on-idle.c: Sink alsa_output.pci_10de_59_alsa_playback_0 becomes busy. I: module-volume-restore.c: Creating new entry for <pulsecore/protocol-native.c$ALSA plug-in [amarokapp]> D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/usb_device_51d_2_AS0544123872_if0_hiddev, member=PropertyModified D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/usb_device_51d_2_AS0544123872_if0_hiddev, member=PropertyModified D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/usb_device_51d_2_AS0544123872_if0_hiddev, member=PropertyModified D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/usb_device_51d_2_AS0544123872_if0_hiddev, member=PropertyModified D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/usb_device_51d_2_AS0544123872_if0_hiddev, member=PropertyModified D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/usb_device_51d_2_AS0544123872_if0_hiddev, member=PropertyModified D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/usb_device_51d_2_AS0544123872_if0_hiddev, member=PropertyModified D: module-hal-detect.c: dbus: interface=org.freedesktop.Hal.Device, path=/org/freedesktop/Hal/devices/usb_device_51d_2_AS0544123872_if0_hiddev, member=PropertyModified I've got a weird feeling once I manually added my webcam input (alias snd-card-2 snd-usb-audio) to modprobe.conf pulseaudio decided to take a vacation. - Gilboa