[pulseaudio-discuss] 0.9.8 - Invalid value for card

Jim Duda jim at duda.tzo.com
Thu Mar 27 19:24:38 PDT 2008


Lennart,

Well, this didn't work:
aplay -D iec958:CARD=CMI8738MC8,DEV=0 -v -f cd < /dev/urandom

But this does:
aplay -D iec958:CARD=CMI8768,DEV=0 -v -f cd < /dev/urandom

as does this:
aplay -D iec958:0 -v -f cd < /dev/urandom

For both of the above cases to work, I had to throw a swith in alsamixer 
to get the sound out.

However, both:

device=iec958:CARD=CMI8768,DEV=0
and
device=iec958:0

in default.pa result in:
lroom# pulseaudio --system -v
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 conf.c:3949:(snd_config_expand) Unknown parameters 0
ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM iec958:0
E: alsa-util.c: Error opening PCM device iec958:0: Invalid argument
E: module.c: Failed to load  module "module-alsa-sink" (argument: 
"device=iec958:0"): initialization failed.
E: main.c: Module load failed.
E: main.c: failed to initialize daemon.
I: main.c: Daemon terminated.

Jim

Lennart Poettering wrote:
> On Thu, 27.03.08 13:23, Jim Duda (jim at duda.tzo.com) wrote:
> 
>> Lennart,
>>
>> No go, I get:
>>
>> lroom# vi /etc/pulse/default.pa
>> lroom# pulseaudio --system -v
>> 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 conf.c:3949:(snd_config_expand) Unknown parameters CARD=CMI8738MC8,DEV=0
>> ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM iec958:CARD=CMI8738MC8,DEV=0
>> E: alsa-util.c: Error opening PCM device iec958:CARD=CMI8738MC8,DEV=0: Invalid argument
>> E: module.c: Failed to load  module "module-alsa-sink" (argument: "device=iec958:CARD=CMI8738MC8,DEV=0"): initialization 
>> failed.
>> E: main.c: Module load failed.
>> E: main.c: failed to initialize daemon.
>> I: main.c: Daemon terminated.
> 
> There's something seriously wrong with your ALSA installtion as it
> seems. 
> 
> Does this work?
> 
>    aplay -D iec958:CARD=CMI8738MC8,DEV=0 -v -f cd < /dev/urandom
> 
> Do you hear any noise?
> 
> If not, then this is an ALSA problem, not related to PA. Please
> contact ALSA upstream in this case.
> 
> Lennart
> 




More information about the pulseaudio-discuss mailing list