Re: pbbuttonsd hangs on powerbook5,8
Brought to you by:
matthiasgrimm
From: Matthias G. <mat...@us...> - 2005-12-20 18:36:22
|
On Tue, 20 Dec 2005 19:53:20 +1100 Andy Botting <an...@an...> wrote: > Hi all, > > On my new Powerbook5,8 i'm finding that all versions of pbbuttonsd that > I have tried (0.6.8, 0.7.x) seem to hang trying to open the /dev/i2c-4 > device on my powerbook5,8 running gentoo. > > I have both the i2c-dev and i2c-keywest modules loaded, and if i2c-dev > isn't loaded, pbbuttonsd starts ok. > > pbbuttonsd will sit there forever, and even if I give it a kill -9, > pbbuttonsd will stay until I reboot, and i have tried recreating i2c-4 > using mknod. That's bad news but sometimes it must happen. The LMU detection (that's the i2c device that controls the ambient sensor and the keyboard illumination) in pbbuttonsd is quite a hack. I don't have the appropriate hardware at hand so developing a better solution is quite difficult and I need someone who is willing to help me with testing. As first step you could send me a copy of your OF device tree: tar -czvf device-tree.tgz /proc/device-tree In the meantime you should remove i2c-4 so that pbbuttonsd wouldn't hang. A better LMU detection function is on my list but as already mentioned this will take a while. Would you help me with testing? Best Regards Matthias |