measuring jack themes technologies tooltips linux measuring jack themes technologies tooltip linux limejack claim limejack limejack

Start | Sprache  de en fr | Menü | Übersicht | Suche

Sie befinden sich hier: start » de » obsolete » openmoko

Openmoko GTA02

DELETEME Nice idea, but outdated.

Installation

Choose an OS:

  • OM2009 : Basic OS from Openmoko → very nice look, bad usability
  • Debian : Installation with a script → after 2012 the script fails
  • SHR : Community Driven → nice
  • Qtmoko : Based on Debian and QT using Framebuffer instead X

I choose qtmoko because you can install Debian packages directly. The phone is very agile with the graphic on the framebuffer.

Download images from radekp from 2013.

Press AUX Button then press Power Button to flash gta02 and install:

  • dfu-util -a u-boot -R -D qi-v58.udfu
  • dfu-util -a kernel -R -D uImage.bin-2.6.39-qtmoko-v58
  • dfu-util -a rootfs -R -D qtmoko-debian-gta02-v58.ubi

Format a SD card with ext2. Note, that radekp use ext3, but i have some start problems like this:

Kernel-panic - not syncing: VFS: Unable to mount root fs

Mount the SD card and copy qtmoko-debian-gta02-v58.tar.gz to the card:

  • tar xzvpf qtmoko-debian-gta02-v56.tar.gz

Then you can boot gta02.

Don't update Debian. Qtmoko didn't start after update. Without update the system is not save.

WLAN

  • Menu→Settings→Internet→Menu→New→Wireless LAN

SSH on WLAN

SSH is running but blocked.

  • iptables -F:
  • Comment/Disables the iptable line in /etc/rc.local

PIN: Please wait ...

I found this on http://lists.openmoko.org/pipermail/community/2014-March/069417.html:

>> when you're at the menu to give the pin :
>> - pres the aux-button to go to favorites (this actually worked, without the sim/phone unlocked)
>> - press menu (bottom left corner) and "add"
>> - add Logging (it should be in the list you see)
>> - press "loggin" which should now be in your favorites menu
>> 	it asks if Syslogd should be enabled -> i answered "no"
>> - press menu (bottom left corner) and "categories"
>> - Tick off "Modem AT communication"
> 
> I did all the above exactly; only ticked off 'Networking' and 'Service'
i didn't tick these off
AFAIK none of the boxes where ticked off

> which I enabled before to debug something; 'Modem AT communication' was
> not on; should I tick this on?

Tick this ON , that's the fix 
:-)

> 
>> - reboot
  • logging ist Protokollierung

Transducer

WLAN

auto eth0
    iface eth0 inet dhcp
    wpa-ssid "Your SSID"
    wpa-psk  "Your PSK"
  • ifconfig eth0 up
  • ifup eth0
  • udhcpc eth0

Accelerator

  • modprobe lis302dl
  • two diffrent sensors on /dev/input/event4 and /dev/input/event5
#!/usr/bin/env ruby
#modprobe lis392dl
x = 0
y = 0
z = 0
File.open("/dev/input/event5") do |f|
  while true
    event = f.read(16).unpack("llSSl")
    time = event[0] + event[1] / 1000000.0
    type = event[2]
    code = event[3]
    value = event[4]
    if type == 2 || type == 3
      x = value if code == 0
      y = value if code == 1
      z = value if code == 2
    end
    if type == 0 && code == 0
      sum = Math::sqrt(x*x + y*y + z*z).to_i
      printf("%5d %5d %5d %5d\n", x, y, z, sum)
    end
#    sleep(1)
  end

LEDs and Vibrating

  • echo 1 > /sys/devices/platform/leds-gpio/leds/gta02\:red\:aux/brightness
  • echo 0 > /sys/devices/platform/gta02-pm-wlan.0/power/control
  • echo 255 > /sys/devices/platform/leds_pwm/leds/gta02\:\:vibrator/brightness
  • echo 255 > /sys/devices/platform/leds_pwm/leds/gta02\:blue\:power/brightness
  • echo 255 > /sys/devices/platform/leds_pwm/leds/gta02\:orange\:power/brightness
  • echo 63 > /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-backlight/backlight/pcf50633-backlight/brightness
  • cat /sys/./devices/platform/s3c2440-i2c/i2c-0/0-0073/hdq/bq27000-battery.0/power_supply/battery/current_now
  • cat /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/hdq/bq27000-battery.0/power_supply/battery/voltage_now
  • cat /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/hdq/bq27000-battery.0/power_supply/battery/charge

Display

  • xrandr -o 1
Disclaimer | Impressum | Privacy | Copyleft