Comment 20 for bug 886449

Revision history for this message
Yani Ioannou (yani) wrote : Re: [USB-Audio - USB Camera-B4.04.27.1, recording] Pulseaudio fails to detect card

I've discovered I can record audio from the Playstation Eye using arecord and audacity, it seems these do not fail when they can't read the mixer controls correctly.

Furthermore I've been playing around with amixer, and I can list the two controls on the Playstation Eye, however trying to read one of the controls in particular results in the same error:

Listing the two controls:

$ amixer -c 2 controls
numid=2,iface=MIXER,name='Mic Gain'
numid=1,iface=MIXER,name='Mic Capture Volume'

Trying to list the control contents, failing on the second control:

$ amixer -c 2 contents
numid=2,iface=MIXER,name='Mic Gain'
  ; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0
  : values=170,170
  | dBscale-min=-10.00dB,step=0.05dB,mute=0
numid=1,iface=MIXER,name='Mic Capture Volume'
  ; type=INTEGER,access=rw---R--,values=4,min=0,max=1,step=0
amixer: Control hw:2 element read error: Invalid argument

Directly trying to read each control:

$ amixer -c 2 cget numid=2
numid=2,iface=MIXER,name='Mic Gain'
  ; type=INTEGER,access=rw---RW-,values=2,min=0,max=255,step=0
  : values=170,170
  | dBscale-min=-10.00dB,step=0.05dB,mute=0

$ amixer -c 2 cget numid=1
numid=1,iface=MIXER,name='Mic Capture Volume'
  ; type=INTEGER,access=rw---R--,values=4,min=0,max=1,step=0
amixer: Control hw:2 element read error: Invalid argument

So as you can see the alsamixer error is caused byt he "Mic Capture Volume" control on the Playstation Eye having a bug preventing it from being read correctly.