Sound through laptop speakers for MSI 250

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello, I am still newbie to hg, diff and patch commands, but someone asked
me to make a patch for my soundcard to work. So this patch will add a line
for MSI 250 speaker support ( with subsystem device id = 0061 ) just next
to the 3 already existing for MSI S270, L725 and LG K1 express. So it is
very similar to the 2 following recent patches

http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=9233e1d82ed0;style=gitweb

http://hg-mirror.alsa-project.org/alsa-kernel?cmd=changeset;node=3afd242c5c58;style=gitweb

I used diff against the lastest hg repisitory to build the patch.

Thank You.

--- a/pci/ac97/ac97_patch.c	2006-10-13 23:27:03.000000000 +0200
+++ b/pci/ac97/ac97_patch.c	2006-10-13 23:27:38.000000000 +0200
@@ -2262,7 +2262,8 @@
 		if (ac97->subsystem_vendor == 0x1462 &&
 		    (ac97->subsystem_device == 0x0131 || /* MSI S270 laptop */
 		     ac97->subsystem_device == 0x0161 || /* LG K1 Express */
-		     ac97->subsystem_device == 0x0351))  /* MSI L725 laptop */
+		     ac97->subsystem_device == 0x0351 || /* MSI L725 laptop */
+		     ac97->subsystem_device == 0x0061))  /* MSI S250 laptop */
 			val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */
 		else
 			val |= (1 << 1); /* Pin 47 is spdif input pin */
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux