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

2011-07-17 Thread Timo Juhani Lindfors
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


Neo as usb host and providing power to attached device

2011-07-17 Thread Eric Smith
Hi 

Using:
Linux hackable1 2.6.29-rc3-hackable1 #2 PREEMPT Tue Sep 15 13:07:51 CEST 2009 
armv4tl GNU/Linux

I am following instructions at 
http://wiki.openmoko.org/wiki/Neo1973_USB_host

So far this command seems to work:
root@hackable1:~# echo host > /sys/devices/platform/s3c-ohci/usb_mode

In order to provide power to the attached device wiki article
advises the following command:
echo 1 > /sys/devices/platform/neo1973-pm-host.0/hostmode

But I cannot see any file called hostmode in /sys/devices/platform
and FWIW;
root@hackable1:~# find  /sys/devices/platform/|egrep 'mode|host'
/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.

-- 
- Eric Smith


___
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-17 Thread Alishams Hassam
install navit with apt-get, it will show up in QX. then ensure the
option for the gps module is checked and you're good to go.

On 7/17/11, Timo Juhani Lindfors  wrote:
> Sebastian Reinhardt  writes:
>> 1. I installed navit form the zip- file, according to the wiki.
>
> I'm not a qtmoko user but I know about navit. Can you give me a link to
> the binary you used? Does it have source code too?
>
>> 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)?
>
> If the phone is not in suspend this will definitely happen.
>
> -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: Some newbee questions about Qtmoko, navit, Vodafone GPRS and battery capacity

2011-07-17 Thread Timo Juhani Lindfors
Sebastian Reinhardt  writes:
> 1. I installed navit form the zip- file, according to the wiki.

I'm not a qtmoko user but I know about navit. Can you give me a link to
the binary you used? Does it have source code too?

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

If the phone is not in suspend this will definitely happen.

-Timo

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


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

2011-07-17 Thread Sebastian Reinhardt
Hi, a few weeks ago I purchased an Freerunner. I decided to install 
Qtmoko v3.5 on an 8GB sd-card. Most things working like a charm. But I 
have some problems:
1. I installed navit form the zip- file, according to the wiki. But I do 
not get the gps position, in NeronGPS I get the fix. I installed also 
gpsd via "apt-get" and by starting " /usr/sbin/gpsd -F 
/var/run/gpsd.sock -P /var/run/gpsd.pid /dev/ttySAC1" I get NMEA output 
with gpsmon. The navit.xml- file includes also the line "name="Local GPS" profilename="car" enabled="yes" active="1" 
source="gpsd://localhost" gpsd_query="w+xj"> ". So there is the problem?


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 :-(


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


Ok, these are the first questions about my new Freerunner. The additonal 
questions about using my VirtualLaser Keyboard (Bluetooth connection, 
working with my openSUSE 11.3 Notebook) and the use of an external, USB 
connected LAN- adapter are asked later. :-)


--
Kind regaards

Sebastian Reinhardt




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