[pulseaudio-discuss] 0.9.8 - Invalid value for card

Jim Duda jim at duda.tzo.com
Mon Mar 24 12:58:24 PDT 2008

I've just upgraded from 0.9.6 to 0.9.8 (FC7 to FC8 distribution).

I'm having trouble with a basic setup.  I'm getting back "Invalid value for card".

See anything wrong?

lroom# pulseaudio --system -vv
I: core-util.c: Successfully gained nice level -11.
I: main.c: Found user 'pulse' (UID 499) and group 'pulse' (GID 499).
I: main.c: Successfully dropped root privileges.
W: main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
W: main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: main.c: Page size is 4096 bytes
I: main.c: Dude, your kernel stinks! The chef's recommendation today is Linux with high-resolution timers enabled!
ALSA lib pcm_hw.c:1207:(_snd_pcm_hw_open) Invalid value for card
E: alsa-util.c: Error opening PCM device hw:0,2: No such device
E: module.c: Failed to load  module "module-alsa-sink" (argument: "device=hw:0,2"): initialization failed.
E: main.c: Module load failed.
E: main.c: failed to initialize daemon.
I: main.c: Daemon terminated.

lroom# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CMI8738MC8 [C-Media PCI CMI8738-MC8], device 0: CMI8738-MC8 [C-Media PCI DAC/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738MC8 [C-Media PCI CMI8738-MC8], device 1: CMI8738-MC8 [C-Media PCI 2nd DAC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738MC8 [C-Media PCI CMI8738-MC8], device 2: CMI8738-MC8 [C-Media PCI IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

load-sample-lazy pulse-hotplug /usr/share/sounds/startup3.wav
load-module module-alsa-sink device=hw:0,2
load-module module-detect
load-module module-esound-protocol-unix
load-module module-native-protocol-unix
load-module module-volume-restore
load-module module-default-device-restore
load-module module-rescue-streams
load-module module-suspend-on-idle
.ifexists /usr/lib/pulse-0.9/modules//module-gconf.so
load-module module-gconf



More information about the pulseaudio-discuss mailing list