Re: [gentoo-ppc-user] pbbuttonsd question

2006-05-30 Thread Eric Robertson




I have an ATI card that is using the generic radeon driver at the
moment. Yes, lcd brightness is working  the so is the ambient
light snesor - I base that claim ont he fact that the lcd brightness
changes intensity when i turn off the lights.

Eric

JOAN MASSICH VALL wrote:

  Do you have working the lcd brightness??, what kind of grafic card do you
have?. I'm using a 12" pbook 867Mhz with a gentoo from two years ago and I
don't check hardware configuration since a long time ago. Is the nvidia
and lcd light runing??

tnks, ( sorry for my english)

  
  
I am running gentoo on a 15" aluminum powerbook.  I am using the
2.6.16.r kernel and pbbuttonsd 0.7.4.  I have been going over the man
pages  online documentation but cannot figure out how to get the
illuminated keyboard working.  pbbuttonsd does not error during load.
The pbbuttonsd.conf file has not been modified from the default at the
moment.  i2c-dev is compiled into the kernel, not as a module.  The LCD
brightness buttons work but the keyboard light buttons dont.  The
ambient light sensor appears to working because the lcd automatically
adjusts brightness when I turn out the lights.  There are 8 i2c devices
in /dev.

What dependencies does i2c have?  what dependencies does pbbuttonsd have?

Thanks for your input...

Eric Robertson
--
gentoo-ppc-user@gentoo.org mailing list



  
  
  





Re: [gentoo-ppc-user] pbbuttonsd question

2006-05-30 Thread Eric Robertson

Alden Huang wrote:

Eric Robertson wrote:

I had a problem when I upgraded kernels as well.  When on the 2.6.15 
kernel I2C was a module.  I did not change this config when I first 
compiled the 2.6.16 kernel.  I re-compiled w/ I2C compiled intot he 
kernel  the lcd  sensor started to work but I still cannot get the 
keyboard light to work.


Konstantin V. Gavrilenko wrote:


I have the same problem as you do, but in my case the ambient lights
sensor doesn't work either.
This happened after a switch from 2.6.15 to 2.6.16. I think the reasons
might be in the I2C module that has been changed.

In the 2.6.15 it was I2C_KEYWEST while in 2.6.16 it is named  
I2C_POWERMAC.
Wrote an email to the author of the pbbuttons but had no reply. It 
would

be great if we can sort out the problem in this list.

p.s.
machine : PowerBook5,4
motherboard : PowerBook5,4 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15)

pbbuttonsd, version 0.7.5
Linux maca 2.6.16-gentoo-r7

yours,
kos


  



Hi there,

I'm not sure if this will be of help... I have an older model G4 ibook 
(with a G3 proc) which does not have the lighted keyboard feature...


check to make sure you have event interface enabled (the EVDEV module) 
in your kernel. Also enable APM emulation or something like that under 
the new Mac drivers menu.


I've also noticed that the pbbuttonsd.conf default kbd light value is 
0, maybe that needs a different value? Have you tried changing the 
light sensor threshold values as well? also running pbbcmds? any luck 
with that?


I dunno...hope this was somewhat helpful...

best,
alden
Thanks for the suggestion - EVDEV is enabled as part of the kernel.  
apm_emu is loading as a module.  My pbbuttonsd.conf has the kbd 
illumination value is set to 0 but it is also commented out.


Since I was looking at my kernel config I went ahead  made 2 changes  
compiled a new kernel to test.


old kernel (per the .config file):
i2c support
   config_i2c=y
   config_i2c_chardev=y

i2c algorithms
   config_i2c_algobit=y
   config_i2c_algopcf is not set
   config_i2c_algopca is not set

i2c hardware bus support
   ...
   config_i2c_powermac=y
   ...

misc. i2c chip support
   ...
   (nothing is configured here)


new kewrel (per the new .config file):

i2c support
   config_i2c=y
   config_i2c_chardev=y

i2c algorithms
   config_i2c_algobit=y
   config_i2c_algopcf is not set
   config_i2c_algopca is not set

i2c hardware bus support
   ...
   config_i2c_powermac=y
   ...

miscellaneous i2c chip support
   ...
   config_i2c_debug_core=y
   config_i2c_debug_algo is not set
   config_i2c_debug_bus=y



The result, my syslog is filling up w/ hundreds of lines detailing the 
i2c devices loaded  the keyboard now lights up.  When I boot back to 
the old kernel (the one without the debug_core  debug_bus enabled) it 
stops working.  lcd brightness works on both of them works on both.  I 
ran a diff on the 2 .config files and verified that there were no 
changes other than what I just documented.


my confusion has just increased

Eric
--
gentoo-ppc-user@gentoo.org mailing list



[gentoo-ppc-user] pbbuttonsd question

2006-05-27 Thread Eric Robertson
I am running gentoo on a 15 aluminum powerbook.  I am using the 
2.6.16.r5 kernel and pbbuttonsd 0.7.4.  I have been going over the man 
pages  online documentation but cannot figure out how to get the 
illuminated keyboard working.  pbbuttonsd does not error during load.  
The pbbuttonsd.conf file has not been modified from the default at the 
moment.  i2c-dev is compiled into the kernel, not as a module.  The LCD 
brightness buttons work but the keyboard light buttons dont.  The 
ambient light sensor appears to working because the lcd automatically 
adjusts brightness when I turn out the lights.  There are 8 i2c devices 
in /dev. 


What dependencies does i2c have?  what dependencies does pbbuttonsd have?

Thanks for your input...

Eric Robertson
--
gentoo-ppc-user@gentoo.org mailing list