* trident problem
@ 2003-01-15 21:01 Alex Romosan
2003-01-16 9:54 ` Takashi Iwai
0 siblings, 1 reply; 3+ messages in thread
From: Alex Romosan @ 2003-01-15 21:01 UTC (permalink / raw)
To: alsa-devel
the latest cvs update (from a few days ago, since sourceforge seems to
have problems with anonymous cvs) broke the trident driver. when i try
to play a sound file i get the following:
kernel: ALSA ../../alsa-kernel/pci/trident/trident_memory.c:192: bad MAGIC (0xa55a5a5a)
any ideas?
--alex--
--
| I believe the moment is at hand when, by a paranoiac and active |
| advance of the mind, it will be possible (simultaneously with |
| automatism and other passive states) to systematize confusion |
| and thus to help to discredit completely the world of reality. |
-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: trident problem
2003-01-15 21:01 trident problem Alex Romosan
@ 2003-01-16 9:54 ` Takashi Iwai
[not found] ` <87lm1lt1ex.fsf@sycorax.lbl.gov>
0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2003-01-16 9:54 UTC (permalink / raw)
To: Alex Romosan; +Cc: alsa-devel
At 15 Jan 2003 13:01:06 -0800,
Alex Romosan wrote:
>
> the latest cvs update (from a few days ago, since sourceforge seems to
> have problems with anonymous cvs) broke the trident driver. when i try
> to play a sound file i get the following:
>
> kernel: ALSA ../../alsa-kernel/pci/trident/trident_memory.c:192: bad MAGIC (0xa55a5a5a)
>
> any ideas?
this must have been already fixed on the latest cvs...
Takashi
-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com
Understand how to protect your customers personal information by implementing
SSL on your Apache Web Server. Click here to get our FREE Thawte Apache
Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: trident problem
[not found] ` <87lm1lt1ex.fsf@sycorax.lbl.gov>
@ 2003-01-16 18:19 ` Takashi Iwai
0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2003-01-16 18:19 UTC (permalink / raw)
To: Alex Romosan; +Cc: alsa-devel
[-- Attachment #1: Type: text/plain, Size: 698 bytes --]
At Thu, 16 Jan 2003 10:06:14 -0800,
Alex Romosan wrote:
>
> Takashi Iwai <tiwai@suse.de> writes:
>
> > At 15 Jan 2003 13:01:06 -0800,
> > Alex Romosan wrote:
> >>
> >> the latest cvs update (from a few days ago, since sourceforge seems to
> >> have problems with anonymous cvs) broke the trident driver. when i try
> >> to play a sound file i get the following:
> >>
> >> kernel: ALSA ../../alsa-kernel/pci/trident/trident_memory.c:192: bad MAGIC (0xa55a5a5a)
> >>
> >> any ideas?
> >
> > this must have been already fixed on the latest cvs...
>
> i downloaded the latest cvs snapshot (2003-01-14) but the problem is
> still there.
i got it. sorry, my typos. the patch attached.
Takashi
[-- Attachment #2: trident-fix2.dif --]
[-- Type: application/octet-stream, Size: 1282 bytes --]
Index: alsa-kernel/pci/trident/trident_main.c
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-kernel/pci/trident/trident_main.c,v
retrieving revision 1.21
diff -u -r1.21 trident_main.c
--- alsa-kernel/pci/trident/trident_main.c 13 Jan 2003 09:07:53 -0000 1.21
+++ alsa-kernel/pci/trident/trident_main.c 16 Jan 2003 18:17:49 -0000
@@ -2173,7 +2173,7 @@
strcpy(pcm->name, "Trident 4DWave");
trident->pcm = pcm;
- if (! trident->tlb.entries)
+ if (trident->tlb.entries)
snd_pcm_lib_preallocate_sg_pages_for_all(trident->pci, pcm);
else
snd_pcm_lib_preallocate_pci_pages_for_all(trident->pci, pcm, 64*1024, 128*1024);
@@ -2228,7 +2228,7 @@
}
trident->foldback = foldback;
- if (! trident->tlb.entries)
+ if (trident->tlb.entries)
snd_pcm_lib_preallocate_sg_pages_for_all(trident->pci, foldback);
else
snd_pcm_lib_preallocate_pci_pages_for_all(trident->pci, foldback, 64*1024, 128*1024);
@@ -2272,7 +2272,7 @@
strcpy(spdif->name, "Trident 4DWave IEC958");
trident->spdif = spdif;
- if (! trident->tlb.entries)
+ if (trident->tlb.entries)
snd_pcm_lib_preallocate_sg_pages_for_all(trident->pci, spdif);
else
snd_pcm_lib_preallocate_pci_pages_for_all(trident->pci, spdif, 64*1024, 128*1024);
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-16 18:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-15 21:01 trident problem Alex Romosan
2003-01-16 9:54 ` Takashi Iwai
[not found] ` <87lm1lt1ex.fsf@sycorax.lbl.gov>
2003-01-16 18:19 ` 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.