User:Bytestore

From Openmoko

Revision as of 09:28, 12 January 2009 by Bytestore (Talk | contribs)

Jump to: navigation, search

build 2008.12 11012009

update in mokoservices script button for change theme, profile GTK /usr/share/themes/Moko/gtk-2.0/ , change locale (ru\en) /etc/profile.d/locale.sh button info about eth0 button change gprs setiings (apn,dialnumber,login,pass) gprs connection is persistent if gprs switch on buttin wifi, (use /etc/wpa_supplicant/wpa_supplicant)

for example all icons edited for ru locale (change locale button in mokoservices)


sortdesk (http://www.opkg.org/package_95.html)

mofi (not stable)

gpe-scap File browser Text editor FBReader GPE Sketchbook LED Clock Navit (speech-dispatcher not installed)


openmoko-mediaplayer (not mp3)

mokoko (not mp3, config file is /home/root/.mokoko.conf)

daemon jdd (sense headphone jack plug for stereo sound http://forum.telefoninux.org/index.php/ ... ml#msg9047)

Pidgin Internet Messenger

accelerometer based screen rotation (icon enable\disable autorun this daemon)

TangoGPS (use simlink /home/root/~Maps on /media/card/Maps, google map working)

dillo (config file ~/.dillo/dillorc)

image [1]

screenshots [2]


Avoid suspend when usb plug

insert in /etc/udev/rules.d/udev.rules subsystem=="power_supply", RUN+="/etc/udev/scripts/usb.sh"

create file /etc/udev/scripts/usb.sh

#!/bin/sh
# when USB is plugged/unplugged in device mode, udev triggers this script
# on power change
# udevd does clearenv(). Export shell PATH to children.

export PATH
if [[ $(cat /sys/devices/platform/s3c2410-ohci/usb_mode) = "device" ]]
then
    if [[ $(cat /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/chgmode) = "play-only" ]]
    then
        echo usb disconnect >> /var/log/messages
        dbus-send --system --dest=org.openmoko.Power / org.openmoko.Power.Core.RemoveRequestedResourceState string:cpu string:usb

    else
        echo usb connect >> /var/log/messages
        dbus-send --system --dest=org.openmoko.Power / org.openmoko.Power.Core.RequestResourceState string:cpu string:usb string:on
        sleep 3
    fi
fi
Personal tools

build 2008.12 11012009

update in mokoservices script button for change theme, profile GTK /usr/share/themes/Moko/gtk-2.0/ , change locale (ru\en) /etc/profile.d/locale.sh button info about eth0 button change gprs setiings (apn,dialnumber,login,pass) gprs connection is persistent if gprs switch on buttin wifi, (use /etc/wpa_supplicant/wpa_supplicant)

for example all icons edited for ru locale (change locale button in mokoservices)


sortdesk (http://www.opkg.org/package_95.html)

mofi (not stable)

gpe-scap File browser Text editor FBReader GPE Sketchbook LED Clock Navit (speech-dispatcher not installed)


openmoko-mediaplayer (not mp3)

mokoko (not mp3, config file is /home/root/.mokoko.conf)

daemon jdd (sense headphone jack plug for stereo sound http://forum.telefoninux.org/index.php/ ... ml#msg9047)

Pidgin Internet Messenger

accelerometer based screen rotation (icon enable\disable autorun this daemon)

TangoGPS (use simlink /home/root/~Maps on /media/card/Maps, google map working)

dillo (config file ~/.dillo/dillorc)

image [1]

screenshots [2]


Avoid suspend when usb plug

insert in /etc/udev/rules.d/udev.rules subsystem=="power_supply", RUN+="/etc/udev/scripts/usb.sh"

create file /etc/udev/scripts/usb.sh

#!/bin/sh
# when USB is plugged/unplugged in device mode, udev triggers this script
# on power change
# udevd does clearenv(). Export shell PATH to children.

export PATH
if [[ $(cat /sys/devices/platform/s3c2410-ohci/usb_mode) = "device" ]]
then
    if [[ $(cat /sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/chgmode) = "play-only" ]]
    then
        echo usb disconnect >> /var/log/messages
        dbus-send --system --dest=org.openmoko.Power / org.openmoko.Power.Core.RemoveRequestedResourceState string:cpu string:usb

    else
        echo usb connect >> /var/log/messages
        dbus-send --system --dest=org.openmoko.Power / org.openmoko.Power.Core.RequestResourceState string:cpu string:usb string:on
        sleep 3
    fi
fi