On Mon, 04 May 2009 00:55:55 +0100
Ben Hutchings <ben@decadent.org.uk> wrote:
> On Mon, 2009-05-04 at 01:35 +0200, Antonio Ospite wrote:
> > On Mon, 04 May 2009 00:17:03 +0100
> > Ben Hutchings <ben@decadent.org.uk> wrote:
> >
...
> > > Anyway, here's my proposed patch for unstable (against 2.6.30-rc4) that
> > > deals with the first problem. I'll have a go at handling the "new" DSP
> > > code as well, but as I don't have the hardware for this driver this will
> > > need testing by others.
> > >
> >
> > I will test this patch soon; wrt the NEW DSP feature, I don't know if I
> > can test everything, because I have a Thinkpad T20, only stereo output.
> >
Ok, I can confirm that this patch, with the image created as described
below, works OK on my T20. Tested with latest linus git tree.
> > BTW, what binary image to use? Is the one extracted with the tool in
> > this thread, to be run on a little-endian host, ok?
>
> You would need to apply this patch to cs46xx_image.h before running that
> program:
>
> --- a/sound/pci/cs46xx/cs46xx_image.h
> +++ b/sound/pci/cs46xx/cs46xx_image.h
> @@ -1,14 +1,13 @@
> struct BA1struct {
> struct {
> - unsigned long offset;
> - unsigned long size;
> + u32 size;
> } memory[BA1_MEMORY_COUNT];
> u32 map[BA1_DWORD_SIZE];
> };
>
>
> static struct BA1struct BA1Struct = {
> -{{ 0x00000000, 0x00003000 },{ 0x00010000, 0x00003800 },{ 0x00020000, 0x00007000 }},
> +{{ 0x00003000 },{ 0x00003800 },{ 0x00007000 }},
> {0x00000000,0x00000000,0x00000000,0x00000000,
> 0x00000000,0x00000000,0x00000000,0x00000000,
> 0x00000000,0x00000000,0x00000163,0x00000000,
> --- END ---
>
> Also note the change of filename (partly because of the format change).
>
> Ben.
>
Thanks,
Antonio
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
Web site: http://www.studenti.unina.it/~ospite
Public key: http://www.studenti.unina.it/~ospite/aopubkey.asc
Attachment:
pgp3LCOSZ1eM6.pgp
Description: PGP signature