* Problems running "amixer"
@ 2010-07-07 12:29 Adish Kuvelker
2010-07-07 12:46 ` Clemens Ladisch
0 siblings, 1 reply; 6+ messages in thread
From: Adish Kuvelker @ 2010-07-07 12:29 UTC (permalink / raw)
To: alsa-devel
Hello,
I have cross-compiled alsa-utils (alsa-utils-1.0.13) and alsa-lib
(alsa-lib-1.0.13). But when I ran the "amixer" I found some errors. I
am pasting the same for your reference.
# ./amixer
ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL default
amixer: Mixer attach default error: No such file or directory
The snddevices script creates a node "/dev/snd" and the device number
of these nodes matches with the ones registered in "/proc/asound".
Can anyone point me to the reason why the above mentioned error
occurs? If any more information is required over the way my sound
nodes are registered with the system I shall post it.
Regards;
Aadish
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems running "amixer"
2010-07-07 12:29 Problems running "amixer" Adish Kuvelker
@ 2010-07-07 12:46 ` Clemens Ladisch
2010-07-07 13:08 ` Adish Kuvelker
0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2010-07-07 12:46 UTC (permalink / raw)
To: Adish Kuvelker; +Cc: alsa-devel
Adish Kuvelker wrote:
> # ./amixer
> ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL default
Apparently, alsa-lib has not been installed correctly, i.e.,
/usr/share/alsa/alsa.conf and other files in this directory are missing.
Regards,
Clemens
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems running "amixer"
2010-07-07 12:46 ` Clemens Ladisch
@ 2010-07-07 13:08 ` Adish Kuvelker
2010-07-07 13:13 ` Adish Kuvelker
0 siblings, 1 reply; 6+ messages in thread
From: Adish Kuvelker @ 2010-07-07 13:08 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
Hello Clemens,
I have the "alsa" folder with the files alsa.conf. My "amixer" utility
has been copied under "/bin".
I followed a mail thread which said to load "share" folder under
"/usr". But even with this the problem persisted.
I'm just pasting here the contents of my /usr/share
# ls share/
aclocal alsa locale
# ls -la share/alsa/
drwxr-xr-x 4 root root 1024 May 12 2010 .
drwxr-xr-x 5 root root 1024 May 12 2010 ..
-rw-r--r-- 1 root root 7701 May 12 2010 alsa.conf
drwxr-xr-x 3 root root 2048 May 12 2010 cards
drwxr-xr-x 2 root root 1024 May 12 2010 pcm
-rw-r--r-- 1 root root 3205 May 12 2010 sndo-mixer.alisp
Just to make sure, do I have to install my entire staging area created
through install of alsa-lib and alsa-utils in to the /usr/share?
Regards;
Aadish
On Wed, Jul 7, 2010 at 6:16 PM, Clemens Ladisch <clemens@ladisch.de> wrote:
> Adish Kuvelker wrote:
>> # ./amixer
>> ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL default
>
> Apparently, alsa-lib has not been installed correctly, i.e.,
> /usr/share/alsa/alsa.conf and other files in this directory are missing.
>
>
> Regards,
> Clemens
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems running "amixer"
2010-07-07 13:08 ` Adish Kuvelker
@ 2010-07-07 13:13 ` Adish Kuvelker
2010-07-07 13:20 ` Clemens Ladisch
0 siblings, 1 reply; 6+ messages in thread
From: Adish Kuvelker @ 2010-07-07 13:13 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
Hello,
I don't have this file ".asoundrc" in my ramdisk. Do I need this?
Regards
Aadish
On Wed, Jul 7, 2010 at 6:38 PM, Adish Kuvelker <adkuvi@gmail.com> wrote:
> Hello Clemens,
>
> I have the "alsa" folder with the files alsa.conf. My "amixer" utility
> has been copied under "/bin".
> I followed a mail thread which said to load "share" folder under
> "/usr". But even with this the problem persisted.
>
> I'm just pasting here the contents of my /usr/share
> # ls share/
> aclocal alsa locale
> # ls -la share/alsa/
> drwxr-xr-x 4 root root 1024 May 12 2010 .
> drwxr-xr-x 5 root root 1024 May 12 2010 ..
> -rw-r--r-- 1 root root 7701 May 12 2010 alsa.conf
> drwxr-xr-x 3 root root 2048 May 12 2010 cards
> drwxr-xr-x 2 root root 1024 May 12 2010 pcm
> -rw-r--r-- 1 root root 3205 May 12 2010 sndo-mixer.alisp
>
>
>
>
> Just to make sure, do I have to install my entire staging area created
> through install of alsa-lib and alsa-utils in to the /usr/share?
>
> Regards;
> Aadish
>
>
>
>
> On Wed, Jul 7, 2010 at 6:16 PM, Clemens Ladisch <clemens@ladisch.de> wrote:
>> Adish Kuvelker wrote:
>>> # ./amixer
>>> ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL default
>>
>> Apparently, alsa-lib has not been installed correctly, i.e.,
>> /usr/share/alsa/alsa.conf and other files in this directory are missing.
>>
>>
>> Regards,
>> Clemens
>>
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems running "amixer"
2010-07-07 13:13 ` Adish Kuvelker
@ 2010-07-07 13:20 ` Clemens Ladisch
2010-07-08 18:14 ` Adish Kuvelker
0 siblings, 1 reply; 6+ messages in thread
From: Clemens Ladisch @ 2010-07-07 13:20 UTC (permalink / raw)
To: Adish Kuvelker; +Cc: alsa-devel
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Adish Kuvelker wrote:
> I don't have this file ".asoundrc" in my ramdisk. Do I need this?
No.
>>>> ALSA lib control.c:910:(snd_ctl_open_noupdate) Invalid CTL default
I just tried without alsa.conf, and alsa-lib then outputs an additional
error message in this case; so this is not your problem.
Can you try "strace amixer"?
Regards,
Clemens
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Problems running "amixer"
2010-07-07 13:20 ` Clemens Ladisch
@ 2010-07-08 18:14 ` Adish Kuvelker
0 siblings, 0 replies; 6+ messages in thread
From: Adish Kuvelker @ 2010-07-08 18:14 UTC (permalink / raw)
To: Clemens Ladisch; +Cc: alsa-devel
>>>>> A: Because it messes up the order in which people normally read text.
>>>>> Q: Why is top-posting such a bad thing?
>>>>> A: Top-posting.
>>>>> Q: What is the most annoying thing in e-mail?
I'm sorry for messing it up....
>>>>> I just tried without alsa.conf, and alsa-lib then outputs an additional
>>>>> error message in this case; so this is not your problem.
>
>>>>> Can you try "strace amixer"?
I tried with the strace and got the bug. Now it's working fine. Just
that alsa.cong and related files weren't at right location in ramdisk
file system.
Thanks a lot Clemens.
Regards;
Aadish
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-07-08 18:14 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-07 12:29 Problems running "amixer" Adish Kuvelker
2010-07-07 12:46 ` Clemens Ladisch
2010-07-07 13:08 ` Adish Kuvelker
2010-07-07 13:13 ` Adish Kuvelker
2010-07-07 13:20 ` Clemens Ladisch
2010-07-08 18:14 ` Adish Kuvelker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).