[Pommed-devel] Support for Macbook 5,2
Alejandro Valenzuela
lanjoe9 at mexinetica.com
Tue May 12 18:57:05 UTC 2009
Julien BLACHE skrev:
> Alejandro Valenzuela <lanjoe9 at mexinetica.com> wrote:
>
> Hi,
>
>
>> Hi! Thanks a lot! The patch works. The cause for pommed not having any
>>
>
> OK, great.
>
>
>> visible effect is definitely the Nvidia drivers (I tried the latest
>> betas since those are the only ones which can be used with the
>> 2.6.29.2 kernel); if I change into one of the text terminals and push
>> the brightness keys, the screen is adjusted properly (which means I
>>
>
> Can you verify that pommed does get the key presses when you're under
> X? Run pommed -d from an xterm and look for key presses. Though if
> everything else works, you already know :)
>
>
>> However, pommed seems to have some odd interaction with the applesmc
>> device - when I start pommed, it uses ~ 20% of the CPU without any
>> apparent cause and I get the following message written LOTS of times
>> in log:
>>
>> applesmc: wait status failed: 5 != 10
>>
>> What could be the cause of this?
>>
>
> applesmc busy-looping trying to get the reply from the SMC, and the
> SMC not replying because it's busy controlling the fans and
> temperatures.
>
> Unfortunately the applesmc driver isn't great and doesn't really
> behave, and it seems it's particularly bad on your machine.
>
> JB.
>
>
Yep, I can see the keypresses being registered all the time:
------------
KEY: LCD backlight down
LCD stepping -1 -> 4
DBus lcdBacklight: 4 5
DBus process watch
KBD: inhibit clear 0x08 -> 0x00
KEY: LCD backlight up
LCD stepping +1 -> 5
DBus lcdBacklight: 5 4
DBus process watch
KBD: inhibit clear 0x08 -> 0x00
----------
The cause is definitely the Nvidia drivers - the setting gets
(physically) applied only when I switch to a text-only screen,
regardless of whether I've run pommed from the text-only screen or
gnome-terminal
I'll see if I can play around a bit with the smc driver. For now I just
launch and stop pommed whenever I need it.
More information about the Pommed-devel
mailing list