Bug#273015: Problem with backlit keyboard on aluminium powerbook
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mathieu, no need for Dan to test - I've managed to solve my X11 problems and verify keyboard backlight works with this udev rules file. Do you want me to submit a patch against the pbbuttonsd package? Cheers, Michael Mathieu, the attached udev rules file will load the i2c-dev module at boot time. I've copied it into /etc/udev on my system, and linked it as ../050_pbbuttonsd.rules inside /etc/udev/rules.d as it's done for mouseemu. Maybe Dan could test this solution - I can't get a stable X desktop session on my PowerBook5,5 model with Jessie. Cheers, Michael On Sat, Aug 15, 2015 at 3:33 AM, Mathieu Malaterre ma...@debian.org wrote: Control: tags -1 - moreinfo Control: tags -1 confirmed Michael, On Thu, Aug 13, 2015 at 4:32 AM, Dan DeVoto dand1...@yahoo.com wrote: Hi, On Jessie with version 0.7.9-5 I still have to manually add i2c-dev to /etc/modules to get the keyboard backlight working. You mentionned earlier working on a patch. Can you prepare something for udev ? Thanks. -BEGIN PGP SIGNATURE- Version: GnuPG v1 iQIcBAEBAgAGBQJV2sglAAoJEDrYLNS0xPtMJXMP/jPSf8KB3a5mtSy7WTYyhRbu f4aGbHQqcsFA0lIMO08z9FjpVcrFYOP73um0HbnG9e7rm4dAUommA9oLhd+1K3us 4cARGEkn0w8eFqYjNsyV4t/Pfc2nAO5k8hUBscbdL0eMchFyXofjo66yg0vyP/Dh 1k/KpnGZWJYJBQ1pV6yNPPhnKxYuO8R3R7gfllhzaHUBY57+WPNs09i2+enoswxI eJVbuYimiCkOG0IP7Uh2TFbRUkvInJqkz7BukfkE9Fl0buzwUbQxaISw1UqZSucO n100Y7uZu+4BIZqsc1J3kbZM6mf0hzePlFphr8ba16/fkKP5JJhixqm2GZL2fUQQ CMERw/n64tqtSpJMvKn/QKJPMrcIRqU4oobO2F7aqXkdWtgG7ODYRaUMPo5dgXZ9 Q8NKcYzN0KsUfnYleUKPw3QIqS3HXxfjP9+gCcK+Ney2rLnqvW20E6NVT/ph+mHV 3w/vPRUB3tWIMrgW452xrMYB/ftS3G2T/CuZ3GDlQL+poe3XJGszNO1IxPxDbFH5 U056Aw2u4r67JdZikNjo1bUF3hzFpkQsY6bcD2JLimKy0GvUt/wf1/xt4W0U4rbq m+AzM4ZESUgrEhj/7KolryNGUn7dJyFrVoNQRqiaNLd3vMWauHq1fe8eAnTXBoSG KRX8yExgIbG9JtzQSrOL =O0lp -END PGP SIGNATURE-
Bug#273015: Problem with backlit keyboard on aluminium powerbook
Mathieu, the attached udev rules file will load the i2c-dev module at boot time. I've copied it into /etc/udev on my system, and linked it as ../050_pbbuttonsd.rules inside /etc/udev/rules.d as it's done for mouseemu. Maybe Dan could test this solution - I can't get a stable X desktop session on my PowerBook5,5 model with Jessie. Cheers, Michael On Sat, Aug 15, 2015 at 3:33 AM, Mathieu Malaterre ma...@debian.org wrote: Control: tags -1 - moreinfo Control: tags -1 confirmed Michael, On Thu, Aug 13, 2015 at 4:32 AM, Dan DeVoto dand1...@yahoo.com wrote: Hi, On Jessie with version 0.7.9-5 I still have to manually add i2c-dev to /etc/modules to get the keyboard backlight working. You mentionned earlier working on a patch. Can you prepare something for udev ? Thanks. pbbuttonsd.rules Description: Binary data
Bug#273015: Problem with backlit keyboard on aluminium powerbook
Control: tags -1 - moreinfo Mathieu, currently upgrading to the latest testing weekly build. I'll look into what's required for udev to load the correct module. Cheers, Michael On Sat, Aug 15, 2015 at 3:33 AM, Mathieu Malaterre ma...@debian.org wrote: Control: tags -1 - moreinfo Control: tags -1 confirmed Michael, On Thu, Aug 13, 2015 at 4:32 AM, Dan DeVoto dand1...@yahoo.com wrote: Hi, On Jessie with version 0.7.9-5 I still have to manually add i2c-dev to /etc/modules to get the keyboard backlight working. You mentionned earlier working on a patch. Can you prepare something for udev ? Thanks.
Bug#273015: Problem with backlit keyboard on aluminium powerbook
Control: tags -1 - moreinfo Control: tags -1 confirmed Michael, On Thu, Aug 13, 2015 at 4:32 AM, Dan DeVoto dand1...@yahoo.com wrote: Hi, On Jessie with version 0.7.9-5 I still have to manually add i2c-dev to /etc/modules to get the keyboard backlight working. You mentionned earlier working on a patch. Can you prepare something for udev ? Thanks.
Bug#273015: Problem with backlit keyboard on aluminium powerbook (fwd)
Here's a patch that tries to load the i2c-dev module when pbbuttonsd is started and it's on an alum powerbook. It's slightly hacky, but I'm not sure there's a better way to do it. There's no real hotplug support for detecting a i2c bus as far as I can tell. I'm sure I've missed some machine types, I've just used the one for my machine. Comments and criticisms welcome. -- Eric Dorland [EMAIL PROTECTED] ICQ: #61138586, Jabber: [EMAIL PROTECTED] 1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6 -BEGIN GEEK CODE BLOCK- Version: 3.12 GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ G e h! r- y+ --END GEEK CODE BLOCK-- --- pbbuttonsd.init.old 2005-07-31 14:46:52.0 -0400 +++ pbbuttonsd.init 2005-07-31 15:45:01.0 -0400 @@ -15,8 +15,23 @@ set -e +# Kind of a hack to load i2c-dev for Alum Powerbooks with backlit +# keyboards +load_i2c_dev() +{ +if [ -e /proc/cpuinfo ] [ -x /sbin/modprobe ]; then +machine=`grep ^machine /proc/cpuinfo | cut -d : -f 2` +if [ $machine = PowerBook5,6]; then +echo -n Loading i2c-dev module: +modprobe -q i2c-dev +echo done. +fi +fi +} + case $1 in start) + load_i2c_dev echo -n Starting $DESC: start-stop-daemon --start --make-pidfile --pidfile \ /var/run/$NAME.pid --exec $DAEMON -- --configfile=$CONF -d signature.asc Description: Digital signature