Re: omgps track conversion script

2011-05-31 Thread matteo sanvy
Thanks lot! it's very useful to me with android, that accepts only gpx
tracks!

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


usb host mode on GTA02 - can't see any external devices

2011-05-31 Thread Uri Savoray
whatever I do I only get the following from lsusb:
Bus 001 Device 005: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle 
(HCI mode)
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub


I use a powered hub to connect to usb peripherals...
I used echo host  /sys/devices/platform/s3c2410-ohci/usb_mode ...

Just to be sure, here is the output from usb-device :
T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12  MxCh= 2
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev=02.06
S:  Manufacturer=Linux 2.6.34-qtmoko ohci_hcd
S:  Product=S3C24XX OHCI
S:  SerialNumber=s3c24xx
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  5 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0a12 ProdID=0001 Rev=19.58
C:  #Ifs= 2 Cfg#= 1 Atr=80 MxPwr=0mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
I:  If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb



any help would be appreciated...
Uri
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: How to force current mode?

2011-05-31 Thread Hrabosh

It does not, I was just assuming because 1000 is not in the list of
parameters for om usb charger-limit command.


But if I try to set that by om usb charger-limit 1000 it does not fail
and executing 'om usb charger-limimt' gives back '1000' so it seems to
be OK.

I may doublecheck with car-charger connected to power supply with
current measurement.

Thanks, Hrabosh



Timo Juhani Lindfors píše v Po 30. 05. 2011 v 23:36 +0300:
 Hrabosh zbyne...@volny.cz writes:
  om usb seems to work. The only disadvantage is that I!m not able to set
  charging current to 1A.
 
 How does that fail?
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 



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


Re: Dialling INTO a wireless broadband modem with OpenMoko

2011-05-31 Thread Philip Rhoades

Timo,


On 2011-05-31 06:35, Timo Juhani Lindfors wrote:

Paul Fertserfercer...@gmail.com  writes:

Isn't the existing setup the same already (GPRS/HSDPA)? And with persist
option it should be pretty reliable.


I'm not sure if I would rely on persist alone. I use a combination of
hardware and software watchdogs [1] to implement reliable callback. If I
call the phone from a specific number it does not play the ringtone:
instead it hangs up and initiates a GPRS connection. When that is up it
sends the IP address and some extra information to my server.

This is quite reliable for me. I operated openmoko as an RTK-GPS base
station with this setup for months without having physical access.

[1] I use three watchdogs:

1) normal watchdog package that talks to the hardware via /dev/watchdog
2) custom perl script that verifies that the GSM is associated with a
cell
3) a custom perl script that keeps the battery charged at around 60% to
prolong its life and to also shutdown the system safely if power is lost
for and the charge drops below 20%.



This sounds like what I want to do but from the other way around - use 
the Freerunner to connect to a remote Fedora machine with a Virgin 
(Australia) mobile broadband that is connected when I leave it but 
eventually disconnects some hours or days later.  I am trying to work 
out a way of dialling back in . .


Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW  2001
Australia
E-mail:  p...@pricom.com.au

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


Re: usb host mode on GTA02 - can't see any external devices

2011-05-31 Thread Timo Juhani Lindfors
Uri Savoray u...@septier.com writes:
 I use a powered hub to connect to usb peripherals...
 I used echo host  /sys/devices/platform/s3c2410-ohci/usb_mode ...

Try supplying power to the bus? That's

om usb charger-mode power-usb

or

echo 1  /sys/class/i2c-adapter/i2c-0/0-0073/neo1973-pm-host.0/hostmode


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


Re: How to force current mode?

2011-05-31 Thread Timo Juhani Lindfors
Hrabosh zbyne...@volny.cz writes:
 It does not, I was just assuming because 1000 is not in the list of
 parameters for om usb charger-limit command.

Ah true. I guess I didn't want to advertise that as it may break
something :-)

 But if I try to set that by om usb charger-limit 1000 it does not fail
 and executing 'om usb charger-limimt' gives back '1000' so it seems to
 be OK.

 I may doublecheck with car-charger connected to power supply with
 current measurement.

You can also use om battery consumption to see how fast you are really
charging.




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