Your message dated Fri, 14 Nov 2008 18:58:33 +0100
with message-id <[EMAIL PROTECTED]>
and subject line 2.6.8 kernel removed from Debian
has caused the Debian Bug report #366522,
regarding kernel-source-2.6.8: ALi M5451 Audio did not work
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
366522: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=366522
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: kernel-source-2.6.8
Version: 2.6.8-16sarge2
Severity: normal


I had a problem to use ALi M5451 ALSA driver with my system.  My system 
has an M5451 rev 01 chip and the supplied driver did not activate AC97 
mixer when installed.

With many tries and errors, I happened to make a patch that works for 
me.  However, I do not have any official reference documentation, I 
cannot confirm that the patch is correct.  Can anybody confirm the 
correctness, please?

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (100, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages kernel-source-2.6.8 depends on:
ii  binutils                      2.15-6     The GNU assembler, linker and bina
ii  bzip2                         1.0.2-7    high-quality block-sorting file co
ii  coreutils [fileutils]         5.2.1-2    The GNU core utilities

-- no debconf information

*** /tmp/diff.txt
diff -u kernel-source-2.6.8/sound/pci/ali5451/ali5451.c 
linux/sound/pci/ali5451/ali5451.c
--- kernel-source-2.6.8/sound/pci/ali5451/ali5451.c     2004-08-14 
14:38:04.000000000 +0900
+++ linux/sound/pci/ali5451/ali5451.c   2006-05-09 02:55:12.302579810 +0900
@@ -470,7 +470,7 @@
                return ~0;
        }
 
-       port = codec->chregs.regs.ac97read;
+       port = codec->chregs.regs.ac97write;
 
        if (snd_ali_codec_ready(codec, port, 0) < 0)
                return ~0;
@@ -481,7 +481,7 @@
        dwVal |= 0x8000;                                /* bit 15*/
        if (secondary) dwVal |= 0x0080;
 
-       snd_ali_5451_poke(codec, port, dwVal);
+       outw(dwVal, codec->port + port);
 
        if (snd_ali_stimer_ready(codec, 0) < 0)
                return ~0;


--- End Message ---
--- Begin Message ---
The 2.6.8 kernel is no longer supported by Debian so I'm closing
your bug report.  Please try the 2.6.26 kernel from Debian lenny.
If this issue is still present, let me know.

Thanks.

-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---

Reply via email to