* Two Debian patches
@ 2003-03-07 13:14 Jordi Mallach
2003-03-10 13:41 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Jordi Mallach @ 2003-03-07 13:14 UTC (permalink / raw)
To: alsa-devel; +Cc: debian-alsa
[-- Attachment #1.1: Type: text/plain, Size: 384 bytes --]
Hi,
Attached are:
- a patch to quiet down a hell lot of warnings when compiling alsa
against 2.4.20 with the XFS patch.
- a manpage for alsaconf.
Jordi
--
Jordi Mallach Pérez -- Debian developer http://www.debian.org/
jordi@sindominio.net jordi@debian.org http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/
[-- Attachment #1.2: 08_vmap_vunmap_calls.dpatch --]
[-- Type: text/plain, Size: 1809 bytes --]
#! /bin/sh -e
# 08_vmap_vunmap_calls.dpatch by Steve Kowalik
#
# DP: Undefine vmap, vunmap; replace calls to them.
. debian/patches/patch-opts
if [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch $patch_opts < $0;;
-unpatch) patch $patch_opts -R < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1;;
esac
exit 0
--- alsa-driver/include/adriver.h 1 Feb 2003 11:09:21 -0000 1.1.1.2
+++ alsa-driver/include/adriver.h 20 Feb 2003 12:43:42 -0000
@@ -320,11 +320,11 @@
#endif /* 2.5.0 */
/* vmap/vunmap wrappers */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0)
+/* #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 5, 0) */
/* 2.4 kernels with xfs patch have the following, but we don't use them anyway... */
-#define vmap(array,pages) remap_page_array(array,pages,0)
-#define vunmap(ptr) vfree_nocheck(ptr)
-#endif /* 2.5.0 */
+/* #define vmap(array,pages) remap_page_array(array,pages,0)
+#define vunmap(ptr) vfree_nocheck(ptr) */
+/* #endif 2.5.0 */
/* vmalloc_to_page wrapper */
#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 4, 19)
--- alsa-driver/alsa-kernel/core/pcm_sgbuf.c 1 Feb 2003 11:13:05 -0000 1.1.1.2
+++ alsa-driver/alsa-kernel/core/pcm_sgbuf.c 20 Feb 2003 12:43:42 -0000
@@ -109,7 +109,7 @@
}
sgbuf->size = size;
- vmaddr = vmap(sgbuf->page_table, sgbuf->pages);
+ vmaddr = remap_page_array(sgbuf->page_table, sgbuf->pages, 0);
if (! vmaddr)
goto _failed;
return vmaddr;
@@ -133,7 +133,7 @@
int snd_pcm_sgbuf_free_pages(struct snd_sg_buf *sgbuf, void *vmaddr)
{
if (vmaddr)
- vunmap(vmaddr);
+ vfree_nocheck(vmaddr);
while (sgbuf->pages > 0) {
sgbuf->pages--;
[-- Attachment #1.3: alsaconf.8 --]
[-- Type: text/plain, Size: 2270 bytes --]
.\" Hey, EMACS: -*- nroff -*-
.\" alsaconf.8 is copyright 2003 by Jordi Mallach <jordi@debian.org>
.\"
.\" This is free documentation, see the latest version of the GNU
.\" General Public License for copying conditions. There is NO warranty.
.TH ALSACONF 8 "February 23, 2003"
.SH NAME
alsaconf \- configuration tool for the Advanced Linux Sound Architecture
.SH SYNOPSIS
.B alsaconf
.RI [ options ]
.SH DESCRIPTION
This manual page documents briefly the
.B alsaconf
command.
This manual page was written for the Debian distribution because the
original program does not have a manual page.
.PP
\fBAlsaconf\fP is a simple shell script which tries to detect the sound cards
on your system and writes a suitable configuration file for ALSA. It will try
to guess what GNU/Linux distribution you're running, and will act accordingly
to the standards of that distribution, if specific support is available.
.PP
Alsaconf will write a modutils snippet which can be then used by modutils
to load the correct parameters for your sound card.
.SH OPTIONS
Alsaconf accepts the following options:
.TP
.B \-l, \-\-legacy
Check only for legacy non-isapnp cards
.TP
.B \-m, \-\-modinfo
Read module descriptions instead of reading a card database.
.TP
.B \-s, \-\-sound\-wav\-file
Use the specified wav file as a test sound
.TP
.B \-u, \-\-uid uid
Set the uid for the ALSA devices (default = 0)
.TP
.B \-g, \-\-gid gid
Set the gid for the ALSA devices (default = 0)
.TP
.B \-d, \-\-devmode mode
Set the device mode for the ALSA devices (default = 0666)
.TP
.B \-r, \-\-strict
Set strict device mode (equiv. with -g 17 -d 0660)
.TP
.B \-L, \-\-log
Logging on /tmp/alsaconf.log
.TP
.B \-p, \-\-probe card-name
Probe a legacy non-isapnp card and print module options
.TP
.B \-h, \-\-help
Displays this help text
.SH DEBIAN SPECIFIC
In Debian, the default gid of the device files is 29 (corresponding to the
audio group) and the default device mode is 0660.
.SH SEE ALSO
.I /usr/share/doc/alsa-base/
.SH HOMEPAGE
http://www.alsa-project.org/
.SH AUTHOR
This manual page was written by Jordi Mallach <jordi@debian.org>,
for the Debian system (but may be used by others).
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Two Debian patches
2003-03-07 13:14 Two Debian patches Jordi Mallach
@ 2003-03-10 13:41 ` Takashi Iwai
2003-03-10 14:00 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2003-03-10 13:41 UTC (permalink / raw)
To: Jordi Mallach; +Cc: alsa-devel, debian-alsa
At Fri, 7 Mar 2003 14:14:44 +0100,
Jordi Mallach wrote:
>
> [1 <multipart/mixed (7bit)>]
> [1.1 <text/plain; iso-8859-1 (quoted-printable)>]
> Hi,
>
> Attached are:
>
> - a patch to quiet down a hell lot of warnings when compiling alsa
> against 2.4.20 with the XFS patch.
this issue was already fixed. for 2.2/2.4 kernels, the alsa wrapper
functions are always used.
> - a manpage for alsaconf.
this looks fine. thanks!
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Two Debian patches
2003-03-10 13:41 ` Takashi Iwai
@ 2003-03-10 14:00 ` Takashi Iwai
2003-03-10 16:47 ` Jordi Mallach
0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2003-03-10 14:00 UTC (permalink / raw)
To: Jordi Mallach; +Cc: alsa-devel, debian-alsa
At Mon, 10 Mar 2003 14:41:03 +0100,
I wrote:
>
> > - a manpage for alsaconf.
>
> this looks fine. thanks!
the one thing i noticed is that the "SEE ALSO" section is debian
specific. may i remove this section?
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Two Debian patches
2003-03-10 14:00 ` Takashi Iwai
@ 2003-03-10 16:47 ` Jordi Mallach
2003-03-10 17:02 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Jordi Mallach @ 2003-03-10 16:47 UTC (permalink / raw)
To: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 511 bytes --]
On Mon, Mar 10, 2003 at 03:00:47PM +0100, Takashi Iwai wrote:
> > > - a manpage for alsaconf.
> > this looks fine. thanks!
> the one thing i noticed is that the "SEE ALSO" section is debian
> specific. may i remove this section?
Hmm. Or move it to DEBIAN SPECIFIC?
Thanks,
Jordi
--
Jordi Mallach Pérez -- Debian developer http://www.debian.org/
jordi@sindominio.net jordi@debian.org http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/~jordi/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Two Debian patches
2003-03-10 16:47 ` Jordi Mallach
@ 2003-03-10 17:02 ` Takashi Iwai
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2003-03-10 17:02 UTC (permalink / raw)
To: Jordi Mallach; +Cc: alsa-devel
At Mon, 10 Mar 2003 17:47:15 +0100,
Jordi Mallach wrote:
>
> [1 <text/plain; iso-8859-1 (quoted-printable)>]
> On Mon, Mar 10, 2003 at 03:00:47PM +0100, Takashi Iwai wrote:
> > > > - a manpage for alsaconf.
> > > this looks fine. thanks!
> > the one thing i noticed is that the "SEE ALSO" section is debian
> > specific. may i remove this section?
>
> Hmm. Or move it to DEBIAN SPECIFIC?
yes, it would be even better.
Takashi
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-10 17:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07 13:14 Two Debian patches Jordi Mallach
2003-03-10 13:41 ` Takashi Iwai
2003-03-10 14:00 ` Takashi Iwai
2003-03-10 16:47 ` Jordi Mallach
2003-03-10 17:02 ` Takashi Iwai
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.