[Sugar-devel] Disable the XO keyboard

Alan Jhonn Aguiar Schwyn alanjas at hotmail.com
Sun Mar 11 22:18:06 EDT 2012



And a option in the control panel??

Date: Sun, 11 Mar 2012 19:05:41 -0700
From: iland at cs.ucsb.edu
To: pgf at laptop.org
CC: aguz at sugarlabs.org; sugar-devel at lists.sugarlabs.org; walter.bender at 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 <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.  :-)



paul



 >

 > -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

http://lists.sugarlabs.org/listinfo/sugar-devel





_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20120312/a4eab262/attachment.html>


More information about the Sugar-devel mailing list