From: Takashi Iwai Subject: Re: problems with via82xx alsa part Date: Fri, 20 Oct 2006 12:12:37 +0200 Message-ID: References: <1160121885.1790.2.camel@japie.deserver.nl> <1160325289.2558.2.camel@japie.deserver.nl> <1160499844.2449.5.camel@japie.deserver.nl> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Jaap Struyk Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Fri, 20 Oct 2006 07:00:52 +0000 (UTC), Jaap Struyk wrote: > > Op Mon, 16 Oct 2006 12:04:52 +0200, schreef Takashi Iwai: > > > Odd, indeed. You ARE using 32bit kernel, right? > > > > My system is with gcc4.1, too, but doesn't get such flags. > > It's 32bit, maybe glibc related? > > I tryed modules and modprobe -v snd_via82xx didn't gave me anything > usefull, but now dmesg shows me: > ALSA sound/core/pcm_native.c:2594: unknown ioctl = 0x80144132 > Is this usefull to work with? It's the identical error that we've seen already. The problem is that this ioctl doesn't exist indeed. The size of struct snd_pcm_channel_info is wrongly calculated in alsa-lib by some reason. Take a look at alsa-lib/include/sound/asound.h, and change the field offset to int in struct sndrv_pcm_channel_info like below: struct sndrv_pcm_channel_info { unsigned int channel; ==> int offset; /* mmap offset */ unsigned int first; /* offset to first sample in bits */ unsigned int step; /* samples distance in bits */ }; If you still get the same error, libasound.so the your program links is not what you installed. Check whether you have any other libasound.so somewhere else. 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