alsamixer return "Invalid argument" on USB device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

In Ubuntu Japanese Community forum, I help the person who cannot set the
PCM output volume of USB device with amixer or alsamixer.
https://forums.ubuntulinux.jp/viewtopic.php?id=11984&p=1

He can get PCM output (2 channels) from the device but cannot set their
volume correctly. I adviced him to use ALSA's mixer software but he
cannot launch it with "amixer: Mixer hw:1 load error: Invalid argument".

It seems that we can get enough information from /proc filesystem but
amixer does not work well.
Do you know the similar cases?


Regards

##########

Linux kernel 2.6.38
alsa-utils 1.0.24.2
libasound2 (alsa-lib) 1.0.24.1

$ cat /proc/asound/version;
Advanced Linux Sound Architecture Driver Version 1.0.23.

$ cat /proc/asound/cards;
1 [V8237          ]: VIA8237 - VIA 8237
                      VIA 8237 with CMI9761A+ at 0xe400, irq 22
1 [SX             ]: USB-Audio - Sound Blaster Digital Music SX
                      Creative Technology Ltd. Sound Blaster Digital
Music SX at usb-0000:00:10.0-1,

$ cat /proc/asound/devices;
1:        : sequencer
  2: [ 1- 1]: digital audio playback
  3: [ 1- 0]: digital audio playback
  4: [ 1- 0]: digital audio capture
  5: [ 1]   : control
  6: [ 0- 1]: digital audio playback
  7: [ 0- 1]: digital audio capture
  8: [ 0- 0]: digital audio playback
  9: [ 0- 0]: digital audio capture
10: [ 0]   : control
33:        : timer

$ cat /proc/asound/card1/usbmixer;
USB Mixer: usb_id=0x041e3090, ctrlif=0, ctlerr=0
Card: Creative Technology Ltd. Sound Blaster Digital Music SX at
usb-0000:00:10.0-1,
  Unit: 3
    Control: name="PCM Playback Volume", index=0
    Info: id=3, control=2, cmask=0x3, channels=2, type="S16"
    Volume: min=-25600, max=0, dBmin=-10000, dBmax=0
  Unit: 3
    Control: name="PCM Playback Switch", index=0
    Info: id=3, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 4
    Control: name="Digital In Playback Volume", index=0
    Info: id=4, control=2, cmask=0x3, channels=2, type="S16"
    Volume: min=-25600, max=0, dBmin=-10000, dBmax=0
  Unit: 4
    Control: name="Digital In Playback Switch", index=0
    Info: id=4, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 6
    Control: name="Headphone Playback Volume", index=0
    Info: id=6, control=2, cmask=0x3, channels=2, type="S16"
    Volume: min=-25600, max=0, dBmin=-10000, dBmax=0
  Unit: 6
    Control: name="Headphone Playback Switch", index=0
    Info: id=6, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 7
    Control: name="PCM Capture Source", index=0
    Info: id=7, control=0, cmask=0x0, channels=1, type="U8"
    Volume: min=1, max=2, dBmin=0, dBmax=0
  Unit: 8
    Control: name="Headphone Playback Switch", index=1
    Info: id=8, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0
  Unit: 9
    Control: name="Digital In Playback Switch", index=1
    Info: id=9, control=1, cmask=0x0, channels=1, type="INV_BOOLEAN"
    Volume: min=0, max=1, dBmin=0, dBmax=0

$ amixer -c 1;
amixer: Mixer hw:1 load error: Invalid argument

##########


Takashi Sakamoto
o-takashi@xxxxxxxxxxxxx

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux