Re: problems with via82xx alsa part

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux