And a option in the control panel??
Date: Sun, 11 Mar 2012 19:05:41 -0700 From: il...@cs.ucsb.edu To: p...@laptop.org CC: a...@sugarlabs.org; sugar-devel@lists.sugarlabs.org; walter.ben...@gmail.com Subject: Re: [Sugar-devel] Disable the XO keyboard I'm thinking one solution for Augustin could be a small activity that had two buttons. One button would "Disable Keyboard" when clicked, which would execute the commands you gave. The other would "Enable Keyboard". Each would just trigger the appropriate commands via os.system() . Can a sugar activity being run off a thumbdrive make the changes required in /sys/devices/platform/i8042/serio0? If so, this seems like a reasonable solution. We could create and send the activity, he could load it on via USB, copy and run it all using the touchpad. Won't have to type a thing! Before I go experimenting with this though, I was hoping someone could let me know what commands should be run to re-enable the keyboard! Danny Iland On Sun, Mar 11, 2012 at 11:20 AM, Paul Fox <p...@laptop.org> wrote: walter wrote: > On Sun, Mar 11, 2012 at 12:59 PM, Agustin Zubiaga Sanchez > <a...@sugarlabs.org> wrote: > > Hello, > > I've a XO with a broken keyboard (writes: ]]]]] steadily) > > I have to wait a week to send to fix, and I thought I could connect an > > external > > keyboard so I have to disable the internal keyboard... > > > > ¿Somebody can help me to disable the XO keyboard? > > You don't need to disable the XO keyboard in order to use an external > keyboard, but if the key is stuck, then you will probably have to > disconnect the ribbon cable, which will also disable the touch pad. Do > you have a USB mouse? hmm. normally i would say to do this, to disable the keyboard: # cd /sys/devices/platform/i8042/serio0 # echo -n manual > bind_mode # echo -n none > drvctl but i think walter is right -- if there's a stuck key, you won't be able to run those commands. unless you can ssh to the machine, of course. :-) paul > > -walter > > > > Thanks! > > > > Sorry, my English isn't good... > > > > _______________________________________________ > > Sugar-devel mailing list > > Sugar-devel@lists.sugarlabs.org > > http://lists.sugarlabs.org/listinfo/sugar-devel > > > > > > -- > Walter Bender > Sugar Labs > http://www.sugarlabs.org > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel =--------------------- paul fox, p...@laptop.org _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
_______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel