From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: [Alsa-devel] vxpocket 440 with alsa, problems with vxloader Date: Fri, 14 Jan 2005 15:46:17 +0100 Message-ID: References: Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: multipart/mixed; boundary="Multipart_Fri_Jan_14_15:46:17_2005-1" Return-path: In-Reply-To: Sender: alsa-user-admin@lists.sourceforge.net Errors-To: alsa-user-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Anders Vinjar Cc: alsa-user@lists.sourceforge.net, alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org --Multipart_Fri_Jan_14_15:46:17_2005-1 Content-Type: text/plain; charset=US-ASCII At Fri, 14 Jan 2005 15:15:17 +0100, Anders Vinjar wrote: > > Thanks alot for response. It got me further, but still no sound > out. Anybody got a clue where this gets wrong? > > >>> "TI" == Takashi Iwai writes: > > >> alsa is version 1.0.7 > > TI> vxpocket/vxp440 driver in ALSA 1.0.7 has a severe bug. > TI> Try ALSA 1.0.8 instead. > TI> > TI> On ALSA 1.0.8, the firmware is loaded via hotplug automatically, so > TI> you don't need vxloader. (It's only for 2.6 kernels.) > TI> Don't forget to update alsa-firmware, too. > > With alsa-1.0.8, and upgraded firmware it behaves as follows. > Pcmcia card is card-1, builtin sound is card-0: Does your kernel support hotplug firmware loader (CONFIG_FW_LOADER)? And is hotplug working? Check whether /proc/asound/devices whether you have a "[1-0] hardware dependent device". If you have it, the hotplug firmware loader isn't enabled. Use vxloader, run "vxloader -c1". With the attached patch, you can check whether the firmware is loaded or not via the proc file. Takashi --Multipart_Fri_Jan_14_15:46:17_2005-1 Content-Type: text/plain; charset=US-ASCII Index: alsa-kernel/drivers/vx/vx_core.c =================================================================== RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/drivers/vx/vx_core.c,v retrieving revision 1.12 diff -u -r1.12 vx_core.c --- alsa-kernel/drivers/vx/vx_core.c 20 Dec 2004 11:04:40 -0000 1.12 +++ alsa-kernel/drivers/vx/vx_core.c 14 Jan 2005 14:43:46 -0000 @@ -610,6 +610,10 @@ static char *uer_type[] = { "Consumer", "Professional", "Not Present" }; snd_iprintf(buffer, "%s\n", chip->card->longname); + snd_iprintf(buffer, "Xilinx Firmware: %s\n", + chip->chip_status & VX_STAT_XILINX_LOADED ? "Loaded" : "No"); + snd_iprintf(buffer, "Device Initialized: %s\n", + chip->chip_status & VX_STAT_DEVICE_INIT ? "Yes" : "No"); snd_iprintf(buffer, "DSP audio info:"); if (chip->audio_info & VX_AUDIO_INFO_REAL_TIME) snd_iprintf(buffer, " realtime"); --Multipart_Fri_Jan_14_15:46:17_2005-1-- ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt