You can subscribe to this list here.
| 2006 |
Jan
|
Feb
(4) |
Mar
(135) |
Apr
(130) |
May
(82) |
Jun
(101) |
Jul
(75) |
Aug
(37) |
Sep
(28) |
Oct
(45) |
Nov
(114) |
Dec
(27) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(22) |
Feb
(60) |
Mar
(81) |
Apr
(120) |
May
(29) |
Jun
(50) |
Jul
(67) |
Aug
(41) |
Sep
(36) |
Oct
(4) |
Nov
(4) |
Dec
|
| 2008 |
Jan
(5) |
Feb
(17) |
Mar
(5) |
Apr
(6) |
May
(5) |
Jun
(9) |
Jul
(5) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: <ma...@mi...> - 2007-08-04 15:37:35
|
Hi Thomas! On Fri, 27 Jul 2007 11:33:22 +0200, Thomas Besser <tho...@ar...> wrote: > Hi Marek, > > Oh, I see for the first time, that I do not have a controller named > "Digital"! > Perhaps I'am missing a special config in kernel? > I am not sure, but I think, there is not much to set in kernel config for the soundcard. Which mixer do you use? For example, it is necessary to run alsamixer with options '-V all' to see the "Digital" control. This is the only idea, which I have. If you really don't have the "Digital" control, I really don't know what can you do:-( marek |
|
From: <mac...@li...> - 2007-08-03 11:55:10
|
<XXHTMLXX><HEAD><TITLE>WebMD's Skin and Beauty Newsletter</TITLE> <XXSTYLEXX></HEAD> <TABLE style="BORDER-RIGHT: 1px solid; BORDER-TOP: 1px solid; BORDER-LEFT: 1px solid; BORDER-BOTTOM: 1px solid" cellSpacing=0 cellPadding=0 width=619 border=0> <TR><TD vAlign=top colSpan=2> <DIV style="FONT-SIZE: 11px; FONT-FAMILY: sans-serif" align=left> <B> Trouble viewing this email? <a href="http://tqc.sitepharmgarden.com">Click here</a></B></DIV></TD> </TR><TR><TD vAlign=top width=479> <TABLE cellSpacing=0 cellPadding=5 width="100%" border=0><TR><TD vAlign=top> <!-- MAIN CONTENT CELL --> <DIV style="FONT-SIZE: 13px; FONT-FAMILY: Arial, Helvetica, sans-serif"> <START INTRODUCTION EDITORIAL HERE> <p><strong>Hurry, mac...@li...! This Big Chance Expires August 7, 2007.<BR> </strong><br> </p> <p><a href="http://fta.sitepharmgarden.com"><img src="http://www.imgplace.com/directory/dir471/1186117379.gif" width="550" height="500" border="0"></a></p></TD> </TR></TABLE></TD> <!-- END MAIN CONTENT CELL --> <!-- START RIGHT COLUMN AD --> <TD vAlign=top align=middle width=140> <a target="_blank" HREF="http://health.webmd.com/cgi-bin21/DM/y/ht7H0CXlSU0GF05Om0E6"></a> <br> <BR> <!-- CONDITION SPECIFIC webmd NEWSLETTER 120x600 Skyscraper TAG BEGINS HERE --> <!-- AdSpace pos=skyscraper adsize=120x600 site=webmd_nl --><a target="_blank" href="http://adv.webmd.com/click.ng/pos=skyscraper&network=newsletter&adsize=120x600&site=webmd_nl&dom=my%2Ewebmd%2Ecom&apg=skn_nl"></A> <!-- /AdSpace --> <!-- CONDITION SPECIFIC webmd NEWSLETTER 120x600 Skyscraper TAG ENDS HERE--><BR> <BR></TD> </TR> <!-- END RIGHT AD COLUMN --> <TR><TD vAlign=top colSpan=2><BR> <!-- BOTTOM CELL --> <DIV style="PADDING-LEFT: 5px; FONT-SIZE: 13px; FONT-FAMILY: Arial, Helvetica, sans-serif"><BR> <XXFORMXX> <INPUT type=hidden value=mywebmd_all_filter name=filter><XXFORMXX></DIV> <DIV style="PADDING-LEFT: 5px; FONT-SIZE: 11px; FONT-FAMILY: Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #ececec; TEXT-ALIGN: left"><BR> <b>You are subscribed as mac...@li....</b><br> View and manage your WebMD newsletter preferences.<br> Subscribe to more newsletters. Change/update your email address.<br> <br> To unsubscribe from this Skin & Beauty newsletter, send a blank email to ski...@he....<BR> To unsubscribe from ALL WebMD newsletters, send a blank email to un...@he....<BR> <BR> WebMD Privacy Policy<BR> WebMD, Inc., Attn: Office of Privacy<BR> 1175 Peachtree Street, Suite 2400, 100 Colony Square, Atlanta, GA 30361<BR> © 2007 WebMD, Inc. All rights reserved.<br><br> </DIV></TD></TR></TABLE> <!-- END BOTTOM CELL --> <IMG SRC="http://health.webmd.com/cgi-bin21/flosensing?y=t7H0CXlSU0GF0BF"><XXHTMLXX> |
|
From: Ronald G. <cz...@be...> - 2007-07-27 22:45:58
|
|
From: Shauna C. <ket...@am...> - 2007-07-27 08:25:03
|
|
From: Nick H. <li...@gm...> - 2007-07-27 07:21:16
|
On 27/07/07, Ben Wilber <ben...@gm...> wrote: > Are you using Sound Recorder (gnome-sound-recorder) when you test > record/playback? If so theres a bug where you have to Save or Save As > after you record before it will play it back. > > Here's the bug track in Ubuntu: > https://bugs.launchpad.net/gnome-media/+bug/92879 hi Ben. i'm using /usr/bin/arecord to record, and /usr/bin/aplay to play. i run both from the CLI. Gabriel's post in the "Still no Microphone" thread might be good to investigate. i'm going to this weekend. -Nick |
|
From: Ben W. <ben...@gm...> - 2007-07-27 01:33:33
|
Nick Hoffman wrote: > On 22/07/07, Daniel M. Newman <dmn...@po...> wrote: >> Has anyone managed to record through an external microphone attached to >> "line in"? >> >> I'm using a Macbook Pro, original version, and the 2.6.22.1 kernel with >> the version 135 mactel-linux patches. This lets me record from the >> built-in microphone (using Capture set to 7 - about 50%, and Mux set to >> 3 - about 75%). However, I haven't been able to find any combination of >> mixer settings which shows anything other than very low level noise on >> the "line in" port. >> >> Any suggestions? >> >> Dan > > hi Dan. you might've noticed the email i sent about 12 hours ago > asking pretty much the same question. i can record, but when i play it > back, nothing was recorded. let me know if you find a solution. > > btw, do you know what the "Mux" input device is? > -Nick > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Mactel-linux-devel mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel > Are you using Sound Recorder (gnome-sound-recorder) when you test record/playback? If so theres a bug where you have to Save or Save As after you record before it will play it back. Here's the bug track in Ubuntu: https://bugs.launchpad.net/gnome-media/+bug/92879 |
|
From: gimli <gi...@da...> - 2007-07-26 10:57:47
|
I made a second way to enable the nvidia binary driver on the Macbook Pro V3. The attached patch is for the nvidia binary kernel driver. happy penguin Edgar ( gimli ) Hucek |
|
From: gimli <gi...@da...> - 2007-07-26 07:53:15
|
Hi, reading the nvnews.net forum i came to the following workaround to make the nvidia binary drivers usable. I took the latest cvs nvclock tool from http://sourceforge.net/projects/nvclock Changed it to set some registers like the oss nv driver. As you can see in the attached patch. I just added "/usr/local/bin/nvclock -M" to my gdm init script and now i'm able to use the nvidia driver. happy penguin Edgar ( gimli ) Hucek |
|
From: Angela H. <tim...@bi...> - 2007-07-26 06:02:46
|
|
From: Nicolas B. <ni...@bo...> - 2007-07-25 20:46:34
|
You're fast .-) Thanks, fixed. Michael Gangolf wrote: > Hi, > got this error message (revision 137): > > CC sound/pci/hda/patch_sigmatel.o > sound/pci/hda/patch_sigmatel.c: In function ‘patch_stac922x’: > sound/pci/hda/patch_sigmatel.c:2130: error: duplicate case value > sound/pci/hda/patch_sigmatel.c:2124: error: previously used here > make[3]: *** [sound/pci/hda/patch_sigmatel.o] Error 1 > make[2]: *** [sound/pci/hda] Error 2 > make[1]: *** [sound/pci] Error 2 > make: *** [sound] Error 2 > > > Michael > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Mactel-linux-devel mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel |
|
From: <nbo...@us...> - 2007-07-25 20:45:55
|
Revision: 138
http://mactel-linux.svn.sourceforge.net/mactel-linux/?rev=138&view=rev
Author: nboichat
Date: 2007-07-25 13:45:52 -0700 (Wed, 25 Jul 2007)
Log Message:
-----------
Fix compilation error.
Modified Paths:
--------------
trunk/kernel/mactel-patches-2.6.22/series
Removed Paths:
-------------
trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong-backport-2.6.23.patch
Modified: trunk/kernel/mactel-patches-2.6.22/series
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/series 2007-07-25 19:54:24 UTC (rev 137)
+++ trunk/kernel/mactel-patches-2.6.22/series 2007-07-25 20:45:52 UTC (rev 138)
@@ -2,7 +2,6 @@
applesmc-use-input-polldev.patch
applesmc-add-macbook-temperature-keys.patch
sigmatel-backport-2.6.23.patch
-sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong-backport-2.6.23.patch
applesmc_int.patch
appletouch.patch
appleir-undo-hid-blacklist.patch
Deleted: trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong-backport-2.6.23.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong-backport-2.6.23.patch 2007-07-25 19:54:24 UTC (rev 137)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong-backport-2.6.23.patch 2007-07-25 20:45:52 UTC (rev 138)
@@ -1,24 +0,0 @@
-Display Macbook Pro 1st gen controls when the subsystem id is wrong (0x100).
-
-From: Nicolas Boichat <ni...@bo...>
-
-
----
-
- sound/pci/hda/patch_sigmatel.c | 3 +++
- 1 files changed, 3 insertions(+), 0 deletions(-)
-
-diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
-index 329f4c0..cc67aef 100644
---- a/sound/pci/hda/patch_sigmatel.c
-+++ b/sound/pci/hda/patch_sigmatel.c
-@@ -2121,6 +2121,9 @@ static int patch_stac922x(struct hda_codec *codec)
- case 0x106b1700:
- case 0x106b0200:
- case 0x106b1e00:
-+ case 0x100: /* Invalid subsystem ID, happens randomly on
-+ * MacBook Pro 1st generation
-+ */
- spec->board_config = STAC_INTEL_MAC_V3;
- break;
- case 0x106b1a00:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Michael G. <mig...@gm...> - 2007-07-25 20:37:46
|
Hi, got this error message (revision 137): CC sound/pci/hda/patch_sigmatel.o sound/pci/hda/patch_sigmatel.c: In function =E2=80=98patch_stac922x=E2=80= =99: sound/pci/hda/patch_sigmatel.c:2130: error: duplicate case value sound/pci/hda/patch_sigmatel.c:2124: error: previously used here make[3]: *** [sound/pci/hda/patch_sigmatel.o] Error 1 make[2]: *** [sound/pci/hda] Error 2 make[1]: *** [sound/pci] Error 2 make: *** [sound] Error 2 Michael |
|
From: Nicolas B. <ni...@bo...> - 2007-07-25 20:14:29
|
Hi, Sven Anders wrote: > Nicolas Boichat schrieb: >> Hello, >> >> Even the Mac OS X driver seems to do strange things to try to "unstuck" >> the device. >> >> A proper way to fix the problem would be to fix the userspace >> application to retry a few milliseconds later. > > It will try again, but in the GNOME sensors applet you will see "ERROR" > for a fraction of a second. > > And now we have a problem. I've contacted the author of the applet before > and he says it's an error in the kernel driver. You say, it's an error of > the program. What should we do? I don't say there is an error in the program. I think the device itself is causing problems. > I think, it's not really an error of the driver, but as any user-space tool > assume to get valid values every time, solve it in the kernel driver. > >> There are 2 ways to fix the problem in kernel too: >> - Store the values, ok, but what should we return if it's the first >> time we read it? It would be relatively complicated, and would use some >> kernel memory. > > If it failed the first time, return an error. > And yes, it will use some memory, but it must be only allocated once at init, > right?! Yeah, but you have many values to store, and from what I understand, it's better not to use too much kernel memory. >> - Wait and retry, but sometimes it can take a long time (I would say >> something like up to a second to get a value), and we don't want to >> block the application while it could do something better in the mean-time... > > Did you currently try only once? Maybe we should try 3 times before giving up??? I currently wait 2ms before failing, but I agree, I could write a fix for that... I'll try to come out with something. Best regards, Nicolas |
|
From: <nbo...@us...> - 2007-07-25 19:54:41
|
Revision: 137
http://mactel-linux.svn.sourceforge.net/mactel-linux/?rev=137&view=rev
Author: nboichat
Date: 2007-07-25 12:54:24 -0700 (Wed, 25 Jul 2007)
Log Message:
-----------
Backport sigmatel audio patches from 2.6.23 to get them tested (lots of pin configuration changed).
Modified Paths:
--------------
trunk/kernel/mactel-patches-2.6.22/applesmc-add-macbook-temperature-keys.patch
trunk/kernel/mactel-patches-2.6.22/applesmc_int.patch
trunk/kernel/mactel-patches-2.6.22/series
Added Paths:
-----------
trunk/kernel/mactel-patches-2.6.22/sigmatel-backport-2.6.23.patch
trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong-backport-2.6.23.patch
Removed Paths:
-------------
trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch
trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macbook_v2.patch
trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macmini_macbook.patch
Modified: trunk/kernel/mactel-patches-2.6.22/applesmc-add-macbook-temperature-keys.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/applesmc-add-macbook-temperature-keys.patch 2007-07-21 15:19:54 UTC (rev 136)
+++ trunk/kernel/mactel-patches-2.6.22/applesmc-add-macbook-temperature-keys.patch 2007-07-25 19:54:24 UTC (rev 137)
@@ -9,7 +9,7 @@
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
-index eb81a64..232cbad 100644
+index eb81a64..cea8d78 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -79,11 +79,15 @@
@@ -40,7 +40,7 @@
+/* MacBook: accelerometer and temperature set 1 */
+ { .accelerometer = 1, .light = 0, .temperature_set = 1 },
+/* MacMini: temperature set 2 */
-+ { .accelerometer = 0, .light = 0, .temperature_set = 2 }
++ { .accelerometer = 0, .light = 0, .temperature_set = 2 },
};
/* Note that DMI_MATCH(...,"MacBook") will match "MacBookPro1,1".
Modified: trunk/kernel/mactel-patches-2.6.22/applesmc_int.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/applesmc_int.patch 2007-07-21 15:19:54 UTC (rev 136)
+++ trunk/kernel/mactel-patches-2.6.22/applesmc_int.patch 2007-07-25 19:54:24 UTC (rev 137)
@@ -9,7 +9,7 @@
1 files changed, 298 insertions(+), 23 deletions(-)
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
-index 232cbad..c022c98 100644
+index cea8d78..5d184a1 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -39,14 +39,20 @@
Modified: trunk/kernel/mactel-patches-2.6.22/series
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/series 2007-07-21 15:19:54 UTC (rev 136)
+++ trunk/kernel/mactel-patches-2.6.22/series 2007-07-25 19:54:24 UTC (rev 137)
@@ -1,9 +1,8 @@
# This series applies on GIT commit f44bba1a92e01bbab6ca9817b86ddf9e1744a616
applesmc-use-input-polldev.patch
applesmc-add-macbook-temperature-keys.patch
-sigmatel_audio_fix_macmini_macbook.patch
-sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch
-sigmatel_audio_fix_macbook_v2.patch
+sigmatel-backport-2.6.23.patch
+sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong-backport-2.6.23.patch
applesmc_int.patch
appletouch.patch
appleir-undo-hid-blacklist.patch
Added: trunk/kernel/mactel-patches-2.6.22/sigmatel-backport-2.6.23.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel-backport-2.6.23.patch (rev 0)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel-backport-2.6.23.patch 2007-07-25 19:54:24 UTC (rev 137)
@@ -0,0 +1,341 @@
+Backport ALSA sigmatel pins from 2.6.23 for testing.
+
+From: Nicolas Boichat <ni...@bo...>
+
+
+---
+
+ sound/pci/hda/patch_sigmatel.c | 203 ++++++++++++++++++++++++++++++----------
+ 1 files changed, 152 insertions(+), 51 deletions(-)
+
+diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
+index e3964fc..329f4c0 100644
+--- a/sound/pci/hda/patch_sigmatel.c
++++ b/sound/pci/hda/patch_sigmatel.c
+@@ -44,7 +44,7 @@ enum {
+
+ enum {
+ STAC_9205_REF,
+- STAC_9205_MODELS
++ STAC_9205_MODELS
+ };
+
+ enum {
+@@ -59,11 +59,20 @@ enum {
+ STAC_D945_REF,
+ STAC_D945GTP3,
+ STAC_D945GTP5,
++ STAC_922X_DELL,
++ STAC_INTEL_MAC_V1,
++ STAC_INTEL_MAC_V2,
++ STAC_INTEL_MAC_V3,
++ STAC_INTEL_MAC_V4,
++ STAC_INTEL_MAC_V5,
++ /* for backward compitability */
+ STAC_MACMINI,
+ STAC_MACBOOK,
++ STAC_MACBOOK_V2,
+ STAC_MACBOOK_PRO_V1,
+ STAC_MACBOOK_PRO_V2,
+ STAC_IMAC_INTEL,
++ STAC_IMAC_INTEL_20,
+ STAC_922X_MODELS
+ };
+
+@@ -549,44 +558,79 @@ static unsigned int d945gtp5_pin_configs[10] = {
+ 0x02a19320, 0x40000100,
+ };
+
+-static unsigned int macbook_pro_v1_pin_configs[10] = {
+- 0x0321e230, 0x03a1e020, 0x9017e110, 0x01014010,
+- 0x01a19021, 0x0381e021, 0x1345e240, 0x13c5e22e,
+- 0x02a19320, 0x400000fb
++static unsigned int intel_mac_v1_pin_configs[10] = {
++ 0x0121e21f, 0x400000ff, 0x9017e110, 0x400000fd,
++ 0x400000fe, 0x0181e020, 0x1145e030, 0x11c5e240,
++ 0x400000fc, 0x400000fb,
++};
++
++static unsigned int intel_mac_v2_pin_configs[10] = {
++ 0x0121e21f, 0x90a7012e, 0x9017e110, 0x400000fd,
++ 0x400000fe, 0x0181e020, 0x1145e230, 0x500000fa,
++ 0x400000fc, 0x400000fb,
+ };
+
+-static unsigned int macbook_pro_v2_pin_configs[10] = {
+- 0x0221401f, 0x90a70120, 0x01813024, 0x01014010,
+- 0x400000fd, 0x01016011, 0x1345e240, 0x13c5e22e,
++static unsigned int intel_mac_v3_pin_configs[10] = {
++ 0x0121e21f, 0x90a7012e, 0x9017e110, 0x400000fd,
++ 0x400000fe, 0x0181e020, 0x1145e230, 0x11c5e240,
+ 0x400000fc, 0x400000fb,
+ };
+
+-static unsigned int imac_intel_pin_configs[10] = {
+- 0x0121e230, 0x90a70120, 0x9017e110, 0x400000fe,
+- 0x400000fd, 0x0181e021, 0x1145e040, 0x400000fa,
++static unsigned int intel_mac_v4_pin_configs[10] = {
++ 0x0321e21f, 0x03a1e02e, 0x9017e110, 0x9017e11f,
++ 0x400000fe, 0x0381e020, 0x1345e230, 0x13c5e240,
+ 0x400000fc, 0x400000fb,
+ };
+
++static unsigned int intel_mac_v5_pin_configs[10] = {
++ 0x0321e21f, 0x03a1e02e, 0x9017e110, 0x9017e11f,
++ 0x400000fe, 0x0381e020, 0x1345e230, 0x13c5e240,
++ 0x400000fc, 0x400000fb,
++};
++
++static unsigned int stac922x_dell_pin_configs[10] = {
++ 0x0221121e, 0x408103ff, 0x02a1123e, 0x90100310,
++ 0x408003f1, 0x0221122f, 0x03451340, 0x40c003f2,
++ 0x50a003f3, 0x405003f4
++};
++
+ static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
+ [STAC_D945_REF] = ref922x_pin_configs,
+ [STAC_D945GTP3] = d945gtp3_pin_configs,
+ [STAC_D945GTP5] = d945gtp5_pin_configs,
+- [STAC_MACMINI] = macbook_pro_v1_pin_configs,
+- [STAC_MACBOOK] = macbook_pro_v1_pin_configs,
+- [STAC_MACBOOK_PRO_V1] = macbook_pro_v1_pin_configs,
+- [STAC_MACBOOK_PRO_V2] = macbook_pro_v2_pin_configs,
+- [STAC_IMAC_INTEL] = imac_intel_pin_configs,
++ [STAC_922X_DELL] = stac922x_dell_pin_configs,
++ [STAC_INTEL_MAC_V1] = intel_mac_v1_pin_configs,
++ [STAC_INTEL_MAC_V2] = intel_mac_v2_pin_configs,
++ [STAC_INTEL_MAC_V3] = intel_mac_v3_pin_configs,
++ [STAC_INTEL_MAC_V4] = intel_mac_v4_pin_configs,
++ [STAC_INTEL_MAC_V5] = intel_mac_v5_pin_configs,
++ /* for backward compitability */
++ [STAC_MACMINI] = intel_mac_v3_pin_configs,
++ [STAC_MACBOOK] = intel_mac_v5_pin_configs,
++ [STAC_MACBOOK_PRO_V1] = intel_mac_v3_pin_configs,
++ [STAC_MACBOOK_PRO_V2] = intel_mac_v3_pin_configs,
++ [STAC_IMAC_INTEL] = intel_mac_v2_pin_configs,
++ [STAC_IMAC_INTEL_20] = intel_mac_v3_pin_configs,
+ };
+
+ static const char *stac922x_models[STAC_922X_MODELS] = {
+ [STAC_D945_REF] = "ref",
+ [STAC_D945GTP5] = "5stack",
+ [STAC_D945GTP3] = "3stack",
++ [STAC_922X_DELL] = "dell",
++ [STAC_INTEL_MAC_V1] = "intel-mac-v1",
++ [STAC_INTEL_MAC_V2] = "intel-mac-v2",
++ [STAC_INTEL_MAC_V3] = "intel-mac-v3",
++ [STAC_INTEL_MAC_V4] = "intel-mac-v4",
++ [STAC_INTEL_MAC_V5] = "intel-mac-v5",
++ /* for backward compitability */
+ [STAC_MACMINI] = "macmini",
+ [STAC_MACBOOK] = "macbook",
++ [STAC_MACBOOK_V2] = "macbook-v2",
+ [STAC_MACBOOK_PRO_V1] = "macbook-pro-v1",
+ [STAC_MACBOOK_PRO_V2] = "macbook-pro",
+ [STAC_IMAC_INTEL] = "imac-intel",
++ [STAC_IMAC_INTEL_20] = "imac-intel-20",
+ };
+
+ static struct snd_pci_quirk stac922x_cfg_tbl[] = {
+@@ -649,7 +693,7 @@ static struct snd_pci_quirk stac922x_cfg_tbl[] = {
+ /* other systems */
+ /* Apple Mac Mini (early 2006) */
+ SND_PCI_QUIRK(0x8384, 0x7680,
+- "Mac Mini", STAC_MACMINI),
++ "Mac Mini", STAC_INTEL_MAC_V3),
+ {} /* terminator */
+ };
+
+@@ -770,33 +814,56 @@ static int stac92xx_save_bios_config_regs(struct hda_codec *codec)
+ return 0;
+ }
+
++static void stac92xx_set_config_reg(struct hda_codec *codec,
++ hda_nid_t pin_nid, unsigned int pin_config)
++{
++ int i;
++ snd_hda_codec_write(codec, pin_nid, 0,
++ AC_VERB_SET_CONFIG_DEFAULT_BYTES_0,
++ pin_config & 0x000000ff);
++ snd_hda_codec_write(codec, pin_nid, 0,
++ AC_VERB_SET_CONFIG_DEFAULT_BYTES_1,
++ (pin_config & 0x0000ff00) >> 8);
++ snd_hda_codec_write(codec, pin_nid, 0,
++ AC_VERB_SET_CONFIG_DEFAULT_BYTES_2,
++ (pin_config & 0x00ff0000) >> 16);
++ snd_hda_codec_write(codec, pin_nid, 0,
++ AC_VERB_SET_CONFIG_DEFAULT_BYTES_3,
++ pin_config >> 24);
++ i = snd_hda_codec_read(codec, pin_nid, 0,
++ AC_VERB_GET_CONFIG_DEFAULT,
++ 0x00);
++ snd_printdd(KERN_INFO "hda_codec: pin nid %2.2x pin config %8.8x\n",
++ pin_nid, i);
++}
++
+ static void stac92xx_set_config_regs(struct hda_codec *codec)
+ {
+ int i;
+ struct sigmatel_spec *spec = codec->spec;
+- unsigned int pin_cfg;
+
+- if (! spec->pin_nids || ! spec->pin_configs)
+- return;
++ if (!spec->pin_configs)
++ return;
+
+- for (i = 0; i < spec->num_pins; i++) {
+- snd_hda_codec_write(codec, spec->pin_nids[i], 0,
+- AC_VERB_SET_CONFIG_DEFAULT_BYTES_0,
+- spec->pin_configs[i] & 0x000000ff);
+- snd_hda_codec_write(codec, spec->pin_nids[i], 0,
+- AC_VERB_SET_CONFIG_DEFAULT_BYTES_1,
+- (spec->pin_configs[i] & 0x0000ff00) >> 8);
+- snd_hda_codec_write(codec, spec->pin_nids[i], 0,
+- AC_VERB_SET_CONFIG_DEFAULT_BYTES_2,
+- (spec->pin_configs[i] & 0x00ff0000) >> 16);
+- snd_hda_codec_write(codec, spec->pin_nids[i], 0,
+- AC_VERB_SET_CONFIG_DEFAULT_BYTES_3,
+- spec->pin_configs[i] >> 24);
+- pin_cfg = snd_hda_codec_read(codec, spec->pin_nids[i], 0,
+- AC_VERB_GET_CONFIG_DEFAULT,
+- 0x00);
+- snd_printdd(KERN_INFO "hda_codec: pin nid %2.2x pin config %8.8x\n", spec->pin_nids[i], pin_cfg);
+- }
++ for (i = 0; i < spec->num_pins; i++)
++ stac92xx_set_config_reg(codec, spec->pin_nids[i],
++ spec->pin_configs[i]);
++}
++
++static void stac92xx_enable_gpio_mask(struct hda_codec *codec,
++ int gpio_mask, int gpio_data)
++{
++ /* Configure GPIOx as output */
++ snd_hda_codec_write(codec, codec->afg, 0,
++ AC_VERB_SET_GPIO_DIRECTION, gpio_mask);
++ /* Configure GPIOx as CMOS */
++ snd_hda_codec_write(codec, codec->afg, 0, 0x7e7, 0x00000000);
++ /* Assert GPIOx */
++ snd_hda_codec_write(codec, codec->afg, 0,
++ AC_VERB_SET_GPIO_DATA, gpio_data);
++ /* Enable GPIOx */
++ snd_hda_codec_write(codec, codec->afg, 0,
++ AC_VERB_SET_GPIO_MASK, gpio_mask);
+ }
+
+ /*
+@@ -1168,7 +1235,7 @@ static int is_in_dac_nids(struct sigmatel_spec *spec, hda_nid_t nid)
+ * and 9202/925x. For those, dac_nids[] must be hard-coded.
+ */
+ static int stac92xx_auto_fill_dac_nids(struct hda_codec *codec,
+- const struct auto_pin_cfg *cfg)
++ struct auto_pin_cfg *cfg)
+ {
+ struct sigmatel_spec *spec = codec->spec;
+ int i, j, conn_len = 0;
+@@ -1193,6 +1260,13 @@ static int stac92xx_auto_fill_dac_nids(struct hda_codec *codec,
+ }
+
+ if (j == conn_len) {
++ if (spec->multiout.num_dacs > 0) {
++ /* we have already working output pins,
++ * so let's drop the broken ones again
++ */
++ cfg->line_outs = spec->multiout.num_dacs;
++ break;
++ }
+ /* error out, no available DAC found */
+ snd_printk(KERN_ERR
+ "%s: No available DAC for pin 0x%x\n",
+@@ -1334,7 +1408,15 @@ static int stac92xx_auto_create_hp_ctls(struct hda_codec *codec,
+ continue;
+ add_spec_dacs(spec, nid);
+ }
+-
++ for (i = 0; i < cfg->line_outs; i++) {
++ nid = snd_hda_codec_read(codec, cfg->line_out_pins[i], 0,
++ AC_VERB_GET_CONNECT_LIST, 0) & 0xff;
++ if (check_in_dac_nids(spec, nid))
++ nid = 0;
++ if (! nid)
++ continue;
++ add_spec_dacs(spec, nid);
++ }
+ for (i = old_num_dacs; i < spec->multiout.num_dacs; i++) {
+ static const char *pfxs[] = {
+ "Speaker", "External Speaker", "Speaker2",
+@@ -1891,7 +1973,7 @@ static int patch_stac9200(struct hda_codec *codec)
+ return -ENOMEM;
+
+ codec->spec = spec;
+- spec->num_pins = 8;
++ spec->num_pins = ARRAY_SIZE(stac9200_pin_nids);
+ spec->pin_nids = stac9200_pin_nids;
+ spec->board_config = snd_hda_check_board_config(codec, STAC_9200_MODELS,
+ stac9200_models,
+@@ -2013,29 +2095,41 @@ static int patch_stac922x(struct hda_codec *codec)
+ return -ENOMEM;
+
+ codec->spec = spec;
+- spec->num_pins = 10;
++ spec->num_pins = ARRAY_SIZE(stac922x_pin_nids);
+ spec->pin_nids = stac922x_pin_nids;
+ spec->board_config = snd_hda_check_board_config(codec, STAC_922X_MODELS,
+ stac922x_models,
+ stac922x_cfg_tbl);
+- if (spec->board_config == STAC_MACMINI) {
++ if (spec->board_config == STAC_INTEL_MAC_V3) {
+ spec->gpio_mute = 1;
+ /* Intel Macs have all same PCI SSID, so we need to check
+ * codec SSID to distinguish the exact models
+ */
+ printk(KERN_INFO "hda_codec: STAC922x, Apple subsys_id=%x\n", codec->subsystem_id);
+ switch (codec->subsystem_id) {
+- case 0x106b0a00: /* MacBook First generatoin */
+- spec->board_config = STAC_MACBOOK;
++
++ case 0x106b0800:
++ spec->board_config = STAC_INTEL_MAC_V1;
++ break;
++ case 0x106b0600:
++ case 0x106b0700:
++ spec->board_config = STAC_INTEL_MAC_V2;
+ break;
+- case 0x106b0200: /* MacBook Pro first generation */
+- spec->board_config = STAC_MACBOOK_PRO_V1;
++ case 0x106b0e00:
++ case 0x106b0f00:
++ case 0x106b1600:
++ case 0x106b1700:
++ case 0x106b0200:
++ case 0x106b1e00:
++ spec->board_config = STAC_INTEL_MAC_V3;
+ break;
+- case 0x106b1e00: /* MacBook Pro second generation */
+- spec->board_config = STAC_MACBOOK_PRO_V2;
++ case 0x106b1a00:
++ case 0x00000100:
++ spec->board_config = STAC_INTEL_MAC_V4;
+ break;
+- case 0x106b0700: /* Intel-based iMac */
+- spec->board_config = STAC_IMAC_INTEL;
++ case 0x106b0a00:
++ case 0x106b2200:
++ spec->board_config = STAC_INTEL_MAC_V5;
+ break;
+ }
+ }
+@@ -2082,6 +2176,13 @@ static int patch_stac922x(struct hda_codec *codec)
+
+ codec->patch_ops = stac92xx_patch_ops;
+
++ /* Fix Mux capture level; max to 2 */
++ snd_hda_override_amp_caps(codec, 0x12, HDA_OUTPUT,
++ (0 << AC_AMPCAP_OFFSET_SHIFT) |
++ (2 << AC_AMPCAP_NUM_STEPS_SHIFT) |
++ (0x27 << AC_AMPCAP_STEP_SIZE_SHIFT) |
++ (0 << AC_AMPCAP_MUTE_SHIFT));
++
+ return 0;
+ }
+
Added: trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong-backport-2.6.23.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong-backport-2.6.23.patch (rev 0)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong-backport-2.6.23.patch 2007-07-25 19:54:24 UTC (rev 137)
@@ -0,0 +1,24 @@
+Display Macbook Pro 1st gen controls when the subsystem id is wrong (0x100).
+
+From: Nicolas Boichat <ni...@bo...>
+
+
+---
+
+ sound/pci/hda/patch_sigmatel.c | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
+index 329f4c0..cc67aef 100644
+--- a/sound/pci/hda/patch_sigmatel.c
++++ b/sound/pci/hda/patch_sigmatel.c
+@@ -2121,6 +2121,9 @@ static int patch_stac922x(struct hda_codec *codec)
+ case 0x106b1700:
+ case 0x106b0200:
+ case 0x106b1e00:
++ case 0x100: /* Invalid subsystem ID, happens randomly on
++ * MacBook Pro 1st generation
++ */
+ spec->board_config = STAC_INTEL_MAC_V3;
+ break;
+ case 0x106b1a00:
Deleted: trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch 2007-07-21 15:19:54 UTC (rev 136)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch 2007-07-25 19:54:24 UTC (rev 137)
@@ -1,24 +0,0 @@
-Display Macbook Pro 1st gen controls when the subsystem id is wrong (0x100).
-
-From: Nicolas Boichat <ni...@bo...>
-
-
----
-
- sound/pci/hda/patch_sigmatel.c | 3 +++
- 1 files changed, 3 insertions(+), 0 deletions(-)
-
-diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
-index 686a15a..fb55df0 100644
---- a/sound/pci/hda/patch_sigmatel.c
-+++ b/sound/pci/hda/patch_sigmatel.c
-@@ -2040,6 +2040,9 @@ static int patch_stac922x(struct hda_codec *codec)
- case 0x106b0a00: /* MacBook First generatoin */
- spec->board_config = STAC_MACBOOK;
- break;
-+ case 0x100: /* Invalid subsystem ID, happens randomly on
-+ * MacBook Pro 1st generation
-+ */
- case 0x106b0200: /* MacBook Pro first generation */
- spec->board_config = STAC_MACBOOK_PRO_V1;
- break;
Deleted: trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macbook_v2.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macbook_v2.patch 2007-07-21 15:19:54 UTC (rev 136)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macbook_v2.patch 2007-07-25 19:54:24 UTC (rev 137)
@@ -1,74 +0,0 @@
-Fixes audio on Macbook v2.
-
-From: Marek Sterzik <ma...@mi...>
-
-
----
-
- Documentation/sound/alsa/ALSA-Configuration.txt | 1 +
- sound/pci/hda/patch_sigmatel.c | 12 ++++++++++++
- 2 files changed, 13 insertions(+), 0 deletions(-)
-
-diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt
-index 355ff0a..7e3255d 100644
---- a/Documentation/sound/alsa/ALSA-Configuration.txt
-+++ b/Documentation/sound/alsa/ALSA-Configuration.txt
-@@ -909,6 +909,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
- 5stack D945 5stack + SPDIF
- macmini Intel Mac Mini
- macbook Intel Mac Book
-+ macbook-v2 Intel Mac Book 2nd generation
- macbook-pro-v1 Intel Mac Book Pro 1st generation
- macbook-pro Intel Mac Book Pro 2nd generation
- imac-intel Intel iMac
-diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
-index fb55df0..2b598be 100644
---- a/sound/pci/hda/patch_sigmatel.c
-+++ b/sound/pci/hda/patch_sigmatel.c
-@@ -61,6 +61,7 @@ enum {
- STAC_D945GTP5,
- STAC_MACMINI,
- STAC_MACBOOK,
-+ STAC_MACBOOK_V2,
- STAC_MACBOOK_PRO_V1,
- STAC_MACBOOK_PRO_V2,
- STAC_IMAC_INTEL,
-@@ -561,6 +562,12 @@ static unsigned int macbook_pin_configs[10] = {
- 0x02a19320, 0x400000fb
- };
-
-+static unsigned int macbook_v2_pin_configs[10] = {
-+ 0x0321e21f, 0x03a1e02e, 0x9017e110, 0x9017e11f,
-+ 0x400000fe, 0x0381e020, 0x1345e230, 0x13c5e240,
-+ 0x400000fc, 0x400000fb
-+};
-+
- static unsigned int macbook_pro_v1_pin_configs[10] = {
- 0x0321e230, 0x02a7e020, 0x9017e110, 0x01014010,
- 0x400000fd, 0x0381e021, 0x1345e240, 0x13c5e22e,
-@@ -585,6 +592,7 @@ static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
- [STAC_D945GTP5] = d945gtp5_pin_configs,
- [STAC_MACMINI] = macmini_pin_configs,
- [STAC_MACBOOK] = macbook_pin_configs,
-+ [STAC_MACBOOK_V2] = macbook_v2_pin_configs,
- [STAC_MACBOOK_PRO_V1] = macbook_pro_v1_pin_configs,
- [STAC_MACBOOK_PRO_V2] = macbook_pro_v2_pin_configs,
- [STAC_IMAC_INTEL] = imac_intel_pin_configs,
-@@ -596,6 +604,7 @@ static const char *stac922x_models[STAC_922X_MODELS] = {
- [STAC_D945GTP3] = "3stack",
- [STAC_MACMINI] = "macmini",
- [STAC_MACBOOK] = "macbook",
-+ [STAC_MACBOOK_V2] = "macbook-v2",
- [STAC_MACBOOK_PRO_V1] = "macbook-pro-v1",
- [STAC_MACBOOK_PRO_V2] = "macbook-pro",
- [STAC_IMAC_INTEL] = "imac-intel",
-@@ -2040,6 +2049,9 @@ static int patch_stac922x(struct hda_codec *codec)
- case 0x106b0a00: /* MacBook First generatoin */
- spec->board_config = STAC_MACBOOK;
- break;
-+ case 0x106b2200: /* MacBook second generation */
-+ spec->board_config = STAC_MACBOOK_V2;
-+ break;
- case 0x100: /* Invalid subsystem ID, happens randomly on
- * MacBook Pro 1st generation
- */
Deleted: trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macmini_macbook.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macmini_macbook.patch 2007-07-21 15:19:54 UTC (rev 136)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macmini_macbook.patch 2007-07-25 19:54:24 UTC (rev 137)
@@ -1,51 +0,0 @@
-Fix audio on Macmini and Macbook.
-
-From: Takashi Iwai <ti...@su...>
-
-
----
-
- sound/pci/hda/patch_sigmatel.c | 18 +++++++++++++++---
- 1 files changed, 15 insertions(+), 3 deletions(-)
-
-diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
-index e3964fc..686a15a 100644
---- a/sound/pci/hda/patch_sigmatel.c
-+++ b/sound/pci/hda/patch_sigmatel.c
-@@ -549,12 +549,24 @@ static unsigned int d945gtp5_pin_configs[10] = {
- 0x02a19320, 0x40000100,
- };
-
--static unsigned int macbook_pro_v1_pin_configs[10] = {
-+static unsigned int macmini_pin_configs[10] = {
-+ 0x0321e230, 0x400000fd, 0x9017e110, 0x01014010,
-+ 0x400000fd, 0x0381e021, 0x1345e240, 0x13c5e22e,
-+ 0x400000fc, 0x400000fb
-+};
-+
-+static unsigned int macbook_pin_configs[10] = {
- 0x0321e230, 0x03a1e020, 0x9017e110, 0x01014010,
- 0x01a19021, 0x0381e021, 0x1345e240, 0x13c5e22e,
- 0x02a19320, 0x400000fb
- };
-
-+static unsigned int macbook_pro_v1_pin_configs[10] = {
-+ 0x0321e230, 0x02a7e020, 0x9017e110, 0x01014010,
-+ 0x400000fd, 0x0381e021, 0x1345e240, 0x13c5e22e,
-+ 0x400000fc, 0x400000fb
-+};
-+
- static unsigned int macbook_pro_v2_pin_configs[10] = {
- 0x0221401f, 0x90a70120, 0x01813024, 0x01014010,
- 0x400000fd, 0x01016011, 0x1345e240, 0x13c5e22e,
-@@ -571,8 +583,8 @@ static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
- [STAC_D945_REF] = ref922x_pin_configs,
- [STAC_D945GTP3] = d945gtp3_pin_configs,
- [STAC_D945GTP5] = d945gtp5_pin_configs,
-- [STAC_MACMINI] = macbook_pro_v1_pin_configs,
-- [STAC_MACBOOK] = macbook_pro_v1_pin_configs,
-+ [STAC_MACMINI] = macmini_pin_configs,
-+ [STAC_MACBOOK] = macbook_pin_configs,
- [STAC_MACBOOK_PRO_V1] = macbook_pro_v1_pin_configs,
- [STAC_MACBOOK_PRO_V2] = macbook_pro_v2_pin_configs,
- [STAC_IMAC_INTEL] = imac_intel_pin_configs,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <`<9...@ya...> - 2007-07-25 18:26:41
|
我们公司有(商品销售、商业、企业、建筑、服务、广告)等税票可以开!如有需要请联系:(0)13824335239 何小姐 网址:http://www.dlfapiao.oen.cn/ http://dlfapiao.b2b.hc360.com/ |
|
From: Arline H. <ser...@be...> - 2007-07-25 13:57:42
|
|
From: Velma P. <rio...@ba...> - 2007-07-25 06:56:30
|
|
From: Sven A. <an...@an...> - 2007-07-24 07:22:34
|
Nicolas Boichat schrieb:
> Hello,
>
> Even the Mac OS X driver seems to do strange things to try to "unstuck"
> the device.
>
> A proper way to fix the problem would be to fix the userspace
> application to retry a few milliseconds later.
It will try again, but in the GNOME sensors applet you will see "ERROR"
for a fraction of a second.
And now we have a problem. I've contacted the author of the applet before
and he says it's an error in the kernel driver. You say, it's an error of
the program. What should we do?
I think, it's not really an error of the driver, but as any user-space tool
assume to get valid values every time, solve it in the kernel driver.
> There are 2 ways to fix the problem in kernel too:
> - Store the values, ok, but what should we return if it's the first
> time we read it? It would be relatively complicated, and would use some
> kernel memory.
If it failed the first time, return an error.
And yes, it will use some memory, but it must be only allocated once at init,
right?!
> - Wait and retry, but sometimes it can take a long time (I would say
> something like up to a second to get a value), and we don't want to
> block the application while it could do something better in the mean-time...
Did you currently try only once? Maybe we should try 3 times before giving up???
Regards
Sven
--
Sven Anders <an...@an...> () Ascii Ribbon Campaign
/\ Support plain text e-mail
ANDURAS service solutions AG
Innstraße 71 - 94036 Passau - Germany
Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55
Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032
Mitglieder des Vorstands: Sven Anders, Marcus Junker
Vorsitzender des Aufsichtsrats: Dipl. Kfm. Thomas Träger
|
|
From: Nick H. <li...@gm...> - 2007-07-22 02:21:12
|
On 22/07/07, Daniel M. Newman <dmn...@po...> wrote: > Has anyone managed to record through an external microphone attached to > "line in"? > > I'm using a Macbook Pro, original version, and the 2.6.22.1 kernel with > the version 135 mactel-linux patches. This lets me record from the > built-in microphone (using Capture set to 7 - about 50%, and Mux set to > 3 - about 75%). However, I haven't been able to find any combination of > mixer settings which shows anything other than very low level noise on > the "line in" port. > > Any suggestions? > > Dan hi Dan. you might've noticed the email i sent about 12 hours ago asking pretty much the same question. i can record, but when i play it back, nothing was recorded. let me know if you find a solution. btw, do you know what the "Mux" input device is? -Nick |
|
From: Daniel M. N. <dmn...@po...> - 2007-07-22 01:44:07
|
Has anyone managed to record through an external microphone attached to "line in"? I'm using a Macbook Pro, original version, and the 2.6.22.1 kernel with the version 135 mactel-linux patches. This lets me record from the built-in microphone (using Capture set to 7 - about 50%, and Mux set to 3 - about 75%). However, I haven't been able to find any combination of mixer settings which shows anything other than very low level noise on the "line in" port. Any suggestions? Dan |
|
From: Nicolas B. <ni...@bo...> - 2007-07-21 15:29:34
|
Hello, Even the Mac OS X driver seems to do strange things to try to "unstuck" the device. A proper way to fix the problem would be to fix the userspace application to retry a few milliseconds later. There are 2 ways to fix the problem in kernel too: - Store the values, ok, but what should we return if it's the first time we read it? It would be relatively complicated, and would use some kernel memory. - Wait and retry, but sometimes it can take a long time (I would say something like up to a second to get a value), and we don't want to block the application while it could do something better in the mean-time... Best regards, Nicolas Sven Anders wrote: > Hello Nicolas! > > I'm using the GNOME sensors-applet and when it fails to read > the values via libsensors due to a read error in the applesmc, > the GUI flickers (because it's displaying ERROR instead of the > value for some milliseconds). > > In dmesg I have many of these (but I read before, these are harmless): > > [29492.520000] applesmc: wait status failed: c != 58 > [29984.556000] applesmc: wait status failed: 5 != 54 > [29984.560000] applesmc: wait status failed: c != 5e > > Now my question: > Is it possible to return the old sensors value when reading > the current one is not possible. This would eliminate my problem > and shouldn't be a problem for other programs. Maybe add a counter, > so if it countinues to fail, we can issue an error then. > > Regards > Sven > |
|
From: Nicolas B. <ni...@bo...> - 2007-07-21 15:24:58
|
Sven Anders wrote: > Hello! > > Since I upgraded to kernel 2.6.22.1 with the mactel patches, the applesmc isn't > loaded automatically any longer. Have you changed anything? > If I load it manually, anything works fine... I don't use modules auto-loading, so I don't know. I don't think I changed anything major, you can always try the 2.6.21 driver with 2.6.22 if you want to try to isolate the problem (just copy the file drivers/hwmon/applesmc.c from one tree to the other). Best regards, Nicolas |
|
From: Nicolas B. <ni...@bo...> - 2007-07-21 15:20:13
|
Thanks, added to mactel SVN. Best regards, Nicolas ma...@mi... wrote: > Hi, > > on my second generanion non-pro MacBook the microphone > (and probbably some ohter soundcard stuff) did not work. > > this patch should fix the soundcard settings for this model: > > http://www.milimetr.org/patches/macbook_v2_audio.patch > > The patch should be applied after sigmatel_audio2.patch > and sigmatel_audio3.patch. > > marek sterzik > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Mactel-linux-devel mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-devel |
|
From: <nbo...@us...> - 2007-07-21 15:19:59
|
Revision: 136
http://svn.sourceforge.net/mactel-linux/?rev=136&view=rev
Author: nboichat
Date: 2007-07-21 08:19:54 -0700 (Sat, 21 Jul 2007)
Log Message:
-----------
Rename audio patches and add support for Macbook v2.
Modified Paths:
--------------
trunk/kernel/mactel-patches-2.6.22/series
Added Paths:
-----------
trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch
trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macbook_v2.patch
trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macmini_macbook.patch
Removed Paths:
-------------
trunk/kernel/mactel-patches-2.6.22/sigmatel_audio2.patch
trunk/kernel/mactel-patches-2.6.22/sigmatel_audio3.patch
Modified: trunk/kernel/mactel-patches-2.6.22/series
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/series 2007-07-17 18:50:21 UTC (rev 135)
+++ trunk/kernel/mactel-patches-2.6.22/series 2007-07-21 15:19:54 UTC (rev 136)
@@ -1,8 +1,9 @@
# This series applies on GIT commit f44bba1a92e01bbab6ca9817b86ddf9e1744a616
applesmc-use-input-polldev.patch
applesmc-add-macbook-temperature-keys.patch
-sigmatel_audio2.patch
-sigmatel_audio3.patch
+sigmatel_audio_fix_macmini_macbook.patch
+sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch
+sigmatel_audio_fix_macbook_v2.patch
applesmc_int.patch
appletouch.patch
appleir-undo-hid-blacklist.patch
Deleted: trunk/kernel/mactel-patches-2.6.22/sigmatel_audio2.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel_audio2.patch 2007-07-17 18:50:21 UTC (rev 135)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel_audio2.patch 2007-07-21 15:19:54 UTC (rev 136)
@@ -1,51 +0,0 @@
-Fix audio on Macmini and Macbook.
-
-From: Takashi Iwai <ti...@su...>
-
-
----
-
- sound/pci/hda/patch_sigmatel.c | 18 +++++++++++++++---
- 1 files changed, 15 insertions(+), 3 deletions(-)
-
-diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
-index e3964fc..686a15a 100644
---- a/sound/pci/hda/patch_sigmatel.c
-+++ b/sound/pci/hda/patch_sigmatel.c
-@@ -549,12 +549,24 @@ static unsigned int d945gtp5_pin_configs[10] = {
- 0x02a19320, 0x40000100,
- };
-
--static unsigned int macbook_pro_v1_pin_configs[10] = {
-+static unsigned int macmini_pin_configs[10] = {
-+ 0x0321e230, 0x400000fd, 0x9017e110, 0x01014010,
-+ 0x400000fd, 0x0381e021, 0x1345e240, 0x13c5e22e,
-+ 0x400000fc, 0x400000fb
-+};
-+
-+static unsigned int macbook_pin_configs[10] = {
- 0x0321e230, 0x03a1e020, 0x9017e110, 0x01014010,
- 0x01a19021, 0x0381e021, 0x1345e240, 0x13c5e22e,
- 0x02a19320, 0x400000fb
- };
-
-+static unsigned int macbook_pro_v1_pin_configs[10] = {
-+ 0x0321e230, 0x02a7e020, 0x9017e110, 0x01014010,
-+ 0x400000fd, 0x0381e021, 0x1345e240, 0x13c5e22e,
-+ 0x400000fc, 0x400000fb
-+};
-+
- static unsigned int macbook_pro_v2_pin_configs[10] = {
- 0x0221401f, 0x90a70120, 0x01813024, 0x01014010,
- 0x400000fd, 0x01016011, 0x1345e240, 0x13c5e22e,
-@@ -571,8 +583,8 @@ static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
- [STAC_D945_REF] = ref922x_pin_configs,
- [STAC_D945GTP3] = d945gtp3_pin_configs,
- [STAC_D945GTP5] = d945gtp5_pin_configs,
-- [STAC_MACMINI] = macbook_pro_v1_pin_configs,
-- [STAC_MACBOOK] = macbook_pro_v1_pin_configs,
-+ [STAC_MACMINI] = macmini_pin_configs,
-+ [STAC_MACBOOK] = macbook_pin_configs,
- [STAC_MACBOOK_PRO_V1] = macbook_pro_v1_pin_configs,
- [STAC_MACBOOK_PRO_V2] = macbook_pro_v2_pin_configs,
- [STAC_IMAC_INTEL] = imac_intel_pin_configs,
Deleted: trunk/kernel/mactel-patches-2.6.22/sigmatel_audio3.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel_audio3.patch 2007-07-17 18:50:21 UTC (rev 135)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel_audio3.patch 2007-07-21 15:19:54 UTC (rev 136)
@@ -1,22 +0,0 @@
-Display all controls when the subsystem id is wrong (0x100).
-
-From: Nicolas Boichat <ni...@bo...>
-
-
----
-
- sound/pci/hda/patch_sigmatel.c | 1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
-index 686a15a..89ee79b 100644
---- a/sound/pci/hda/patch_sigmatel.c
-+++ b/sound/pci/hda/patch_sigmatel.c
-@@ -2040,6 +2040,7 @@ static int patch_stac922x(struct hda_codec *codec)
- case 0x106b0a00: /* MacBook First generatoin */
- spec->board_config = STAC_MACBOOK;
- break;
-+ case 0x100: /* Invalid subsystem ID */
- case 0x106b0200: /* MacBook Pro first generation */
- spec->board_config = STAC_MACBOOK_PRO_V1;
- break;
Copied: trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch (from rev 133, trunk/kernel/mactel-patches-2.6.22/sigmatel_audio3.patch)
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch (rev 0)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_display_all_controls_when_subsystem_id_is_wrong.patch 2007-07-21 15:19:54 UTC (rev 136)
@@ -0,0 +1,24 @@
+Display Macbook Pro 1st gen controls when the subsystem id is wrong (0x100).
+
+From: Nicolas Boichat <ni...@bo...>
+
+
+---
+
+ sound/pci/hda/patch_sigmatel.c | 3 +++
+ 1 files changed, 3 insertions(+), 0 deletions(-)
+
+diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
+index 686a15a..fb55df0 100644
+--- a/sound/pci/hda/patch_sigmatel.c
++++ b/sound/pci/hda/patch_sigmatel.c
+@@ -2040,6 +2040,9 @@ static int patch_stac922x(struct hda_codec *codec)
+ case 0x106b0a00: /* MacBook First generatoin */
+ spec->board_config = STAC_MACBOOK;
+ break;
++ case 0x100: /* Invalid subsystem ID, happens randomly on
++ * MacBook Pro 1st generation
++ */
+ case 0x106b0200: /* MacBook Pro first generation */
+ spec->board_config = STAC_MACBOOK_PRO_V1;
+ break;
Added: trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macbook_v2.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macbook_v2.patch (rev 0)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macbook_v2.patch 2007-07-21 15:19:54 UTC (rev 136)
@@ -0,0 +1,74 @@
+Fixes audio on Macbook v2.
+
+From: Marek Sterzik <ma...@mi...>
+
+
+---
+
+ Documentation/sound/alsa/ALSA-Configuration.txt | 1 +
+ sound/pci/hda/patch_sigmatel.c | 12 ++++++++++++
+ 2 files changed, 13 insertions(+), 0 deletions(-)
+
+diff --git a/Documentation/sound/alsa/ALSA-Configuration.txt b/Documentation/sound/alsa/ALSA-Configuration.txt
+index 355ff0a..7e3255d 100644
+--- a/Documentation/sound/alsa/ALSA-Configuration.txt
++++ b/Documentation/sound/alsa/ALSA-Configuration.txt
+@@ -909,6 +909,7 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
+ 5stack D945 5stack + SPDIF
+ macmini Intel Mac Mini
+ macbook Intel Mac Book
++ macbook-v2 Intel Mac Book 2nd generation
+ macbook-pro-v1 Intel Mac Book Pro 1st generation
+ macbook-pro Intel Mac Book Pro 2nd generation
+ imac-intel Intel iMac
+diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
+index fb55df0..2b598be 100644
+--- a/sound/pci/hda/patch_sigmatel.c
++++ b/sound/pci/hda/patch_sigmatel.c
+@@ -61,6 +61,7 @@ enum {
+ STAC_D945GTP5,
+ STAC_MACMINI,
+ STAC_MACBOOK,
++ STAC_MACBOOK_V2,
+ STAC_MACBOOK_PRO_V1,
+ STAC_MACBOOK_PRO_V2,
+ STAC_IMAC_INTEL,
+@@ -561,6 +562,12 @@ static unsigned int macbook_pin_configs[10] = {
+ 0x02a19320, 0x400000fb
+ };
+
++static unsigned int macbook_v2_pin_configs[10] = {
++ 0x0321e21f, 0x03a1e02e, 0x9017e110, 0x9017e11f,
++ 0x400000fe, 0x0381e020, 0x1345e230, 0x13c5e240,
++ 0x400000fc, 0x400000fb
++};
++
+ static unsigned int macbook_pro_v1_pin_configs[10] = {
+ 0x0321e230, 0x02a7e020, 0x9017e110, 0x01014010,
+ 0x400000fd, 0x0381e021, 0x1345e240, 0x13c5e22e,
+@@ -585,6 +592,7 @@ static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
+ [STAC_D945GTP5] = d945gtp5_pin_configs,
+ [STAC_MACMINI] = macmini_pin_configs,
+ [STAC_MACBOOK] = macbook_pin_configs,
++ [STAC_MACBOOK_V2] = macbook_v2_pin_configs,
+ [STAC_MACBOOK_PRO_V1] = macbook_pro_v1_pin_configs,
+ [STAC_MACBOOK_PRO_V2] = macbook_pro_v2_pin_configs,
+ [STAC_IMAC_INTEL] = imac_intel_pin_configs,
+@@ -596,6 +604,7 @@ static const char *stac922x_models[STAC_922X_MODELS] = {
+ [STAC_D945GTP3] = "3stack",
+ [STAC_MACMINI] = "macmini",
+ [STAC_MACBOOK] = "macbook",
++ [STAC_MACBOOK_V2] = "macbook-v2",
+ [STAC_MACBOOK_PRO_V1] = "macbook-pro-v1",
+ [STAC_MACBOOK_PRO_V2] = "macbook-pro",
+ [STAC_IMAC_INTEL] = "imac-intel",
+@@ -2040,6 +2049,9 @@ static int patch_stac922x(struct hda_codec *codec)
+ case 0x106b0a00: /* MacBook First generatoin */
+ spec->board_config = STAC_MACBOOK;
+ break;
++ case 0x106b2200: /* MacBook second generation */
++ spec->board_config = STAC_MACBOOK_V2;
++ break;
+ case 0x100: /* Invalid subsystem ID, happens randomly on
+ * MacBook Pro 1st generation
+ */
Copied: trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macmini_macbook.patch (from rev 133, trunk/kernel/mactel-patches-2.6.22/sigmatel_audio2.patch)
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macmini_macbook.patch (rev 0)
+++ trunk/kernel/mactel-patches-2.6.22/sigmatel_audio_fix_macmini_macbook.patch 2007-07-21 15:19:54 UTC (rev 136)
@@ -0,0 +1,51 @@
+Fix audio on Macmini and Macbook.
+
+From: Takashi Iwai <ti...@su...>
+
+
+---
+
+ sound/pci/hda/patch_sigmatel.c | 18 +++++++++++++++---
+ 1 files changed, 15 insertions(+), 3 deletions(-)
+
+diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
+index e3964fc..686a15a 100644
+--- a/sound/pci/hda/patch_sigmatel.c
++++ b/sound/pci/hda/patch_sigmatel.c
+@@ -549,12 +549,24 @@ static unsigned int d945gtp5_pin_configs[10] = {
+ 0x02a19320, 0x40000100,
+ };
+
+-static unsigned int macbook_pro_v1_pin_configs[10] = {
++static unsigned int macmini_pin_configs[10] = {
++ 0x0321e230, 0x400000fd, 0x9017e110, 0x01014010,
++ 0x400000fd, 0x0381e021, 0x1345e240, 0x13c5e22e,
++ 0x400000fc, 0x400000fb
++};
++
++static unsigned int macbook_pin_configs[10] = {
+ 0x0321e230, 0x03a1e020, 0x9017e110, 0x01014010,
+ 0x01a19021, 0x0381e021, 0x1345e240, 0x13c5e22e,
+ 0x02a19320, 0x400000fb
+ };
+
++static unsigned int macbook_pro_v1_pin_configs[10] = {
++ 0x0321e230, 0x02a7e020, 0x9017e110, 0x01014010,
++ 0x400000fd, 0x0381e021, 0x1345e240, 0x13c5e22e,
++ 0x400000fc, 0x400000fb
++};
++
+ static unsigned int macbook_pro_v2_pin_configs[10] = {
+ 0x0221401f, 0x90a70120, 0x01813024, 0x01014010,
+ 0x400000fd, 0x01016011, 0x1345e240, 0x13c5e22e,
+@@ -571,8 +583,8 @@ static unsigned int *stac922x_brd_tbl[STAC_922X_MODELS] = {
+ [STAC_D945_REF] = ref922x_pin_configs,
+ [STAC_D945GTP3] = d945gtp3_pin_configs,
+ [STAC_D945GTP5] = d945gtp5_pin_configs,
+- [STAC_MACMINI] = macbook_pro_v1_pin_configs,
+- [STAC_MACBOOK] = macbook_pro_v1_pin_configs,
++ [STAC_MACMINI] = macmini_pin_configs,
++ [STAC_MACBOOK] = macbook_pin_configs,
+ [STAC_MACBOOK_PRO_V1] = macbook_pro_v1_pin_configs,
+ [STAC_MACBOOK_PRO_V2] = macbook_pro_v2_pin_configs,
+ [STAC_IMAC_INTEL] = imac_intel_pin_configs,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Sheer El-S. <sh...@gm...> - 2007-07-21 08:51:31
|
I haven't been tracking it very carefully (because I haven't yet bought an Nvidia macbook pro) but the Ubuntu forum seemed to have some interesting information on this: http://ubuntuforums.org/showthread.php?t=474144&page=8 cheers, Sheer On 7/21/07, gela <que...@gm...> wrote: > Hi, > > I have been in nvnews forums, checking for the updates... > > http://www.nvnews.net/vbulletin/showthread.php?t=92980&page=5 > > but in the meantime, the latest xorg nv drivers should work (agh...) - today > I am going to test it with mine.. > > regards. > > > 2007/7/20, Clive Saldanha <cli...@gm...>: > > Does anyone know if the drivers are out for the new NVIDIA card on the MBP > V3. > > > > As of now im getting crazy colour for some older version of the driver. > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Mactel-linux-users mailing list > > Mac...@li... > > > https://lists.sourceforge.net/lists/listinfo/mactel-linux-users > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Mactel-linux-users mailing list > Mac...@li... > https://lists.sourceforge.net/lists/listinfo/mactel-linux-users > > |