* Question about AT73C213.conf @ 2007-02-06 1:05 maser rati 2007-02-06 17:05 ` Takashi Iwai 0 siblings, 1 reply; 11+ messages in thread From: maser rati @ 2007-02-06 1:05 UTC (permalink / raw) To: alsa-devel [-- Attachment #1.1: Type: text/plain, Size: 707 bytes --] Hello, We are trying to get the audio chip (AT73C213) that comes on the AT91SAM9261-EK development board working. alsa-lib and alsa-utils, version 1.0.12 are currently installed. # aplay -l shows that the audio chip is recognized as a playback device (and has a driver). # aplay -L fails; there aren't any PCM devices configured. # alsaconf fails too. We can't seem to find .conf files for any Atmel chips among the Alsa docs and files. I assume the missing .conf file is the issue. Has anyone been successful with this? Thanks, iyer --------------------------------- Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out. [-- Attachment #1.2: Type: text/html, Size: 952 bytes --] [-- Attachment #2: Type: text/plain, Size: 374 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #3: Type: text/plain, Size: 161 bytes --] _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Question about AT73C213.conf 2007-02-06 1:05 Question about AT73C213.conf maser rati @ 2007-02-06 17:05 ` Takashi Iwai 2007-02-06 18:21 ` maser rati 0 siblings, 1 reply; 11+ messages in thread From: Takashi Iwai @ 2007-02-06 17:05 UTC (permalink / raw) To: maser rati; +Cc: alsa-devel At Mon, 5 Feb 2007 17:05:23 -0800 (PST), maser rati wrote: > > Hello, > > We are trying to get the audio chip (AT73C213) that comes on the AT91SAM9261-EK > development board working. alsa-lib and alsa-utils, version 1.0.12 are currently > installed. > > # aplay -l shows that the audio chip is recognized as a playback device (and has a > driver). > # aplay -L fails; there aren't any PCM devices configured. > # alsaconf fails too. > > We can't seem to find .conf files for any Atmel chips among the Alsa docs and files. > > I assume the missing .conf file is the issue. Has anyone been successful with this? Basically it should work even without the dedicated card's *.conf file as alsa-lib takes pcm/default.conf. How did you install alsa-lib and co? Takashi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Question about AT73C213.conf 2007-02-06 17:05 ` Takashi Iwai @ 2007-02-06 18:21 ` maser rati 2007-02-06 18:25 ` Takashi Iwai 2007-02-12 5:25 ` maser rati 0 siblings, 2 replies; 11+ messages in thread From: maser rati @ 2007-02-06 18:21 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel [-- Attachment #1.1: Type: text/plain, Size: 2113 bytes --] Takashi, Thanks for your response.. Here are the steps followed in installing the alsa-lib on an ARM board: ALSA-lib install steps: [root@localhost alsa-lib-1.0.12]# CC=armv5l-linux-gcc ./configure --build=i386-linux --prefix=/board-rfs --host=armv5l-linux --target=armv5l-linux --enable-shared=yes --enable-static=no --disable-hwdep --disable-instr --with-headers=/board-rfs/usr/include/ [root@localhost alsa-lib-1.0.12]# make TARGET_ARCH=arm [root@localhost alsa-lib-1.0.12]# make install_root=/board-rfs prefix="/board-rfs" install Appreciate your input. -iyer Takashi Iwai <tiwai@suse.de> wrote: At Mon, 5 Feb 2007 17:05:23 -0800 (PST), maser rati wrote: > > Hello, > > We are trying to get the audio chip (AT73C213) that comes on the AT91SAM9261-EK > development board working. alsa-lib and alsa-utils, version 1.0.12 are currently > installed. > > # aplay -l shows that the audio chip is recognized as a playback device (and has a > driver). > # aplay -L fails; there aren't any PCM devices configured. > # alsaconf fails too. > > We can't seem to find .conf files for any Atmel chips among the Alsa docs and files. > > I assume the missing .conf file is the issue. Has anyone been successful with this? Basically it should work even without the dedicated card's *.conf file as alsa-lib takes pcm/default.conf. How did you install alsa-lib and co? Takashi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel --------------------------------- Don't be flakey. Get Yahoo! Mail for Mobile and always stay connected to friends. [-- Attachment #1.2: Type: text/html, Size: 2570 bytes --] [-- Attachment #2: Type: text/plain, Size: 374 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #3: Type: text/plain, Size: 161 bytes --] _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Question about AT73C213.conf 2007-02-06 18:21 ` maser rati @ 2007-02-06 18:25 ` Takashi Iwai 2007-02-12 5:25 ` maser rati 1 sibling, 0 replies; 11+ messages in thread From: Takashi Iwai @ 2007-02-06 18:25 UTC (permalink / raw) To: maser rati; +Cc: alsa-devel At Tue, 6 Feb 2007 10:21:18 -0800 (PST), maser rati wrote: > > Takashi, > > Thanks for your response.. > > Here are the steps followed in installing the alsa-lib on an ARM board: > > ALSA-lib install steps: > > [root@localhost alsa-lib-1.0.12]# CC=armv5l-linux-gcc ./configure --build=i386-linux > --prefix=/board-rfs --host=armv5l-linux --target=armv5l-linux --enable-shared=yes > --enable-static=no --disable-hwdep --disable-instr --with-headers=/board-rfs/usr/ > include/ Is /board-rfs the correct path? If you pass --prefix=/board-rfs, this patch will be built into the binary, so the alsa-lib eventually searchs for config files under /board-rfs/share/alsa/ and its sub directories. Takashi > > [root@localhost alsa-lib-1.0.12]# make TARGET_ARCH=arm > > [root@localhost alsa-lib-1.0.12]# make install_root=/board-rfs prefix="/board-rfs" > install > > Appreciate your input. > > -iyer > > Takashi Iwai <tiwai@suse.de> wrote: > > At Mon, 5 Feb 2007 17:05:23 -0800 (PST), > maser rati wrote: > > > > Hello, > > > > We are trying to get the audio chip (AT73C213) that comes on the AT91SAM9261-EK > > development board working. alsa-lib and alsa-utils, version 1.0.12 are currently > > installed. > > > > # aplay -l shows that the audio chip is recognized as a playback device (and has > a > > driver). > > # aplay -L fails; there aren't any PCM devices configured. > > # alsaconf fails too. > > > > We can't seem to find .conf files for any Atmel chips among the Alsa docs and > files. > > > > I assume the missing .conf file is the issue. Has anyone been successful with > this? > > Basically it should work even without the dedicated card's *.conf file > as alsa-lib takes pcm/default.conf. How did you install alsa-lib and > co? > > Takashi > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/alsa-devel > > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ > Don't be flakey. Get Yahoo! Mail for Mobile and > always stay connected to friends. > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Question about AT73C213.conf 2007-02-06 18:21 ` maser rati 2007-02-06 18:25 ` Takashi Iwai @ 2007-02-12 5:25 ` maser rati 2007-02-12 12:59 ` Takashi Iwai 1 sibling, 1 reply; 11+ messages in thread From: maser rati @ 2007-02-12 5:25 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel Hello Takashi, I was wondering if you have any suggestions regarding the email thread below. Appreciate your input. Thanks. iyer --- maser rati <lazardo12@yahoo.com> wrote: > Takashi, > > Thanks for your response.. > > Here are the steps followed in installing the > alsa-lib on an ARM board: > > ALSA-lib install steps: > > [root@localhost alsa-lib-1.0.12]# > CC=armv5l-linux-gcc ./configure --build=i386-linux > --prefix=/board-rfs --host=armv5l-linux > --target=armv5l-linux --enable-shared=yes > --enable-static=no --disable-hwdep --disable-instr > --with-headers=/board-rfs/usr/include/ > > [root@localhost alsa-lib-1.0.12]# make > TARGET_ARCH=arm > > [root@localhost alsa-lib-1.0.12]# make > install_root=/board-rfs prefix="/board-rfs" install > > Appreciate your input. > > -iyer > > Takashi Iwai <tiwai@suse.de> wrote: At Mon, 5 Feb > 2007 17:05:23 -0800 (PST), > maser rati wrote: > > > > Hello, > > > > We are trying to get the audio chip (AT73C213) > that comes on the AT91SAM9261-EK > > development board working. alsa-lib and > alsa-utils, version 1.0.12 are currently > > installed. > > > > # aplay -l shows that the audio chip is recognized > as a playback device (and has a > > driver). > > # aplay -L fails; there aren't any PCM devices > configured. > > # alsaconf fails too. > > > > We can't seem to find .conf files for any Atmel > chips among the Alsa docs and files. > > > > I assume the missing .conf file is the issue. Has > anyone been successful with this? > > Basically it should work even without the dedicated > card's *.conf file > as alsa-lib takes pcm/default.conf. How did you > install alsa-lib and > co? > > > Takashi > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/alsa-devel > > > > --------------------------------- > Don't be flakey. Get Yahoo! Mail for Mobile and > always stay connected to friends.> ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support > web services, security? > Get stuff done quickly with pre-integrated > technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642> _______________________________________________ > Alsa-devel mailing list > Alsa-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/alsa-devel > ____________________________________________________________________________________ Have a burning question? Go to www.Answers.yahoo.com and get answers from real people who know. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Question about AT73C213.conf 2007-02-12 5:25 ` maser rati @ 2007-02-12 12:59 ` Takashi Iwai 2007-02-13 4:01 ` maser rati 0 siblings, 1 reply; 11+ messages in thread From: Takashi Iwai @ 2007-02-12 12:59 UTC (permalink / raw) To: maser rati; +Cc: alsa-devel At Sun, 11 Feb 2007 21:25:32 -0800 (PST), maser rati wrote: > > Hello Takashi, > > I was wondering if you have any suggestions regarding > the email thread below. > > Appreciate your input. Maybe you missed my last reply. Attached again. At Tue, 6 Feb 2007 10:21:18 -0800 (PST), maser rati wrote: > > Takashi, > > Thanks for your response.. > > Here are the steps followed in installing the alsa-lib on an ARM board: > > ALSA-lib install steps: > > [root@localhost alsa-lib-1.0.12]# CC=armv5l-linux-gcc ./configure --build=i386-linux > --prefix=/board-rfs --host=armv5l-linux --target=armv5l-linux --enable-shared=yes > --enable-static=no --disable-hwdep --disable-instr --with-headers=/board-rfs/usr/ > include/ Is /board-rfs the correct path? If you pass --prefix=/board-rfs, this patch will be built into the binary, so the alsa-lib eventually searchs for config files under /board-rfs/share/alsa/ and its sub directories. Takashi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Question about AT73C213.conf 2007-02-12 12:59 ` Takashi Iwai @ 2007-02-13 4:01 ` maser rati 2007-02-14 14:49 ` Takashi Iwai 0 siblings, 1 reply; 11+ messages in thread From: maser rati @ 2007-02-13 4:01 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel [-- Attachment #1.1: Type: text/plain, Size: 2362 bytes --] Thanks for your email, Takashi. The config files (ainit.conf, alsa.conf) are found in board-rfs/etc/alsa; not in /board-rfs/share/alsa/ and its sub directories. I'm not sure if this is the correct location for the config files. If not, do let me know. /dev/snd has the sound devices controlC0 pcmC0D0p timer . On playing a soundtest executable (random sound generator): -bash-3.1# ./soundtest default ALSA lib pcm.c:2143:(snd_pcm_open_noupdate) Unknown PCM default cannot open audio device default (No such file or directory) Could this be tied in with the location of the config files ? Thanks in advance... iyer Takashi Iwai <tiwai@suse.de> wrote: At Sun, 11 Feb 2007 21:25:32 -0800 (PST), maser rati wrote: > > Hello Takashi, > > I was wondering if you have any suggestions regarding > the email thread below. > > Appreciate your input. Maybe you missed my last reply. Attached again. At Tue, 6 Feb 2007 10:21:18 -0800 (PST), maser rati wrote: > > Takashi, > > Thanks for your response.. > > Here are the steps followed in installing the alsa-lib on an ARM board: > > ALSA-lib install steps: > > [root@localhost alsa-lib-1.0.12]# CC=armv5l-linux-gcc ./configure --build=i386-linux > --prefix=/board-rfs --host=armv5l-linux --target=armv5l-linux --enable-shared=yes > --enable-static=no --disable-hwdep --disable-instr --with-headers=/board-rfs/usr/ > include/ Is /board-rfs the correct path? If you pass --prefix=/board-rfs, this patch will be built into the binary, so the alsa-lib eventually searchs for config files under /board-rfs/share/alsa/ and its sub directories. Takashi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel --------------------------------- Food fight? Enjoy some healthy debate in the Yahoo! Answers Food & Drink Q&A. [-- Attachment #1.2: Type: text/html, Size: 3064 bytes --] [-- Attachment #2: Type: text/plain, Size: 374 bytes --] ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 [-- Attachment #3: Type: text/plain, Size: 161 bytes --] _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Question about AT73C213.conf 2007-02-13 4:01 ` maser rati @ 2007-02-14 14:49 ` Takashi Iwai 0 siblings, 0 replies; 11+ messages in thread From: Takashi Iwai @ 2007-02-14 14:49 UTC (permalink / raw) To: maser rati; +Cc: alsa-devel At Mon, 12 Feb 2007 20:01:19 -0800 (PST), maser rati wrote: > > Thanks for your email, Takashi. > > The config files (ainit.conf, alsa.conf) are found in board-rfs/etc/alsa; not in / > board-rfs/share/alsa/ and its sub directories. I'm not sure if this is the correct > location for the config files. If not, do let me know. How did you install there? Manually? As default, configure script should choose $datadir/alsa as the config location. Also, don't pass --prefix=/board-rfs. That's a wrong usage of prefix option. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <517122.4272.qm@web37710.mail.mud.yahoo.com>]
* Re: Question about AT73C213.conf [not found] <517122.4272.qm@web37710.mail.mud.yahoo.com> @ 2007-02-15 14:24 ` Takashi Iwai 2007-02-21 1:47 ` maser rati 0 siblings, 1 reply; 11+ messages in thread From: Takashi Iwai @ 2007-02-15 14:24 UTC (permalink / raw) To: maser rati; +Cc: Alsa-devel At Wed, 14 Feb 2007 12:32:35 -0800 (PST), maser rati wrote: > > The installation was done via the configure command, make and make install. > > How to enable the alsa-files to install to a specific directory, board-rfs ? On trying > different options in the ./configure script; --prefix=/board-rfs exactly installs the > alsa-lib components to it. But --prefix=XXX overrides the path embedded in the code. For installing to another root, passing DESTDIR=XXX at make install is the standard procedure. > Moreover on running aplay, it was found that atrace wasn't able to locate alsa.conf, > with the location being at at /etc/alsa, so the contents of /etc/alsa were moved to / > usr/share/alsa. However it says that the setup is corrupt. Please find attached the > strace for aplay; your valuable input is appreciated. This is a different thing. Now the system files are properly set and alsa-lib reads them. But, the driver returns an error for the required PCM setting. Try to set $LIBASOUND_DEBUG to 1. Then each hw_params error will be displayed to stderr. See alsa-lib/NOTES for details. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Question about AT73C213.conf 2007-02-15 14:24 ` Takashi Iwai @ 2007-02-21 1:47 ` maser rati 2007-02-22 4:18 ` maser rati 0 siblings, 1 reply; 11+ messages in thread From: maser rati @ 2007-02-21 1:47 UTC (permalink / raw) To: Takashi Iwai; +Cc: Alsa-devel [-- Attachment #1.1: Type: text/plain, Size: 2564 bytes --] Hi Takashi, Omitting the --prefix =/board-rfs, DESTDIR=/board-rfs was passed in make install, and on checking, it seemed that the bin, lib, share and include components of the alsa-lib were installed under /board-rfs/usr However on running an application, this is got -bash-3.1# ./soundtest default ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable cannot initialize hardware parameter structure (Invalid argument) Setting the environment variable $LIBASOUND_DEBUG to 1 does not cause any debugging information to be displayed to stderr. (I double checked via #echo to make sure LIBASOUND_DEBUG was set to 1) I'm clueless, am I doing anything wrong ? Thanks much, iyer Takashi Iwai <tiwai@suse.de> wrote: At Wed, 14 Feb 2007 12:32:35 -0800 (PST), maser rati wrote: > > The installation was done via the configure command, make and make install. > > How to enable the alsa-files to install to a specific directory, board-rfs ? On trying > different options in the ./configure script; --prefix=/board-rfs exactly installs the > alsa-lib components to it. But --prefix=XXX overrides the path embedded in the code. For installing to another root, passing DESTDIR=XXX at make install is the standard procedure. > Moreover on running aplay, it was found that atrace wasn't able to locate alsa.conf, > with the location being at at /etc/alsa, so the contents of /etc/alsa were moved to / > usr/share/alsa. However it says that the setup is corrupt. Please find attached the > strace for aplay; your valuable input is appreciated. This is a different thing. Now the system files are properly set and alsa-lib reads them. But, the driver returns an error for the required PCM setting. Try to set $LIBASOUND_DEBUG to 1. Then each hw_params error will be displayed to stderr. See alsa-lib/NOTES for details. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real people who know. [-- Attachment #1.2: Type: text/html, Size: 2991 bytes --] [-- Attachment #2: Type: text/plain, Size: 345 bytes --] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV [-- Attachment #3: Type: text/plain, Size: 161 bytes --] _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Question about AT73C213.conf 2007-02-21 1:47 ` maser rati @ 2007-02-22 4:18 ` maser rati 0 siblings, 0 replies; 11+ messages in thread From: maser rati @ 2007-02-22 4:18 UTC (permalink / raw) To: Takashi Iwai; +Cc: Alsa-devel [-- Attachment #1.1: Type: text/plain, Size: 3933 bytes --] Following up, the kernel was compiled using gcc 3.4 instead of gcc 4.1 and the alsa driver seems to work better. This is a toolchain problem, according to Atmel and our distribution vendor. But, we get the following error messages: -bash-3.1# aplay -D default Noise.wav Playing WAVE 'Noise.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to find an usable access for 'default' aplay: set_params:909: Channels count non available Could it be possible that there is something fishy going on with the alsa-lib ? Appreciate your input.. Thanks, iyer maser rati <lazardo12@yahoo.com> wrote: Hi Takashi, Omitting the --prefix =/board-rfs, DESTDIR=/board-rfs was passed in make install, and on checking, it seemed that the bin, lib, share and include components of the alsa-lib were installed under /board-rfs/usr However on running an application, this is got -bash-3.1# ./soundtest default ALSA lib pcm_params.c:2152:(snd_pcm_hw_refine_slave) Slave PCM not usable cannot initialize hardware parameter structure (Invalid argument) Setting the environment variable $LIBASOUND_DEBUG to 1 does not cause any debugging information to be displayed to stderr. (I double checked via #echo to make sure LIBASOUND_DEBUG was set to 1) I'm clueless, am I doing anything wrong ? Thanks much, iyer Takashi Iwai <tiwai@suse.de> wrote: At Wed, 14 Feb 2007 12:32:35 -0800 (PST), maser rati wrote: > > The installation was done via the configure command, make and make install. > > How to enable the alsa-files to install to a specific directory, board-rfs ? On trying > different options in the ./configure script; --prefix=/board-rfs exactly installs the > alsa-lib components to it. But --prefix=XXX overrides the path embedded in the code. For installing to another root, passing DESTDIR=XXX at make install is the standard procedure. > Moreover on running aplay, it was found that atrace wasn't able to locate alsa.conf, > with the location being at at /etc/alsa, so the contents of /etc/alsa were moved to / > usr/share/alsa. However it says that the setup is corrupt. Please find attached the > strace for aplay; your valuable input is appreciated. This is a different thing. Now the system files are properly set and alsa-lib reads them. But, the driver returns an error for the required PCM setting. Try to set $LIBASOUND_DEBUG to 1. Then each hw_params error will be displayed to stderr. See alsa-lib/NOTES for details. Takashi ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel --------------------------------- Have a burning question? Go to Yahoo! Answers and get answers from real people who know.------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel --------------------------------- Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. [-- Attachment #1.2: Type: text/html, Size: 4719 bytes --] [-- Attachment #2: Type: text/plain, Size: 345 bytes --] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV [-- Attachment #3: Type: text/plain, Size: 161 bytes --] _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2007-02-22 4:18 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-02-06 1:05 Question about AT73C213.conf maser rati 2007-02-06 17:05 ` Takashi Iwai 2007-02-06 18:21 ` maser rati 2007-02-06 18:25 ` Takashi Iwai 2007-02-12 5:25 ` maser rati 2007-02-12 12:59 ` Takashi Iwai 2007-02-13 4:01 ` maser rati 2007-02-14 14:49 ` Takashi Iwai [not found] <517122.4272.qm@web37710.mail.mud.yahoo.com> 2007-02-15 14:24 ` Takashi Iwai 2007-02-21 1:47 ` maser rati 2007-02-22 4:18 ` maser rati
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.