external keyboard

steve steve at openmoko.com
Mon Aug 11 01:59:44 CEST 2008


Should be on the wiki 

-----Original Message-----
From: community-bounces at lists.openmoko.org
[mailto:community-bounces at lists.openmoko.org] On Behalf Of Michael Sheldon
Sent: Friday, August 08, 2008 2:34 PM
To: greg at bonett.org; List for Openmoko community discussion
Subject: Re: external keyboard

Greg Bonett wrote:
> Is anyone using their FreeRunner with an external USB or Bluetooth 
> keyboard?  If so, how hard was it to get working?

  I am, it's pretty simple, just run:

echo "host" > /sys/devices/platform/s3c2410-ohci/usb_mode
echo "1" > /sys/devices/platform/neo1973-pm-host.0/hostmode

  This'll put the Freerunner in to powered USB host mode, then just plug in
the keyboard and it'll work. Personally I've made a .desktop file to switch
into and out of host mode. To switch back to unpowered device mode just run:

echo "device" > /sys/devices/platform/s3c2410-ohci/usb_mode
echo "0" > /sys/devices/platform/neo1973-pm-host.0/hostmode

  Cheers,
   Mike.

_______________________________________________
Openmoko community mailing list
community at lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community





More information about the community mailing list