amixer issues
I have a working sound card with a working (if basic) PCM mixer:
/proc/asound # cat cards
0 [AICA ]: snd_card_aica - AICA
Yamaha AICA Super Intelligent Sound Processor for
SEGA Dreamcast
but when I try to use amixer nothing seems to work:
/ # amixer -c 0
Invalid card number.
Usage: amixer <options> command
any clues?
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Quoted 11 lines · Adrian McMenamin
I have a working sound card with a working (if basic) PCM mixer:
/proc/asound# cat cards
0 [AICA ]:snd_card_aica- AICA
Yamaha AICA Super Intelligent Sound Processor for SEGA Dreamcastbut when I try to use amixer nothing seems to work:
/ # amixer -c 0
Invalid card number.
Usage: amixer <options> command
Does /dev/snd/controlC0 exist, and does it point to the control device listed in /proc/asound/devices?
Regards,
Clemens
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Quoted 3 lines · Clemens Ladisch
Does
/dev/snd/controlC0exist, and does it point to the control device listed in/proc/asound/devices?
Can you please clarify? How does a device node "point to" something?
$ ls -al /dev/snd/controlC0 crw-rw---- 1 root audio 116, 0 Apr 1 10:06 /dev/snd/controlC0
$ cat /proc/asound/devices 0: [ 0] : control 1: : sequencer 4: [ 0- 0]: hardware dependent 6: [ 0- 2]: hardware dependent 8: [ 0- 0]: raw midi 9: [ 0- 1]: raw midi 10: [ 0- 2]: raw midi 11: [ 0- 3]: raw midi 16: [ 0- 0]: digital audio playback 18: [ 0- 2]: digital audio playback 19: [ 0- 3]: digital audio playback 20: [ 0- 4]: digital audio playback 24: [ 0- 0]: digital audio capture 25: [ 0- 1]: digital audio capture 26: [ 0- 2]: digital audio capture 28: [ 0- 4]: digital audio capture 33: : timer
Lee
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Quoted 4 lines · Lee Revell
Quoted 2 lines · Clemens Ladisch
Does
/dev/snd/controlC0exist, and does it point to the control device listed in/proc/asound/devices?
Quoted 8 lines
$ ls -al /dev/snd/controlC0 crw-rw---- 1 root audio 116, 0 Apr 1 10:06 /dev/snd/controlC0$ cat /proc/asound/devices 0: [ 0] : control ...Can you please clarify? How does a device node "point to" something?
The minor number of the device node (here: 0) must be the same as the minor number of the actual device.
HTH
Clemens
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Quoted 7 lines · Clemens Ladisch
Quoted 6 lines · Adrian McMenamin
I have a working sound card with a working (if basic) PCM mixer:
/proc/asound# cat cards
0 [AICA ]:snd_card_aica- AICA
Yamaha AICA Super Intelligent Sound Processor for SEGA Dreamcast
Quoted 10 lines
Quoted 5 lines
but when I try to use amixer nothing seems to work:
/ # amixer -c 0
Invalid card number.
Usage: amixer <options> commandDoes
/dev/snd/controlC0exist, and does it point to the control device listed in/proc/asound/devices?
/ # ls -l /dev/snd
crw-rw-rw- 1 root sys 116, 0 Apr 4 19:13 controlC0 crw-rw-rw- 1 root sys 116, 16 Apr 4 19:13 pcmC0D0p crw-rw-rw- 1 root sys 116, 33 Apr 4 19:13 timer
/ # cat /proc/asound/devices
16: [0- 0]: digital audio playback
0: [0- 0]: ctl
33: : timer
Does that mean they agree? Looks like it to me, but I'm not *absolutely* sure what I am looking for.
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Quoted 1 line · Steve deRosier
Is there any place that the Alsa minor numbers are documented?
In the source. ;-)
Both alsa-kernel/include/minors.h and alsa-driver/snddevices know about the minor numbers.
When CONFIG_SND_DYNAMIC_MINORS is enabled, minor numbers are random.
HTH
Clemens
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Quoted 6 lines · Adrian McMenamin
Quoted 5 lines · Clemens Ladisch
Quoted 3 lines · Adrian McMenamin
/ # amixer -c 0
Invalid card number.
Usage: amixer <options> command
Quoted 8 lines
Quoted 2 lines
Does
/dev/snd/controlC0exist, and does it point to the control device listed in/proc/asound/devices?/ # ls -l
/dev/snd
crw-rw-rw- 1 root sys 116, 0 Apr 4 19:13 controlC0/ # cat
/proc/asound/devices
0: [0- 0]: ctl
Looks OK.
What is the output of "strace amixer -c0 controls"?
Regards,
Clemens
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Quoted 13 lines · Clemens Ladisch
Quoted 12 lines · Adrian McMenamin
Quoted 7 lines · Clemens Ladisch
Quoted 3 lines · Adrian McMenamin
/ # amixer -c 0
Invalid card number.
Usage: amixer <options> commandDoes
/dev/snd/controlC0exist, and does it point to the control device listed in/proc/asound/devices?/ # ls -l
/dev/snd
crw-rw-rw- 1 root sys 116, 0 Apr 4 19:13 controlC0
Quoted 6 lines
Quoted 2 lines
/ # cat
/proc/asound/devices
0: [0- 0]: ctlLooks OK.
What is the output of "strace amixer -c0 controls"?
I have no strace. This is uclibc on SH4 embedded
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642