Re: How to get serial port connection to Neo Freerunner?

2011-03-29 Thread Joachim Ott
On 29 March 2011 11:55, Dave Schmidt dvs...@gmx.com wrote:
 Hello everyone,

 I have my Freerunner connected to the PC via USB cable. SSH terminal is open.

 I want to access the phone via serial interface (to flash osmocombb firmware).
 Could/should the same usb cable be used for that? I have
 created a node (mknod /dev/ttyUSB0 c 188 0) and inserted module
 (modprobe usbserial) on the PC, but usbserial does not find any device.
 The report is only:

 usbcore: registered new interface driver usbserial
 USB Serial support registered for generic
 usbcore: registered new interface driver usbserial_generic
 usbserial: USB Serial Driver core

Flashing GSM firmware is a bit more difficult on the FR, see
http://wiki.openmoko.org/wiki/GSM/Flashing section Manual Update.
Maybe you ask other people at osmocombb if and how they did their
firmware upgrade on the FR.

___
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 Joachim Ott
On 20 February 2011 23:12, Dima Sorkin dima_na...@013net.net wrote:
 Hi.

 If it seems that the below questions are general Linux WiFi or
 networking questions without Freerunner specific issues/hacks, please
 feel free to redirect me to relevant manuals.

  (1) It is sometimes more convenient for me to connect to open WiFi
 access point with Freerunner and make it serve as a gateway (for a PC
 that is connected to Freerunner via USB). How do I do it?

There is a page for gprs + usb, it should be easy to adopt that for wlan:
http://wiki.openmoko.org/wiki/Tethering

  (2) Is it possible to cause Freerunner to serve as a WiFI AP (linked
 to Internet via USB thru PC)? How?

There is some software at http://hostap.epitest.fi/ - I don't if it
works with the Freerunner hardware.

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

There's a package bridge-utils, but it's not available for SHR. You
could borrow it from the debian armel package.

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


Re: How to reset the screen through command?

2011-02-10 Thread Joachim Ott
On 10 February 2011 08:42, dukelec d...@dukelec.com wrote:

 duke@dukelec:~$ ssh root@192.168.0.202
 root@om-gta02 ~ # export DISPLAY=:0
 root@om-gta02 ~ # echo qvga-normal  /sys/bus/spi/devices/spi2.0/state
 -sh: can't create /sys/bus/spi/devices/spi2.0/state: nonexistent directory
 root@om-gta02 ~ # echo normal  /sys/bus/spi/devices/spi2.0/state
 -sh: can't create /sys/bus/spi/devices/spi2.0/state: nonexistent directory
 root@om-gta02 ~ # xrandr -s 480*640
 Size index 480 is too large, there are only 3 sizes
 root@om-gta02 ~ #

 I need more help. close to success ...

Have you tried  xrandr -s 480x640?

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


OT: Neo Freerunner in literature

2010-10-23 Thread Joachim Ott
[I posted this to shr-user already and wanted to put it onto the
openmoko-wiki, but there's the real place for some trivia. I also
could not crosspost because I have 2 different mailaddresses for the
lists. Sorry if you receive this twice.]

I just finished Gibson's Zero History, and I was curious about the
Neo phone that one of the main characters is using in the first half
of the book (while the rest of the world seems to use iphones and
macbooks only), so I asked Cory Doctorow (mentioned in the thanks
section of the book) and he confirmed that the Neo Freerunner is
meant. In the book the Neo has an american + russian gps, often
problems with the software, the company producing it went off
business, later it was said it went bankrupt. Well.

I can't really advise this book (it's the 3rd part of pattern
recognition and spook country), it's too much ideal world story
to me (different from Neuromancer and its 2 followers). But I got it
rather cheap from amazon for 12,95 €.

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


Re: NAND Kernel partition vanished

2010-10-12 Thread Joachim Ott
On 12 October 2010 20:18, gai boger bebe...@hotmail.com wrote:
 ...
 It seems that the problem is apparent only with the NOR u-boot and I've
 tried several ways and I can't flash a new kernel to the NAND.

 Forgive me if I hadn't done my homework and looked throughly through the
 wiki pages but is there a way to flash a new kernel to the NAND through a
 distribution working on the SD card?

That's my favorite way of flashing a new kernel:

flash_eraseall /dev/mtd3
nandwrite -p /dev/mtd3 kermel_image

Use mtd6 for flashing a new rootfs. With dfu-util it's way too slow.

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


Re: NAND Kernel partition vanished

2010-10-11 Thread Joachim Ott
On 11 October 2010 13:21, gai boger bebe...@hotmail.com wrote:
   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.

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

Can you still boot the system in nand? If yes, check dmesg output for 2 things:

The kernel commandline should look similar to this:

[0.00] Kernel command line: rootfstype=jffs2
root=/dev/mtdblock6 console=ttySAC2,115200 console=tty0 loglevel=4
regular_boot 
mtdparts=physmap-flash:-(nor);neo1973-nand:0x0004(u-boot),0x0004(u-boot_env),0x0080(kernel),0x000a(splash),0x0004(factory),0x0f6a(rootfs)

And somewhat later:

[1.30] 6 cmdlinepart partitions found on MTD device neo1973-nand
[1.305000] Creating 6 MTD partitions on neo1973-nand:
[1.305000] 0x-0x0004 : u-boot
[1.305000] 0x0004-0x0008 : u-boot_env
[1.305000] 0x0008-0x0088 : kernel
[1.31] 0x0088-0x0092 : splash
[1.315000] 0x0092-0x0096 : factory
[1.315000] 0x0096-0x1000 : rootfs

Maybe you u-boot environment is damaged?

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


www.openmoko.org down?

2010-10-06 Thread Joachim Ott
I cannöt connect to the above site. A traceroute jumps from
hetzner.de(??) to openmoko.org and is looping there.

___
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 Joachim Ott
On 4 October 2010 13:50, Timo Juhani Lindfors timo.lindf...@iki.fi wrote:
 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?

fso-gpsd connects to ogpsd via dbus, the devicename (dev/ttySAC1) is
specified in /etc/frameworkd.conf.

___
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 Joachim Ott
On 4 October 2010 10:00, Timo Juhani Lindfors timo.lindf...@iki.fi wrote:
 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.

SHR uses fso-gpsd. There is no need to use hexdump for /dev/gps, it's
just ascii. You could also use gpspipe -r to watch the data (comes
with gps-utils).

Two other things he could try:

- remove the persist data: rm -f
/etc/freesmartphone/persist/ogpsd.pickle and try again, you should
receive valid data outside a building within 4 minutes

- get some assist data from u-blox, see
http://wiki.openmoko.org/wiki/Neo_FreeRunner_GPS
This gives you valid data within 30 seconds

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


Re: Freerunner shuts down every 8 min

2010-09-12 Thread Joachim Ott
On 13 September 2010 00:03, forestmountain forestmount...@gmail.com wrote:

 Hi.

 My Freerunner (SHR Illume) has started to shut down after running approx 8
 min. I have no idea why this is happening. I haven't installed anything on
 the FR. SHR install is 6 months old and has worked fine until the last 3
 weeks.

 I just wanted to hear if anybody else has had this experience and if it
 could be related to SHR or the Freerunner itself.

 In the meantime I'll try to flash with a new SHR install, to see what
 happens. This is really getting annoying.

To get closer to the solution, you could change /var/log into a
permanent (other than volatile) directory and direct the syslog into
a file so that you have the files across reboots. Otoh you have to
check other logfiles as they will grow until your fs is full.

cd /var ; rm -f log ; mkdir log

Modify /etc/syslog.conf, change some lines to these:

DESTINATION=file  # log destinations (buffer file remote)
LOGFILE=/var/log/messages   # file: where to log
ROTATESIZE=512  # file: rotate log if grown beyond X
[kByte] (busybox 1.2+)
ROTATEGENS=5# file: keep X generations of rotated
logs (busybox 1.2+)

Then killall -HUP syslogd. You will see a file /var/log/messages.
Let it shutdown and look into messages after a new boot.

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


Re: [qtmoko] pxt/mms messages

2010-09-06 Thread Joachim Ott
On 6 September 2010 13:20, Patryk Benderz patryk.bend...@esp.pl wrote:
 Dnia 2010-09-06, pon o godzinie 15:32 +1200, Robin Paulson pisze:
 according to this page, i can possible receive and send pxt (mms)
 messages. is this correct?

 if it matters, i'm on 2degrees new zealand
 sarcasm? :)

http://en.wikipedia.org/wiki/2degrees

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


Re: wireshark on FR

2010-08-13 Thread Joachim Ott
On 13 August 2010 12:20, Timo Juhani Lindfors timo.lindf...@iki.fi wrote:
 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.

He won't see much anyway with either wireshark or tcpdump (hint:
encryption). Use wpa_supplicant -t -dd ... instead.

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


Re: wpa_supplicant + [SIOCGISCAN]: Resource Temporarily not available

2010-08-09 Thread Joachim Ott
On 9 August 2010 07:32, Harshil Anil Kumar Shah harshil_s...@infosys.comwrote:

  Hi,



 I am really sorry for unnecessary mail chains for previous problem “Display
 not working”.



 I will take care of it next time.



 --

 Actually,



 I am trying to test EAP-TLS on FR. So when I run



 “wpa_supplicant –i eth0  –c /etc/wpa_supplicant.conf –D wext  ”



 I receive:



 Ioctl [SIOCSIWENCODEEXT]: Operation not supported

 Ioctl [SIOCSIWENCODEEXT]: Operation not supported

 Ioctl [SIOCSIWENCODEEXT]: Operation not supported

 Ioctl [SIOCSIWENCODEEXT]: Operation not supported


These are normal , they come up everytime.

Ioctl[SIOCGISCAN]: Resource temporarily unavailable


How did you enable the eth0 device? You can get more hints from
wpa_supplicant with the -dd parameter.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Display not working

2010-08-06 Thread Joachim Ott
Try echo 200 /sys/class/backlight/gta02-bl/brightness. Does that help?

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


Re: Display not working

2010-08-06 Thread Joachim Ott
On 6 August 2010 14:07, arne anka openm...@ginguppin.de wrote:
 http://catb.org/esr/faqs/smart-questions.html

 isn't there an equivalent for smart answers?
 most of the 12 mails were caused by people just throwing in their 2c w/o
 requesting further information.

A symptom/cure database is needed. Without 2c interaction.

___
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 Joachim Ott
On 10 July 2010 04:42, Yaroslav Halchenko
site-openmoko@onerussian.com wrote:

 On Fri, 09 Jul 2010, Joachim Ott wrote:
 I had the same problem with the new shr-unstable image. I got me some
 assist data from u-blox and fed them into /dev/ttySAC1. It still took
 khm... would you mind sharing what 'assist data' that was? and how you
 got around getting it?

I got me a password from u-blox.com and use the script from this page:
http://wiki.openmoko.org/wiki/Neo_FreeRunner_GPS#GTA02_GPS_Hardware_Assist_Feature
(the python one). I set the values for lat and lon to known values
(for me lat=52.375756;lon=13.651114;) and feed the output into
/dev/ttySAC1 -  this speeds up finding satellites alot.

___
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 Joachim Ott
On 10 July 2010 15:48, Timo Juhani Lindfors timo.lindf...@iki.fi wrote:
 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.

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

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


Re: can't flash kernel

2010-07-09 Thread Joachim Ott
On 9 July 2010 01:18, Ben Ruhnow b.ruh...@web.de wrote:
 Thanks,
 my commandline was:

 dfu-util -a kernel -R -D /path/to/uImage

 dfu-util -l shows:

 Found Runtime: [0x1d50:0x5119] devnum=5, cfg=0, intf=2, alt=0, name=USB
 Device Firmware Upgrade

Can you try to flash the kernel from the booted device? You need to
unpack the modules on it anyway (and do the depmod for the new
modules).

___
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-09 Thread Joachim Ott
On 9 July 2010 21:00, Yaroslav Halchenko
site-openmoko@onerussian.com wrote:
 some times, and seems whenever I don't allow it to sleep after reboot,
 it does manage to acquire time, but still doesn't see satellites

 On Fri, 09 Jul 2010, Yaroslav Halchenko wrote:

 Running SHR, recently reflushed to most recent SHR and kept it up to
 date (today).  GPS for some reason not only doesn't fixate but even
 fails to acquire time.

I had the same problem with the new shr-unstable image. I got me some
assist data from u-blox and fed them into /dev/ttySAC1. It still took
some time, then it reported 3 satellites and about a minute later, it
showed the right gps time. Since then, it always shows the correct gps
time shortly after starting tangogps.

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


Re: can't flash kernel

2010-07-08 Thread Joachim Ott
On 8 July 2010 20:19, Ben Ruhnow b.ruh...@web.de wrote:
 Hello,
 today I tried to flash a kernel to my moko (GTA02). Dfu-util showed: No
 such Alternate Setting: kernel.  I flashed my moko a hundred times
 before. Is it bricked ?

What was your commandline? Does dfu-util -l show multiple USB IDs?

Usually I flash kernel from within the device, like flash_eraseall
/dev/mtd3 ; nandwrite -p /dev/mtd3 uImage.bin.

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


Re: usb jack already worn out?

2010-05-09 Thread Joachim Ott
I disassembled the FR (see pictures at http://www.1qaz.de/usb-fix/ ),
2 of the 4 fixations were loose. I was able to solder it and it's fix
again now. But it's just like before, I can move the plug to the left
and to the right while it's plugged in (the jack is also fixated thru
the case, it doesn't move).

When I compare the FR (a v6) to my old v5 (see the last picture), the
v6 corners are more round than the v5 ones. The v5 is used only once
in a month since I toasted the gsm chip. The v6 is plugged in/out at
least 5 times every day, it's even more when I take it with me in a
car, where I'm charging it too..Don't you think I should replace the
jack with a new one?

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


Re: FR components testing program?

2010-05-06 Thread Joachim Ott
On 6 May 2010 16:21, Timo Juhani Lindfors timo.lindf...@iki.fi wrote:
 Joachim Ott jo.o...@googlemail.com writes:
 thought perhaps the CPU or the RAM is faulty. Is there a little image
 I could boot from and that does extensive CPU and RAM testing (similar
 to memtest), and maybe tests other components too?

 I don't do images but the programs you might want to use are crashme
 and memtester (both in debian).

I thought of something more systematic instead of random things that
crashme does. Like mv r0,r1; cmp r0,r1; and shift, rotate, store,
load, xor, ... a good old POST.

memtester is more like it, but it can only test the RAM that's
available for user programs.

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


usb jack already worn out?

2010-05-05 Thread Joachim Ott
Could it be that the usb jack is already worn out after 1,5 years?
I've made a short video:

http://www.1qaz.de/usb_worn_out.mov (4,5 MB)

I can move the plug a bit to the right and the LED goes off, there's
also a notice in the logfile:

2010.05.05 15:44:30.845 oeventsd.fso_triggers INFO Receive
PowerStatus, status = charging
2010.05.05 15:44:44.27 oeventsd.fso_triggers INFO Receive
PowerStatus, status = discharging
2010.05.05 15:44:44.42 oeventsd INFO turn led
gta02_power_orange off

It's not the plug because it also happens with the usb cable or the
2nd wall charger.

The date code of the device is 20080925. Can I do something by myself
to fix this?

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


Re: Portable printer?

2010-03-29 Thread Joachim Ott
On 29 March 2010 13:09, Iurii y...@reverseenterprises.com wrote:

 sorry my mistake:)

 i wanted to say FR

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

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

 *it can be wifi printer or even usb

 i'm not stick with a particular distro my app is gtk+ so i can easyly
 recompile it  if is need

It has nothing to do with the FR, just with your distribution. With
SHR, do opkg install cups, then go to http://localhost:631/ with
your favorite browser and install a printer. I'd suggest a network
printer.
See http://www.1qaz.de/cups.png

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


Re: Portable printer?

2010-03-29 Thread Joachim Ott
On 29 March 2010 13:22, Timo Juhani Lindfors timo.lindf...@iki.fi wrote:
 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.

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.

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


jffs2: wrong data CRC

2010-03-25 Thread Joachim Ott
It seems I have this now  then after a reboot. Should I worry about that?

messages:Mar 25 15:24:46 gta02v6 user.notice kernel: [  435.72]
JFFS2 notice: (468) check_node_data: wrong data CRC in data node at
0x0b3d2414: read 0x4455d30b, calculated 0x501c2d9d.
messages.0:Mar 23 18:21:25 gta02v6 user.notice kernel: [  448.22]
JFFS2 notice: (468) check_node_data: wrong data CRC in data node at
0x0b3d2414: read 0x4455d30b, calculated 0x501c2d9d.
messages.0:Mar 23 20:20:03 gta02v6 user.notice kernel:
[21474628.275000] JFFS2 notice: (1269) check_node_data: wrong data CRC
in data node at 0x0b2d6f74: read 0xec0e0577, calculated 0xf85112d1.
messages.0:Mar 23 20:30:41 gta02v6 user.notice kernel: [  457.43]
JFFS2 notice: (468) check_node_data: wrong data CRC in data node at
0x0b3d2414: read 0x4455d30b, calculated 0x501c2d9d.
messages.0:Mar 23 22:28:04 gta02v6 user.notice kernel:
[21474611.175000] JFFS2 notice: (1185) check_node_data: wrong data CRC
in data node at 0x083f2664: read 0x52d95152, calculated 0x8b0656f5.
messages.0:Mar 23 22:38:22 gta02v6 user.notice kernel: [  436.08]
JFFS2 notice: (468) check_node_data: wrong data CRC in data node at
0x0b3d2414: read 0x4455d30b, calculated 0x501c2d9d.
messages.0:Mar 25 15:09:27 gta02v6 user.notice kernel: [  437.44]
JFFS2 notice: (468) check_node_data: wrong data CRC in data node at
0x0b3d2414: read 0x4455d30b, calculated 0x501c2d9d.
messages.2:Mar 17 19:54:35 gta02v6 user.notice kernel: [  264.23]
JFFS2 notice: (468) check_node_data: wrong data CRC in data node at
0x0dee: read 0x31af03da, calculated 0x2831acb3.
messages.3:Mar 16 20:11:16 gta02v6 user.notice kernel: [  606.54]
JFFS2 notice: (468) check_node_data: wrong data CRC in data node at
0x073b85fc: read 0x2b735cff, calculated 0x65c85afa.

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


Re: Making debian the default boot

2010-02-04 Thread Joachim Ott
On 4 February 2010 04:21, Jonathan Schultz jonat...@imatix.com wrote:
 Hello,

 Since I only ever boot my freerunner under Debian I do get pretty sick
 of having to play with the boot loader menu every time I boot. It's
 especially painful when the freerunner has crashed to the boot process
 does a disk check then (usually) reboots a 2nd time, requiring a 2nd
 intervention with the boot load.

 So, what I'd like to do is make the default boot (even using the NOR
 boot loader, so the real factory default) start my Debian system. The
 obvious way to do this seems to be to put a second boot loader into the
 flash which then mounts the SD and boots from there.  But I have no idea
 how to do this. Does anyone have any suggestions?

Why don't you put debian into flash and then, during boot, mount the
big, space consuming rest (/home, /opt, /usr/share, ...) from SD card?

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


Re: [SHR-Testing[ Trouble with 16Gb microSDHC

2010-01-03 Thread Joachim Ott
2010/1/3 Konstantin chaosspaw...@gmx.net:
 Adrian Carrera wrote:
 I recomment that you try and keep the fat16 size and choose the size for
 the ext2 and ext3 that fits your needs. Try to use the ext2 for the
 filesystem.

 I hope this can help you.

 Thanks for the advice, I will try this first thing tomorrow morning! :)

 One additional question though: What is the state of the available 
 bootloaders?
 I checked the openmoko wiki, but the information therein seem to be hopelessly
 outdated :(

 I thought that uboot was discontinued and Qi took its place. Now, it seems to 
 me
 that Qi is discontinued?
 There's appearently a newer build (Jan 2010) available at
 http://downloads.openmoko.org/distro/unstable/NeoFreerunner/ -
 is this the recommended bootloader now? Do I lose features comparing to Qi by
 going back to uboot (faster boot time,faster suspend/resume, better SD/SDHC
 support)?

I think you can get almost the same boot time when you set the
following u-boot environment variables:

loglevel=0 quiet

One other thing you could try is to boot the kernel that is in
/dev/mtd3. You should have the matching modules in /lib/modules on the
sd-card. This can be done with u-boot, I don't if Qi could do this
too.

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


Re: [SHR-Testing[ Trouble with 16Gb microSDHC

2010-01-01 Thread Joachim Ott
2010/1/1 Konstantin chaosspaw...@gmx.net:
 Good morning and a happy new year!

 I have a weird problem when trying to boot from my shiny new Sandisk 16Gb 
 µSDHC:
 I made a single partition on it and created an ext3fs on it, to which I copied
 the contents of the tarball for my fabourite distribution (the latest shr 
 testing).
 However, when booting, after the boot picture (tux with the shr logo on his
 belly) gets displayed, I get the following error messages, and nothing else 
 happens:

 journal_bmap:  journal block not found at offset 14 on mmcblk0p1
 Aborting journal on device mmcblk0p1
 ext3_abort called.
 Ext3-fs error (device mmcblk0p1): ext3_journal_start_sb: Detected aborted 
 journal
 Remounting filesystem read-only

 I reformatted the card various times before, the last time even with the
 thorough block check mkfs.ext3 provides (mkfs.ext3 -c -c), in order to check
 wether the card is damaged in any way, but to no avail.
 When using ext2 instead of ext3, the problem seems to be different, usually 
 the
 boot process itself works, but at some point enlightenment simply segfaults.

 Do any of you have an idea what goes wrong here? Maybe there's a problem with 
 my
 Qi and big SD cards?
 I really need that big card to work... :(

Why do you insist on booting from sd-card? You can boot from NAND and
still use the whole card, mounting one big partition, or what I
prefer, several smaller partitions.

To find out what's going wrong:

- try u-boot instead of Qi
- boot from a smaller partiton on sd-card, 2 or 4 GB

See also http://wiki.openmoko.org/wiki/SanDisk/SDSDQ-016G-E11M

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


Re: Broken Freerunner.. display ok, messages.. repairable?

2009-12-20 Thread Joachim Ott
2009/12/20 Thomas Franck thomas.fra...@gmx.com:
 David Fokkema wrote:
 So... what images did you flash? I've seen this on my FR with some
 images. When I tried UBIFS images, for example, I got the CPU stall. I
 simply took that as non-working UBIFS, but I'm not sure. When I
 reflashed with shr-testing from 11 dec (jffs2 into NAND) and uImage from
 6 dec everything was fine.

 I flashed those now.. into NAND..
 had the debug board connected and booted it all up...
 there's a lot of mumbo-jumbo that doesn't make sense to me, but maybe to
 someone else it will?

 You can see the boot log at:
 http://www.digitalchaos.de/openmoko/boot.log

 looks all pretty until [21474539.03]..

 ---88-
 [...]
 [21474538.935000] glamo-mci glamo-mci.0: powered (vdd = 20) clk: 0kHz
 div=255 (req: 0kHz). Bus width=0
 [21474539.005000] SD power - 3200mV
 [21474539.005000] glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz
 div=255 (req: 195kHz). Bus width=0
 [21474539.015000] glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz
 div=255 (req: 195kHz). Bus width=0
 [21474539.025000] glamo-mci glamo-mci.0: powered (vdd = 20) clk: 195kHz
 div=255 (req: 195kHz). Bus width=0
 [21474539.03] glamo-mci glamo-mci.0: Error after cmd: 0x120
 [21474539.035000] glamo-mci glamo-mci.0: Error after cmd: 0x8120
 [21474539.04] glamo-mci glamo-mci.0: Error after cmd: 0x120
 [21474539.045000] glamo-mci glamo-mci.0: Error after cmd: 0x8120
 [21474539.05] glamo-mci glamo-mci.0: Error after cmd: 0x120
 [21474539.055000] glamo-mci glamo-mci.0: Error after cmd: 0x8120
 [21474539.06] glamo-mci glamo-mci.0: Error after cmd: 0x120
 [21474539.065000] glamo-mci glamo-mci.0: Error after cmd: 0xc120
 [21474539.07] glamo-mci glamo-mci.0: Error after cmd: 0x120
 [21474539.075000] neo1973-pm-host neo1973-pm-host.0: starting
 [21474539.08] glamo-mci glamo-mci.0: Error after cmd: 0x8120
 [21474539.085000] glamo-mci glamo-mci.0: glamo_mci_set_ios: power down.

It looks similar here up to the error after cmd. I have only 4
errors, then it tries again with different values:

[21474538.55] SD power - 3200mV
[21474538.55] glamo-mci glamo-mci.0: powered (vdd = 20) clk:
195kHz div=255 (req: 195 kHz). Bus width=0
[21474538.55] glamo-mci glamo-mci.0: powered (vdd = 20) clk:
195kHz div=255 (req: 195kHz). Bus width=0
[21474538.555000] glamo-mci glamo-mci.0: powered (vdd = 20) clk:
195kHz div=255 (req: 195kHz). Bus width=0
[21474538.555000] glamo-mci glamo-mci.0: Error after cmd: 0x8120
[21474538.555000] glamo-mci glamo-mci.0: Error after cmd: 0x120
[21474538.555000] glamo-mci glamo-mci.0: Error after cmd: 0x8120
[21474538.555000] glamo-mci glamo-mci.0: Error after cmd: 0x120
[21474538.565000] SD power - 2700mV
[21474538.565000] glamo-mci glamo-mci.0: powered (vdd = 15) clk:
195kHz div=255 (req: 195kHz). Bus width=0
[21474538.565000] glamo-mci glamo-mci.0: powered (vdd = 15) clk:
195kHz div=255 (req: 195kHz). Bus width=0
[21474538.565000] glamo-mci glamo-mci.0: powered (vdd = 15) clk:
195kHz div=255 (req: 195kHz). Bus width=0
[21474538.60] neo1973-pm-host neo1973-pm-host.0: starting
[21474538.615000] input: lis302-1 (top) as /devices/virtual/input/input2
[21474538.64] lis302dl spi3.0: Found lis302-1 (top)
[21474538.645000] input: lis302-2 (bottom) as /devices/virtual/input/input3
[21474538.67] lis302dl spi3.1: Found lis302-2 (bottom)
[21474538.675000] glamo-mci glamo-mci.0: powered (vdd = 15) clk:
195kHz div=255 (req: 195kHz). Bus width=0
[21474538.68] input: Neo1973 Buttons as
/devices/platform/s3c2440-i2c/i2c-adapter/i2c-0/0-0073/neo1973-button.0/input/input4
[21474538.685000] glamo-mci glamo-mci.0: powered (vdd = 15) clk:
195kHz div=255 (req: 195kHz). Bus width=0
[21474538.685000] glamo-mci glamo-mci.0: powered (vdd = 15) clk:
1kHz div=2 (req: 1kHz). Bus width=0
[21474538.685000] glamo-mci glamo-mci.0: powered (vdd = 15) clk:
1kHz div=2 (req: 1kHz). Bus width=2
[21474538.685000] mmc0: new high speed SDHC card at address d555
...

One other thing I noticed in your log:

[21474537.74] nand_read_bbt: Bad block at 0x0202

That bad block is within the rootfs, I hope that it is remapped correctly.

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


Re: Broken Freerunner.. display ok, messages.. repairable?

2009-12-20 Thread Joachim Ott
2009/12/20 Thomas Franck thomas.fra...@gmx.com:
 Joachim Ott wrote:
 2009/12/20 Thomas Franck thomas.fra...@gmx.com:
 One other thing I noticed in your log:

 [21474537.74] nand_read_bbt: Bad block at 0x0202

 That bad block is within the rootfs, I hope that it is remapped correctly.

 Hmm.. well spotted.. :)
 looking through the wiki now.. seems one can re-scan/re-create the
 BadBlockTable with the debugboard?

My thought was that the block is already in the bad block table, but
the remapping to a good block may not be working. Can you see how many
1k-blocks are reported in your rootfs, 252544 or less?

___
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-18 Thread Joachim Ott
2009/12/18 François-Léonard Gilbert gilbe...@gmail.com:
 Yeah, I tried to get a new one, but UPS is a problematic carrier and
 Tuxbrain's bank dislikes my Visa card :-(

Is there a user group near you on this page:
http://wiki.openmoko.org/wiki/Openmoko_Local_Groups

___
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 Joachim Ott
2009/12/11 François-Léonard Gilbert gilbe...@gmail.com:
 I tried that technique last night, and while I did wake the battery
 up, it was not enough to start the phone.

 What I did:
 1) get 4 1.2v AA batteries in series with a resistor and a LED (for
 visual confirmation and current limiting)
 2) plug the 4.8v in parallel with the FR battery (+ with +, - with -)
 this lighted up the LED
 3) wait 2-3 minutes
 4) try to plug the led + resistor between the FR terminals: very faint
 light, but OK
 5) plug the FR in my computer, put the battery in, power up the NAND
 boot menu
 6) cycle the menu items for a few seconds

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

Have your pressed AUX and kept it pressed down while inserting the
battery and attaching the charger cable as described in
http://wiki.openmoko.org/wiki/Neo_FreeRunner_Battery#More_tricks ?

Do you dare to boot the FR with external USB power and then insert the
battery to charge it? I've described it on http://nop0.blogspot.com/

___
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-01 Thread Joachim Ott
2009/12/1 François-Léonard Gilbert gilbe...@gmail.com:
 Hi all,
 I think I killed my battery by plugging my Freerunner in a car
 charger.   The thing was supposed to be OK, but well.  I know for sure
 I can't keep a charge in the battery, not even enough to boot up.

What type of charger is that? Mine works ok (I think it's from Hama),
it charges with 1000mA.

Can you measure the voltage left in the battery?

Have you tried this:
http://wiki.openmoko.org/wiki/Neo_FreeRunner_Battery#More_tricks

 When I get a new battery delivered, does anybody have tips on how to
 check if the phone's charging circuit is OK?

Check the output voltage and ampere of the charger before pluggin a FR
once more.

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


Re: Using the Freerunner as a modem for a laptop

2009-11-27 Thread Joachim Ott
2009/11/27 Sven Hartrumpf hartru...@gmx.net:
 Hi all.

 I'm sorry. I searched around but could not find the right page:

 How can I setup the Freerunner (SHR of 2009-09) as a modem for a laptop
 (so that the Freerunner acts like a surfstick or similar)?

Depends on what communication method between FR and laptop you want to
use too. Look on
http://wiki.openmoko.org/wiki/Manually_using_Bluetooth#Using_Neo.27s_connection_from_PC
and http://wiki.openmoko.org/wiki/Tethering

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


Re: CellHunter legend

2009-11-22 Thread Joachim Ott
Apart from CellHunter, you have information from frameworkd:

grep ogsmd.device /var/log/frameworkd.log

And at least for Germany, you can find out cell information from the Reg-TP:

http://emf.bundesnetzagentur.de/gisinternet/index.aspx

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


Re: need sugestions

2009-11-20 Thread Joachim Ott
2009/11/20 Iurii y...@reverseenterprises.com:



 arne anka wrote:


 netstat -rn


 Kernel IP routing table
 Destination     Gateway         Genmask         Flags   MSS Window  irtt
 Iface
 192.168.0.202   0.0.0.0         255.255.255.255 UH        0 0          0
 usb0
 192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0
 usb0

Remove that 2nd route to usb0, it should disappear with:

route del -net 192.168.0.0/24

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


Re: Flashing NAND from NAND

2009-10-20 Thread Joachim Ott
2009/10/20 Matthias Huber matthias.hu...@wollishausen.de:
 ...
 just for clearness: is the boot - partition different from the rootfs ?
 and how are the other partitions ?

/dev/mtd0 is the 2 MB NOR flash that contains the NOR bootloader

/dev/mtd1 - mtd6 are the 256 MB NAND flash, the names and sizes are
shown when the kernel boots (check dmesg | more after boot) and they
contain:

- u-boot or Qi
- u-boot environment
- kernel
- splash image shown directly after power on
- factory settings
- rootfs

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


Re: Flashing NAND from NAND

2009-10-20 Thread Joachim Ott
2009/10/20 Matthias Huber matthias.hu...@wollishausen.de:
 Joachim Ott schrieb:

 2009/10/20 Matthias Huber matthias.hu...@wollishausen.de:


 ...
 just for clearness: is the boot - partition different from the rootfs ?
 and how are the other partitions ?


 /dev/mtd0 is the 2 MB NOR flash that contains the NOR bootloader

 /dev/mtd1 - mtd6 are the 256 MB NAND flash, the names and sizes are
 shown when the kernel boots (check dmesg | more after boot) and they
 contain:

 - u-boot or Qi
 - u-boot environment
 - kernel
 - splash image shown directly after power on
 - factory settings
 - rootfs



 my question was thougt as: do the other partitions also have to be erased ?

 on the mounted rootfs (/dev/mtdblock6) i am writing just normal without
 erasing, thats why i am stating this question.

There's a difference between flashing a partition and writing to a
mounted filesystem. When you edit a file and change only one byte, the
whole block containig this changed byte will be erased and newly
written. This happens transparent to you.

 and what is then the difference between /dev/mtd6 and /dev/mtdblock6 ?

/dev/mtd6 is accessed as char device, while /dev/mtdblock6 is accessed
as block device. See e.g.
http://en.wikipedia.org/wiki/Device_file_system#Devices

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


Re: Charging stops at 66% on a FreeRunner

2009-10-19 Thread Joachim Ott
2009/10/19 Sven Hartrumpf hartru...@gmx.net:
 Hi all.

 I am running a recent SHR version.
 I can charge only till 66%, than the POWER led turns from
 red to blue and the charge level does not change.
 Should I change something to get 100%  ?

This is for SHR only: there was some disagreement about the meaning of
full. I had that some time ago, when the battery icon wouldn't show
more than 66%, while cat /sys/class/power_supply/battery/uevent
would show the real capacity (besides other info). After some certain
upgrade (2 or 3 months ago?) both showed the same values from then on,
sothe icon showed up to 100% too.

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


Re: Getting partition to automount on boot

2009-10-18 Thread Joachim Ott
2009/10/18 François-Léonard Gilbert gilbe...@gmail.com:
 Hi all,

 I'm not used to Linux in general, so you will have to excuse the basic
 Linux question:  how do I configure my FR to automount ALL my SD
 card's partitions at boot?

 Setup:  I have QtMoko in NAND, and 2 partitions on my SD card:
 1) uImage.bin - useless except when I want to boot from SD
 2) the rest of the card, with all my map files, MP3 etc.

 At boot, QtMoko mounts only the first partition in /media/card/, and I
 have to mount the useful one manually each time I reboot.

Add an entry to /etc/fstab (/media/card seems to be in there already):

/dev/mmcblk0p2  /media/mmcblk0p2autodefaults,async,auto 0  2

- before that do a mkdir /media/mmcblk0p2
- do a man fstab on your desktop pc to learn the meaning of the
fields in /etc/fstab

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


Re: Flashing NAND from NAND

2009-10-18 Thread Joachim Ott
2009/10/18 Atilla Filiz atilla.fi...@gmail.com:
 On IRC, I asked someone to
 dd if=/dev/mtd0 of=nor.img
 for me. Does that work? The link in the wiki page is dead.

If the file is about 2 MB big (mine is 2.097.152 bytes), that should be it.

 I always flash my kernel and rootfs from NAND u-boot menu.

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)?

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


Re: Flashing NAND from NAND

2009-10-18 Thread Joachim Ott
2009/10/18 Timo Juhani Lindfors timo.lindf...@iki.fi:
 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.

Yes, I can configure the menu. But I cannot change the menu title. So
show me how you're flashing the FR while you are in the NAND boot
menu.

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


Re: illume-Keyboard lowercase?

2009-10-12 Thread Joachim Ott
2009/10/12 Nils Bokermann openm...@bermuda.de:
 Al Johnson wrote:
 On Thursday 08 October 2009, Nils Bokermann wrote:
 Hi!

 Hi!


 I'm trying to get my Neo running with shr. Whenever I'm trying to type
 in my password (consisting of upper and lowercase letters) I can use the
 shift key on the Terminal keyboard, but a lowercase letter is sent.

 How do I get uppercase letters?

 Shift key gives upper case for me in shr unstable for every use I've tried.
 What exactly are you trying to do?

 I'm trying to get my password typed in (which consists of lower-case and
 upper case letters...)

 What I experience (even in the terminal-application) is:
 I *can* use the shift-key and an uppercase-letter is shown as I type on the
 keyboard, but on the terminal-screen, a lowercase letter is written.

For the terminal: has someone (or something) changed the conversion
handling for input? When you type stty -a, do you see a -iuclc in
the params or just a iuclc? For the latter case, you can fix that
with stty -iuclc.

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


Re: no wifi on freerunner fso

2009-09-28 Thread Joachim Ott
This is how it's looking over here with a working wifi. You still
haven't told, if the wlan driver is builtin or a module.

[21474742.365000] s3c2440-sdi s3c2440-sdi: powered down.
[21474742.365000] s3c2440-sdi s3c2440-sdi: powered down.
[21474805.675000] s3c2440-sdi s3c2440-sdi: host detect has no irq available
[21474805.755000] s3c2440-sdi s3c2440-sdi: powered down.
[21474805.755000] s3c2440-sdi s3c2440-sdi: running at 0kHz (requested: 0kHz).
[21474805.775000] s3c2440-sdi s3c2440-sdi: running at 196kHz
(requested: 195kHz).
[21474805.785000] s3c2440-sdi s3c2440-sdi: initialisation done.
[21474805.815000] s3c2440-sdi s3c2440-sdi: running at 196kHz
(requested: 195kHz).
[21474805.825000] s3c2440-sdi s3c2440-sdi: running at 196kHz
(requested: 195kHz).
[21474805.84] s3c2440-sdi s3c2440-sdi: running at 196kHz
(requested: 195kHz).
[21474805.855000] s3c2440-sdi s3c2440-sdi: running at 196kHz
(requested: 195kHz).
[21474805.885000] mmc1: queuing CIS tuple 0x01 length 3
[21474805.91] mmc1: queuing CIS tuple 0x1a length 5
[21474805.96] mmc1: queuing CIS tuple 0x1b length 8
[21474805.96] s3c2440-sdi s3c2440-sdi: running at 25000kHz
(requested: 25000kHz).
[21474805.975000] s3c2440-sdi s3c2440-sdi: running at 25000kHz
(requested: 25000kHz).
[21474805.985000] mmc1: queuing CIS tuple 0x80 length 1
[21474805.985000] mmc1: queuing CIS tuple 0x81 length 1
[21474806.005000] mmc1: queuing CIS tuple 0x82 length 1
[21474806.005000] mmc1: new SDIO card at address 0001
[21474807.115000] eth0 (sdio_ar6000): not using net_device_ops yet
[21474807.19] AR6000 Reg Code = 0x4060
[21474817.63] eth0: no IPv6 routers present
[   34.79] AR6000 disconnected
[   34.85] AR6000 connected event on freq 2452 with bssid
00:1c:4a:d1:5a:af  listenInterval=100, beaconInterval = 100,
beaconIeLen = 26 assocReqLen=57 assocRespLen =22
[ 4578.285000] AR6000 disconnected from 00:1c:4a:d1:5a:af

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


Re: no wifi on freerunner fso

2009-09-28 Thread Joachim Ott
2009/9/28 edgezorz edge.f...@gmail.com:

 the search for ar6000 returned nothing, i'm not sure if its supposed to be a
 module in the fso release or not though, i checked the modules directory and
 there were modules for other stuff. Perhaps i should put shr on my
 freerunner to check

I have it here:

$ find /lib/modules -name ar6000.ko
/lib/modules/2.6.29-rc3/kernel/drivers/ar6000/ar6000.ko

One last try to check if it is built into the kernel:

$ strings -a /dev/mtd3 | grep AR6000

(or wherever your kernel is, when your system is on SD-card)

This should show about 10 lines. If not, maybe someone has forgotten
to include the driver.

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


Re: Broken Freerunner.. display ok, messages.. repairable?

2009-09-28 Thread Joachim Ott
2009/9/28 Thomas Franck thomas.fra...@gmx.com:
 maybe it just needs reflashing?

 Nope.. flashing was good (no error condition).. but it doesn't boot.. :(

After flashing, did you boot from nand bootloader (by pressing just
the power button) or did you boot from nor boot menu? Maybe you need
to reflash the bootloader too.

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


Re: no wifi on freerunner fso

2009-09-27 Thread Joachim Ott
I don't know if your kernel has the wlan-driver builtin or as module
(try: find /lib/modules -name ar6000.ko) If it is shown, try modprobe
ar6000. Then check dmesg | grep AR6000, does that give you some
messages? Is the interface eth0 shown in cat /proc/net/wireless?

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


Problems with sim-card

2009-09-23 Thread Joachim Ott
Look at http://www.1qaz.de/loose-sim.jpg - I can move the sim-card
back and forth in the slot (about 0,25 mm?). On the other side of the
sim I've marked the area where the upper two contacts go, they are
very close to a border. Could this be the reason that I get this GSM
not available, try again in 5s from ophonekitd rather frequently
during the last weeks? Currently I do shutdown, remove the battery and
move the card, back or forth, boot again and wait for the simauth
dialog, sometimes I have to repeat this. My other sim from T-Mobile
looks different, it has no borders at that places, but I need that sim
in another phone.

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


Re: MP3 'capable' [was: Meida player.]

2009-09-10 Thread Joachim Ott
2009/9/10 Al Johnson openm...@mazikeen.demon.co.uk:
 On Thursday 10 September 2009, rakshat hooja wrote:
 On Tue, Sep 8, 2009 at 8:20 AM, Wolfgang Spraul wolfg...@qi-
 hardware.comwrote:
  Rakshat,
 
 Actually Mplayer plays the MP3 with the user installed plugin
(libmad
 
  or
 
   eqvalent). Intone is just the frontend for Mplayer so no patent probs
 
  with
 
   it
 
  Yes but we have to be careful that MP3 doesn't 'sneak in' somewhere.
  The moment anybody is selling a FreeRunner 'capable' of playing MP3, the
  patent guys have a case. 'Capable' can be a series of steps, including
  installing some software, etc.
  However, the moment those steps involve a resource out of control of the
  seller of the FreeRunner (say a random Internet URL), they have no case.
 
  Now with the vast pool of free software, what can easily happen is that
  MP3,
  MP4 etc. 'sneaks into' the product. Then someone downstream forgets that
  it's
  there, or it's very hard to remove, and falls into the trap.

 Yes I did follow the Openmoko Mp3 patent issues a long while back.

  I just wanted to ask you if things are ok re MP3 patents in the following
 scenario

 We sell a device with no 'working' MP3 capablities but a preinstalled Music
 player. The music player can take plugins and its website visibly
 recommends downloading a plugin that enables MP3. Is the seller ok in this
 situation re MP3 patents?

 That will depend on your local patent laws and, perhaps more importantly,
 whether you can afford to prove you're right. You'll have to ask a local
 patent lawyer about that. I doubt anyone on this list is qualified to give you
 an answer, so don't rely on anything you see here.

From http://en.wikipedia.org/wiki/MP3#Licensing_and_patent_issues

Additionally, patent holders declined to enforce license fees on free
and open source decoders, which allows many free MP3 decoders to
develop.[42] Thus, while patent fees have been an issue for companies
that attempt to use MP3, they have not meaningfully impacted users,
which allows the format to grow in popularity.

hth

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


Re: How to mount jffs2 Nand partition when booting from SD?

2009-08-22 Thread Joachim Ott
2009/8/23 cayeya cay...@yahoo.com:

 Hi, I have a problem, my om2009 flashed into Nand partition is now with some
 files version conflict (for using copy/paste of differents version of files
 into user/lib - my mistake -() that makes the distro start with out the
 graphical part. Due to the lack of keyboard and for some reasons that I
 can't figure it out I can't ssh the Freerunner to my PC, so the only
 solution that I came up with is to start the om2009 from the SD (wich is
 done already) and then mount the jffs2 Nand partition (I think is
 dev/mtdblock6) and remove the files.

 But I can't achive the mounting (mount /dev/mtdblock6 /mnt/om2009hdd). Maybe
 I'm doing something wrong. Please can anyone help me?

Does the directory /mnt/om2009hdd exist? Maybe you need to specifay
the type too.

mkdir -p /mnt/om2009hdd
mount -t jffs2 /dev/mtdblock6 /mnt/om2009hdd

Do you get an error message? Can you see some related messages in
dmesg putput?

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


Re: GSM, SD, daily phone

2009-08-20 Thread Joachim Ott
2009/8/20 Seth Rothenberg s...@pachai.net:
 My wife's Motorola phone died.

 I'm not ready to sign a new contract,
 so I need to push the Free Runner from
 eternal TEST into PRODUCTION.  (Today?)

 I like SHR (have been using Testing),
 but it hasn't made phone calls recently,
 certainly not since it came back from the hardware Buzz Fix.
 With ATT, it is not recognizing the SIM.

 And SD card is not working.
 I just tested the SD in a friend's laptop,
 and there is an empty file system on it.

 I understand the GSM upgrade might fix the phone issue,
 but the safe way to do that is with SD card.
 (Can I do it with NFS over SSH?)

For what do you need NFS on the FR?

 Any advice appreciated.  In the meantime I have to
 stop making fun of my co-worker who shares a cell
 with his wife, because I am next

All men and dogs are masochists - go ahead and give her a FR.

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


Re: sd card?

2009-08-17 Thread Joachim Ott
2009/8/15 Rask Ingemann Lambertsen ccc94...@vip.cybercity.dk:
 On Tue, Jul 21, 2009 at 07:47:45PM -0400, Seth Rothenberg wrote:
 I can't access my SD card.
 [...]

   Apologies for not spotting the mistake until now, but:

 r...@om-gta02 ~ $ fdisk /dev/mmcblk0

 Unable to open /dev/mmcblk0

   You need to run fdisk as root to access /dev/mmcblk0.

The r...@om-gta02 indicates that he is root. The $ instead of the #
in the prompt is an error in the PS1 in the standard /etc/profile:

# export PS1=\[\033[01;32m\...@\h\[\033[01;34m\] \w $\[\033[00m\] 

export PS1=\[\033[01;32m\...@\h\[\033[01;34m\]:\w \\$\[\033[00m\] 

Change the $ to \\$ then you get # for uid=0 and $ for the rest.

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


Re: Problems flashing Neo Freerunner

2009-08-11 Thread Joachim Ott
2009/8/11 Tim Sterk t...@tim-sterk.nl:
 Thanks for your help,

 any chance, you'd tell us, _what_ you do exactly?
  from your description it is rather hard to infer your steps.

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

 Using Neotool results in an error: Lost device after RESET?

 I've tried on different computersystems (all ubuntu 9.04).
 Tried using different MicroSD card.
 Tried different flash images and different distributions.

Try it with dfu-util, use this description:

http://wiki.openmoko.org/wiki/Flashing#Boot_the_FreeRunner_from_NOR_Flash

After flashing kernel and rootfs, boot from NOR to see if works. Then
you can flash a bootloader too.

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


Re: Change NOR bootloader settings

2009-08-09 Thread Joachim Ott
2009/8/9 Maximilian Loy maximilian@gmail.com:
 The reason is that i have a modified u-boot in NAND and that i want to use
 the NOR to load the battery. Thats why i need to increase boot menu timeout.

 So the only thing is to connect the debug board and saveenv will be able
 to write to NOR?

Read this: http://wiki.openmoko.org/wiki/Flashing_the_Neo_FreeRunner
and furtheron this page http://wiki.openmoko.org/wiki/Flashing_NOR -
maybe your device doesn't need a debug board.

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


Re: Freerunner won't boot: dies in uboot

2009-06-27 Thread Joachim Ott
2009/6/27 Chris Wright dhase...@gmail.com:
 My Freerunner was acting fine until yesterday. Now, it refuses to boot
 while not connected to a USB charger -- the power button does nothing.
 When connected, it starts booting, but stops and turns off about five
 seconds after showing the splash screen or uboot menu.

 This happens when I boot into the NAND or the NOR bootloader. It
 happens if I wait at the menu. If I go to the menu, I can start
 booting the kernel, and I get as far as Starting kernel... and the
 screen turning white (depending on how fast I am with the menu) before
 the phone turns itself off.

 I can do this many times, so I don't think it's a battery issue (also
 since the bootloader usually detects whether it's connected to power
 and starts charging, so I can just chill at the boot menu for an hour
 and then boot like normal -- that's not happening now). I don't have
 the wall plug, though, so I can't try that.

 I've browsed the mailing list archives for something like this and
 haven't found anything. Any suggestions on how to determine what is
 wrong?

Can you check the voltage of the battery? When it's full, it should
have over 4 V. Look at this page for more hinst:
http://wiki.openmoko.org/wiki/Neo_FreeRunner_Battery#More_tricks

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


Re: [Om2008.12] Wifi not working

2009-06-17 Thread Joachim Ott
2009/6/17 Adolph J. Vogel ajvo...@gmail.com:
 I know this has been discussed on the mailling list ad nauseam. But after
 several days of trying to get it working with the information on the wiki and
 in the mailling list I`m reaching the point of utter frustration. I`m
 wondering if there is something obvious I`m missing that someone could point
 out.

 Im running 2008.12 and ran the kustomizer script. The kernel in use is 2.6.24.

 /etc/network/interfaces:
 --
 ---
 ...
 # wired or wireless interfaces
 # from http://www.unixarena.de/openmoko.txt
 iface eth0 inet dhcp
        wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
 pre-up iwconfig eth0 essid off
 up route del default gw 192.168.0.200
 ...

 /etc/wpa_supplicant/wpa_supplicant.conf:
 -
 ctrl_interface=/var/run/wpa_supplicant
 ctrl_interface_group=0
 eapol_version=1
 ap_scan=1
 fast_reauth=1


 #vogelhuis
 network={
 ssid=vogelhuis
 scan_ssid=1
 key_mgmt=NONE
 wep_key0=047b3cb876

This looks like a wep-key to me rather than a passphrase. Try to
change the line to:

wep_key0=047b3cb876

i.e. omit the  and try once more

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


Re: [Android] SD-card not mounted

2009-06-14 Thread Joachim Ott
2009/6/14 Linus Gasser ine...@markas-al-nour.org:
 Dear all,

 I'm trying out the Android Koolu beta 7 version from

 http://freerunner.android.koolu.com/release-files

 Unfortunatly it always tells me SD card not mounted. So I tried the
 following command, as noted on some wikis and mailing-lists:

 setprop EXTERNAL_STORAGE_STATE mounted

 but it doesn't help at all. Neither with the original 512MB SD-card from
 Openmoko, neither with a SanDisk 8GB card...

 any other ideas of what I could try?

Have you partitioned the SD card as Android wants it? That is, a FAT
and then an ext2 partition.

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


Re: [SHR unstable] Bluetooth pairing with BMW Pro Radio car handsfree fails

2009-06-12 Thread Joachim Ott
2009/6/12 Thomas Franck thomas.fra...@gmx.com:
 Joachim Ott wrote:
 hcidump is in this package:

 http://shr.bearstech.com/shr-unstable/ipk/armv4t/bluez-hcidump_1.42-r0_armv4t.ipk

 Yeah.. found that.. :) thank you..
 Any idea what to do with the dump file? it's not really human-readable..
 :( (please see my post on the community ML)

You can use hcidump once more to display the contents of the file
written in human readable format. Do hcidump -h to see the available
options.

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


Re: Need help! FR seems to be dead cold!

2009-06-10 Thread Joachim Ott
2009/6/9 Ilya Platonov ilya.plato...@gmail.com:
 My FR just couldn't power up in both NAND and NOR alike. Absolutely no
 sign of life. Prior to that i flashed the NAND nandwrite -p /dev/mtd1
 u-boot.bin and shutdown, but this couldn't ruin the NOR afaik.

Check if you can get it to work again with hints from this page:
http://wiki.openmoko.org/wiki/Neo_FreeRunner_Hardware_Issues#Can.27t_boot_with_discharged_or_missing_battery_.28FIXED.29

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


Re: Need help! FR seems to be dead cold!

2009-06-10 Thread Joachim Ott
2009/6/10 Ilya Platonov ilya.plato...@gmail.com:
 Battery was at full charge. A couple of hours without the battery solved
 the problem - now i can power it up.
 But i discovered that u-boot_env is blanked. Now i seek a way to mend that.

I've used the uboot-envedit (came with debian for the neo) to create
it on the desktop, copy it over to the FR and write it to /dev/mtd2
with nandwrite. I could build one for you, modify the attached file
for your needs and send it back to me. Or check if
http://wiki.openmoko.org/wiki/NeoTool can help you.


uboot_menu.in
Description: Binary data
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Need help! FR seems to be dead cold!

2009-06-10 Thread Joachim Ott
2009/6/10 Ilya Platonov ilya.plato...@gmail.com:
 First of all i need right mtdparts. I can't find any info on default
 mtdparts for GTA02. Besides the default is not the best solution because
 there are differences even between same models. The most simpleradical
 solution seems to copy NOR uboot and uboot_env into NAND but i dont know how
 to dump NOR content.

$mtdparts is automatically set by uboot-envedit.

The NOR content is not really useful for you, it is in /dev/mtd0 and
it has a builtin environment. Do a strings -a /dev/mtd0, the last
lines show you the boot menu.

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


Re: Android not finishing boot

2009-06-05 Thread Joachim Ott
2009/6/5 Lars Nooden lars.cura...@gmail.com:
 I've just tried putting Qi and androidfs-koolu-beta3.jffs2 onto my
 Freerunner.
        http://freerunner.android.koolu.com/release-files

 Qi seemed to work fine with Om2009 testing.

 However, Android only partially boots and I'm unable to get the boot
 menu again to load a different image.  Holding down the AUX button while
 starting and holding the power button no longer does the trick.  How do
 I get the boot menu again?

Press and hold the AUX button, then press and hold the power button.
After 2 or 3 seconds the NOR boot menu should appear.

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


Stylus replacement button cells

2009-06-03 Thread Joachim Ott
The original cells are labeled GP192, searching the web I found
equivalent cells labeled LR41 AG3. But when I put 4 of them into the
stylus, the laser beam was very weak and became weaker very fast. Is
this cell type not suitable for the stylus?

I bought this button cells in a set, 6 different types with 6 cells
each for just € 3.00, and I tried 3 cells of type LR754 AG5, they work
great and the laser beam is as if the stylus was new.

Should I put this to the FAQ, and if yes, to which section? Hardware?
Misc? A new section Accessoires?

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


Re: Om2009 testing release 4

2009-06-02 Thread Joachim Ott
2009/6/2 Robin Paulson robin.paul...@gmail.com:
 2009/6/2 Al Johnson openm...@mazikeen.demon.co.uk:
 On Tuesday 26 May 2009, Robin Paulson wrote:
 there's no incentive i can see to stay with uboot

 You probably don't have 4 different distros on your SD then ;-)

 no, i don't.

 but it doesn't look like it will be long before qi can do multi-boot

 http://wiki.openmoko.org/wiki/Qi#Boot_Menu

Quoting from that paragraph:

- Therefore Qi does NOT provide a boot menu. This should rather be
implemented by a minimal Kernel, initramfs and menu system.

Qi will not initialize any video, that's why it needs to boot a
mini-kernel which then provides a boot menu where a user can select
from which partition he wants to boot. I ask you, what was wrong with
u-boot, which already did that without that mini-kernel? It cannot be
speeding up the boot-process, because the loading time for Qi or
u-boot cannot be much different, and when the kernel is loaded and
started, both loaders vanish. I'm sure you can add a kernel
cmdline-param -quiet to u-boot too.

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


Re: SD card mounting issues (om2009)

2009-05-31 Thread Joachim Ott
2009/5/31 Paul pault...@gmail.com:
 Hey All

 I have a sd card with 1 particition (4gb).  I booted up and it seems that
 OM2009 mounts /dev/mmcblk0 to /media/mmcblk0 even though it's not in fstab.

 I want to mount /dev/mmcblk0p1 to /media/card cause I have my GPS maps and
 my root home directory (/media/card/bind-home) there.  But because
 /dev/mmcblk0 is already mounted, it prevents the partition to mount.

 I've removed the /media/mmcblk0 directory and rebooted, and everything
 seemed to be ok, but next time, everything went back to the original
 settings.

Try this: add a line to /etc/udev/mount.blacklist

/dev/mmcblk0

Then boot once more and check it out.

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


Re: [all] building ipk packages

2009-05-31 Thread Joachim Ott
2009/5/31 Robin Paulson robin.paul...@gmail.com:
 can anyone tell me, if the structure of ipk packages, is the same as
 the structure of deb packages? they look very similar. is it the same
 compression method?

The ipk-file is a simple ar-archive (man ar). You usually find this in an ipk:

control.tar.gz - package info and dependencies
data.tar.gz - program- and data-files
file with version info

mc is rather good to sneak around in ipk's too, when you add the
following lines to your ~/.mc/bindings:

# .ipk
regex/\.ipk$
Open=%cd %p#uar
View=%view{ascii} ar t %f 2/dev/null

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


Re: what is mmc1?

2009-05-28 Thread Joachim Ott
2009/5/28 Werner Almesberger wer...@openmoko.org:
 Your device seems to see a lot of activity. Are you moving it around
 when these things happen ? Also, are there any other anomalities,
 such as crashes, sudden shutdowns, or battery issues ?

Usually, the FR is laying behind me, connected to the wall charger,
the AP is on my desk (a FritzFon 7150). Later in the evening, I go
over to a restaurant, I do wpa_cli reassociate to connect to their
AP. The problem appears at that time (1 of 10 times) or later, when I
go back home and do another reassociate (2 of 10 times).

Can you try my patch to do the automatic reassociation. I sent it to a
different list but nobody testet it. It is for
AR6kSDK.build_sw.18/host/wlan/src/wlan_node.c.
--- wlan_node.c.orig	2009-04-07 11:34:00.0 +0200
+++ wlan_node.c	2009-04-16 15:13:21.0 +0200
@@ -289,24 +289,19 @@
 while (bss != NULL)
 {
 nextBss = bss-ni_list_next;
-if (A_MEMCMP(myBssid, bss-ni_macaddr, sizeof(myBssid)) != 0)
-{
 
-if (bss-ni_tstamp = A_GET_MS(0))
-{
-   /*
-* free up all but the current bss - if set
-*/
-wlan_node_reclaim(nt, bss);
-}
-else
-{
-/*
- * Re-arm timer, only when we have a bss other than
- * current bss AND it is not aged-out.
- */
-reArmTimer = TRUE;
-}
+// different from the previous version, check the timeout
+// also for what is considered to be the current bss
+if (bss-ni_tstamp = A_GET_MS(0))
+{
+// free up this bss
+wlan_node_reclaim(nt, bss);
+}
+else
+{
+// Re-arm timer when there is at least one bss and
+// it's not aged-out
+reArmTimer = TRUE;
 }
 bss = nextBss;
 }
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: what is mmc1?

2009-05-27 Thread Joachim Ott
2009/5/27 Werner Almesberger wer...@openmoko.org:
 Joachim Ott wrote:
 What is mmc1?

 That's your WLAN module. It's strange that it would change from working
 (associating) to failing like this (no response to SDIO) within just
 two seconds.

 Your log shows the wall charger getting plugged in immediately before
 things go wrong. Is this a necessary part of the sequence that repeats
 the failure ?

This are 2 logfiles from different days:

http://www.1qaz.de/sdio-1.log.bz2
http://www.1qaz.de/sdio-2.log.bz2

A change of charging is close (in term of lines, not in time), but not
in all cases. And it doesn't stop wlan functionality in all cases,
sometimes it contnues shortly after.

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


what is mmc1?

2009-05-26 Thread Joachim Ott
mmc0 is the micro-SD card, as shown in /var/log/messages:

May 25 20:26:20 gta02v6 user.info kernel: [21474539.17] mmc0: new
high speed SDHC card at address d555
May 25 20:26:20 gta02v6 user.info kernel: [21474539.29]
mmcblk0:mmc0:d555 SU08G 3.60 GiB

Actually the size is 8 GB, but it doesn't matter.

But then:


What is mmc1?

I wouldn't bother about this one error in the last line, but sometimes
I get tons of this errors, makes the system unusable. it looks like:

May 23 22:57:35 gta02v6 user.warn kernel: [11271.775000] AR6000 disconnected
May 23 22:57:35 gta02v6 user.warn kernel: [11271.835000] AR6000
connected event on freq 2452 with bssid 00:1c:4a:d1:5a:af  l
May 23 22:57:35 gta02v6 user.warn kernel: [11271.84] Network: Infrastructure
May 23 22:57:58 gta02v6 auth.err sshd[2326]: error: Could not load
host key: /etc/ssh/ssh_host_dsa_key
May 23 22:57:59 gta02v6 auth.info sshd[2326]: Accepted publickey for
root from 192.168.7.21 port 39715 ssh2
May 23 22:57:59 gta02v6 auth.err sshd[2328]: error: setlogin failed:
Function not implemented
May 23 22:59:10 gta02v6 user.debug kernel: [11367.19]
gta02_udc_command S3C2410_UDC_P_ENABLE
May 23 22:59:12 gta02v6 user.info kernel: [11369.52] pcf50633
0-0073: usb curlim to 1000 mA
May 23 23:00:14 gta02v6 user.debug kernel: [11431.31] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:00:18 gta02v6 user.debug kernel: [11435.09] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:00:21 gta02v6 user.debug kernel: [11437.67] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:00:23 gta02v6 user.debug kernel: [11440.495000] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:00:25 gta02v6 user.debug kernel: [11442.475000] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:00:27 gta02v6 user.debug kernel: [11443.80] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:00:29 gta02v6 user.debug kernel: [11446.615000] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:02:59 gta02v6 user.debug kernel: [11596.42] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:03:01 gta02v6 user.debug kernel: [11597.74] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:03:02 gta02v6 user.debug kernel: [11599.25] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:03:04 gta02v6 user.debug kernel: [11600.805000] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:03:05 gta02v6 user.debug kernel: [11602.555000] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
...
May 23 23:19:24 gta02v6 user.debug kernel: [12581.24] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:19:25 gta02v6 user.debug kernel: [12582.25] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:19:26 gta02v6 user.debug kernel: [12583.26] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:19:27 gta02v6 user.debug kernel: [12584.27] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:19:28 gta02v6 user.debug kernel: [12585.28] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:19:29 gta02v6 user.debug kernel: [12586.29] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:19:30 gta02v6 user.debug kernel: [12587.30] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:19:31 gta02v6 user.debug kernel: [12588.31] mmc1:0001:
error -110 reading SDIO_CCCR_INTx
May 23 23:19:32 gta02v6 user.notice shutdown[2426]: shutting down for
system halt
May 23 23:19:32 gta02v6 daemon.info init: Switching to runlevel: 0

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


Re: OpenMoko beginner

2009-05-18 Thread Joachim Ott
I have this in /etc/wpa_supplicant/wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant
ap_scan=1

network={
ssid=Penguin in Bondage
psk=2b86c9451800da3b6c003fc4aa23f89ec8ad0ca822334088093443384944572a
proto=WPA RSN
key_mgmt=WPA-PSK
auth_alg=OPEN
pairwise=CCMP TKIP
group=CCMP TKIP
priority=60
}

Use wpa_passphrase to generate the PSK, don't put cleartext passwords
into that file.

And in /etc/network/interfaces, make it look like this:

iface eth0 inet dhcp
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

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


AR6000 hickup

2009-05-13 Thread Joachim Ott
See the excerpt from /var/log/messages below. Normally the AR6000
disconnects every 20 minutes from the AP and reconnects immediately -
sometimes it goes out of order tho. Look at 13:03:17 - the next
disconnect should happen around 13:17:20, this is much too early. And
the reconnect is about 60 seconds later. After that, the 20 minute
interval is gone. My last typing was at 13:45, my next try was at
15:36, I got no echo when typing. Again, it took 60 seconds to
reconnect.

Has anyone else noticed this problem?

May 13 12:17:17 gta02v6 user.warn kernel: [ 5740.63] AR6000
connected event on freq 2452 with bssid 00:1c:4a:d1:5a:af
listenInterval=100, beaconInterval = 100, beaconIeLen = 26
assocReqLen=57 assocRespLen =22
May 13 12:17:17 gta02v6 user.warn kernel: [ 5740.635000] Network: Infrastructure
May 13 12:37:18 gta02v6 user.warn kernel: [ 6940.69] AR6000
disconnected from 00:1c:4a:d1:5a:af
May 13 12:37:18 gta02v6 user.warn kernel: [ 6940.725000] AR6000
connected event on freq 2452 with bssid 00:1c:4a:d1:5a:af
listenInterval=100, beaconInterval = 100, beaconIeLen = 26
assocReqLen=57 assocRespLen =22
May 13 12:37:18 gta02v6 user.warn kernel: [ 6940.73] Network: Infrastructure
May 13 12:57:18 gta02v6 user.warn kernel: [ 8140.785000] AR6000
disconnected from 00:1c:4a:d1:5a:af
May 13 12:57:18 gta02v6 user.warn kernel: [ 8140.82] AR6000
connected event on freq 2452 with bssid 00:1c:4a:d1:5a:af
listenInterval=100, beaconInterval = 100, beaconIeLen = 26
assocReqLen=57 assocRespLen =22
May 13 12:57:18 gta02v6 user.warn kernel: [ 8140.825000] Network: Infrastructure
May 13 13:03:17 gta02v6 user.warn kernel: [ 8500.435000] AR6000 disconnected
May 13 13:04:19 gta02v6 user.warn kernel: [ 8561.77] AR6000
connected event on freq 2452 with bssid 00:1c:4a:d1:5a:af
listenInterval=100, beaconInterval = 100, beaconIeLen = 26
assocReqLen=57 assocRespLen =22
May 13 13:04:19 gta02v6 user.warn kernel: [ 8561.775000] Network: Infrastructure
May 13 13:05:12 gta02v6 auth.err sshd[2040]: error: Could not load
host key: /etc/ssh/ssh_host_dsa_key
May 13 13:05:13 gta02v6 auth.info sshd[2040]: Accepted publickey for
root from 192.168.7.21 port 40679 ssh2
May 13 13:05:13 gta02v6 auth.err sshd[2042]: error: setlogin failed:
Function not implemented
May 13 15:36:33 gta02v6 user.warn kernel: [17696.395000] AR6000 disconnected
May 13 15:36:34 gta02v6 user.info kernel: [17697.155000] pcf50633
0-0073: usb curlim to 1000 mA
May 13 15:37:28 gta02v6 auth.info sshd[2040]: Timeout, client not responding.
May 13 15:37:35 gta02v6 user.warn kernel: [17757.73] AR6000
connected event on freq 2452 with bssid 00:1c:4a:d1:5a:af
listenInterval=100, beaconInterval = 100, beaconIeLen = 26
assocReqLen=57 assocRespLen =22
May 13 15:37:35 gta02v6 user.warn kernel: [17757.735000] Network: Infrastructure
May 13 15:38:25 gta02v6 auth.err sshd[2425]: error: Could not load
host key: /etc/ssh/ssh_host_dsa_key
May 13 15:38:26 gta02v6 auth.info sshd[2425]: Accepted publickey for
root from 192.168.7.21 port 50449 ssh2
May 13 15:38:26 gta02v6 auth.err sshd[2427]: error: setlogin failed:
Function not implemented

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


Re: [SHR unstable] Saving GPRS settings

2009-05-01 Thread Joachim Ott
2009/5/1 Johny Tenfinger seba.d...@gmail.com:
 opkg update; opkg upgrade

 Storing GPRS data in SHR Settings was implemented about week ago :P

My last upgrade was on Apr 28. But I did it just some minutes ago. In
the settings, I can edit APN, user and password, and there is a
connect button. No button to save the current setting. Do you have a
different shr-unstable than me? Can you make a screendump of your
settings-menu with the save-button?

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


Re: [SHR unstable] Saving GPRS settings

2009-04-30 Thread Joachim Ott
2009/4/30 David Garabana Barro da...@garabana.com:
 O Xoves, 30 de Abril de 2009, Konstantin escribiu:
 Now that I have GPRS working - is there any way to make the SHR settings
 program remember the APN and passwords? Right now, I have to reenter those
 every time I connect, and I'm afraid to forget it some day which would
 result in a high phone bill due to my nice provider ;)

 You can edit
 /usr/lib/python2.6/site-packages/shr_settings_modules/shr_gprs.py
 and put there the values you want.

Yes, but the values are gone when the module is upgraded. I'd rather
like it if the values were taken from chap- or pap-secrets and could
just enter the username in the settings.

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


Re: Browsers and Wifi for OM2009

2009-04-19 Thread Joachim Ott
2009/4/19 Alok G. Singh alephn...@hcoop.net:
 Robin Paulson wrote:

 minimo worked pretty well for me, alhough there are a few annoying bugs

 I did try to install it but there were some dependency issues. libxi6
 (iirc). Where did you install minimo from ?

I'm still using the old version from 2007.2 (with the previous
shr-testing and now with shr-unstable). If you can't find it online
anymore, I could tar it up for you.

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


Re: [SHR-testing] where to get the 'nice' binary

2009-04-10 Thread Joachim Ott
2009/4/8 Konstantin chaosspaw...@gmx.net:
 Hi there,

 I hope someone can help me with that. I'd love to raise the nice-value of 
 apps I
 start (for example mplayer), but I can't find the nice binary on SHR testing.
 Any hints as to where to get it? In Ubuntu/Debian, it's in the package
 coreutils, if that helps, but I didn't find a similar package in the SHR
 repositories...

Start the mplayer thru a shellscript, like this:

#!/bin/sh

renice -20 $$
exec mplayer

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


Re: USB hub

2009-04-08 Thread Joachim Ott
2009/4/7 Seth Rothenberg s...@pachai.net:
 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.

 That's right.   A USB hub is hardware.
 Many types of hardware require a driver on the host.
 Many OS' have drivers that support various USB devices.

 This hub does not appear to be supported
 by these two OS's, so I asked (see above :-)

You should at least get an ID when you do lsusb, and with that ID
you can search at http://www.linux-usb.org/

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


Re: SSH fails on FSO

2009-03-11 Thread Joachim Ott
2009/3/11 max csy0...@googlemail.com:
 I flashed FSO 5.1 (back after several months) and it works quite well.
 However, when I attempt to SSH into my Freerunner, I get a Permission
 denied (publickey,password) after I enter the password. Assuming that
 root ssh is disabled, I tried creating a user on the device, and then
 attempt SSH from the desktop. It still gives the same error.

 Am I doing something wrong? Is there some sshd configuration I need to adjust?

Do ssh -v freerunner, it should give you some hints.

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


Re: More than 7 partitions on the SD

2009-03-10 Thread Joachim Ott
2009/3/10 Pietro m0nt0 Montorfano mont...@gmail.com:
 Il giorno lun, 09/03/2009 alle 23.48 +0200, Timo Juhani Lindfors ha
 scritto:
 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)

 ...
 I'm a lazy boy so i really want to have all the distro on tha uSD, also
 some testing version and so on ;D

 I'll try to make some changes to that driver..

If you set MMC_SHIFT to 4, you'll get up to 16 partitions per card,
but otoh you reduce the number of minor devices that this driver can
handle. It's better to simply set MMC_NUM_MINORS to the number of
minors you'd like (64?) instead of the 256  MMC_SHIFT.

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


Re: Bash?

2009-03-09 Thread Joachim Ott
2009/3/9 Seth Rothenberg s...@pachai.net:
 Have you already tried opkg install bash? It's available for various
 distributions.

 Yes, thanks.

 r...@om-gta02 ~ $ opkg install bash
 An error ocurred, return value: -50512.

 I think I am running SHR testing

 uname -a
 Linux om-gta02 2.6.28-rc4 #1 PREEMPT Mon Mar 2 19:43:22 CET 2009 armv4tl 
 unknown

But its there:

http://shr.bearstech.com/shr-testing/ipk/armv4t/bash_3.2-r7_armv4t.ipk

Can you try an install from that location, or after a wget?

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


Re: Bash?

2009-03-08 Thread Joachim Ott
2009/3/9 Seth Rothenberg s...@pachai.net:
 I really would like to run bash.
 Google doesn't know of an existing repository for bash.
 Does anyone else know?

Have you already tried opkg install bash? It's available for various
distributions.

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


Re: wpa_supplicant not dettecting association?

2009-03-06 Thread Joachim Ott
2009/3/5 Daniel Benoy dan...@benoy.name:
 I'm setting up roaming.


For roaming you need different directives in /etc/network/interfaces
and an additional program (ifplugd). I made a few tries in the old
shr-testing with not much success so far. I'll try again when I'm done
flashing and configuring the new shr-testing with 2.6.28 kernel.

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


Re: wpa_supplicant not dettecting association?

2009-03-05 Thread Joachim Ott
2009/3/5 Daniel Benoy dan...@benoy.name:
 Also, I rebooted the thing and it got an IP just fine.  (!?)  Also I see that 
 it got alerted through the wpa_cli action stuff at boot time just like I was 
 expecting it to do earlier...

 I'm working on the theory that the timeout in wpa_supplicant is too short.. 
 it would explain the flakyness.  Unfortunately the timeout value is hard 
 coded, so I'll have to mess around to test that.

 also 'iwconfig eth0 power off' seems to make the issues go away.  All this 
 intermittant behavior is reinforcing my theory that the timeout is too short 
 and various factors make the time it takes shorter or longer causing 
 intermittant behavior.

 Shame on wpa_supplicant for not making the timeout configurable.

If this is really an open AP, you don't need to hassle with
wpa_supplicant, just do:

iwconfig eth0 essid kitsune

Then use dhclient to get an IP.

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


Re: FR works but can't charge battery

2009-02-28 Thread Joachim Ott
2009/2/28 Steve Leung sjle...@shaw.ca:
 Hi.  I hope someone can help here...

 My FreeRunner can't charge its battery.  Even when plugged in to USB or
 the wall, the phone can't/won't charge.  Eventually the battery
 discharges completely and although I have an external charger, this
 isn't good.

 I've also verified the same problem with a friend's Nokia BL-5C battery,
 so it seems to be something wrong in the FreeRunner.

 When ssh'ed in over USB, when I cat:

 /sys/devices/platform/bq27000-battery.0/power_supply/bat/uevent

 I get:

 POWER_SUPPLY_NAME=bat
 POWER_SUPPLY_TYPE=Battery
 POWER_SUPPLY_STATUS=Discharging
 POWER_SUPPLY_VOLTAGE_NOW=422
 POWER_SUPPLY_CURRENT_NOW=171750
 POWER_SUPPLY_CHARGE_FULL=1122051
 POWER_SUPPLY_TEMP=243
 POWER_SUPPLY_TECHNOLOGY=Li-ion
 POWER_SUPPLY_PRESENT=1
 POWER_SUPPLY_TIME_TO_EMPTY_NOW=23700
 POWER_SUPPLY_TIME_TO_FULL_NOW=3932100
 POWER_SUPPLY_CAPACITY=96
 POWER_SUPPLY_ONLINE=0

Can you look at what the current limit for charging is?

cat /sys/class/i2c-adapter/i2c-0/0-0073/usb_curlim

For the wall charger I get 1000.

Then there are some packages on this page that you could try:

http://wiki.openmoko.org/wiki/Forcing_fast_charge_mode

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


Re: Solar Moko Idea

2009-02-26 Thread Joachim Ott
2009/2/19 Paul pault...@gmail.com:
 Has anyone given any thought about embedding a solar panel into the back
 cover of the OpenMoko devices?

 I'm certain other modifications are necessary.

 This is an area I am interested in helping out with.  Anyone have expertise
 in this area to see if this is even doable?

How about an extra thing of A6 size, twice unfold growing to A4 size?
And best would be, if it produced power at USB voltage level directly
so that no extra trafo is needed.

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


Re: Solar Moko Idea

2009-02-26 Thread Joachim Ott
2009/2/26 xChris ch...@c-64.mobi:

 I like too that idea, after I read about the Samsung solar powered phone...

 http://www.telegraph.co.uk/scienceandtechnology/technology/mobile-phones/4641867/Mobile-World-Congress-Samsungs-solar-powered-phone.html
 ooo LINK ooo

I heard about that model too, it has solar cells on the back. That
means, to get the max charge you must hold the back toward the sun -
that means too that you can't work during charging. And I wonder if
the device gets a bit too hot in the sun. That's why I'd like a
separate device. I'd even favor a dynamo charger instead of solar
cells, it works anytime of the day. Finally, when you hear the price
for the samsung thing, you'll forget it at once.

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


Re: problem in Using GPRS [Debian]

2009-02-18 Thread Joachim Ott
2009/2/18 lakshmikanth t.lakshmika...@gmail.com:

 I get a ppp0 connection when i followed the steps given in 
 http://wiki.openmoko.org/wiki/GPRS_FSO  for connecting to GPRS.
 But i cannot access internet from GPRS, i cannot even ping any website/IP.
 DNS automatically comes up when i use gprs_on.sh as 10.11.206.2 and
 10.11.206.3

 here is the way my phone works:

 debian-gta02:~# ./gprs-on.sh
 /org/freesmartphone/GSM/Device: ActivateContext -

 after that #ifconfig gives me this ppp0 connection 

 ppp0  Link encap:Point-to-Point Protocol
  inet addr:10.16.61.110  P-t-P:10.64.64.64  Mask:255.255.255.255
  UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
  RX packets:5 errors:0 dropped:0 overruns:0 frame:0
  TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:3
  RX bytes:122 (122.0 B)  TX bytes:283 (283.0 B)

 debian-gta02:~# route
 Kernel IP routing table
 Destination Gateway Genmask Flags Metric RefUse
 Iface
 10.64.64.64 *   255.255.255.255 UH0  00 ppp0
 192.168.0.0 *   255.255.255.0   U 0  00 usb0
 default *   0.0.0.0 U 0  00 ppp0

 debian-gta02:~# ping www.google.com
 PING www.l.google.com (209.85.153.104) 56(84) bytes of data.
 ^C
 --- www.l.google.com ping statistics ---
 18 packets transmitted, 0 received, 100% packet loss, time 17014ms

It looks different here:

1. the nameservers are not in the local net:

r...@gta02v6:~ # cat /etc/resolv.conf
nameserver 212.23.97.2
nameserver 212.23.97.3

2. but the main reason must be the missing gateway:

r...@gta02v6:~ # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse Iface
10.64.64.64 *   255.255.255.255 UH0  00 ppp0
192.168.0.0 *   255.255.255.0   U 0  00 usb0
default 10.64.64.64 0.0.0.0 UG0  00 ppp0
r...@gta02v6:~ # ping www.google.com
PING www.google.com (74.125.79.103): 56 data bytes
64 bytes from 74.125.79.103: seq=0 ttl=238 time=726.943 ms
64 bytes from 74.125.79.103: seq=1 ttl=238 time=746.121 ms
64 bytes from 74.125.79.103: seq=2 ttl=238 time=820.809 ms

You have the following at the default route:

default *   0.0.0.0 U 0  00 ppp0

no gateway. try to set it by hand after the ppp-connection is up.

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


Charging the FR in the car

2009-02-13 Thread Joachim Ott
I bought an adapter 12V = USB for the cigarette lighter in the car so
I can charge the FR while driving. The standard charging at 100 mA is
too slow. Are there any objections that I charge at 500 or even 1000
mA?

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


Re: Charging the FR in the car

2009-02-13 Thread Joachim Ott
2009/2/13 Cédric Berger cedric.berge...@gmail.com:
 On Fri, Feb 13, 2009 at 16:41, Joachim Ott jo.o...@googlemail.com wrote:
 I bought an adapter 12V = USB for the cigarette lighter in the car so
 I can charge the FR while driving. The standard charging at 100 mA is
 too slow. Are there any objections that I charge at 500 or even 1000
 mA?


 Just depends how much your adapter can deliver.
 Probably 500mA is ok (even though not all adapters are made for 500mA,
 I have some chargers rated for 350mA).

 1A is quite a lot. Might be ok, but first make sure that the
 specifications of your charger are ok for 1A output.
 (note that none of the few car chargers I have are rated for as much
 as 1A output, but most of them are old phones chargers...)

There's only the input voltage specified, 10-30V (it's a Hama 89487, 2
USB type A jacks).

 I do force 500mA with an adapter I got from an older phone. I don't
 have the exact specs of the charger, but it works ok.

 to do that (with latest kernels) :
 echo 500  /sys/class/i2c-adapter/i2c-0/0-0073/pcf50633-mbc/usb_curlim

I use the battery package, I'll try it later with 1 A, waiting till
the led turns blue.

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


Re: Garbage values in Logged System Call

2009-02-12 Thread Joachim Ott
2009/2/12 Bilal Mehdi bilal.me...@yahoo.com:
 ...
 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
 0x40021000
 syscall_983045(0x400210d0, 0x400210d0, 0x68c, 0x400217a8, 0x40024060, 0,
 0x60, 0xf0005, 0x566c, 0x608, 0x40024000, 0xbeabcb6c, 0, 0xbeabc840,
 0x40001fa8, 0x40001fc0, 0x2010, 0x400210d0, 0xc050, 0, 0, 0, 0, 0, 0, 0,
 0, 0, 0, 0, 0, 0) = 0

When you do strace /bin/ls n your desktop, you will notice the
following syscall at that position:

set_thread_area({entry_number:-1 - 6, base_addr:0xb7d92700,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0

Maybe the strace on the FR needs an update?

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


Re: Power Adaptor.

2009-02-07 Thread Joachim Ott
2009/2/7 Alex (Maxious) Sadleir maxi...@gmail.com:
 It happened to me once too! Australian 240V plug.

 On Sat, Feb 7, 2009 at 5:54 AM, Chris Syntichakis ch...@c-64.mobi wrote:

 Hi,

 I had a nice experience with the power adaptor. I just charged the FR and
 after this, I took of the adaptor from the mains. Then accidentally, I
 touched both the pins of the plug (of the adaptor) and guess that.. I felt
 a
 small shock!

 Now, what's this? Bad construction? of they forgot to put a some
 diodes...?


I think what happened to both of you is called potential equalisation
(Potentialausgleich).

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


Re: [FSO] Wifi in M5 no longer functioning

2009-02-06 Thread Joachim Ott
2009/2/4 Oleg Sadov sa...@linux-ink.ru:
 ...
 # iwconfig eth0 essid my-wifi

 After that system hangs up and blinking by red LED in AUX button.

 Seems like restricted key is key point for this situation -- with open
 key all works good.

 Can someone try to reproduce this situation? May be something wrong with
 my hardware...

I have the same except that the LED is not flashing. The system hangs,
I had to remove the battery.

Back to the original problem: I started  wpa_supplicant in debug-mode,
it goes thru various states up to 4way-handwake, but shortly
thereafter to disconnected again:

State: DISCONNECTED - SCANNING
State: SCANNING - ASSOCIATED
State: ASSOCIATED - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - ASSOCIATED
State: ASSOCIATED - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - ASSOCIATING
State: ASSOCIATING - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - ASSOCIATED
State: ASSOCIATED - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - ASSOCIATED
State: ASSOCIATED - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - 4WAY_HANDSHAKE
State: 4WAY_HANDSHAKE - DISCONNECTED
State: DISCONNECTED - SCANNING
State: SCANNING - DISCONNECTED

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


Re: [FSO] Wifi in M5 no longer functioning

2009-02-04 Thread Joachim Ott
2009/2/4 Dylan Semler dylan.sem...@gmail.com:
 ...
 r...@om-gta02:~# ifup eth0
 WPA: Configuring Interface
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 ioctl[SIOCSIWENCODEEXT]: Operation not supported
 udhcpc (v1.13.2) started
 run-parts: /etc/udhcpc.d/00avahi-autoipd exited with code 1
 Sending discover...
 Sending discover...
 Sending discover...
 No lease, failing

Can you see scan data with iwlist eth0 scan?

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


Re: Distro?

2009-02-03 Thread Joachim Ott
2009/2/3 Seth Rothenberg s...@pachai.net
 Thanks. With these entries, I still have OM not always
 setting up the usb interface right, but now that I know
 how to use terminal with kbd, I can just
 ifdown usb0; ifup usb0

I remember a ppp start script with a 'ifdown usb0' as first action -
or was it wlan? Maybe something similar is interfering on your system.

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


Re: Distro?

2009-02-02 Thread Joachim Ott
2009/2/3 Seth Rothenberg s...@pachai.net

 Thanks for the great replies...
 I flashed my FR to SHR today.
 I had a few instances of it freezing during boot.
 Then it seemed to be up, but I had 2 issues:

 1. In Terminal, I get no keyboard.
 (I guess that's my punishment for complaining
 about not getting a full 101 keys by default. :-)


When you're in the terminal, tap on the top shelf, then above the big X, tap
on the QWERTY


 2. My usb setup script failed.
 ifconfig returns this and more, but ping gets nothing.

 usb0  Link encap:Ethernet  HWaddr 8e:a3:0c:ca:6d:a8
  inet addr:192.168.0.200  Bcast:0.0.0.0  Mask:255.255.255.0
  inet6 addr: fe80::8ca3:cff:feca:6da8/64 Scope:Link
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

 Script is:
 rot...@sata1:/opt/download/OpenMoko$ cat usbsetup
 sudo iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.0.0/24
 sudo sysctl -w net.ipv4.ip_forward=1
 sudo ip addr add 192.168.0.200/24 dev usb0
 sudo ifconfig usb0 up
 ifconfig usb0
 ping -c 2 mok
 rot...@sata1:/opt/download/OpenMoko$


By default, your desktop PC has 192.168.0.200 and the FR has 192.168.0.202.
Try this entry in /etc/network/interfaces on the FR:

auto usb0
iface usb0 inet static
address 192.168.0.202
netmask 255.255.255.0
network 192.168.0.0
gateway 192.168.0.200
# some folks have the next line here enabled
# echo nameserver 192.168.0.200 /etc/resolv.conf
# still others may say: bullshit honey, we need a real nameserver in
here

and on your desktop PC in the very same file:

allow-hotplug usb0
iface usb0 inet static
address 192.168.0.200
netmask 255.255.255.0
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: micro sh

2009-02-01 Thread Joachim Ott
2009/2/1 Seth Rothenberg s...@pachai.net

 I bought a 4gb SDHC card, and it is not recognized.
 I thought I read on this list that it is supported.
 Is there something I need to do before fdisk?


Change your /etc/syslog.conf to values like this to preserve more messages:

DESTINATION=file
ROTATESIZE=256
ROTATEGENS=5

The standard is destination buffer and only 64 kB, so an recurring error
overwrites the interesting messages.

grep for mmc, it should show more info:

# grep -i mmc /var/log/messages
Feb  1 15:00:12 gta02v6 user.debug kernel: mmc_set_power(power_mode=1,
vdd=20
Feb  1 15:00:13 gta02v6 user.debug kernel: mmc_set_power(power_mode=2,
vdd=15
Feb  1 15:00:13 gta02v6 user.info kernel: mmc0: new high speed SDHC card at
address d555
Feb  1 15:00:13 gta02v6 user.info kernel: mmcblk0: mmc0:d555 SU08G
7977472KiB
Feb  1 15:00:13 gta02v6 user.info kernel:  mmcblk0:6Registered led device:
gta02-power:blue
Feb  1 15:00:14 gta02v6 user.info kernel: VFS: Can't find a valid FAT
filesystem on dev mmcblk0.
Feb  1 15:00:14 gta02v6 user.info kernel: VFS: Can't find a valid FAT
filesystem on dev mmcblk0.
Feb  1 15:00:14 gta02v6 user.info kernel: VFS: Can't find a valid FAT
filesystem on dev mmcblk0p4.
Feb  1 15:00:14 gta02v6 user.info kernel: VFS: Can't find a valid FAT
filesystem on dev mmcblk0p4.
Feb  1 15:00:14 gta02v6 user.info kernel: Adding 500016k swap on
/dev/mmcblk0p5.  Priority:-1 extents:1 across:500016k

I had I/O-errors when there was no sim-card inserted (then the sd-card
holder can get loose a bit).
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Distro?

2009-02-01 Thread Joachim Ott
2009/2/1 Seth Rothenberg s...@pachai.net

 Dear friends,
 I'll be travelling and thought I would bring along FR.
 I'm considering which distro to bring.


All of the below work with SHR-testing (the wifi gets stuck sometimes)


 I hope to have
 *phone - even if it's just to know when I
 have to find a land line to call home.
 I can't access the SIM until I get there.

 *notepad - just something to reduce lost paper


I use vi in a terminal


 *wifi - possible?
 *vpnc - google seems to say, I need debian.


I used openvpn, it worked even over a gprs-connection



 That's OK with me if it has the phone apps.

 gps (I can dream, can't I?)


Works fine with tangogps.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: Qi

2009-01-31 Thread Joachim Ott
2009/2/1 Jeffrey Ratcliffe jeffrey.ratcli...@gmail.com

 2009/1/31 Andy Green a...@openmoko.com:
  Ext3 is better IMO because it can soak up a lot of casual damage that
  ext2 can't.  With my usage pattern I am randomly powering things off all
  the time I appreciate how ext3 never makes any difficulty for me about
  that.  Whereas after a day of it ext2 is on its knees.

 OK. You've convinced me.

 Is there a way of backing up /dev/mmcblk0p2, repartitioning the uSD
 with one partition, formatting it to ext3, and restoring the backup?

 Or is it quicker to wipe, repartition, format and install from scratch?


You can convert an ext2-fs to an ext3-fs rather easy. There are several
examples on the web, like this:
http://www.troubleshooters.com/linux/ext2toext3.htm (boot the nand-system
and convert it from there).

And while you're on the converting trip: convert your obsolete mmcblk0p1
into a swap partition:

mkswap /dev/mmcblk0p1
swapon /dev/mmcblk0p1

For easiness, put it into your /etc/fstab on both nand and sd-card system:

/dev/mmcblk0p1  swapswapauto,pri=1  0  0
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [SHR] playing a video with mplayer - at least trying to

2009-01-28 Thread Joachim Ott
2009/1/24 quat...@gmail.com

 You should use a version of mplayer that has
 glamo support. Then scaling is handled by the
 glamo and you will notice a huge difference.

 http://wiki.openmoko.org/wiki/Video_Player


Yes, with that version it's much better now. And the load goes up to 0.7
only. Thank you for that hint.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


Re: [SHR] playing a video with mplayer - at least trying to

2009-01-23 Thread Joachim Ott
2009/1/23 Craig Woodward wo...@rochester.rr.com

  Joachim Ott jo.o...@googlemail.com wrote:
 The first try was with the quicktime-movie on the SD card.

 I've found on similar devices (keep in mind the FR is only a 400Mhz device)
 that I have to drop the frame rate to something like 15 or so to get
 reliable video out of a player at this resolution.  ffmpeg is a great
 re-encoder for such things.  I think asking the FR to decompress, rescale
 and display an image and video at full rate is a bit of a high expectation.


I'm aware of that limitations. The FR itself is at 15 fps. I converted the
mov to an avi (with mpeg4/mp2 and 10 fps) and it looks much better now, no
hanging during playing. When playing from SD card, the load is constantly at
1.5, when playing from NAND the load varies from 0.9 to 1.5.
___
support mailing list
support@lists.openmoko.org
https://lists.openmoko.org/mailman/listinfo/support


  1   2   >