1 |
Alden Huang wrote: |
2 |
> Eric Robertson wrote: |
3 |
> |
4 |
>> I had a problem when I upgraded kernels as well. When on the 2.6.15 |
5 |
>> kernel I2C was a module. I did not change this config when I first |
6 |
>> compiled the 2.6.16 kernel. I re-compiled w/ I2C compiled intot he |
7 |
>> kernel & the lcd & sensor started to work but I still cannot get the |
8 |
>> keyboard light to work. |
9 |
>> |
10 |
>> Konstantin V. Gavrilenko wrote: |
11 |
>> |
12 |
>>> I have the same problem as you do, but in my case the ambient lights |
13 |
>>> sensor doesn't work either. |
14 |
>>> This happened after a switch from 2.6.15 to 2.6.16. I think the reasons |
15 |
>>> might be in the I2C module that has been changed. |
16 |
>>> |
17 |
>>> In the 2.6.15 it was I2C_KEYWEST while in 2.6.16 it is named |
18 |
>>> I2C_POWERMAC. |
19 |
>>> Wrote an email to the author of the pbbuttons but had no reply. It |
20 |
>>> would |
21 |
>>> be great if we can sort out the problem in this list. |
22 |
>>> |
23 |
>>> p.s. |
24 |
>>> machine : PowerBook5,4 |
25 |
>>> motherboard : PowerBook5,4 MacRISC3 Power Macintosh |
26 |
>>> detected as : 287 (PowerBook G4 15") |
27 |
>>> |
28 |
>>> pbbuttonsd, version 0.7.5 |
29 |
>>> Linux maca 2.6.16-gentoo-r7 |
30 |
>>> |
31 |
>>> yours, |
32 |
>>> kos |
33 |
>>> |
34 |
>>> |
35 |
>>> |
36 |
>> |
37 |
> Hi there, |
38 |
> |
39 |
> I'm not sure if this will be of help... I have an older model G4 ibook |
40 |
> (with a G3 proc) which does not have the lighted keyboard feature... |
41 |
> |
42 |
> check to make sure you have event interface enabled (the EVDEV module) |
43 |
> in your kernel. Also enable APM emulation or something like that under |
44 |
> the new Mac drivers menu. |
45 |
> |
46 |
> I've also noticed that the pbbuttonsd.conf default kbd light value is |
47 |
> 0, maybe that needs a different value? Have you tried changing the |
48 |
> light sensor threshold values as well? also running pbbcmds? any luck |
49 |
> with that? |
50 |
> |
51 |
> I dunno...hope this was somewhat helpful... |
52 |
> |
53 |
> best, |
54 |
> alden |
55 |
Thanks for the suggestion - EVDEV is enabled as part of the kernel. |
56 |
apm_emu is loading as a module. My pbbuttonsd.conf has the kbd |
57 |
illumination value is set to 0 but it is also commented out. |
58 |
|
59 |
Since I was looking at my kernel config I went ahead & made 2 changes & |
60 |
compiled a new kernel to test. |
61 |
|
62 |
old kernel (per the .config file): |
63 |
i2c support |
64 |
config_i2c=y |
65 |
config_i2c_chardev=y |
66 |
|
67 |
i2c algorithms |
68 |
config_i2c_algobit=y |
69 |
config_i2c_algopcf is not set |
70 |
config_i2c_algopca is not set |
71 |
|
72 |
i2c hardware bus support |
73 |
... |
74 |
config_i2c_powermac=y |
75 |
... |
76 |
|
77 |
misc. i2c chip support |
78 |
... |
79 |
(nothing is configured here) |
80 |
|
81 |
|
82 |
new kewrel (per the new .config file): |
83 |
|
84 |
i2c support |
85 |
config_i2c=y |
86 |
config_i2c_chardev=y |
87 |
|
88 |
i2c algorithms |
89 |
config_i2c_algobit=y |
90 |
config_i2c_algopcf is not set |
91 |
config_i2c_algopca is not set |
92 |
|
93 |
i2c hardware bus support |
94 |
... |
95 |
config_i2c_powermac=y |
96 |
... |
97 |
|
98 |
miscellaneous i2c chip support |
99 |
... |
100 |
config_i2c_debug_core=y |
101 |
config_i2c_debug_algo is not set |
102 |
config_i2c_debug_bus=y |
103 |
|
104 |
|
105 |
|
106 |
The result, my syslog is filling up w/ hundreds of lines detailing the |
107 |
i2c devices loaded & the keyboard now lights up. When I boot back to |
108 |
the "old" kernel (the one without the debug_core & debug_bus enabled) it |
109 |
stops working. lcd brightness works on both of them works on both. I |
110 |
ran a diff on the 2 .config files and verified that there were no |
111 |
changes other than what I just documented. |
112 |
|
113 |
my confusion has just increased.... |
114 |
|
115 |
Eric |
116 |
-- |
117 |
gentoo-ppc-user@g.o mailing list |