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: Matteo B. <ma...@bu...> - 2007-07-03 21:39:35
|
On Tuesday 03 July 2007 21:06:58 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 > Nice job! > > > > ------------------------------------------------------------------------- > 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 -- Matteo Buferli Studente iscritto all'universita di Scienze Informatiche (BO) WebPage: http://buferli.com Blog: http://blog.buferli.com DevelGroup: http://crisidev.org HW: Macbook Core2Duo |
|
From: <ma...@mi...> - 2007-07-03 19:07:06
|
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 |
|
From: Sven A. <an...@an...> - 2007-07-03 16:16:47
|
M.S. schrieb: > Hey there, > > A list/dump of AppleSMC keys for the Macbook1,1 can be found here: > http://sukimashita.com/temp/applesmc-keys-macbook.txt > > Some lines have annotated descriptions (names) for the keys when I found > something. All just guesses aswell. > > Might be interesting to move this into the Wiki instead. Maybe it's structured in some way. I tried the following: Four characters (1234): 1) #KEY = Key count NTOK = Interrupt Ok key T = Temperature sensor 2) A = Ambient B = Enclosure bottom C = CPU G = GPU H = Harddisk (Bay) h = Heatsink M = Memory (bank/module) m = memory Controller N = Northbridge O = Optical drive p = Power supply S = Slot (Expansion) s = Slot (PCI express)??? 3) 0-9,A-Z: Number of sensor 4) C = ?? D = Diode H = Heatsink P = ?? S = ?? T = ?? A = Ambient sensor 2/3) LV = Light value 4) 0-9 = Number of sensor L = Backlight 2) K = Keyboard 3/4) SB = Set backlight M = Motion sensor 1/2) MO = Motion sensors 3/4: _X: X sensor _Y: Y sensor _Z: Z sensor CN: Count LT: Low norm HT: High norm LD: Low duration (norm interval) HD: High duration (norm interval) MS = ?? F = Fan 2) 0-9 = Number of fan 3/4) Ac = Actual speed Mn = Minimal speed Mx = Maximal speed Sf = Safe speed Tg = Target speed ID = Position S! = Set manual Num = Fan count 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: M.S. <ma...@su...> - 2007-07-03 13:19:18
|
Hey there, A list/dump of AppleSMC keys for the Macbook1,1 can be found here: http://sukimashita.com/temp/applesmc-keys-macbook.txt Some lines have annotated descriptions (names) for the keys when I found something. All just guesses aswell. Might be interesting to move this into the Wiki instead. Cheers --- M.S. |
|
From: Ludovic R. <lud...@gm...> - 2007-07-02 19:15:38
|
On 02/07/07, Sven Anders <an...@an...> wrote: > Now I need the data from a MBP 17"! Anybody owning a 17" MacBook Pro???? With a MacBook Pro 17" CoreDuo (first model) Pressing the Fn key gives me: Event: time 1183403571.117207, -------------- Report Sync ------------ Event: time 1183403572.141234, type 1 (Key), code 464 (?), value 1 Event: time 1183403572.141242, -------------- Report Sync ------------ Event: time 1183403572.205236, type 1 (Key), code 464 (?), value 0 Event: time 1183403572.205247, -------------- Report Sync ------------ Event: time 1183403572.725256, type 1 (Key), code 464 (?), value 1 Event: time 1183403572.725264, -------------- Report Sync ------------ I have no mactel patch applied. Just a 2.6.18-4-686 Debian kernel. Bye -- Dr. Ludovic Rousseau |
|
From: Stefan S. <ge...@ge...> - 2007-07-02 18:51:44
|
Sven Anders wrote: > Does it occure, if you start your movement in the middle of the touchpad > or only on the left or right? It occurs everywhere and I just checked it is not because of palm detection: # cat /sys/module/appletouch/parameters/palm_detect 0 Best regards, Stefan |
|
From: Soeren S. <mac...@nn...> - 2007-07-02 10:03:06
|
On Mon, 2007-07-02 at 11:20 +0200, Sven Anders wrote: > Stefan Schweizer schrieb: > > Soeren Sonnenburg wrote: > >>> Also I noticed that palm detection does work badly here and does > >>> seriously degrade the touchpads quality. So I disable that and debug. > >>> Also after suspend sometimes appletouch behaves strangely. > >> what do you mean be 'behaves strangely' ? > > > > it did not move or moved back when I moved my finger. But it could also be > > connected with the palm detection not working porperly and thus many finger > > movements being ignored. > > Does it occure, if you start your movement in the middle of the touchpad or > only on the left or right? > > > But I sure hve the problem that after syspend the synaptics scroll function > > does not work. After chvt 1 and chvt 7 it works again. Do you know any > > other way to reinitialize that? > > I think, this is a problem of the Synaptics driver, because I does not have > hotplug capabilites. I think the next Xorg version will solve this problem... As I don't have this problem, it is eitherfixed in xserver-xorg-input-synaptics 0.14.7~git20070517-2 or by the static device name I use in xorg.conf: Option "Device" "/dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-mouse" Soeren |
|
From: Sven A. <an...@an...> - 2007-07-02 09:20:52
|
Stefan Schweizer schrieb:
> Soeren Sonnenburg wrote:
>>> Also I noticed that palm detection does work badly here and does
>>> seriously degrade the touchpads quality. So I disable that and debug.
>>> Also after suspend sometimes appletouch behaves strangely.
>> what do you mean be 'behaves strangely' ?
>
> it did not move or moved back when I moved my finger. But it could also be
> connected with the palm detection not working porperly and thus many finger
> movements being ignored.
Does it occure, if you start your movement in the middle of the touchpad or
only on the left or right?
> But I sure hve the problem that after syspend the synaptics scroll function
> does not work. After chvt 1 and chvt 7 it works again. Do you know any
> other way to reinitialize that?
I think, this is a problem of the Synaptics driver, because I does not have
hotplug capabilites. I think the next Xorg version will solve this problem...
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: Stefan S. <ge...@ge...> - 2007-07-02 09:11:54
|
Soeren Sonnenburg wrote: >> Also I noticed that palm detection does work badly here and does >> seriously degrade the touchpads quality. So I disable that and debug. >> Also after suspend sometimes appletouch behaves strangely. > > what do you mean be 'behaves strangely' ? it did not move or moved back when I moved my finger. But it could also be connected with the palm detection not working porperly and thus many finger movements being ignored. But I sure hve the problem that after syspend the synaptics scroll function does not work. After chvt 1 and chvt 7 it works again. Do you know any other way to reinitialize that? Best regards, Stefan |
|
From: Soeren S. <mac...@nn...> - 2007-07-02 08:57:56
|
On Mon, 2007-07-02 at 10:50 +0200, Stefan Schweizer wrote: > On 7/2/07, Sven Anders <an...@an...> wrote: > > > does not work here with the fn key > > > > Can you run the attached event tool (evtest.c) please? > > I need the reported 'code', if you press the fn key... > > > > gcc -o evtest evtest.c > > ./evtest /dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-event-kbd > > > > > Event: time 1183366044.506268, type 1 (Key), code 29 (LeftControl), value 0 > Event: time 1183366044.506278, -------------- Report Sync ------------ > Event: time 1183366044.882232, type 1 (Key), code 464 (?), value 1 > Event: time 1183366044.882240, -------------- Report Sync ------------ > > > the 464 is the fn key :) > > Also I noticed that palm detection does work badly here and does > seriously degrade the touchpads quality. So I disable that and debug. > Also after suspend sometimes appletouch behaves strangely. what do you mean be 'behaves strangely' ? Soeren |
|
From: Stefan S. <ge...@ge...> - 2007-07-02 08:50:23
|
On 7/2/07, Sven Anders <an...@an...> wrote: > > does not work here with the fn key > > Can you run the attached event tool (evtest.c) please? > I need the reported 'code', if you press the fn key... > > gcc -o evtest evtest.c > ./evtest /dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-event-kbd > Event: time 1183366044.506268, type 1 (Key), code 29 (LeftControl), value 0 Event: time 1183366044.506278, -------------- Report Sync ------------ Event: time 1183366044.882232, type 1 (Key), code 464 (?), value 1 Event: time 1183366044.882240, -------------- Report Sync ------------ the 464 is the fn key :) Also I noticed that palm detection does work badly here and does seriously degrade the touchpads quality. So I disable that and debug. Also after suspend sometimes appletouch behaves strangely. -Stefan |
|
From: Sven A. <an...@an...> - 2007-07-02 08:41:19
|
Hello!
Thanks for your mail!
Stefan Schweizer schrieb:
>> The second-mouse-button-emulation now works with the 'fn' key pressed,
>> unfortunatly not with the 'ctrl' key...
>
> does not work here with the fn key
Can you run the attached event tool (evtest.c) please?
I need the reported 'code', if you press the fn key...
gcc -o evtest evtest.c
./evtest /dev/input/by-id/usb-Apple_Computer_Apple_Internal_Keyboard_._Trackpad-event-kbd
> macbook, 1280x800, 14", bought newly 7/2006
> sys_vendor = "Apple Computer, Inc."
> sys_product = "MacBook1,1"
> sys_version = "1.0"
> bios_version = " MB11.88Z.0061.B03.0610121324"
>
> * Please send the following lines together with a description of your Mac
> * (MacBook/MacBookPro, Screen-Size, Revision, Build-Year) to:
> an...@an...
> * This will help to improve this driver...
> * RequestID 6 data received:
> * 05 01 09 02 a1 01 09 01 a1 00 05 09 19 01 29 03 15 00 25 01 85 02 95 03 75
> 01 81 02 95 01 75 05 81 01 05 01 09 30 09 31 15 81 25 7f 75 08 95 02 81 06
> c0 c0 05 ff 09 01 a1 00 09 02 15 01 25 41 35 00 45 ff 85 05 75 08 95 3f 81
> 00 09 04 15 80 25 7f 75 08 95 10 b1 02 c0
> * Thank you!
Now I need the data from a MBP 17"! Anybody owning a 17" MacBook Pro????
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: Soeren S. <mac...@nn...> - 2007-07-01 07:35:14
|
On Sat, 2007-06-30 at 16:30 +0200, Sven Anders wrote:
> Hello!
>
> I asked one of the developers of the nice iStatPro Widget, which meanings
> the cryptic values have. I got the following response:
this translates to the following in sensors.conf (maybe it is worth
hiding the unknown ones...)
chip "applesmc-isa-0300"
label "temp1" "Ambient"
label "temp2" "Enclosure Bottom"
label "temp3" "CPU A"
label "temp4" "unknown TC0P"
label "temp5" "GPU Heatsink"
label "temp6" "GPU"
label "temp7" "unknown TG0T"
label "temp8" "Heatsink A"
label "temp9" "Heatsink B"
label "temp10" "Memory Controller"
label "temp11" "unknown Ts0P"
label "temp12" "unknown Ts1P"
label "fan1" "Left Fan"
label "fan2" "Right Fan"
chip "coretemp-isa-0000"
label temp1 "Core0"
chip "coretemp-isa-0001"
label temp1 "Core1"
$ sensors -u
applesmc-isa-0300
Adapter: ISA adapter
Ambient: 25.00 (temp1)
Enclosure Bottom: 36.50 (temp2)
CPU A: 53.00 (temp3)
unknown TC0P: 48.00 (temp4)
GPU Heatsink: 52.25 (temp5)
GPU: 51.75 (temp6)
unknown TG0T: 55.25 (temp7)
Heatsink A: 43.00 (temp8)
Heatsink B: 41.00 (temp9)
Memory Controller: 49.50 (temp10)
unknown Ts0P: 35.50 (temp11)
unknown Ts1P: 35.00 (temp12)
Left Fan: 2534.00 (fan1)
fan1_min: 2500.00 (fan1_min)
fan1_max: 6000.00 (fan1_max)
fan1_safe: 1200.00 (fan1_safe)
Right Fan: 2534.00 (fan2)
fan2_min: 2500.00 (fan2_min)
fan2_max: 6000.00 (fan2_max)
fan2_safe: 1200.00 (fan2_safe)
coretemp-isa-0000
Adapter: ISA adapter
Core0: 47.00 (temp1)
temp1_crit: 100.00 (temp1_crit)
temp1_crit_alarm: 0.00 (temp1_crit_alarm)
coretemp-isa-0001
Adapter: ISA adapter
Core1: 52.00 (temp1)
temp1_crit: 100.00 (temp1_crit)
temp1_crit_alarm: 0.00 (temp1_crit_alarm)
> > Hi,
> > Our names are basically educated guesses. We really don't know if ours
> > are 100% correct but we have compared ours to other products and they seem
> > to be the same more or less.
> > You can get our current list of names from inside the iStat pro widget
> > (iStat pro.wdgt/iStatPro.bundle/Contents/Resources/s/intel/iStatIntelControlleriStatPro.m)
[...]
> [keyDisplayNames setValue:@"Enclosure Bottom" forKey:@"TB0T"];
> [keyDisplayNames setValue:@"Northbridge 1" forKey:@"TN0P"];
> [keyDisplayNames setValue:@"Northbridge 2" forKey:@"TN1P"];
> [keyDisplayNames setValue:@"Northbridge" forKey:@"TN0H"];
> [keyDisplayNames setValue:@"Expansion Slots" forKey:@"TS0C"];
[...]
There are quite a few keys in there which applesmc does not use...
Soeren
|
|
From: Stefan S. <ge...@ge...> - 2007-06-30 17:04:19
|
Sven Anders wrote:
> The second-mouse-button-emulation now works with the 'fn' key pressed,
> unfortunatly not with the 'ctrl' key...
does not work here with the fn key
macbook, 1280x800, 14", bought newly 7/2006
sys_vendor = "Apple Computer, Inc."
sys_product = "MacBook1,1"
sys_version = "1.0"
bios_version = " MB11.88Z.0061.B03.0610121324"
* Please send the following lines together with a description of your Mac
* (MacBook/MacBookPro, Screen-Size, Revision, Build-Year) to:
an...@an...
* This will help to improve this driver...
* RequestID 6 data received:
* 05 01 09 02 a1 01 09 01 a1 00 05 09 19 01 29 03 15 00 25 01 85 02 95 03 75
01 81 02 95 01 75 05 81 01 05 01 09 30 09 31 15 81 25 7f 75 08 95 02 81 06
c0 c0 05 ff 09 01 a1 00 09 02 15 01 25 41 35 00 45 ff 85 05 75 08 95 3f 81
00 09 04 15 80 25 7f 75 08 95 10 b1 02 c0
* Thank you!
Best regards,
Stefan
|
|
From: Sven A. <an...@an...> - 2007-06-30 14:30:52
|
Hello!
I asked one of the developers of the nice iStatPro Widget, which meanings
the cryptic values have. I got the following response:
> Hi,
> Our names are basically educated guesses. We really don't know if ours
> are 100% correct but we have compared ours to other products and they seem
> to be the same more or less.
> You can get our current list of names from inside the iStat pro widget
> (iStat pro.wdgt/iStatPro.bundle/Contents/Resources/s/intel/iStatIntelControlleriStatPro.m)
>
> Cheers,
> Brad
This should help to create a correct config file for lm_sensors and to add them
as comments to the AppleSMC driver...
These is the relevant part of the file:
keyDisplayNames = [[NSMutableDictionary alloc] init];
[keyDisplayNames setValue:@"Memory Controller" forKey:@"Tm0P"];
[keyDisplayNames setValue:@"Mem Bank A1" forKey:@"TM0P"];
[keyDisplayNames setValue:@"Mem Bank A2" forKey:@"TM1P"];
[keyDisplayNames setValue:@"Mem Bank A3" forKey:@"TM2P"];
[keyDisplayNames setValue:@"Mem Bank A4" forKey:@"TM3P"]; // guessing
[keyDisplayNames setValue:@"Mem Bank A5" forKey:@"TM4P"]; // guessing
[keyDisplayNames setValue:@"Mem Bank A6" forKey:@"TM5P"]; // guessing
[keyDisplayNames setValue:@"Mem Bank A7" forKey:@"TM6P"]; // guessing
[keyDisplayNames setValue:@"Mem Bank A8" forKey:@"TM7P"]; // guessing
[keyDisplayNames setValue:@"Mem Bank B1" forKey:@"TM8P"];
[keyDisplayNames setValue:@"Mem Bank B2" forKey:@"TM9P"];
[keyDisplayNames setValue:@"Mem Bank B3" forKey:@"TMAP"];
[keyDisplayNames setValue:@"Mem Bank B4" forKey:@"TMBP"]; // guessing
[keyDisplayNames setValue:@"Mem Bank B5" forKey:@"TMCP"]; // guessing
[keyDisplayNames setValue:@"Mem Bank B6" forKey:@"TMDP"]; // guessing
[keyDisplayNames setValue:@"Mem Bank B7" forKey:@"TMEP"]; // guessing
[keyDisplayNames setValue:@"Mem Bank B8" forKey:@"TMFP"]; // guessing
[keyDisplayNames setValue:@"Mem module A1" forKey:@"TM0S"];
[keyDisplayNames setValue:@"Mem module A2" forKey:@"TM1S"];
[keyDisplayNames setValue:@"Mem module A3" forKey:@"TM2S"];
[keyDisplayNames setValue:@"Mem module A4" forKey:@"TM3S"];// guessing
[keyDisplayNames setValue:@"Mem module A5" forKey:@"TM4S"]; // guessing
[keyDisplayNames setValue:@"Mem module A6" forKey:@"TM5S"]; // guessing
[keyDisplayNames setValue:@"Mem module A7" forKey:@"TM6S"]; // guessing
[keyDisplayNames setValue:@"Mem module A8" forKey:@"TM7S"]; // guessing
[keyDisplayNames setValue:@"Mem module B1" forKey:@"TM8S"];
[keyDisplayNames setValue:@"Mem module B2" forKey:@"TM9S"];
[keyDisplayNames setValue:@"Mem module B3" forKey:@"TMAS"];
[keyDisplayNames setValue:@"Mem module B4" forKey:@"TMBS"]; // guessing
[keyDisplayNames setValue:@"Mem module B5" forKey:@"TMCS"]; // guessing
[keyDisplayNames setValue:@"Mem module B6" forKey:@"TMDS"]; // guessing
[keyDisplayNames setValue:@"Mem module B7" forKey:@"TMES"]; // guessing
[keyDisplayNames setValue:@"Mem module B8" forKey:@"TMFS"]; // guessing
[keyDisplayNames setValue:@"CPU A" forKey:@"TC0H"];
[keyDisplayNames setValue:@"CPU A" forKey:@"TC0D"];
[keyDisplayNames setValue:@"CPU B" forKey:@"TC1D"];
[keyDisplayNames setValue:@"CPU A" forKey:@"TCAH"];
[keyDisplayNames setValue:@"CPU B" forKey:@"TCBH"];
[keyDisplayNames setValue:@"GPU" forKey:@"TG0P"];
[keyDisplayNames setValue:@"Ambient" forKey:@"TA0P"];
[keyDisplayNames setValue:@"HD Bay 1" forKey:@"TH0P"];
[keyDisplayNames setValue:@"HD Bay 2" forKey:@"TH1P"];
[keyDisplayNames setValue:@"HD Bay 3" forKey:@"TH2P"];
[keyDisplayNames setValue:@"HD Bay 4" forKey:@"TH3P"];
[keyDisplayNames setValue:@"Optical Drive" forKey:@"TO0P"];
[keyDisplayNames setValue:@"Heatsink A" forKey:@"Th0H"];
[keyDisplayNames setValue:@"Heatsink B" forKey:@"Th1H"];
[keyDisplayNames setValue:@"GPU Diode" forKey:@"TG0D"];
[keyDisplayNames setValue:@"GPU Heatsink" forKey:@"TG0H"];
[keyDisplayNames setValue:@"Power supply 2" forKey:@"Tp1C"];
[keyDisplayNames setValue:@"Power supply 1" forKey:@"Tp0C"];
[keyDisplayNames setValue:@"Enclosure Bottom" forKey:@"TB0T"];
[keyDisplayNames setValue:@"Northbridge 1" forKey:@"TN0P"];
[keyDisplayNames setValue:@"Northbridge 2" forKey:@"TN1P"];
[keyDisplayNames setValue:@"Northbridge" forKey:@"TN0H"];
[keyDisplayNames setValue:@"Expansion Slots" forKey:@"TS0C"];
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: Steffen L. <ste...@gm...> - 2007-06-30 10:39:38
|
Hi,
it seems the iMacs (Intel) aren't supported with this driver. I managed
to get it working altering the applesmc_whitelist-struct and adding a
new entry for "iMac", with pointers to the Macmini-configs:
/* Note that DMI_MATCH(...,"MacBook") will match "MacBookPro1,1".
* So we need to put APPLESMC_MACBOOKPRO_DMI_MATCH before
* APPLESMC_MACBOOK_DMI_MATCH. */
struct dmi_system_id applesmc_whitelist[] = {
{ applesmc_dmi_match, "Apple MacBook Pro", {
DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
DMI_MATCH(DMI_PRODUCT_NAME,"MacBookPro") },
(void*)&applesmc_dmi_data[0]},
{ applesmc_dmi_match, "Apple MacBook", {
DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
DMI_MATCH(DMI_PRODUCT_NAME,"MacBook") },
(void*)&applesmc_dmi_data[1]},
{ applesmc_dmi_match, "Apple Macmini", {
DMI_MATCH(DMI_BOARD_VENDOR,"Apple"),
DMI_MATCH(DMI_PRODUCT_NAME,"iMac") },
(void*)&applesmc_dmi_data[2]},
{ .ident = NULL }
The module loads, and I have control over two temperature-sensors and
two fans on my iMac Core Duo.
|
|
From: Scott D. D. <da...@4p...> - 2007-06-29 13:43:28
|
>I have the feeling that something is missing in your mail ;) > Something ate my reply to this so here is the link, http://forum.awkwardtv.org/viewtopic.php?f=23&t=301&hilit= Scott |
|
From: Soeren S. <mac...@nn...> - 2007-06-29 11:07:27
|
On Sun, 2007-06-24 at 11:04 +0200, Nicolas Boichat wrote: > Soeren Sonnenburg wrote: > > The attached patch tries to resolve the 'appletouch runs amok' problem, > > which accured *for me* after using the mbp for a couple of hours/days > > with the power-saving [PATCH] Make appletouch shut up when it has > > nothing to say from Matthew Garrett. > > > > I am using it for 3 days now without ever running in trouble. So I think > > it is ready for wider testing. > > In SVN now, so it will get wider testing .-) I've had the same problem to re-appear like a week ago. Since then I have been investigating this issue further and am attaching a new patch which survived for the last 5 days. First of all the left mouse button is just bit one in the status byte (the last byte in the package) as was discovered by sven anders. Second, when appletouch after 10 idle packages does a mode reset, the data should marked invalid (then on the next touch the driver re-gets data once without moving mouse etc). This is important if the touchpad conditions change (e.g. long time no touch + bigger temperature change). However sven figured out that bit 3 of the status bit should actually be used to re-get touchpad data. So if you want a working minimally intrusive patch use this one. I will in future only contribute to svens much more mature work. Soeren |
|
From: Sven A. <an...@an...> - 2007-06-28 07:44:03
|
Hello!
Here is a new version of my appletouch driver.
If anybody has time, please test it and give some feedback!
The second-mouse-button-emulation now works with the 'fn' key pressed,
unfortunatly not with the 'ctrl' key...
The problem with scrolling still persist, but this version is almost
usable...
I need some feedback from users, who have access to an PowerBook, because I
want to be sure, these are still supported...
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: gimli <gi...@da...> - 2007-06-28 07:07:50
|
I have the feeling that something is missing in your mail ;) cu gimli Scott D. Davilla schrieb: > Here's a guide I crafted for creating all the required AppleTV > partitions (EFI, Apple_Recovery and BootOS (HFS). It has info about a > patch to parted to make the Apple_Recovery partition that was the > missing piece for a total linux solution in formating AppleTV > bootable drives. > > enjoy. > Scott > |
|
From: Scott D. D. <da...@4p...> - 2007-06-28 01:45:45
|
Here's a guide I crafted for creating all the required AppleTV partitions (EFI, Apple_Recovery and BootOS (HFS). It has info about a patch to parted to make the Apple_Recovery partition that was the missing piece for a total linux solution in formating AppleTV bootable drives. enjoy. Scott -- ----------------------------------------------------------------------- Scott D. Davilla Phone: 919 489-1757 ext 13 (tel) 4pi Analysis, Inc. Fax: 919 489-1487 (fax) 3500 Westgate Drive, Suite 403 email: da...@4p... Durham, North Carolina 27707-2534 web: http://www.4pi.com |
|
From: Scott D. D. <da...@4p...> - 2007-06-27 13:59:31
|
> > the AppleTV platform as sufficient power to decode 1080i with 30 >> percent idle left over. > >What codec was used for the video? MPEG2 or MPEG4/H.264? The Linux based nvidia private driver only hardware decodes MPEG2. The native AppleTV OSX driver hardware decodes MPEG4/H.264 but not MPEG2. It's a mystery under OSX why Apple does not permit MPEG2 hardware decode except through their DVD player application. So under Linux you can do MPEG2 decode of HD content unless nvidia decides that MPEG4/H.264 under linux is worth their time. Scott |
|
From: <nbo...@us...> - 2007-06-27 13:14:49
|
Revision: 133
http://svn.sourceforge.net/mactel-linux/?rev=133&view=rev
Author: nboichat
Date: 2007-06-27 06:14:46 -0700 (Wed, 27 Jun 2007)
Log Message:
-----------
Fix Macbook temperature readings.
Fix some patches using checkpatch.pl
Modified Paths:
--------------
trunk/kernel/mactel-patches-2.6.22/appleir.patch
trunk/kernel/mactel-patches-2.6.22/applesmc-use-input-polldev.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/applesmc-add-macbook-temperature-keys.patch
Modified: trunk/kernel/mactel-patches-2.6.22/appleir.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/appleir.patch 2007-06-24 09:03:48 UTC (rev 132)
+++ trunk/kernel/mactel-patches-2.6.22/appleir.patch 2007-06-27 13:14:46 UTC (rev 133)
@@ -44,7 +44,7 @@
obj-$(CONFIG_INPUT_YEALINK) += yealink.o
diff --git a/drivers/input/misc/appleir.c b/drivers/input/misc/appleir.c
new file mode 100644
-index 0000000..170cee6
+index 0000000..3ff46fc
--- /dev/null
+++ b/drivers/input/misc/appleir.c
@@ -0,0 +1,379 @@
@@ -110,7 +110,7 @@
+
+
+static struct usb_device_id appleir_ids[] = {
-+ {
++ {
+ USB_DEVICE(USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_IR),
+ .driver_info = 0
+ },
@@ -145,7 +145,7 @@
+};
+
+static void dump_packet(struct appleir *appleir, char *msg,
-+ uint8_t * data, int len)
++ uint8_t *data, int len)
+{
+ int i;
+
@@ -184,7 +184,7 @@
+
+static void key_up_tick(unsigned long data)
+{
-+ struct appleir *apple_ir = (struct appleir*)data;
++ struct appleir *apple_ir = (struct appleir *)data;
+
+ if (apple_ir->current_key) {
+ key_up(apple_ir, apple_ir->current_key);
@@ -205,7 +205,7 @@
+ return;
+
+ if (!memcmp(data, keydown, sizeof(keydown))) {
-+ /*
++ /*
+ * If we already have a key down, take it up before marking
+ * this one down.
+ */
@@ -416,7 +416,7 @@
+ if (retval)
+ goto out;
+ info(DRIVER_VERSION ":" DRIVER_DESC);
-+ out:
++out:
+ return retval;
+}
+
Added: 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 (rev 0)
+++ trunk/kernel/mactel-patches-2.6.22/applesmc-add-macbook-temperature-keys.patch 2007-06-27 13:14:46 UTC (rev 133)
@@ -0,0 +1,46 @@
+Fix AppleSMC registers on non-pro Macbooks.
+
+From: Martin Szulecki <ma...@su...>
+
+
+---
+
+ drivers/hwmon/applesmc.c | 14 +++++++++-----
+ 1 files changed, 9 insertions(+), 5 deletions(-)
+
+diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
+index eb81a64..232cbad 100644
+--- a/drivers/hwmon/applesmc.c
++++ b/drivers/hwmon/applesmc.c
+@@ -79,11 +79,15 @@
+
+ /*
+ * Temperature sensors keys (sp78 - 2 bytes).
+- * First set for Macbook(Pro), second for Macmini.
+ */
+ static const char* temperature_sensors_sets[][13] = {
++/* Set 0: Macbook Pro */
+ { "TA0P", "TB0T", "TC0D", "TC0P", "TG0H", "TG0P", "TG0T", "Th0H",
+ "Th1H", "Tm0P", "Ts0P", "Ts1P", NULL },
++/* Set 1: Macbook set */
++ { "TB0T", "TC0D", "TC0P", "TM0P", "TN0P", "TN1P", "Th0H", "Th0S",
++ "Th1H", "Ts0P", NULL },
++/* Set 2: Macmini set */
+ { "TC0D", "TC0P", NULL }
+ };
+
+@@ -1129,10 +1133,10 @@ static void applesmc_release_accelerometer(void)
+ static __initdata struct dmi_match_data applesmc_dmi_data[] = {
+ /* MacBook Pro: accelerometer, backlight and temperature set 0 */
+ { .accelerometer = 1, .light = 1, .temperature_set = 0 },
+-/* MacBook: accelerometer and temperature set 0 */
+- { .accelerometer = 1, .light = 0, .temperature_set = 0 },
+-/* MacBook: temperature set 1 */
+- { .accelerometer = 0, .light = 0, .temperature_set = 1 }
++/* MacBook: accelerometer and temperature set 1 */
++ { .accelerometer = 1, .light = 0, .temperature_set = 1 },
++/* MacMini: 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-use-input-polldev.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/applesmc-use-input-polldev.patch 2007-06-24 09:03:48 UTC (rev 132)
+++ trunk/kernel/mactel-patches-2.6.22/applesmc-use-input-polldev.patch 2007-06-27 13:14:46 UTC (rev 133)
@@ -26,7 +26,7 @@
help
This driver provides support for the Apple System Management
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
-index e523851..ff56afd 100644
+index fd1281f..eb81a64 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -28,7 +28,7 @@
@@ -38,7 +38,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/timer.h>
-@@ -67,9 +67,9 @@
+@@ -59,9 +59,9 @@
#define LIGHT_SENSOR_LEFT_KEY "ALV0" /* r-o {alv (6 bytes) */
#define LIGHT_SENSOR_RIGHT_KEY "ALV1" /* r-o {alv (6 bytes) */
@@ -50,7 +50,7 @@
#define MOTION_SENSOR_X_KEY "MO_X" /* r-o sp78 (2 bytes) */
#define MOTION_SENSOR_Y_KEY "MO_Y" /* r-o sp78 (2 bytes) */
-@@ -120,7 +120,7 @@ static const char* fan_speed_keys[] = {
+@@ -99,7 +99,7 @@ static const char* fan_speed_keys[] = {
#define INIT_TIMEOUT_MSECS 5000 /* wait up to 5s for device init ... */
#define INIT_WAIT_MSECS 50 /* ... in 50ms increments */
@@ -59,7 +59,7 @@
#define APPLESMC_INPUT_FUZZ 4 /* input event threshold */
#define APPLESMC_INPUT_FLAT 4
-@@ -142,8 +142,7 @@ static const int debug;
+@@ -121,8 +121,7 @@ static const int debug;
static struct platform_device *pdev;
static s16 rest_x;
static s16 rest_y;
@@ -69,7 +69,7 @@
static struct class_device *hwmon_class_dev;
/* Indicates whether this computer has an accelerometer. */
-@@ -155,7 +154,7 @@ static unsigned int applesmc_light;
+@@ -134,7 +133,7 @@ static unsigned int applesmc_light;
/* Indicates which temperature sensors set to use. */
static unsigned int applesmc_temperature_set;
@@ -78,7 +78,7 @@
/*
* Last index written to key_at_index sysfs file, and value to use for all other
-@@ -593,27 +592,12 @@ static void applesmc_calibrate(void)
+@@ -451,27 +450,12 @@ static void applesmc_calibrate(void)
rest_x = -rest_x;
}
@@ -109,7 +109,7 @@
if (applesmc_read_motion_sensor(SENSOR_X, &x))
goto out;
-@@ -621,13 +605,11 @@ static void applesmc_idev_poll(unsigned long unused)
+@@ -479,13 +463,11 @@ static void applesmc_idev_poll(unsigned long unused)
goto out;
x = -x;
@@ -126,7 +126,7 @@
mutex_unlock(&applesmc_lock);
}
-@@ -959,8 +941,7 @@ static ssize_t applesmc_key_at_index_read_show(struct device *dev,
+@@ -817,8 +799,7 @@ static ssize_t applesmc_key_at_index_read_show(struct device *dev,
if (!ret) {
return info[0];
@@ -136,7 +136,7 @@
return ret;
}
}
-@@ -1359,6 +1340,7 @@ static int applesmc_dmi_match(struct dmi_system_id *id)
+@@ -1089,6 +1070,7 @@ static int applesmc_dmi_match(struct dmi_system_id *id)
/* Create accelerometer ressources */
static int applesmc_create_accelerometer(void)
{
@@ -144,7 +144,7 @@
int ret;
ret = sysfs_create_group(&pdev->dev.kobj,
-@@ -1366,40 +1348,37 @@ static int applesmc_create_accelerometer(void)
+@@ -1096,40 +1078,37 @@ static int applesmc_create_accelerometer(void)
if (ret)
goto out;
@@ -199,7 +199,7 @@
out_sysfs:
sysfs_remove_group(&pdev->dev.kobj, &accelerometer_attributes_group);
-@@ -1412,8 +1391,8 @@ out:
+@@ -1142,8 +1121,8 @@ out:
/* Release all ressources used by the accelerometer */
static void applesmc_release_accelerometer(void)
{
@@ -210,7 +210,7 @@
sysfs_remove_group(&pdev->dev.kobj, &accelerometer_attributes_group);
}
-@@ -1450,8 +1429,6 @@ static int __init applesmc_init(void)
+@@ -1180,8 +1159,6 @@ static int __init applesmc_init(void)
int count;
int i;
Modified: trunk/kernel/mactel-patches-2.6.22/applesmc_int.patch
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/applesmc_int.patch 2007-06-24 09:03:48 UTC (rev 132)
+++ trunk/kernel/mactel-patches-2.6.22/applesmc_int.patch 2007-06-27 13:14:46 UTC (rev 133)
@@ -5,11 +5,11 @@
---
- drivers/hwmon/applesmc.c | 316 +++++++++++++++++++++++++++++++++++++++++++---
- 1 files changed, 293 insertions(+), 23 deletions(-)
+ drivers/hwmon/applesmc.c | 321 +++++++++++++++++++++++++++++++++++++++++++---
+ 1 files changed, 298 insertions(+), 23 deletions(-)
diff --git a/drivers/hwmon/applesmc.c b/drivers/hwmon/applesmc.c
-index fd1281f..e523851 100644
+index 232cbad..933a72d 100644
--- a/drivers/hwmon/applesmc.c
+++ b/drivers/hwmon/applesmc.c
@@ -39,14 +39,20 @@
@@ -41,12 +41,12 @@
+
#define LIGHT_SENSOR_LEFT_KEY "ALV0" /* r-o {alv (6 bytes) */
#define LIGHT_SENSOR_RIGHT_KEY "ALV1" /* r-o {alv (6 bytes) */
- #define BACKLIGHT_KEY "LKSB" /* w-o {lkb (2 bytes) */
+ #define BACKLIGHT_KEY "LKSB" /* w-o {lkb (2 bytes) */
@@ -68,6 +76,19 @@
#define MOTION_SENSOR_Z_KEY "MO_Z" /* r-o sp78 (2 bytes) */
#define MOTION_SENSOR_KEY "MOCN" /* r/w ui16 */
-+/*
++/*
+ * Interrupt controls.
+ * If the norm of the position (sqrt(MO_X^2+MO_Y^2+MO_Z^2)) is smaller than
+ * MOLT (free fall), or bigger than MOHT (high acceleration) for longer than the
@@ -62,18 +62,18 @@
#define FANS_COUNT "FNum" /* r-o ui8 */
#define FANS_MANUAL "FS! " /* r-w ui16 */
#define FAN_ACTUAL_SPEED "F0Ac" /* r-o fpe2 (2 bytes) */
-@@ -348,12 +369,79 @@ static int applesmc_read_motion_sensor(int index, s16* value)
+@@ -351,12 +372,83 @@ static int applesmc_read_motion_sensor(int index, s16* value)
}
/*
-+ * applesmc_init_check_key_value - checks if a given key contains the bytes in
++ * applesmc_init_check_key_value - checks if a given key contains the bytes in
+ * buffer, if not, writes these bytes.
+ * In case of failure retry every INIT_WAIT_MSECS msec, and timeout if it
+ * waited more than INIT_TIMEOUT_MSECS in total.
+ * Returns zero on success or a negative error on failure. Callers must
+ * hold applesmc_lock.
+ */
-+static int applesmc_init_check_key_value(const char* key, u8* buffer, u8 len)
++static int applesmc_init_check_key_value(const char *key, u8 *buffer, u8 len)
+{
+ int total, ret, i, compare;
+ u8 rdbuffer[APPLESMC_MAX_DATA_LENGTH];
@@ -86,7 +86,8 @@
+ }
+
+ for (total = INIT_TIMEOUT_MSECS; total > 0; total -= INIT_WAIT_MSECS) {
-+ if (!(ret = applesmc_read_key(key, rdbuffer, len))) {
++ ret = applesmc_read_key(key, rdbuffer, len);
++ if (!ret) {
+ compare = 1;
+ for (i = 0; i < len; i++) {
+ if (rdbuffer[i] != buffer[i]) {
@@ -97,7 +98,7 @@
+
+ if (compare) {
+ return 0;
-+ }
++ }
+ }
+ ret = applesmc_write_key(key, buffer, len);
+ msleep(INIT_WAIT_MSECS);
@@ -115,17 +116,20 @@
+
+ switch (int_type) {
+ case 0x60:
-+ printk("applesmc: received a free fall interrupt\n");
++ printk(KERN_INFO "applesmc: received a free fall interrupt\n");
+ break;
+ case 0x6f:
-+ printk("applesmc: received a high acceleration interrupt\n");
++ printk(KERN_INFO
++ "applesmc: received a high acceleration interrupt\n");
+ break;
+ case 0x80:
-+ printk("applesmc: received a shock interrupt\n");
++ printk(KERN_INFO "applesmc: received a shock interrupt\n");
+ break;
+ default:
-+ printk("applesmc: received an unknown interrupt %x\n", int_type);
-+ }
++ printk(KERN_INFO
++ "applesmc: received an unknown interrupt %x\n",
++ int_type);
++ }
+
+ return IRQ_HANDLED;
+}
@@ -143,7 +147,7 @@
u8 buffer[2];
if (!applesmc_accelerometer)
-@@ -361,32 +449,79 @@ static int applesmc_device_init(void)
+@@ -364,32 +456,79 @@ static int applesmc_device_init(void)
mutex_lock(&applesmc_lock);
@@ -172,7 +176,7 @@
- buffer[1] = 0x00;
- applesmc_write_key(MOTION_SENSOR_KEY, buffer, 2);
+ ret1 = applesmc_write_key(INTERRUPT_OK_KEY, buffer, 1);
-+ msleep(INIT_WAIT_MSECS);
+ msleep(INIT_WAIT_MSECS);
+
+ if (!ret1)
+ break;
@@ -193,9 +197,10 @@
+ if (ret1 || ret2) {
+ printk(KERN_WARNING "applesmc: Cannot set motion sensor "
+ "interrupt interval, might not receive "
-+ "some interrupts.");
-+ }
-+
++ "some interrupts.");
+ }
+
+- printk(KERN_WARNING "applesmc: failed to init the device\n");
+ buffer[0] = 0x00;
+ buffer[1] = 0x60;
+ ret1 = applesmc_init_check_key_value(MOTION_LOW_NORM, buffer, 2);
@@ -207,14 +212,14 @@
+ if (ret1 || ret2) {
+ printk(KERN_WARNING "applesmc: Cannot set motion sensor "
+ "min/max norm parameters, "
-+ "might not receive some interrupts.");
++ "might not receive some interrupts.");
+ }
+
+ /* Mysterious key. */
+ buffer[0] = 0x01;
+ for (total = INIT_TIMEOUT_MSECS; total > 0; total -= INIT_WAIT_MSECS) {
+ ret1 = applesmc_write_key(MSDW_KEY, buffer, 1);
- msleep(INIT_WAIT_MSECS);
++ msleep(INIT_WAIT_MSECS);
+
+ if (!ret1)
+ break;
@@ -229,9 +234,8 @@
+ printk(KERN_WARNING "applesmc: failed to init "
+ "the accelerometer\n");
+ goto out;
- }
-
-- printk(KERN_WARNING "applesmc: failed to init the device\n");
++ }
++
+ ret1 = request_irq(APPLESMC_IRQ, applesmc_irq_handler, IRQF_DISABLED,
+ "applesmc_irq_handler", NULL);
+
@@ -245,7 +249,7 @@
out:
mutex_unlock(&applesmc_lock);
-@@ -431,9 +566,16 @@ static int applesmc_resume(struct platform_device *dev)
+@@ -434,9 +573,16 @@ static int applesmc_resume(struct platform_device *dev)
return applesmc_device_init();
}
@@ -262,7 +266,7 @@
.driver = {
.name = "applesmc",
.owner = THIS_MODULE,
-@@ -913,6 +1055,122 @@ static ssize_t applesmc_key_at_index_store(struct device *dev,
+@@ -898,6 +1044,123 @@ static ssize_t applesmc_key_at_index_store(struct device *dev,
return count;
}
@@ -272,12 +276,12 @@
+ int ret;
+ unsigned int value = 0;
+ u8 buffer[2];
-+ char* key;
++ char *key;
+ int length;
+ struct sensor_device_attribute_2 *sensor_attr =
+ to_sensor_dev_attr_2(attr);
+
-+ switch(sensor_attr->index) {
++ switch (sensor_attr->index) {
+ case 0:
+ key = MOTION_LOW_NORM_INTERVAL;
+ length = 1;
@@ -295,7 +299,8 @@
+ length = 2;
+ break;
+ default:
-+ printk("Invalid index for applesmc_accelerometer_show");
++ printk(KERN_ERR
++ "Invalid index for applesmc_accelerometer_show");
+ return -EINVAL;
+ }
+
@@ -325,12 +330,12 @@
+ int ret;
+ u32 value;
+ u8 buffer[2];
-+ char* key;
++ char *key;
+ int length;
+ struct sensor_device_attribute_2 *sensor_attr =
+ to_sensor_dev_attr_2(attr);
+
-+ switch(sensor_attr->index) {
++ switch (sensor_attr->index) {
+ case 0:
+ key = MOTION_LOW_NORM_INTERVAL;
+ length = 1;
@@ -385,7 +390,7 @@
static struct led_classdev applesmc_backlight = {
.name = "smc:kbd_backlight",
.default_trigger = "nand-disk",
-@@ -924,10 +1182,22 @@ static DEVICE_ATTR(name, 0444, applesmc_name_show, NULL);
+@@ -909,10 +1172,22 @@ static DEVICE_ATTR(name, 0444, applesmc_name_show, NULL);
static DEVICE_ATTR(position, 0444, applesmc_position_show, NULL);
static DEVICE_ATTR(calibrate, 0644,
applesmc_calibrate_show, applesmc_calibrate_store);
Modified: trunk/kernel/mactel-patches-2.6.22/series
===================================================================
--- trunk/kernel/mactel-patches-2.6.22/series 2007-06-24 09:03:48 UTC (rev 132)
+++ trunk/kernel/mactel-patches-2.6.22/series 2007-06-27 13:14:46 UTC (rev 133)
@@ -1,9 +1,10 @@
-# This series applies on GIT commit 75154f402ef18e459ff97ddece25656b6c2b329c
+# This series applies on GIT commit 48d8d7ee5dd17c64833e0343ab4ae8ef01cc2648
+applesmc-use-input-polldev.patch
+applesmc-add-macbook-temperature-keys.patch
sigmatel_audio2.patch
sigmatel_audio3.patch
applesmc_int.patch
appletouch.patch
appleir.patch
-applesmc-use-input-polldev.patch
appletouch-shut-up-when-it-has-nothing-to-say.patch
appletouch-fix-run-amok-problem.patch
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: Sven A. <an...@an...> - 2007-06-27 11:06:09
|
M.S. schrieb: > On my Macbook1,1 (non-Pro) the AppleSMC sensors feature simply does not > work due to different registers. I assume this is the case for all > non-pro models (nobody noticed?). > > The linked patch makes it work and is up for discussion: > http://sukimashita.com/temp/applesmc-fix-macbook-temp-sensors.patch > > I can provide a detailed log of all SMC keys if anybody is interested on > request. Particularly interesting are some keys which appear to be > somehow related to power management functionality. Every key related to power management is more than interesting! Please post any details you have! 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: M.S. <ma...@su...> - 2007-06-27 10:56:56
|
On my Macbook1,1 (non-Pro) the AppleSMC sensors feature simply does not work due to different registers. I assume this is the case for all non-pro models (nobody noticed?). The linked patch makes it work and is up for discussion: http://sukimashita.com/temp/applesmc-fix-macbook-temp-sensors.patch I can provide a detailed log of all SMC keys if anybody is interested on request. Particularly interesting are some keys which appear to be somehow related to power management functionality. Cheers --- M.S. |