On Wed, 21 Jan 2004, Ted wrote:
> Hello, thanks for including fixes for my previous problems
> loading alsa modules into linux-2.2.25. Unfortunately, a new
> problem appeared in alsa-driver-1.0.1. It compiles happily,
> but will not load:
>
> /lib/modules/2.2.25/misc/snd-page-alloc.o:
> unresolved symbol snd_wrapper_request_region
>
> I suspect the cause is a recent change to the file
> alsa-driver-1.0.1/acore/pci_compat_22.c
>
> I managed to load the modules by changing acore/pci_compat_22.c:
> 356c356
> < snd_wrapper_request_region(pci_resource_start(pdev, bar),
> ---
> > request_region(pci_resource_start(pdev, bar),
>
> but confess to not fully understand the code, so please check this.
It looks ok, applied.
> Now a longer standing problem. I have not been able to use alsa since
> the alsa-lib API changed, because I still get bad data passed by
> pcm.c:6442 snd_pcm_hw_params_set_period_time_near(),
> to
> pcm.c:3782 __snd_pcm_hw_params_set_period_time_near(),
> on its way to
> pcm_params.c:786 snd_pcm_hw_param_set_near().
>
> I configured alsa-lib with
> ./configure --prefix=/usr --with-versioned=no --with-debug=yes \
^^^^^^^^^^^^^^^^^^^
This was the problem. I've fixed the code in CVS and sent you this patch
in the separate mail.
Jaroslav
-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel