Re: Neo as usb host and providing power to attached device - omhacks

2011-07-18 Thread Timo Juhani Lindfors
Eric Smith  writes:
> I will ask openhackable1 guys on freenode.

Which channel are they on? I'd like to hear :-)

> How would I stop the timeout on my device that breaks the usb
> connection with the pc. Its extremely frustrating having to tap
> the screen every few minutes to keep it alive - whoops there it
> goes again ...

You need to figure out what causes it. Perhaps it's network manager
misconfiguration on your PC? Perhaps you have more than one default
route? Perhaps your USB cable is just broken? I've seen all of these.

-Timo

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


Re: Neo as usb host and providing power to attached device - omhacks

2011-07-18 Thread Eric Smith
Thanks Timo

I will ask openhackable1 guys on freenode.

How would I stop the timeout on my device that breaks the usb
connection with the pc. Its extremely frustrating having to tap
the screen every few minutes to keep it alive - whoops there it
goes again ...

- Eric Smith
Timo Juhani Lindfors said:
> Eric Smith  writes:
> > lenny with openhackable1.
> >
> > Just installed some binaries from anothger dist and have errors.
> > Considering now squeeze binaries.
> >
> > What is the best thing to do in order to install omhacks? Upgrade to 
> > squeeze?
> 
> You should be able to backport it to lenny if you really want to since
> it's just a C program. Can you ask the openhackable1 folks or do you
> have experience on debian packaging yourself?
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

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


Re: Neo as usb host and providing power to attached device - omhacks

2011-07-18 Thread Timo Juhani Lindfors
Eric Smith  writes:
> lenny with openhackable1.
>
> Just installed some binaries from anothger dist and have errors.
> Considering now squeeze binaries.
>
> What is the best thing to do in order to install omhacks? Upgrade to 
> squeeze?

You should be able to backport it to lenny if you really want to since
it's just a C program. Can you ask the openhackable1 folks or do you
have experience on debian packaging yourself?


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


Re: Neo as usb host and providing power to attached device - omhacks

2011-07-18 Thread Eric Smith
I should have said, Timo.

lenny with openhackable1.

Just installed some binaries from anothger dist and have errors.
Considering now squeeze binaries.

What is the best thing to do in order to install omhacks? Upgrade to 
squeeze?

-- 
- Eric Smith
Timo Juhani Lindfors said:
> Eric Smith  writes:
> > I cannot find omhacks package in main andcannot (for some reason) add 
> > universe repository for armel.
> 
> What distribution are you using?
> 
> omhacks is in debian main (squeeze, wheezy and sid).
> 
> -Timo
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

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


Re: Neo as usb host and providing power to attached device - omhacks

2011-07-18 Thread Timo Juhani Lindfors
Eric Smith  writes:
> I cannot find omhacks package in main andcannot (for some reason) add 
> universe repository for armel.

What distribution are you using?

omhacks is in debian main (squeeze, wheezy and sid).

-Timo

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


Re: Neo as usb host and providing power to attached device - omhacks

2011-07-18 Thread Eric Smith
I cannot find omhacks package in main andcannot (for some reason) add 
universe repository for armel.

Could someone point to alocation where I could download the omhacks 
package manually?

(Usb networking sometimes provides internet access of the neo,
sometimes not. Why is it so unpredictable.)

-- 
- Eric Smith
Timo Juhani Lindfors said:
> Eric Smith  writes:
> > /sys/devices/platform/s3c-ohci/usb_host:usb_host1
> > /sys/devices/platform/s3c-ohci/usb_mode
> > /sys/devices/platform/s3c2440-sdi/mmc_host:mmc1
> >
> > Thanks for advice on how to set the neo to provide power over usb.
> 
> The /sys paths change with kernel versions. I personally don't think it
> is a good idea for users to try to directly access them. If you install
> the "omhacks" package you can control usb power without having to
> remember direct /sys paths.
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

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


Re: Some newbee questions about Qtmoko, navit, Vodafone GPRS and battery capacity

2011-07-18 Thread Martix
2011/7/18 Sebastian Reinhardt :
> Am 18.07.2011 10:04, schrieb Radek Polak:
>>
>> Sebastian Reinhardt wrote:
>>> 3. If I switch off all radio, exccept the gsm, the battery is unloaded
>>> during night (8-9h). Is this OK or is the battery broken (due to long
>>> storage time at Handheld Linux)?
>>
>> You need to suspend the phone. This can be done with POWER button or
>> better
>> lock the sceen in QtMoko home screen.
>>
> Yes. I have done this. Example: yesterday evening, the phone was fully
> charged and I choose "power off gps" power off wifi" and "power off
> bluetooth". I locked the screen before going to bed. Today in the morning
> (7-8h later) the battery symbol was showing only one bar. Sometimes I got
> the alert of an critical battery level, but not today. So I think, anything
> is not ok. :-(

Didn't you enabled GSM deep sleep mode on FR without recamping fix?

http://wiki.openmoko.org/wiki/GSM_oscillating_between_registered_and_not_registered_aka_1024

Anyway, check if GSM deep sleep is disabled. There should be an option
for this in NeoControl.

Best Regards,

Martix

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


Re: Some newbee questions about Qtmoko, navit, Vodafone GPRS and battery capacity

2011-07-18 Thread Sebastian Reinhardt

Am 18.07.2011 10:04, schrieb Radek Polak:

Sebastian Reinhardt wrote:


2. I tried to use Vodafone GPRS (Germany). But this did not work! I get
a failure notice, that file "/etc/ppp/peers/dialup1310463241" was not
found. I found an example file in "/usr/share/doc/ppp/examples" called
"peers-gprs". But I am not sure about the config entries in this file
and if I need another files.So has anybody an working Vodafone
configuration for Germany and can tell me someting about the correct
entries in these files? I made the config with the Qtmoko GUI, but these
file(s) are missing :-(

It should be possible to configure GPRS with the GUI. You need to fill APN and
sometimes also dummy username and password.

I have done it wit the gui, but then the described file was missing and 
I got no gprs connection (aborts immediately after pressing "connect").
After deleting and configuring again, the failure notice is still there. 
Please take a look at:
"http://scap.linuxtogo.org"; id=4090 (uploaded screenshot of qtmoko 
config dialog)

/var/log/messages is showing this line:
--
Jul 18 12:53:17 neo Qtopia: /usr/sbin/pppd: Can't open options file 
/etc/ppp/peers/dialup1310986139: No such file or directory

--
In "/etc/ppp/peers/" is only an file called "provider"!

The name of dialup- file is changed, is this correct?


3. If I switch off all radio, exccept the gsm, the battery is unloaded
during night (8-9h). Is this OK or is the battery broken (due to long
storage time at Handheld Linux)?

You need to suspend the phone. This can be done with POWER button or better
lock the sceen in QtMoko home screen.

Yes. I have done this. Example: yesterday evening, the phone was fully 
charged and I choose "power off gps" power off wifi" and "power off 
bluetooth". I locked the screen before going to bed. Today in the 
morning (7-8h later) the battery symbol was showing only one bar. 
Sometimes I got the alert of an critical battery level, but not today. 
So I think, anything is not ok. :-(

Regards

Radek

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



Alos, I have installed "navit" with "apt-get". Now I get connection to 
"gpsd" and the position is displayed.

But I got a new problem:
If I tab on the map, to get the access to navit's menu, navit is crashing.

Staring navit eith QX shows this log-messages:
---
 (II) verbosity set to 5
Jul 18 12:16:31 neo Qtopia: Using GLAMO 3362 card
Jul 18 12:16:31 neo Qtopia: (II) Screen: 16/16 depth/bpp
Jul 18 12:16:31 neo Qtopia: (II) vram size:8323072, onscreen vram 
size:614400, offscreen vram size:7708672

Jul 18 12:16:31 neo Qtopia: (II) initialising offscreen pixmaps
Jul 18 12:16:32 neo Qtopia: error opening security policy file 
/usr/lib/xserver/SecurityPolicy
Jul 18 12:16:32 neo Qtopia: Extended Input Devices not yet supported. 
Impelement it at line 637 in ../../../../hw/kdrive/src/kinput.c
Jul 18 12:16:33 neo Qtopia: Could not init font path element 
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType, removing from list!

Jul 18 12:16:33 neo Qtopia:
Jul 18 12:16:33 neo Qtopia: (process:2430): Gtk-WARNING **: Locale not 
supported by C library.

Jul 18 12:16:33 neo Qtopia: ^IUsing the fallback 'C' locale.
Jul 18 12:16:34 neo Qtopia:
Jul 18 12:16:34 neo Qtopia: (:2430): Gdk-WARNING **: locale not 
supported by C library
Jul 18 12:16:34 neo Qtopia: navit:convert_to_attrs:failed to create 
attribute 'announce' with value '1'
Jul 18 12:16:34 neo Qtopia: vehicle_gpsd:vehicle_gpsd_try_open:Trying to 
connect to localhost:default

Jul 18 12:16:34 neo Qtopia: netlib_connectsock() returns socket on fd 21
Jul 18 12:16:34 neo Qtopia: vehicle_gpsd:vehicle_gpsd_try_open:Connected 
to gpsd fd=21 evwatch=0xb2a50
Jul 18 12:16:36 neo Qtopia: navit:main_real:Using 
'/home/root/.navit/navit.xml'

Jul 18 12:16:36 neo Qtopia: navit:osd_set_std_graphic:accesskey (null)
Jul 18 12:16:37 neo last message repeated 9 times

Then navit is working. But If I try to access menu, navit is going down:

Jul 18 12:17:04 neo Qtopia: GNU gdb (GDB) 7.0.1-debian
Jul 18 12:17:04 neo Qtopia: Copyright (C) 2009 Free Software Foundation, 
Inc.
Jul 18 12:17:04 neo Qtopia: License GPLv3+: GNU GPL version 3 or later 

Jul 18 12:17:04 neo Qtopia: This is free software: you are free to 
change and redistribute it.
Jul 18 12:17:04 neo Qtopia: There is NO WARRANTY, to the extent 
permitted by law.  Type "show copying"

Jul 18 12:17:04 neo Qtopia: and "show warranty" for details.
Jul 18 12:17:04 neo Qtopia: This GDB was configured as "arm-linux-gnueabi".
Jul 18 12:17:04 neo Qtopia: For bug reporting instructions, please see:
Jul 18 12:17:04 neo Qtopia: 

Re: Some newbee questions about Qtmoko, navit, Vodafone GPRS, and battery capacity

2011-07-18 Thread Giacomo 'giotti' Mariani

Hello,

>  3. If I switch off all radio, exccept the gsm, the battery is unloaded
>  during night (8-9h). Is this OK or is the battery broken (due to long
>  storage time at Handheld Linux)?

You need to suspend the phone. This can be done with POWER button or better
lock the sceen in QtMoko home screen.

Regards

Radek
I also suggest you, if it is not what you do, to look at the status of 
the radios with om, just tobe sure ;-)


Regards
Giacomo

--
##
giacomo 'giotti' mariani
gpg --keyserver pool.sks-keyservers.net --recv-key 0x99bfa859
O<  ASCII ribbon campaign: stop HTML mail
www.asciiribbon.org
##


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


Re: Some newbee questions about Qtmoko, navit, Vodafone GPRS and battery capacity

2011-07-18 Thread Radek Polak
Sebastian Reinhardt wrote:

> 2. I tried to use Vodafone GPRS (Germany). But this did not work! I get
> a failure notice, that file "/etc/ppp/peers/dialup1310463241" was not
> found. I found an example file in "/usr/share/doc/ppp/examples" called
> "peers-gprs". But I am not sure about the config entries in this file
> and if I need another files.So has anybody an working Vodafone
> configuration for Germany and can tell me someting about the correct
> entries in these files? I made the config with the Qtmoko GUI, but these
> file(s) are missing :-(

It should be possible to configure GPRS with the GUI. You need to fill APN and 
sometimes also dummy username and password.

> 3. If I switch off all radio, exccept the gsm, the battery is unloaded
> during night (8-9h). Is this OK or is the battery broken (due to long
> storage time at Handheld Linux)?

You need to suspend the phone. This can be done with POWER button or better 
lock the sceen in QtMoko home screen.

Regards

Radek

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


Re: Neo as usb host and providing power to attached device

2011-07-18 Thread Eric Smith
Supercool, I will check this out.

-- 
- Eric Smith
Timo Juhani Lindfors said:
> Eric Smith  writes:
> > /sys/devices/platform/s3c-ohci/usb_host:usb_host1
> > /sys/devices/platform/s3c-ohci/usb_mode
> > /sys/devices/platform/s3c2440-sdi/mmc_host:mmc1
> >
> > Thanks for advice on how to set the neo to provide power over usb.
> 
> The /sys paths change with kernel versions. I personally don't think it
> is a good idea for users to try to directly access them. If you install
> the "omhacks" package you can control usb power without having to
> remember direct /sys paths.
> 
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

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


Re: Navigation board @ Pulster shop

2011-07-18 Thread ml
On Sat, 18 Jun 2011 17:51:33 +0200, Christoph Mair 
wrote:
> Am Samstag 18 Juni 2011, 14:51:05 schrieb Daniele Forsi:
>> can someone recommend an USB<->i2c interface to use the navigation
>> board externally, for those who don't feel like touching their
>> Freerunner with a soldering iron or have a netbook?

The wiki page now contains instructions on how to connect the naviboard v3
to a graphics card [1]. This should enable everyone to use it and requires
only three parts: a VGA connector (or DVI or HDMI), a 3V regulator (LDO)
and a naviboard. Connect everything as described, plug it in, load the
i2c-dev module and run i2cdetect to check if it's working.
If the instructions are not detailed enough, please complain and I will
try to clarify any issues.

I tested this setup with the integrated Intel graphics card on my notebook
and it worked fine, a test with an nvidia card will follow. To find the
right I2C bus on your machine, load the i2c-dev module and run i2cdetect on
all available busses (look in /sys/bus/i2c/devices for i2c-*, or simply try
this: "for i in `seq 1 20`; do echo $i; i2cdetect -y $i; done;"). The
commands output should be different if your monitor is disconnected (or
switched off).

Have fun!

  Christoph

[1]:
http://wiki.openmoko.org/wiki/Freerunner_Navigation_Board_v3#Example:_connect_the_board_to_a_graphics_card


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


Re: [qtmoko] Access Internet through Vodafone provider in NL

2011-07-18 Thread Radek Polak
Fernando Martins wrote:

> How can I configure QTMoko to access Internet through my Vodafone
> provider in NL?

You basicaly need to add GPRS internet access option and fill APN name (this is 
most often "internet"). Sometimes it's needed to provide dummy username and 
password.

Regards

Radek

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