Re: New SHR-unstable images with 2.6.32 kernel

2010-06-27 Thread Vladimir Berezenko
В Вск, 27/06/2010 в 08:58 +0200, Martin Jansa пишет:
 After hopefully lucky incident we have finally switched to new kernel.
 It's based on 2.6.32.13 and has DRM/KMS enabled.

Hm. Some problems:
AIGLX error: dlopen of /usr/lib/dri/glamo_dri.so failed
(/usr/lib/dri/glamo_dri.so: undefined symbol: _glapi_tls_Context)
That one is from /var/log/Xorg.0.log

fsousaged : Can't
read-open /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-resume.0/resume_reason: 
No such file or directory
And that one is from fsousaged.

Also there is no power button light while on charge.

-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: MC Navi

2010-04-01 Thread Vladimir Berezenko
В Чтв, 01/04/2010 в 00:31 -0800, Mike Crash пишет:

 Hello, I'm going to release new version of MC Navi and I want to make maps
 available for direct download. So I want to ask, what country do you need?

Russia plz. I've tried to convert the map myself but on my quad G5 with
4.5Gb of RAM it segfaulted during the sorting ways process.

 Second question - what do you prefer, car navigation or outdoor navigation?
 Just to know, what to do next...

car navigation.

-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: ffalarms 0.4 -- snoozing by double click, but no puzzle!

2010-04-01 Thread Vladimir Berezenko
В Птн, 26/03/2010 в 00:38 +0100, Łukasz Pankowski пишет:

 I have just released new ffalarms 0.4

I've found a feature. 8( If an alarm window is closed unexpectedly
(i.e. someone just pressed the [X]) the alarm stays ringing forever.

-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mic volume extremely soft after buzz fix with SHR unstable

2010-02-22 Thread Vladimir Berezenko
В Пнд, 22/02/2010 в 16:00 +0100, Jan Girlich пишет:

 I'm afraid something might be gone wrong with my buzz fix. Had a look at
 it yesterday evening and noticed one of the soldering points is really
 weak. Maybe that could be a reason? Too little of a connection from the
 capacitor to the resistor?

It might be that you have your mic dead.  I've replaced my own because
it came already dead. The symptoms were the same. You must cry loud to
micro and on the other end someone hears you very silent.

-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: ffalarms 0.3.2 -- editing of recurring alarms

2010-02-20 Thread Vladimir Berezenko
В Сбт, 20/02/2010 в 19:17 +0100, Łukasz Pankowski пишет:

 I have just released new ffalarms 0.3.2
 
 Notes:
 - add editing of recurring alarms

Can you plz also implement enabling and disabling already used alarms?
It's very annoying to delete and create alarm any time you just need to
use other time once or twice...

-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: literki update

2010-01-14 Thread Vladimir Berezenko
В Сбт, 26/12/2009 в 08:44 +0100, Michal Brzozowski пишет:

 
 I'm stupid, of course you can use 2 layouts. Just use a function key,
 like fn to switch between them.
 
 Example:
 
 (russian letter)
 key a b c d
 russian sth sth 
 
 
 (english letter)
 key v w x y
 normal sth sth
 
 (switch)
 key j k l m
 normal sth $is_russian
 russian sth $is_russian

The problem is a bit bigger. I've tried to adopt layout conf to use
russian letters, but got stuck. There are lower case and upper case
letters. In english - everything is easy: normal and shift, but this
scheme prohibits of entering anything else then this. Seems that it
needs not such an easy method, but more complicated with switchable
layouts, not just Fn key.

-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: literki update

2010-01-14 Thread Vladimir Berezenko
В Чтв, 14/01/2010 в 16:49 +0100, Michal Brzozowski пишет: 
 You can have as many layouts as you want. Right now there are 4 -
 normal, shift, capslock, fn. So just add 2 more, like russian,
 russian_shift or something.

Ok. Might they be added in config or they also should be added in code?
I've seen that you're checking those shift thingies in code and add
them to capslock. Is there any need to add also alt and altshift
there?



-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: literki update

2010-01-14 Thread Vladimir Berezenko
В Чтв, 14/01/2010 в 17:28 +0100, Michal Brzozowski пишет: 

 I don't think you need to change the code, at least it was designed so
 that you don't have to. Where am I checking shift and capslock in the
 code? 

keymap.cpp:80

if (first == shift  action!=capslock)
keys[GetFunId(capslock)].push_back(k); 

-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: literki update

2009-12-25 Thread Vladimir Berezenko
В Чтв, 24/12/2009 в 14:58 +0100, Michal Brzozowski пишет:


 
 No, it only uses different layouts for portrait and landscape mode, if
 that helps you. 

Is it possible to implement in later releases the possibility of
switching layouts. 1 layout is too few for russians. 8( 

-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: literki update

2009-12-24 Thread Vladimir Berezenko
В Чтв, 24/12/2009 в 11:23 +0100, Michal Brzozowski пишет:

 Changes:
 - fixed vibration
 - fixed some embarasing memory leaks
 - added horizontal and vertical scrolling buttons to the touchpad -
 they simulate mouse wheel scrolling.
 

Is it possible to use 2 different keyboard layouts in literki? Like
english and russian.


-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: shr-launcher new release for shr-u

2009-12-18 Thread Vladimir Berezenko
В Чтв, 17/12/2009 в 20:56 -0800, c_c пишет: 
 Hi,
   Here's the latest release of shr-launcher. 
 http://n2.nabble.com/file/n4185053/shr-launcher_local-r0.4_armv4t.ipk
 shr-launcher_local-r0.4_armv4t.ipk 
   Contacts App
  * Jump functionality improved
  * shows last contact details (sms/call), (in/out) and time

Contacts are shown partly. Only Name field is used. So no surnames.
Phones are shown also only those, which are marked as Phone in OPIM.
Those who are Cell phone, Work phone, etc are not shown.


-- 
WBR, Vladimir Berezenko


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [shr-t] Importing (vcf) contacts -- again

2009-12-08 Thread Vladimir Berezenko
On mon, 07/12/2009 at 23:54 +0100, Bernhard Reiter wrote:

I can attach my script for importing. It needs python-vobject,
python-sqlite and one else, which I forgot. 8(


-- 
WBR, Vladimir Berezenko
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys
import string
import dbus
from sys import argv
from sqlite3 import dbapi2 as sqlite
import vobject


def addField(entry, key, value):
  if entry.has_key(key):
if type(entry[key]) == list:
  entry[key].append(value)
else:
  entry[key]=[entry[key], value]
  else:
entry[key]=value


# define some nice dbus helper, which I really like, cause make code easier to read :)
def getDbusObject (bus, busname , objectpath , interface):
  dbusObject = bus.get_object(busname, objectpath)
  return dbus.Interface(dbusObject, dbus_interface=interface)

dbusEn = 1
print Starting importing

try:
  if len(sys.argv)  3:
print Too many arguments\n
raise
  if len(sys.argv) == 3:
if (sys.argv[1] == -t):
  print Test mode enabled\nFile: %s\n % (sys.argv[2])
  dbusEn = 0
  filecont = open(sys.argv[2], r)
else:
  print Wrong parameters\n
  raise
  elif len(sys.argv) == 2:
if (sys.argv[1] != -t):
  print Real mode\nFile: %s\n % (sys.argv[1])
  filecont = open(sys.argv[1], r)
else:
  print Test mode enabled\nFile: ./Contacts.vcf\n
  filecont = open(./Contacts.vcf,r)
  dbusEn = 0
  else:
filecont = open(./Contacts.vcf,r)
except:
  print Usage:\nimportVCF [-t] [Contacts.vcf]
  sys.exit(0)


if dbusEn:
  try:
bus = dbus.SystemBus()
interface = getDbusObject (bus, org.freesmartphone.opimd, /org/freesmartphone/PIM/Contacts, org.freesmartphone.PIM.Contacts)
  except:
print No DBUS\nTest mode enabled\n
dbusEn = 0


#N   Name,Sirname (single field per contact)
#ORG  Organization
#ROLE Role
#NICKNAMENick (single field per contact)
#TEL [CELL, WORK, HOME, FAX]   Work cell phone, Home cell phone, Cell phone, Work phone, Home phone, Phone, Work fax, Home fax, Fax
#EMAIL [WORK, HOME]  Work e-mail, Home e-mail, E-mail
#BDAY Birthday (single field per contact)
#NOTENote (single field per contact)
#ADR [WORK, HOME] Work address (single field per contact), Home address (single field per contact), Address
#PHOTO  Photo (single field per contact)
#X-ICQ   ICQ
#X-JABBER Jabber
#URL [WORK, HOME] WorkURL, HomeURL, URL


for contact in vobject.readComponents(filecont):
  paramDict = {}
  print /--\\
  name = contact.n.value.given

  if len(contact.n.value.additional)  0:
name +=  +contact.n.value.additional
  surname = contact.n.value.family
  paramDict[uName] = name
  paramDict[uSurname] =  surname
  
  for element in contact.getChildren():
if (element.name == TEL):
  if WORK in element.type_paramlist:
phoneType = uWork
  elif HOME in element.type_paramlist:
phoneType = uHome
  else:
phoneType = 
  if CELL in element.type_paramlist:
if phoneType == :
	addField(paramDict, uCell phone, utel:+element.value.strip())
	else:
	addField(paramDict, phoneType+u cell phone, utel:+element.value.strip())
  elif FAX in element.type_paramlist:
if phoneType == :
	addField(paramDict, uFax, utel:+element.value.strip())
	else:
	addField(paramDict, phoneType+u fax, utel:+element.value.strip())
  else:
if phoneType == :
	addField(paramDict, uPhone, utel:+element.value.strip())
	else:
	addField(paramDict, phoneType+u phone, utel:+element.value.strip())
elif (element.name == NICKNAME):
  if len(element.value)  0:
paramDict[uNickname] = element.value.strip()
elif (element.name == BDAY):
  paramDict[uBirthdate] = element.value.strip()
elif (element.name == ADR):
  try:
if WORK in element.type_paramlist:
  addrType = uWork
elif HOME in element.type_paramlist:
  addrType = uHome
else:
  addrType = 
  except:
addrType = 
#  print (addrType+ Address: ).strip()
#  print ZIP = +element.value.code
#  print Country = +element.value.country
#  print City = +element.value.city
#  print Street = +element.value.street
  paramDict[addrType+uAddress] = element.value.street+;+element.value.city+;+element.value.country+;+element.value.code
elif (element.name == NOTE):
  if len(element.value)  0:
paramDict[uNote] = element.value
elif (element.name == EMAIL

Re: [shr-t] Importing (vcf) contacts -- again

2009-12-08 Thread Vladimir Berezenko
В Пнд, 07/12/2009 в 23:54 +0100, Bernhard Reiter пишет:

 Thanks. I think last time I used it, there was no opimd support yet.
 
 Uhm, and is there a feed for shr-t? If I just try 
 opkg install pisi
 I get
  * Cannot find package pisi.

You can try to use mine import script. It's in attachment.
It needs python-vobject, python-sqlite and another one package which
contains base64 codec, but I always forget how it is named.


-- 
WBR, Vladimir Berezenko
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys
import string
import dbus
from sys import argv
from sqlite3 import dbapi2 as sqlite
import vobject


def addField(entry, key, value):
  if entry.has_key(key):
if type(entry[key]) == list:
  entry[key].append(value)
else:
  entry[key]=[entry[key], value]
  else:
entry[key]=value


# define some nice dbus helper, which I really like, cause make code easier to read :)
def getDbusObject (bus, busname , objectpath , interface):
  dbusObject = bus.get_object(busname, objectpath)
  return dbus.Interface(dbusObject, dbus_interface=interface)

dbusEn = 1
print Starting importing

try:
  if len(sys.argv)  3:
print Too many arguments\n
raise
  if len(sys.argv) == 3:
if (sys.argv[1] == -t):
  print Test mode enabled\nFile: %s\n % (sys.argv[2])
  dbusEn = 0
  filecont = open(sys.argv[2], r)
else:
  print Wrong parameters\n
  raise
  elif len(sys.argv) == 2:
if (sys.argv[1] != -t):
  print Real mode\nFile: %s\n % (sys.argv[1])
  filecont = open(sys.argv[1], r)
else:
  print Test mode enabled\nFile: ./Contacts.vcf\n
  filecont = open(./Contacts.vcf,r)
  dbusEn = 0
  else:
filecont = open(./Contacts.vcf,r)
except:
  print Usage:\nimportVCF [-t] [Contacts.vcf]
  sys.exit(0)


if dbusEn:
  try:
bus = dbus.SystemBus()
interface = getDbusObject (bus, org.freesmartphone.opimd, /org/freesmartphone/PIM/Contacts, org.freesmartphone.PIM.Contacts)
  except:
print No DBUS\nTest mode enabled\n
dbusEn = 0


#N   Name,Sirname (single field per contact)
#ORG  Organization
#ROLE Role
#NICKNAMENick (single field per contact)
#TEL [CELL, WORK, HOME, FAX]   Work cell phone, Home cell phone, Cell phone, Work phone, Home phone, Phone, Work fax, Home fax, Fax
#EMAIL [WORK, HOME]  Work e-mail, Home e-mail, E-mail
#BDAY Birthday (single field per contact)
#NOTENote (single field per contact)
#ADR [WORK, HOME] Work address (single field per contact), Home address (single field per contact), Address
#PHOTO  Photo (single field per contact)
#X-ICQ   ICQ
#X-JABBER Jabber
#URL [WORK, HOME] WorkURL, HomeURL, URL


for contact in vobject.readComponents(filecont):
  paramDict = {}
  print /--\\
  name = contact.n.value.given

  if len(contact.n.value.additional)  0:
name +=  +contact.n.value.additional
  surname = contact.n.value.family
  paramDict[uName] = name
  paramDict[uSurname] =  surname
  
  for element in contact.getChildren():
if (element.name == TEL):
  if WORK in element.type_paramlist:
phoneType = uWork
  elif HOME in element.type_paramlist:
phoneType = uHome
  else:
phoneType = 
  if CELL in element.type_paramlist:
if phoneType == :
	addField(paramDict, uCell phone, utel:+element.value.strip())
	else:
	addField(paramDict, phoneType+u cell phone, utel:+element.value.strip())
  elif FAX in element.type_paramlist:
if phoneType == :
	addField(paramDict, uFax, utel:+element.value.strip())
	else:
	addField(paramDict, phoneType+u fax, utel:+element.value.strip())
  else:
if phoneType == :
	addField(paramDict, uPhone, utel:+element.value.strip())
	else:
	addField(paramDict, phoneType+u phone, utel:+element.value.strip())
elif (element.name == NICKNAME):
  if len(element.value)  0:
paramDict[uNickname] = element.value.strip()
elif (element.name == BDAY):
  paramDict[uBirthdate] = element.value.strip()
elif (element.name == ADR):
  try:
if WORK in element.type_paramlist:
  addrType = uWork
elif HOME in element.type_paramlist:
  addrType = uHome
else:
  addrType = 
  except:
addrType = 
#  print (addrType+ Address: ).strip()
#  print ZIP = +element.value.code
#  print Country = +element.value.country
#  print City = +element.value.city
#  print Street = +element.value.street

Re: Tasks Client for FR

2009-05-03 Thread Vladimir Berezenko
On 29/04/2009, c_c wrote:

c Hi,
c   I've released a task client based on elementary and sqlite3. See [1].
c   The db should make it easy to write a sync app - once the modality to
c sync is clear. I'm looking at opensync - but any other method should be
c fine.

c  [1]
c  http://n2.nabble.com/NEW-e-tasks-Alpha-release-td2740524ef1958.html

I haven't yet looked over it. Does it have an interface to add tasks from
other apps (e.x. PIM birthdays)?

Regards


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: eBay SIM card - More than one phone number?

2009-04-18 Thread Vladimir Berezenko
On 17/04/2009, pablodanielm...@gmail.com wrote:

p I saw in eBay a 6-in-1 SIM card, they say that it can store up to 6 SIM
p in the chip.
p Is it possible to have 6 active phone numbers in one device using this
p card?

I have sucha card, but with 10-in-1. The active number will be only one. It
might be switched by sw, but not on Neo. We are lacking sim-apps. But it is
possible to select the number in PIN input dialog, inserting the corresponding
pin number.

p Some how you should transfer each SIM information to this special card.
p Is it possible to copy one SIM into another?

It is, but not for all sim-cards. Newer ones are protected better and were not
cracked yet.

Regards


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community