Re: How to buy a freerunner

2012-08-06 Thread Timo Juhani Lindfors
Michael Parchet mparc...@sunrise.ch writes:
 can I still buy it now ?

http://pulster.de/ is selling Freerunner A7 for 299 EUR.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Qemu-Neo

2011-09-12 Thread Timo Juhani Lindfors
Aleix Ortialei...@tinet.cat writes:
 I'm trying to compile the qemu-neo1973 on a ArchLinux X86_64. I use the
 gcc-3.4, 
 Dowload the repo https://svn.openmoko.org/trunk/src/host/qemu-neo1973

This is so ancient that I doubt anybody is going to care.. Why are you
doing this?


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Qemu-Neo

2011-09-12 Thread Timo Juhani Lindfors
aleixof alei...@tinet.cat writes:
 I want to emulate Freerunner with Qemu to have something as a
 Freerunner sandbox.

Afaik that code only ever emulated gta01 and not gta02. I'm still not
quite sure what you are trying to do. Why not use normal qemu?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Qemu-Neo

2011-09-12 Thread Timo Juhani Lindfors
Aleix Ortialei...@tinet.cat writes:
 qemu for emulate a non-x86 machine and I'm not sure how to do it
 because in x86 machines I had only one image but now I have a image
 for the file system, a image for the kernel and a image for the boot
 manager.

For example

http://people.debian.org/~aurel32/qemu/armel/

has examples.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Freerunner as a gateway for computer

2011-02-20 Thread Timo Juhani Lindfors
Dima Sorkin dima_na...@013net.net writes:
   (2) Is it possible to cause Freerunner to serve as a WiFI AP (linked
 to Internet via USB thru PC)? How?

AP mode is not possible but you can run FR in ad-hoc mode which is
almost the same for clients.

   (3) Cause Freerunner-USB-PC chain to act as a bridge between wireless
 AP and ethernet AP?

I don't think bridging works with wifi.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: NAND Kernel partition vanished

2010-10-11 Thread Timo Juhani Lindfors
gai boger bebe...@hotmail.com writes:
 It seems that the partition name Kernel in the nand no longer
 exists. Using dfu-util, it doesn't recognize the name, and when I
 use dfu-util -a 3 then it says it writes to an UNDEFINED
 partition, and at the u-boot it says that I'm writing to the
 rootfs partition.

Have you read http://docs.openmoko.org/trac/ticket//2348 ?

 How do I fix this and does this matter at all for the phone to find
 the kernel file?

Probably not.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GPS stopped working, can't figure it out... what else?

2010-10-04 Thread Timo Juhani Lindfors
Joachim Ott jo.o...@googlemail.com writes:
 SHR uses fso-gpsd. There is no need to use hexdump for /dev/gps, it's

Afaik fso-gpsd does not read from /dev/gps but instead relies on some
lower level daemon to actually fetch the data?


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GPS stopped working, can't figure it out... what else?

2010-10-04 Thread Timo Juhani Lindfors
James Hiebert ja...@hiebert.name writes:
 we can rule out kernel bugs. Where's the next place to check?

The gps daemon you use. I use gpsd. I'm not quite sure what daemons
SHR includes.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GPS stopped working, can't figure it out... what else?

2010-10-01 Thread Timo Juhani Lindfors
James Hiebert ja...@hiebert.name writes:
 Does anyone have any advice?

1) kill all processes that access /dev/gps
2) om gps power 0
3) stty -F /dev/gps raw
4) om gps power 1
5) hexdump -C /dev/gps

(If you don't have /dev/gps symlink it is probably called ttySAC1)

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [QtMoko] How to check 2-4-2 timings?

2010-10-01 Thread Timo Juhani Lindfors
Patryk Benderz patryk.bend...@esp.pl writes:
 r...@neo:/# om screen glamo-bus-timings
 (null) om screen power [1/0]
 That's quite not what I supposed to see... Do you know what does it
 means? Do I have 2-4-2 timings applied?

It means you have too old version sorry.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [QtMoko] How to check 2-4-2 timings?

2010-10-01 Thread Timo Juhani Lindfors
Patryk Benderz patryk.bend...@esp.pl writes:
 I have QtMoko v26... how come omhacks is too old?

I don't know, I don't use qtmoko sorry.

 Do you know some repo or download location to get newest omhacks?

apt-cache showsrc omhacks

shows

Vcs-Git: git://git.debian.org/git/pkg-fso/omhacks.git

This version is not yet in debian since debian is in a freeze right
now.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [QtMoko v26] apt-get: E: Couldn't make mmap of 25165824 bytes - mmap

2010-09-10 Thread Timo Juhani Lindfors
Patryk Benderz patryk.bend...@esp.pl writes:
 Does anyone noticed this bug: http://bugs.qtmoko.org/view.php?id=175
 on QtMoko v26? I am trying to figure out if this is my local problem or
 something wider.

jffs2 does not support mmap flags used by apt-get afaik.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: wireshark on FR

2010-08-17 Thread Timo Juhani Lindfors
Harshil Anil Kumar Shah harshil_s...@infosys.com writes:
 How can I capture using tcpdump, it is not available on FR?

It is available on my FR. I run debian. What OS do you run?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: wireshark on FR

2010-08-13 Thread Timo Juhani Lindfors
Harshil Anil Kumar Shah harshil_s...@infosys.com writes:
 My EAP-TLS testing is being done successfully on FR. But I want to
 know the latency of its each step. So I want to install wireshark or
 any other packet capture tool. Bu when I tried to install, it is
 asking for number of dependencies.

Just capture using tcpdump and run wireshark on your PC. Or just
install the dependencies? A 4GB SD card should be enough easily.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Display not working

2010-08-06 Thread Timo Juhani Lindfors
Harshil Anil Kumar Shah harshil_s...@infosys.com writes:
 My Openmoko neo freerunner display is not working.

Not even in NOR u-boot? Is it just the backlight? (Can you see screen
contents if you use a flashlight and watch carefully?)

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Display not working

2010-08-06 Thread Timo Juhani Lindfors
Harshil Anil Kumar Shah harshil_s...@infosys.com writes:
 Yes. In a backlight, I am able to see Openmoko symbol but display is not 
 working..

So only the backlight is broken?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Display not working

2010-08-06 Thread Timo Juhani Lindfors
Harshil Anil Kumar Shah harshil_s...@infosys.com writes:
 Please let me know what is the difference between backlight and display???

Please don't use three question marks when one is enough :-) The LCD
does not produce any light. To be able to see the picture in a normal
environment you need the backlight. Reading

http://en.wikipedia.org/wiki/Backlight

might help.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Display not working

2010-08-06 Thread Timo Juhani Lindfors
Harshil Anil Kumar Shah harshil_s...@infosys.com writes:
 Please tell me how to fix it only backlight is broken.

If the backlight is broken I don't think you can fix it.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: EAP_TLS and wpa_supplicant

2010-08-05 Thread Timo Juhani Lindfors
Harshil Anil Kumar Shah harshil_s...@infosys.com writes:
 1. I do not get, what changes we need to make in functions.sh??

Better just run it under strace and see if you suffer from the same problem or 
not.

-Timo

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: EAP_TLS and wpa_supplicant

2010-08-04 Thread Timo Juhani Lindfors
Harshil Anil Kumar Shah harshil_s...@infosys.com writes:
 When I am running wpa_supplicant from the phone, it says operation not 
 supported, Failed to start AP scan

Maybe you hit debian bug #587634?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: EAP_TLS and wpa_supplicant

2010-08-04 Thread Timo Juhani Lindfors
Harshil Anil Kumar Shah harshil_s...@infosys.com writes:
 How to solve this bug???

Try the manual steps I listed in the report.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Battery discharges when not in use.

2010-07-24 Thread Timo Juhani Lindfors
Hi,

Πρεκατές Αλέξανδρος apreka...@gmail.com writes:
 Is there any clock draining power ? how does gtm02 keep time?

With an RTC.

-Timo
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GPS stopped working, can't figure it out... what else?

2010-07-12 Thread Timo Juhani Lindfors
Yaroslav Halchenko site-openmoko@onerussian.com writes:
 is there any more lower level way to troubleshoot GPS (sending/receiving
 expected input etc) than just eye balling stream of outputs from
 gso-gpsd?

Yes. Make sure that no process has /dev/gps open and then

om gps power 0
om gps power 1
hexdump /dev/gps

-Timo



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GPS stopped working, can't figure it out... what else?

2010-07-12 Thread Timo Juhani Lindfors
Hi,

Yaroslav Halchenko site-openmoko@onerussian.com writes:
 funny enough, on SHR unstable
 1. I have no /dev/gps (ok, added symlink to ttySAC1)
 2. om gps power 1
puke with 'no file' since


 access(/sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-regltr.7/neo1973-pm-gps.0,
  F_OK) = -1 ENOENT (No such file or directory)

and doesn't seems to try


 /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-regltr.7/regulator/regulator.7/gta02-pm-gps.0-RF_3V/power_on

Yes sorry I did not expect 2.6.32 here. I only very recently tested it
and support is still in http://iki.fi/lindi/git/omhacks. Enrico, can
you pull my changes to git.debian.org so that they end up in SHR?

I guess, om is not that freerunner/SHR compatible atm? ;)

Again sorry :)

 r...@om-gta02 /dev # echo 0  
 /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-regltr.7/regulator/regulator.7/gta02-pm-gps.0-RF_3V/power_on
 r...@om-gta02 /dev # echo 1 
 /sys/devices/platform/s3c2440-i2c/i2c-0/0-0073/pcf50633-regltr.7/regulator/regulator.7/gta02-pm-gps.0-RF_3V/power_on
 r...@om-gta02 /dev # hexdump /dev/gps
 r...@om-gta02 /dev # 
 r...@om-gta02 /dev # ls -l /dev/gps
 lrwxrwxrwx1 root root12 Jul 12 12:33 /dev/gps - 
 /dev/ttySAC1

Very odd. Can you verify that contents of power_on actually changes?
And also that power consumption changes?

-Timo

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GPS stopped working, can't figure it out... what else?

2010-07-10 Thread Timo Juhani Lindfors
 some cleanup but the information you need is there. Anyone using a FR 
 device and wanting
 to use the GPS should be using this. There's even a version for Android 

The alternative is to keep GPS constanly on but in low power
state. This gives you privacy and you don't need internet connectivity
either.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GPS stopped working, can't figure it out... what else?

2010-07-10 Thread Timo Juhani Lindfors
Joachim Ott jo.o...@googlemail.com writes:
 The alternative is to keep GPS constanly on but in low power
 state. This gives you privacy and you don't need internet connectivity
 either.

 How to I set that low power mode? GPS time is the cheapest clock
 source on the FR.

I personally do

darcs get http://iki.fi/lindi/darcs/ubx
cd ubx
./set-nmea.py off
./set-periodic-logging.py off
./set-fixnowmode.py on

to turn the power saving mode on and then use

./set-fixnowmode.py off
./set-nmea.py on
./set-periodic-logging.py on

to return to normal mode. If you want to suspend you also need to say

om gps keep-on-in-suspend 1

to make sure that the GPS stays on during suspend.

NOTE: This works only if you make sure that no other process is using
/dev/gps



(om is part of omhacks which you can get from debian or SHR (I think)
or http://git.debian.org/?p=pkg-fso/omhacks.git;a=summary

Note that I added 2.6.32 support just yesterday to
iki.fi/lindi/git/omhacks and it hasn't been propagated yet to SHR or
debian.)

-Timo

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Freerunner Remote Desktop?

2010-05-25 Thread Timo Juhani Lindfors
Nashvin Gangaram nashv...@gmail.com writes:
 Does anyone know of any way to Remote Desktop to the Freerunner (to see
 the Freerunner display on PC, via USB).  Preferably for SHR on Freerunner
 and Linux Mint or Ubuntu on PC...

x11vnc works for me.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Portable printer?

2010-03-29 Thread Timo Juhani Lindfors
Iurii y...@reverseenterprises.com writes:
 before buying one i wanted to know does openmoko supports it with wifi or
 usb for example

What does openmoko mean here? The hardware or some distro? The
openmoko company does not offer official product support anymore.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Portable printer?

2010-03-29 Thread Timo Juhani Lindfors
Iurii y...@reverseenterprises.com writes:
 i wanted to say FR 

FR can act as a USB 1.1 host. Unless your printer explicitely wants
USB 2.0 it should work.

 i wondering if you can suggest me any distro which is going to support some
 sort of printing devices.

Debian supports a large number of printers.

 * maybe you had a practice with that and you are able to suggest a model of
 a portable printer as well?

You can use

http://www.openprinting.org/printers/

to see what printers are supported by free software.

 *it can be wifi printer or even usb 

At least unencrypted wifi works with only one minor issue that is easy
to workaround [http://docs.openmoko.org/trac/ticket//2333]. I can not
promise much about complicated WPA networks.

I'd go for USB. However, you need to figure out some way to charge the
phone while it is an USB host. I used
http://www.dealextreme.com/details.dx/sku.13526


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Portable printer?

2010-03-29 Thread Timo Juhani Lindfors
Joachim Ott jo.o...@googlemail.com writes:
 This is an error when you terminate nwa, it happens now and then.
 Anyway, I can print with an encrypted connection too, and I would be
 wondering why it should not work, it's just a tcp connection to a
 specific port.

http://lists.openmoko.org/pipermail/community/2010-February/060373.html

lists other issues that have not been reported to the bug tracking system.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Sooo... I may have blown up my battery.

2009-12-11 Thread Timo Juhani Lindfors
François-Léonard Gilbert gilbe...@gmail.com writes:
 6) cycle the menu items for a few seconds

 result: the FR shuts down while I cycle the menu.

My uneducated guess is that it shuts down since it only draws 100 mA
from USB and the CPU + display consume more than that.

I was in the same situation a while ago and hacked together

http://iki.fi/lindi/openmoko/u-boot-force-charging1.patch

that modifies u-boot so that you can force charging at 500 mA. I the
turned baclight off, disabled u-boot timeout and waited in u-boot for
10 minutes. After that the battery had charged itself enough to boot
Linux.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: need sugestions

2009-11-20 Thread Timo Juhani Lindfors
Iurii y...@reverseenterprises.com writes:
 can you guide me on installing it ?

I just used apt-get install xterm :-)

Freerunner is just a piece of hardware, you can use any software you
like. There's no reason to do something in some special way if you
don't want to.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Flashing NAND from NAND

2009-10-18 Thread Timo Juhani Lindfors
Atilla Filiz atilla.fi...@gmail.com writes:
 buy a debug board). Is it safe to boot into NAND u-boot menu and flash a new
 bootloader to NAND? Probably not a good idea.

I think you answered your own question :-)


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Flashing NAND from NAND

2009-10-18 Thread Timo Juhani Lindfors
Joachim Ott jo.o...@googlemail.com writes:
 I never heard that you can flash from NAND boot menu. Can you take a
 picture of the boot menu and put it somwhere on the web (like
 imageshack.us or so)?

You configure the u-boot menu to have any entries you like.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Bounty for Navit delopment - Free freerunner - anyone?

2009-06-08 Thread Timo Juhani Lindfors
Yorick Moko yorickm...@gmail.com writes:
 I suggest you all try the new navit
 (http://download.navit-project.org/navit/openmoko/svn/navit-svn-2308_armv4t.opk)
 it has a few improvements which MAKE IT USABLE WITH OSM (seems like it
 was already usable with mapguide reiseplanner):
 *added a 20 MB cache for the FR
 *there was a bug until a few days ago which made the navigation to
 recalculate at every update (mostly with OSM)

Which commit fixes this bug? I'd like to benchmark it. I looked at the
svn log but could only find that a new option for specifying cache
size was added.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Bounty for Navit delopment - Free freerunner - anyone?

2009-06-08 Thread Timo Juhani Lindfors
arne anka openm...@ginguppin.de writes:
 is this part of the official navit sources?

The cache size setting at least is. Look for cache in ./configure
--help or svn log


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Ethernet over USB and UDEV

2009-05-03 Thread Timo Juhani Lindfors
Esben Stien b...@esben-stien.name writes:
 Devices like these got no MAC address, apparently. 

Hmm? My usb0 surely has a mac address. What makes you think your
device doesn't?



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [OM2008.12] GSM modem resetting

2009-05-02 Thread Timo Juhani Lindfors
Stacy Millions slm309...@millions.ca writes:
 I built the debug cable, and ran my test again and captured the debug 
 output from the modem. The sequence of events are as follows

Great, can you please add these to the bug report? Only dieter has
access to the NDA'd docs to interpret the debug output afaik.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [OM2008.12] GSM modem resetting

2009-04-30 Thread Timo Juhani Lindfors
Stacy Millions slm309...@millions.ca writes:
 I will put together a debug cable and see what trace data I can get from 
 the modem. Is there any setup that needs to be done to the modem to 
 enable the debug output or just plug in cable and go?

You need to run gpio J6=0.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Wrong size reported on SD Card

2009-04-18 Thread Timo Juhani Lindfors
Daemon D unnaturaltrag...@yahoo.com writes:
 Tried that. No change.

You could try

blockdev --getsz /dev/mmcblk0p1
blockdev --getsz /dev/mmcblk0p2

to check that kernel really see the partition sizes right.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Wrong size reported on SD Card

2009-04-18 Thread Timo Juhani Lindfors
Daemon D unnaturaltrag...@yahoo.com writes:
 Appears there is no blockdev command.

Ok, can't think of anything else then. You might consider filing a bug
against your distro to provide blockdev.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: problem in Using GPRS [Debian]

2009-04-17 Thread Timo Juhani Lindfors
lakshmikanth t.lakshmika...@gmail.com writes:
 debian-gta02:~# ping www.google.com
 PING www.l.google.com (209.85.153.104) 56(84) bytes of data.

Doesn't this prove that your nameserver works?


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Wrong size reported on SD Card

2009-04-17 Thread Timo Juhani Lindfors

[ Please don't top post, it makes it harder to quote the relevant
parts. ]

Daemon D unnaturaltrag...@yahoo.com writes:
 Units = cylinders of 64 * 512 = 32768 bytes
 /dev/mmcblk0p1   1  183106 5859384  83 Linux

(183106-1)*32768 = 6 G

 /dev/mmcblk0p2  183107  244672 1970112  83 Linux

(244672-183107)*32768 = 2 G

  After formatting the 2 new partitions, 1st 6GB vfat,
  2nd 1.xGB ext3,

What steps did you exactly take to partition the disk? mmcblk0p2 is
not 1G but 2G.




___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


how to quote replies in nabble.com [Re: No GSM. Suspect dead Calypso. What to do?]

2009-04-12 Thread Timo Juhani Lindfors
Hi,

(top posting on purpose so that you see the whole message.)

is there some way to notice when you are quoting somebody and when you
are writing yourself? I was first about to ignore this email since I
thought it was my own email. Usually people mark quotations by
prefixing lines with  .

I'm writing this to mailing list since perhaps it's a common problem
with nabble.com and somebody who uses it could help.

best regards,
Timo Lindfors

danek dan...@digsoc.com writes:
 You need a 2.5mm 3-pole plug and then something to listen to the
 115200 8N1 serial data coming the middle pole. This is 0..3V so you
 can't just plug into serial port of your PC (which is -5..5V afaik). I
 am trying to use my AVR microcontroller to do that but I was told a
 MAX232 chip can do the conversion for you.

 Please read the whole #1024 thread at
 http://lists.openmoko.org/pipermail/hardware/2009-April/thread.html --
 it mentions how this cable can be built.


 Unless I'm not looking carefully enough, all I can see is a pinout to the 
 headers on the debug board (which I don't have) -- I'm assuming I can just 
 wire this up to a DB-9 connector using the standard RS-232 pins for TX and 
 RX, though you say that the voltage won't work... I'm assuming this would go 
 for my USB-Serial adapter as well, since it is meant to take the place of a 
 PC serial port. :(

 I will have a look at the docs for MAX232... though if you have a link to 
 detailed info (pinouts, plus schematic for any supporting components for 
 MAX232, etc.) from anybody who has built a suitable cable using this IC it 
 would be helpful.

 Thanks again for your help and suggestions.
 -- 
 View this message in context: 
 http://n2.nabble.com/No-GSM.-Suspect-dead-Calypso.-What-to-do--tp2614421p2622798.html
 Sent from the Openmoko Support mailing list archive at Nabble.com.


 ___
 support mailing list
 support@lists.openmoko.org
 https://lists.openmoko.org/mailman/listinfo/support

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: No GSM. Suspect dead Calypso. What to do?

2009-04-11 Thread Timo Juhani Lindfors
danek dan...@digsoc.com writes:
 4. Since it took a while to get socat sorted, and I wasn't sure what
 you meant when you said Calypso goes to sleep very fast (goes to
 sleep after being powered on? in between commands? didn't know.) I

If you give a pause when entering the commands it sleeps. The next
command will then wake it up but it won't parse that first command.

 Neo: AT-Command Interpreter ready
 Me: ATE1
 Neo: //nothing ...
 Me: ATE1
 Neo: ATE1
 OK
 Me: AT+CFUN=1
 Neo: AT+CFUN=1 // pause for a couple of seconds
 ERROR
 // at this point, i don't know what has gone wrong, so I keep giving commands 
 anyway...
 Me: AT+CPIN=4747 // i don't normally use a SIM pin, but i do like the 
 number 47, so I set this SIM pin on my dumbphone. When I enter it when QPE 
 asks me, it's happy. When I enter something else, it's not. So I'm assuming 
 the Neo is working correctly with the PIN.
 Neo: AT+CPIN=4747
 OK
 Me: AT+CPIN?
 Neo: AT+CPIN?
 +CPIN: READY

 OK
 Me: AT+COPS
 Neo: AT+COPS
 OK
 AT-Command Interpreter ready
 //It looks like it reset itself. I try dialing anyway...

Everything looks normal here except the reset. Can you double check
that you don't have any other software that could write to the
power_on (or pwron) node of gsm in /sys?

If this indeed is a real reboot of the calypso chip then we'd really
like to see calypso debug output (you need to construct a cable to
capture it, do you have electronics experience?).

 Me: ATD+1XXXYYY // this is a US telephone number, phone sitting next to me

Yeah after reset it obviously looses registration to network.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: No GSM. Suspect dead Calypso. What to do?

2009-04-11 Thread Timo Juhani Lindfors
danek dan...@digsoc.com writes:
 Also, is it normal for the modem to give AT+CFUN=1\r\nERROR\r\n
 when trying to set telephony mode? As I mentioned, this happens
 every time, and there's no indication what ERROR means exactly.

yes.

 Like I said before, if I do AT+CFUN? after doing AT+CFUN=1 and
 getting ERROR from the Calypso, I get +CFUN: 0 as a reply. If
 this part is working, shouldn't I be getting +CFUN: 1 to tell me
 it has successfully entered phone mode?

Haven't tried AT+CFUN?

 I'm happy to do just about anything as long as it doesn't involve
 SMT. Will I need a ribbon cable to plug into the JTAG header on
 Neo's board? If so, where do you recommend getting one?

You need a 2.5mm 3-pole plug and then something to listen to the
115200 8N1 serial data coming the middle pole. This is 0..3V so you
can't just plug into serial port of your PC (which is -5..5V afaik). I
am trying to use my AVR microcontroller to do that but I was told a
MAX232 chip can do the conversion for you.

Please read the whole #1024 thread at
http://lists.openmoko.org/pipermail/hardware/2009-April/thread.html --
it mentions how this cable can be built.





___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: No GSM. Suspect dead Calypso. What to do?

2009-04-10 Thread Timo Juhani Lindfors
danek dan...@digsoc.com writes:
 - A couple of weeks later I contacted the list for
 suggestions. Someone suggested looking at the output of logread,
 which showed a +CME ERROR: 100 when trying to talk to the

So do I understand it right, calypso answers to AT commands and is
thus not completely dead?


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: No GSM. Suspect dead Calypso. What to do?

2009-04-10 Thread Timo Juhani Lindfors
danek dan...@digsoc.com writes:

 Another possibility is that something is wrong with the antenna, but
 again, I don't know how to read AT well enough to tell if

Dec 19 22:53:09 om-gta02 user.notice root: AtChat :  W : %CSQ:  16, 99, 1

shows that the signal gsm signal is there so it is not an antenna
problem. Please try to register to network manually with socat. First
stop all processes that access ttySAC0 and then

echo 0  /sys/devices/platform/neo1973-pm-gsm.0/power_on
echo 1  /sys/devices/platform/neo1973-pm-gsm.0/power_on
socat - file:/dev/ttySAC0,crtscts,crnl,b115200

and then type (mind your own pin instead of )

ATE1
AT+CFUN=1
AT+CPIN=
AT+CPIN?
AT+COPS
AT+COPS?

and tell us the output. Note that you might want to send those
commands multiple times since calypso will go to sleep very fast and
when it wakes up it won't handle the first command it receives.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: USB hub

2009-04-07 Thread Timo Juhani Lindfors
Seth Rothenberg s...@pachai.net writes:
 Is there a USB hub that is recognized by Freerunner?
 I think the one I have is not recognized by FR or Ubuntu.

FR is a piece of hardware, ubuntu is software, are you running ubuntu
on freerunner or ubuntu on PC? If your usb hub does not work with your
PC/ubuntu then probably it does not work with freerunner either.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: USB hub

2009-04-07 Thread Timo Juhani Lindfors
Seth Rothenberg s...@pachai.net writes:
 This hub does not appear to be supported
 by these two OS's, so I asked (see above :-)

Sounds like a non-standard hub then :-)


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [debian] locale.gen fails

2009-03-28 Thread Timo Juhani Lindfors
arne anka openm...@ginguppin.de writes:
 just noticed that somehow my locales are gone.
 when trying to recreate them, locale.gen ends up with
 Generating locales (this might take a while)...
en_DK.UTF-8...cannot map archive header: Invalid argument
   done
en_US.UTF-8...cannot map archive header: Invalid argument
   done

 any hints? i so far found only reports of this porblem but no answer at  
 all.

Sounds like corrupted files to me. Run fsck and then debsums to check
the integrity of your installation.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: More than 7 partitions on the SD

2009-03-15 Thread Timo Juhani Lindfors
Nicolas Dufresne nicolas.dufre...@gmail.com writes:
 Le samedi 14 mars 2009 à 18:33 +0200, Timo Juhani Lindfors a écrit :
 Why pivot_root? Modern initramfs' use chroot.

 Really ? Which distros uses that ? It's really unclean to my sense,

At least debian etch (oldstable) and lenny (stable).

 since you stay with two partitions mounted while you only need one and

I wouldn't call tmpfs a partition.

 You cannot free from ram uses for initramrfs while you could use it for

Wrong, run-init removes all files from tmpfs before calling chroot().

 other work. I've checked both Gentoo and Ubuntu/Debian and they both
 uses pivot_root.

I have checked debian etch and lenny and they use chroot :-)

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: More than 7 partitions on the SD

2009-03-12 Thread Timo Juhani Lindfors
Pietro \m0nt0\ Montorfano mont...@gmail.com writes:
 LVM could be the solution, your idea is good and here is mine. Due to
 uboot i don't think that an initrd could be done, but we can make the

Hmm? I'm sure u-boot supports initrd?

 like courses or similar, and then chroot to the choosen partition and
 continue booting.

Don't chroot, kexec instead?



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: USB Host mode

2009-03-11 Thread Timo Juhani Lindfors
Sven Klomp s...@klomp.de writes:
 /sys/devices/platform/neo1973-pm-host.0/hostmode
 but it doesn't exist.

It depends on your kernel. Use

find /sys -name hostmode

to find it.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: FreeRunner crashes after 10 minutes using GPS

2009-03-11 Thread Timo Juhani Lindfors
Juan Lucas Dominguez Rubio jldoming...@prodevelop.es writes:
 My FreeRunner (running Om2008.9) freezes after about 10 minutes
 using the GPS from my Java application. I think it's the same issue
 discussed below. I have searched the tickets but didnt find a
 reference to this among the 2200 tickets.

GPS should totally have nothing to do with X. Does the system respond
to ping? Does the problem occur if you don't run X? Does the problem
occur if you run X but have switched to first virtual console?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: More than 7 partitions on the SD

2009-03-09 Thread Timo Juhani Lindfors
Pietro \m0nt0\ Montorfano mont...@gmail.com writes:
 Sooo, how it's that possible?? Why can't we simply patch the driver
 which make the mmcblk device to let us create all the devices?

drivers/mmc/block.c has the limit:

/*
 * max 8 partitions per card
 */
#define MMC_SHIFT   3
#define MMC_NUM_MINORS  (256  MMC_SHIFT)

Feel free to change but I doubt this will be accepted upstream.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [OM2008.12] How to fix Echo problem?

2009-02-08 Thread Timo Juhani Lindfors
Kristian Frisk krist...@frisk.ax writes:
 when using the phone the person at the other end (who I am talking to)
 hears a strong echo of his/hers own voice.

 Is it possible to get rid of this echo?

Yes, the undocumented command AT%N0187 enables noise cancellation. At
least FSO framework version 5c40b0ae089d9d04f3cb49df986df68a3b82be3d
does this.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [debian] navit

2009-02-01 Thread Timo Juhani Lindfors
Jeffrey Ratcliffe jeffrey.ratcli...@gmail.com writes:
 I can't find any recent navit packages for Debian.

 Do I have to roll my own?

I couldn't find any either so I built my own with

http://iki.fi/lindi/openmoko/navit.txt

using qemu + distcc + cross-compilers as described in

http://wiki.openmoko.org/wiki/Development_Environment


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Can't create bug ticket

2009-01-25 Thread Timo Juhani Lindfors
danek dan...@digsoc.com writes:
 I am having a problem with my GTA02 not registering GSM. It was working for

Can you register if you manually talk to the GSM chip by reading
/Manually_using_GSM from wiki?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Trouble with ptrace

2009-01-20 Thread Timo Juhani Lindfors
wind_cheng wind_ch...@asustek.com.cn writes:
 I want to know system call number, after your method, I print
 regs.ARM_ORIG_r0. it's 0

On ARM the syscall number is not in register r0.

 and i find out none of them is the right one.
 i make a system call execve, it's system call number is 11, but none of the
 regs is 11.
 Please tell me how should i do to get system call number .

apt-get source strace

shows

/*
 * Get the ARM-mode system call number
 */
errno = 0;
scno = ptrace(PTRACE_PEEKTEXT, pid, (void *)(regs.ARM_pc - 4), NULL);
if (errno)
return -1;

if (scno == 0  (tcp-flags  TCB_WAITEXECVE)) {
tcp-flags = ~TCB_WAITEXECVE;
return 0;
}

/* Handle the EABI syscall convention.  We do not
   bother converting structures between the two
   ABIs, but basic functionality should work even
   if strace and the traced program have different
   ABIs.  */
if (scno == 0xef00) {
scno = regs.ARM_r7;
} else {
if ((scno  0x0ff0) != 0x0f90) {
fprintf(stderr, syscall: unknown syscall trap 0x%08lx\n,
scno);
return -1;
}

/*
 * Fixup the syscall number
 */
scno = 0x000f;
}

Just curious, why are you trying to reimplement this?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Trouble with ptrace

2009-01-20 Thread Timo Juhani Lindfors
wind_cheng wind_ch...@asustek.com.cn writes:
 I'm a newbie. 

Ok, learning is always a good reason for reimplementing stuff :-)

 i am playing with ptrace these days, and it works on my FC8, but it do not
 fit ARM.
 So ..

I have done some playing around with ptrace too:

itrace single steps over a program and records every single
instruction that was executed. I wrote this since ltrace did not
record inter-library function calls. Together with itrace-decode1.py
it is possible to map the instruction list back to symbolic addresses.
-- http://iki.fi/lindi/darcs/itrace/

screenify moves an application inside gnu screen. It is not perfect
since it affects stdin/stdout/stderr and does nothing to process groups.
-- http://iki.fi/lindi/screenify

URLFixTrick.py is a funny plugin to subterfugue that attaches to a
process and makes it impossible for the process to write broken URLs
to any file descriptor :-)
-- http://iki.fi/lindi/URLFixTrick.py

http://iki.fi/lindi/ptrace-memdump.c is an early version of itrace
which I modified to dump the memory of a process (used only once so it
is not general purpose tool). This can be used to read the contents of
a suidroot binary even if you don't have read permissions to
it. (Using ptrace will drop suid flag but it will still give you
access to the memory of the executable.)

Interesting ptrace tricks written by others include

Jumping sudo using ptrace
-- http://www.quantumg.net/sudojump.php

SUBTERFUGUE is a framework for observing and playing with the reality
of software; it's a foundation for building tools to do tracing,
sandboxing, and many other things.  You could think of it as strace
meets expect.
-- http://subterfugue.org/

and of course also strace, gdb and user-mode-linux are good sources of
inspiration.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Experiences with GTA02 and OM2008.12

2009-01-20 Thread Timo Juhani Lindfors
Gothnet openm...@nastylittlehorse.net writes:
 GPS just works, phone calls just work, SMS just works, Wifi  works (with a

Hmm, phone calls surely suffer from the same buzz issue that affects
all users?

 manual directory creation step), the keyboard is good, the interface is

And wifi is surely the same as anybody following the andy-tracking
has?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Experiences with GTA02 and OM2008.12

2009-01-20 Thread Timo Juhani Lindfors
Gothnet openm...@nastylittlehorse.net writes:
 Well I've never noticed the buzz on my handset, but presumably it does
 suffer from it as (AFAIK) it's a hardware issue?

It's the other party that hears it.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: OpenMoko Webcam

2009-01-11 Thread Timo Juhani Lindfors
Neil Benn neil.b...@ziath.com writes:
 point to asm (it does) - apart from that I'm stuck.  Compiling on Ubunutu
 8.10 if that maeks any difference?

That is no cross-compiling. You need to compile on armel, not x86.

To setup cross-compiling you better see wiki/Development_Environment


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: OpenMoko Webcam

2009-01-11 Thread Timo Juhani Lindfors
Neil Benn neil.b...@ziath.com writes:
 linux-image-2.6.24-openmoko-gta02 package.  It compains that I need to add
 sources - I've searched around again but cannot find the repository needed

deb-src http://pkg-fso.alioth.debian.org/debian unstable main




___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: midori and de.wikipedia.org

2009-01-04 Thread Timo Juhani Lindfors
Joachim Ott jo.o...@googlemail.com writes:
 The free memory goes down to 2 MB, swap usage goes up to 8 MB. Can someone
 else try this page with midori?

Works on debian unstable armel and debian unstable x86.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GTA02 is now an expensive brick

2009-01-04 Thread Timo Juhani Lindfors
Lucas Lacroix raijinse...@gmail.com writes:
 I'm saddened by the fact that a phone that was supposed to be released to
 the masses can have such a blatant failing. Not only can it NOT turn on when
 the battery has little or no charge, the APM service does not turn the phone
 off to prevent this (note: all OTHER phones I have ever used WILL turn off
 when the battery gets below some critical level).

I use a simple shell script to shutdown the phone in one minute if it
is not charging and the capacity is less than 4%.


#!/bin/sh
set -e
. $HOME/.sysfsrc

while true; do
# log battery info to stdout
echo -n `date -Iseconds` `date +%s`
for i in type status voltage_now current_now charge_full temp technology 
present time_to_empty_now time_to_full_now capacity online; do
val=`cat $sys_battery/$i | sed 's/ /_/'`
echo -n  $val
done
val=`cut -d' ' -f2 /proc/loadavg`
echo -n  $val
echo 

# workaround #1158
if [ `cat $sys_battery/capacity` -lt 95 ]; then
if [ `cat $sys_battery/status` = Not charging ]; then
usbhost-start
usbhost-stop
fi
fi

# workaround #1712
if [ `cat $sys_battery/capacity` -lt 4 ]; then
if [ `cat $sys_battery/status` = Not charging ]; then
sudo shutdown -h 1
exit
fi
fi
sleep 120
done

 On top of this, if I ever expect to have a working phone, I have to disable
 the only feature which should extend the battery life (read that as:
 OpenMoko has fixed the WSoD problem by replacing it with the BSoD - Black
 Screen of Death).

Can't say much here. I have not seen either problem very often.

 work with this battery. Lastly, I do not have a second battery.

Try to find somebody else who has a freerunner and borrow a battery
for a while?



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GTA02 is now an expensive brick

2009-01-04 Thread Timo Juhani Lindfors
Marc Rios marcrio...@gmail.com writes:
 Can you tell me how you make this script to load on start-up. I think its a
 good choice to make. I'm with qtopia distro.

I use

su - lindi -c /home/lindi/.bootuprc 

in /etc/rc.local to start things as normal user on bootup. Any more
elegant solutions are welcome. (I know @reboot with cron can do this
but I try to avoid all extra processes so I do not run cron at the
moment).

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: NTP

2008-12-19 Thread Timo Juhani Lindfors
Nick n...@masters.net writes:
 In summary, what was the best way to achieve this?

I use ntpdate when I can and then use hwclock --adjust workaround the
inaccuracy of the hardware RTC. I do not write system time back to RTC
on shutdown.

 Is the OS on the FreeRunner like other Linux Operating Systems or is there
 more to consider when installing software like this?

Depends on what OS you run.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: linux-headers

2008-12-18 Thread Timo Juhani Lindfors
Mickael Labrousse m.labrou...@bcmd.fr writes:
 I'm looking for linux-headers-2.6.24 for my freerunner.
 Where can I find them ?

For debian? apt-get source linux-image-2.6.24...

is probably the only way to get them right now since afaik make-kpkg
is not used yet.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Other possible Echo Cause

2008-12-16 Thread Timo Juhani Lindfors
Paul pault...@gmail.com writes:
 http://lists.openmoko.org/nabble.html#nabble-td1486414|a1518726

Could somebody please send me the message-id of this message or
alternatively a link that works without javascript? I only get empty
page in midori and starting firefox takes a long time.



___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Sad Story

2008-12-14 Thread Timo Juhani Lindfors
polz p...@aufbix.org writes:
 openmoko10 (or whatever that firmware was called) hasn't fixed the issue for 
 me. And no, a software workaround which still drains the battery in less than 
 a day IMO is not enough.

Have you actually measured that the workaround draws so much power?

  3. A stable, FSO-based distribution 
 ...
 there was just recently a mail from om lining out the development in this
 respect.
 I must have missed it. To find it, what should I be googling for ?
 On a related note, the latest FSO in debian (apt-get update; apt-get upgrade 
 about an hour ago) never asks me for a PIN. Who should I report this to, 
 which logs should I attach?

1) make sure frameworkd.conf has

[ogsmd]
# GTA02 has TI Calypso
modemtype = ti_calypso
ti_calypso_deep_sleep = never
log_level = DEBUG

2) start frameworkd from terminal with something like

script -c 'sudo frameworkd' frameworkd.log

3) start whatever phone program you use

4) send frameworkd.log to trac.freesmartphone.org in a bug report if
   it still does not ask for pin and report output of

dpkg -l | grep fso
dpkg -l zhone




___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: ssh dying constantly

2008-12-14 Thread Timo Juhani Lindfors
arne anka openm...@ginguppin.de writes:
 host computer (which is not the easiest since it's hard to distinguish  
 which of the different clients it is).

RET ~ .

will kill your client (see man ssh for escape sequences).

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Sad Story

2008-12-13 Thread Timo Juhani Lindfors
polz p...@aufbix.org writes:
 1. Recamping issue - http://docs.openmoko.org/trac/ticket/1024.
 I know it's hard and I presume people from TI aren't being helpful since 
 solving this issue isn't going to be very profitable for them. Still, please, 
 someone solve this!

Isn't the software workaround enough to make the phone useful?

 2. A stable, easy-to-use build official system.
 Setting up a development environment for Openmoko should be as easy as it is 
 to set up a build environment for openwrt. Until there's an official, always 
 working way to set up a build environment, application development isn't 
 going to take off.

Seconded. I use debian since 'apt-get --build source foo' is
guaranteed to build a package from source. With
org.openmoko.asu.stable I get frequent build failures. Most frequent being

http://docs.openmoko.org/trac/ticket/2169

And yes, I prefer debian for many other things too (no non-free
ringtones etc.) but I would at least do much more testing with the
openmoko distro if I could compile it from source every time I needed
to test it.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: cu: Permission denied

2008-12-08 Thread Timo Juhani Lindfors
luca pisani [EMAIL PROTECTED] writes:
 [EMAIL PROTECTED]:~# cu -l /dev/ttyACM0
 cu: creat (/var/lock/TMP000e56): Permission denied
 cu: /dev/ttyACM0: Line in use

What if you try picocom /dev/ttyACM0 instead of cu?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: what software can be used to send AGPS data to /dev/ttySAC1?

2008-12-02 Thread Timo Juhani Lindfors
arne anka [EMAIL PROTECTED] writes:
 i may be wrong -- but isn't agps done in frameworkd already? at least i  
 got the impression by browsing the logs due to the recent gps issue ...

I find only

$ grep -ri agps .
./framework/subsystems/ogsmd/modems/freescale_neptune/modem.py:12  AGPS 
 /dev/mux14

Besides, I am not using frameworkd for gps but the plain old gpsd. I
don't want to risk loosing calls by having frameworkd do anything
extra :-)






___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Debian freezes

2008-12-02 Thread Timo Juhani Lindfors
Jelle De Loecker [EMAIL PROTECTED] writes:
 freerunner, it would just lock up. Freeze completely.

Which kernel are you running?

-Timo

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: what software can be used to send AGPS data to /dev/ttySAC1?

2008-12-02 Thread Timo Juhani Lindfors
Neng-Yu Tu (Tony Tu) [EMAIL PROTECTED] writes:
 Matt's script is implement the agps online protocol released by u-blox.

Thank you.

deb-src http://lindi.iki.fi/lindi/debian destructive main

has a very quick'n'dirty debian (source) package (fakeroot apt-get
--build source agps-online to use).

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Sad Story

2008-12-01 Thread Timo Juhani Lindfors
Yorick Moko [EMAIL PROTECTED] writes:
 we need a way to remotely activate the gps and make it send an sms and
 e-mail etc etc

My ~/bin/remote-wakeup will run remote-wakeup-script when I call the
phone from a preconfigured number:

#!/usr/bin/python
import dbus
import dbus.mainloop
import dbus.mainloop.glib
import gobject
import subprocess


actions = { \
  CENSORED:/home/lindi/bin/remote-wakeup-script }

def onCallStatus( index, status, properties ):
if status == incoming:
try:
 action = actions[properties[peer]]
except KeyError:
 pass
else:
  obj = bus.get_object( org.freesmartphone.ogsmd, 
/org/freesmartphone/GSM/Device )
  callInterface = dbus.Interface( obj, 
org.freesmartphone.GSM.Call )
  callInterface.Release( index )
  subprocess.Popen( action, shell=True )

dbus.mainloop.glib.DBusGMainLoop( set_as_default=True )
mainloop = gobject.MainLoop()
bus = dbus.SystemBus()
bus.add_signal_receiver( onCallStatus,
 CallStatus,
 org.freesmartphone.GSM.Call,
 org.freesmartphone.ogsmd,
 /org/freesmartphone/GSM/Device )
mainloop.run()


At the moment ~/bin/remote-wakeup-script does just

#!/bin/sh
start-gprs-and-report-ip 

where start-gprs-and-report-ip does

#!/bin/bash
set -x
gprs-start

while true; do
ip=$(/sbin/ifconfig usb0|grep inet addr:|cut -d':' -f2|cut -d' ' 
-f1|head -n1)
if [ $ip !=  ]; then
wget -O /dev/null http://iki.fi/lindi/openmoko/wakeup;
ret=$?
if [ $ret -eq 0 ]; then
exit
fi
fi
sleep 10
done

where gprs-start does

#!/bin/sh
APN=internet.saunalahti
USERNAME=x
PASSWORD=x
BUSNAME=org.freesmartphone.frameworkd
OBJECTPATH=/org/freesmartphone/GSM/Device
METHODNAME=org.freesmartphone.GSM.PDP.ActivateContext
mdbus -s $BUSNAME $OBJECTPATH $METHODNAME $APN $USERNAME $PASSWORD

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Sound quality in calls.

2008-11-08 Thread Timo Juhani Lindfors
Walery Strauch [EMAIL PROTECTED] writes:
 Well, i have tried 2008.7, Qtopia, FSO milestone 2 and 3 and debian.

 The sound has been described as if i sit in a barrel. Its very low
 with much interferance and echos. Im beginning to suspect somethings
 wrong with the actual hardware.

If you suspend something is wrong with the hardware then do a call
manually using socat?


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: broken screen: how to auto-turn FR into bluetooth/USB GPS?

2008-11-04 Thread Timo Juhani Lindfors
[EMAIL PROTECTED] writes:
 - I am using Mandriva and FR more out of political decisions than geek
 competence: consider I am indeed quite a newbie, and the more step-by-step
 your advice will be, the better it'll be to get me out of despair ;-)

I am not sure how detailed instructions I can give but the following
should work:

1) install debian
2) apt-get remove fso-frameworkd udev zhone fso-gpsd zhone-session
3) apt-get install gpsd and configure it to use /dev/ttySAC1
4) add something like
echo 1  
/sys/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-pm-gps.0/pwron
to /etc/rc.local so that GPS gets power
5) read http://www.gentoo.org/doc/en/bluetooth-guide.xml and configure
   bluetooth networking
6) if you can ping your phone over bluetooth networking you should be
   able to also access the gpsd (tcp port 2947).

I have personally used tcp/ip over bluetooth under debian on the
freerunner so the above steps should work although they might be bit
inaccurate.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo + Debian (official)

2008-08-23 Thread Timo Juhani Lindfors

Aaron Sowry [EMAIL PROTECTED] writes:
 After rebooting the touchscreen doesn't work, and the X logfiles show no
 mention of Glamo. Has anyone got this working?

1) get Xglamo binary to /root
2) ln -s /usr/lib/libts-0.0.so.0 /usr/lib/libts-1.0.so.0
3) ln -sf /root/Xglamo /etc/X11/X
4) export TSLIB_TSDEVICE=/dev/input/event1 to /etc/init.d/zhone-session

is my ugly workaround at the moment. When touchscreen starts to work
with the debian version of xglamo we can get rid of this kludge.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: creating debain image/tar for download

2008-08-23 Thread Timo Juhani Lindfors
arne anka [EMAIL PROTECTED] writes:
 if someone has anything to say about that (especially the arguments for  
 tar), speak now or forever hold your peace!

Well, now that you ask, I have my doubts on offering ready-made debian
images :-)

With the ASU images I witnessed how new users downloaded an image and
then hit a bug without any way to try to fix or debug it since they
had no idea on how to recompile the binaries with debugging symbols (I
personally spent days trying to build org.openmoko.asu.dev with
mokomakefile myself).

My fear is that with ready-made debian images the real installer might
get less testing and become something that only really advanced users
can use. I hope I am wrong here :-)

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GRPS on Debian ?

2008-08-22 Thread Timo Juhani Lindfors
sparky mat [EMAIL PROTECTED] writes:
 /org/freesmartphone/GSM/Device: ActivateContext failed:
 org.freedesktop.DBus.Python.IOError

Weird. Please

1) add log_level = DEBUG to /etc/frameworkd.conf under [ogsmd]

2) /etc/init.d/fso-frameworkd stop

3) run frameworkd manually and log all output while running gprs
   script. You might want to search and replace your PIN code or other
   non-public stuff.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread Timo Juhani Lindfors

arne anka [EMAIL PROTECTED] writes:
  Is Xglamo available on the Debian repository yet?

 no. and it's not clear when it ever will.


 How do I build it for myself? I mean, its open-source, and on Linux  
 2.6.24
 right?


 i don't have the faintest idea. by the name i would have expected it to be  
 an X.org kind of driver -- but apparently it is not.
 nobody ever said something about that, but i got the impression, simply  
 dropping the driver into a debian installation would not work.

 you should be able to use either the binary from an ipk or grab the  
 sources from svn or git.


http://pkg-fso.alioth.debian.org/xglamo-beta/

has initial debian packaking. The current problem afaik is that
touchscreen does not work with libts from debian. Xglamo is using
kdrive which is according to

http://en.wikipedia.org/wiki/KDrive

has been integrated to xorg source repository now.


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread Timo Juhani Lindfors
Aapo Rantalainen [EMAIL PROTECTED] writes:
 I'm not brave enough to 'make install'  on my computer, but if I do
 'make install' on my phone it is ready then?

Don't. It's a debian package so you build and install it with

wget 
http://pkg-fso.alioth.debian.org/xglamo-beta/xglamo_1.3.0.0+git20080807.orig.tar.gz
wget 
http://pkg-fso.alioth.debian.org/xglamo-beta/xglamo_1.3.0.0+git20080807-1.diff.gz
wget 
http://pkg-fso.alioth.debian.org/xglamo-beta/xglamo_1.3.0.0+git20080807-1.dsc
dpkg-source -x xglamo_1.3.0.0+git20080807-1.dsc
cd xglamo-1.3.0.0+git20080807/
dpkg-buildpackage -rfakeroot
sudo dpkg -i ../xglamo_1.3.0.0+git20080807-1_i386.deb

and you'll even be told what to install if some dependencies are
missing. (I tested these steps on debian unstable on x86.)


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Glamo driver on Debian

2008-08-21 Thread Timo Juhani Lindfors
Aapo Rantalainen [EMAIL PROTECTED] writes:
 user system, so no sudo and i386-armel). It took 120min.

Interesting. I did

qemubuilder --build xglamo_1.3.0.0+git20080807-1.dsc

on a 2.2 GHz athlon and it took 132 minutes:

real132m46.188s
user125m59.104s
sys 0m52.419s


___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Swapping screen orientation on debian-image

2008-08-18 Thread Timo Juhani Lindfors
xaos x [EMAIL PROTECTED] writes:
 The mouse orientation is messed up with it in landscape. I started
 it with Option Rotate CCW in xorg.conf and the touchscreen was

I have submitted a bug report and patch, see bugs.debian.org.

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: USB Networking troubles

2008-08-07 Thread Timo Juhani Lindfors
michael cole [EMAIL PROTECTED] writes:
 This is not a Freerunner issue -- I am able to ssh into FR using UBS
 networking but I simply cannot get the Freerunner to ping anything
 other than the desktop it is connected to. The issue almost certainly
 has something to do with the iptables/nat  setup on the desktop
 computer.

Can you run

http://iki.fi/lindi/print-net-settings

on your desktop system and report the output? It should print all
relevant network information.

Also, 

desktop$ sudo tcpdump -i usb0 -n icmp
desktop$ sudo tcpdump -i eth0 -n icmp

while running

freerunner$ ping 192.168.1.1

could be useful. What does tcpdump print in that case?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: GPRS Problems w/ 2008.1

2008-08-05 Thread Timo Juhani Lindfors
Craig Woodward [EMAIL PROTECTED] writes:
 Receive serial link is not 8-bit clean:
 Problem: all had bit 7 set to 0

Just curious, what does

sudo stty -F /dev/ttySAC0 -a

print?

___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support