[Sugar-devel] Disable the XO keyboard
iland at cs.ucsb.edu
Sun Mar 11 22:05:41 EDT 2012
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!
On Sun, Mar 11, 2012 at 11:20 AM, Paul Fox <pgf at laptop.org> wrote:
> walter wrote:
> > On Sun, Mar 11, 2012 at 12:59 PM, Agustin Zubiaga Sanchez
> > <aguz at 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. :-)
> > -walter
> > >
> > > Thanks!
> > >
> > > Sorry, my English isn't good...
> > >
> > > _______________________________________________
> > > Sugar-devel mailing list
> > > Sugar-devel at lists.sugarlabs.org
> > > http://lists.sugarlabs.org/listinfo/sugar-devel
> > >
> > --
> > Walter Bender
> > Sugar Labs
> > http://www.sugarlabs.org
> > _______________________________________________
> > Sugar-devel mailing list
> > Sugar-devel at lists.sugarlabs.org
> > http://lists.sugarlabs.org/listinfo/sugar-devel
> paul fox, pgf at laptop.org
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Sugar-devel