Re: GSM Modem emulator

2008-07-12 Thread andrzej zaborowski
2008/7/11 Bobby Martin [EMAIL PROTECTED]:
 Has anyone built a gsm emulator, for example for testing in qemu?

qemu-neo1973 has two already :-P
http://svn.openmoko.org/trunk/src/host/qemu-neo1973/gnokiigsm/ uses
modified modem emulator from gnokii,
http://svn.openmoko.org/trunk/src/host/qemu-neo1973/phonesim/ is
phonesim from qtopia configured so that it looks like the TI Calypso.

Some usage tips at http://unadventure.wordpress.com/2007/10/



Come join my network at StumbleUpon

2008-07-12 Thread anirudhsharma . crypto
Hi,


Suddenly the Web is fun again :)

Join StumbleUpon for Free and discover your
friends' Favorites.

   Discover my Favorites 
http://www.stumbleupon.com/redirect.php?t=ju=10198382d=http%3A%2F%2Fwww.stumbleupon.com%2Fjoin.php%3Ffriend%3D4863155%26emailcode%3D51htec2ym83eh0qvl=2c=51htec2ym83eh0qv
 



- zwanderer
About StumbleUpon
StumbleUpon is a toolbar that let you discover
website, pictures and videos recommended by your
friends and like-minded people.  



It's Free and Easy to download.
You have received this email because zwanderer
([EMAIL PROTECTED]) directly invited
you to join his/her community on StumbleUpon.



If you prefer not to receive any StumbleUpon
invitations by email:
click here
http://www.stumbleupon.com/redirect.php?t=ju=10198382d=http%3A%2F%2Fwww.stumbleupon.com%2Fnotifications.php%3Femailcode%3D51htec2ym83eh0qvl=4c=51htec2ym83eh0qv




We take your privacy very seriously.  To read our
privacy policy and see how we use the information
you give us, visit our website at
http://www.stumbleupon.com/privacy.html
http://www.stumbleupon.com/privacy.html 



Any standard way to separate between Neo and FreeRunner?

2008-07-12 Thread Audrius Meskauskas
GPS Sight currently has releases both for Neo1973 and for FreeRuner. 
Some parts of the code must behave differently for these two phones. For 
instance, on Neo gllin must be started and the NMEA pipe is in another 
place. While some abstract layer is likely to be created in the 
future, it would be good to have a standard way to identify in which 
phone the software is running.


Do we have something like that in a place like /etc ? If we do not, 
should we consider defining this rather than checking random places in 
the file system that may cause far more incompatibility problems?


P.S. GPS Sight bug that we mentioned in the previous message is now 
fixed. Thanks all contributors for input.


Audrius




Re: How to switch usb mode to 500mA (enable USB charging with car charger) ?

2008-07-12 Thread Marco Trevisan (Treviño)

Andy Green wrote:

This only flies on GTA01.

~From a quick look in the pcf50633 driver, this is disallowed on GTA02 at
the moment.  But, so long as the user understands what it means (and we
will defeat his choice anyway on USB removal so it doesn't subsequently
make trouble if he plugs to host PC) it sounds useful, so I will add
this in the kernel shortly.


Cool. However, could you also add a way to use/force the fastest 
charging mode in GTA02 (i.e. 1A charging)?



--
Treviño's World - Life and Linux
http://www.3v1n0.net/




Re: Accelerometer problem

2008-07-12 Thread Timo Drick

Andy Green schrieb:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:
| On the OM2007.2 images it is the neod which opens the 
accelerometers. No

| reason for doing so, even more as neod starts to eat 50% CPU, because
| the am's send both 100 events per second...
|
| If anybody is interested, I recompiled the neod without this and 
without

| the click-sound. Drop me a mail.
|
| No more probs with the am's and everything a lot faster.

Well I am glad to hear it can be made stable, because I did believe I
fixed the instability last patch set.

However I don't get why neod sucking on the input device too makes
trouble (other than the CPU load or whatever).  The input layer in Linux
takes care about copying the input content around consistently so
everyone with the input device open gets one copy of what's happening.
Ie, the accel driver is not aware that there are multiple apps
listening.  I guess it is a bug in the accel driver somehow still, but a
much less worrying one that the SPI sharing difficulties until now.

- -Andy


Hi Andy,

if i shutdown X-Server i am able to open the /dev/input/events twice or 
more times. And it work. So it should be not the problem if the device 
is opened by multiple processes. Just if the X-Server is up only one 
event work. lsof show that all events are opened by neod:

lsof
neod  1675  root4r   CHR  13,64   1427 
/dev/input/event0
neod  1675  root6r   CHR  13,65   1568 
/dev/input/event1
neod  1675  root7r   CHR  13,66   1590 
/dev/input/event2
neod  1675  root8r   CHR  13,67   1609 
/dev/input/event3
neod  1675  root9r   CHR  13,68   1464 
/dev/input/event4



-- Timo



Re: Problem with openmoko-panel apps

2008-07-12 Thread smurfy - phil

small addition, and correction.

its also works with the session file if i do a --start-applet instead of 
a --end-applet in fact, the applet seams to work only with 
--start-applet and no other applet in the panel..


i think its some problem with the width of the applet, but i really 
don't know how to change that.


phil




Re: Any standard way to separate between Neo and FreeRunner?

2008-07-12 Thread Shawn Rutledge
On Sat, Jul 12, 2008 at 4:50 AM, Audrius Meskauskas [EMAIL PROTECTED] wrote:
 GPS Sight currently has releases both for Neo1973 and for FreeRuner. Some
 parts of the code must behave differently for these two phones. For
 instance, on Neo gllin must be started and the NMEA pipe is in another
 place. While some abstract layer is likely to be created in the future, it

Why don't you just use gpsd?  That's the abstraction layer for most gps apps.

On FSO they intend to switch to gypsy though, to get a dbus interface.



SHR: Where I am on getting 2007.2 M stuff running on FSO

2008-07-12 Thread Bobby Martin
I know really only shr folks care about this, but I thought some of you who
know something about FSO and/or 2007.2 could point out stupidity if you see
it :-)

I installed an FSO MS 1 image on my gta01, and made sure that it runs
properly.  I created a directory called 2007.2 that holds the rootfs from a
2007.2 install.

Then:
cp 2007.2/etc/matchbox/session to it
cp 2007.2/usr/bin/matchbox-session to it
comment out phonekit
mv /usr/bin/x-window-manager /usr/bin/x-window-manager.fso
ln -s /usr/bin/matchbox-session /usr/bin/x-window-manager
opkg install openmoko-common2 openmoko-contacts2 openmoko-dialer2
openmoko-icon-theme-standard2 openmoko-mediaplayer2 openmoko-messages2
openmoko-panel-battery openmoko-panel-bt openmoko-panel-clock
openmoko-panel-gps openmoko-panel-gsm openmoko-panel-memory
openmoko-panel-usb openmoko-session2 openmoko-tasks2 openmoko-terminal2
openmoko-today2
opkg install matchbox-panel-2 neod
/etc/init.d/gsmd stop
rm /etc/rc*/*gsmd*
/etc/init.d/x* stop
/usr/bin/matchbox-session

The last failure I got was ** (openmoko-today:1401): WARNING **: Failed to
get dbus connection: dbus-launch failed to autolaunch D-Bus session:
Autolaunch requested, but X11 support not compiled in.
Cannot continue.

There's a recent post on openmoko-devel about how to fix that.  It's just a
matter of getting the dbus env variable set properly.  The other missing
thing is getting Julien's phonekit adapter running on FSO, and you may need
to either fix openmoko-panel-gsm or remove it from the matchbox/session
config (I would try the latter first).

Gotta go spend family time now, I recommend coordinating in #openmoko-cdevel
if you find time to work on this stuff.

Later!
Bobby

-- 
If it doesn't make you smile, you're doing something wrong.


libpcap in toolchain

2008-07-12 Thread Arne Zachlod

Hello there!

it would be very nice if anyone could implement the libpcap in the 
toolchain. would this be possible for anyone? unfortunately i cant do it 
:(. the lib is required for kismet, and i think kismet would be very 
nice for everyone here ;).


thanks, arne



Re: libpcap in toolchain

2008-07-12 Thread Graeme Gregory
On Sat, 12 Jul 2008 19:28:27 +0100
Andy Green [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Somebody in the thread at some point said:
 | Hello there!
 |
 | it would be very nice if anyone could implement the libpcap in the
 | toolchain. would this be possible for anyone? unfortunately i cant
 do it | :(. the lib is required for kismet, and i think kismet would
 be very | nice for everyone here ;).
 
 My tackle shrivels at the pain waiting for you if you have to make a
 new lib in OM / OE, but isn't libpcap needed for tcpdump?  Surely we
 support tcpdump already and then libpcap too?
 
Kismet and all its dependencies are already in OE.

In fact kismet .ipk could be stolen from angstrom feeds.

G



Re: libpcap in toolchain

2008-07-12 Thread Andy Green

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Somebody in the thread at some point said:

| My tackle shrivels at the pain waiting for you if you have to make a
| new lib in OM / OE, but isn't libpcap needed for tcpdump?  Surely we
| support tcpdump already and then libpcap too?
|
| Kismet and all its dependencies are already in OE.
|
| In fact kismet .ipk could be stolen from angstrom feeds.

You will be relieved to know my tackle is restored to its normal
sheep-worrying self.

- -Andy
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEUEARECAAYFAkh4+1EACgkQOjLpvpq7dMqekACYrrT8SPf0vMap/LhxqFRs8/Tg
7ACgg30u+NGZ8eI8ziSOrceI9IyCa1o=
=Yahc
-END PGP SIGNATURE-



Openmoko Bug #1598: Messages should list contacts with unread messages first

2008-07-12 Thread Openmoko Public Trac
#1598: Messages should list contacts with unread messages first
-+--
 Reporter:  nomeata  |   Owner:  openmoko-devel
 Type:  defect   |  Status:  new   
 Priority:  normal   |   Milestone:
Component:  unknown  | Version:
 Severity:  normal   |Keywords:
 Blocking:   |   Blockedby:
-+--
 Hi,

 when I have contacts with unread messages, these should be listed by the
 Messages application first – otherwise I have trouble finding them, if I
 have a long list of messages.

 This should be component openmoko-messages, but for some reason, I can’t
 select that.

 (This is the daily 2007.2 image from today).

 Thanks,
 Joachim

-- 
Ticket URL: https://docs.openmoko.org/trac/ticket/1598
docs.openmoko.org http://docs.openmoko.org/trac/
openmoko trac


Re: Problem with openmoko-panel apps

2008-07-12 Thread smurfy - phil

ok, it seems i found the problem.

if the applet is not visible after creating it does not work.
so simple show the icon, and add a timer that hides it after x secs

phil



SHR: 2007.2 desktop on FSO (sort of)

2008-07-12 Thread Bobby Martin
Well, it's not much, but it's progress.

I realized shortly after I sent the last email that the dbus problem was
only because I started X from the ssh session, not from the device console.
So I set my gta01 back up as described in the last email  rebooted.

I get the standard 2007.2 openmoko-today2 home screen, with a lot of error
messages in x.log that it can't talk to gsmd (expected) and with no theme
applied (not expected, I thought I just needed to install the theme).

Once we root out the few direct gsmd calls from the OM apps and debug Julien
 Marc's phonekit adapter, and do a little clean-up, I think we'll be ready
to put out our first alpha release of SHR.

Regarding direct gsmd calls, one of the shr guys said it looked as if the
only calls were in openmoko-gsm-panel and opemoko-dialer2, but I'm getting
messages about missing gsmd from openmoko-today2 as well).

Bobby

-- 
If it doesn't make you smile, you're doing something wrong.


Re: Current Bootchart / breaking SD boot

2008-07-12 Thread M. Dietrich
On Wed, Jul 09, 2008 at 06:45:03PM -0500, Mike (mwester) wrote:
 Michael 'Mickey' Lauer wrote:
  Am Mittwoch 09 Juli 2008 22:47:12 schrieb Mike (mwester):
  Carsten Haitzler (The Rasterman) wrote:
  you'll be booting a lot if you travel on planes.
  And pulling the battery out too (no current user-space images of which I
  am aware actually power down the GSM, so if you aren't pulling out the
  battery, you're not in airplane mode!!)
  
  I could be wrong, but IIRC FSO is powering the modem down if you shut it 
  down 
  from console. gsm0710muxd is issuing [EMAIL PROTECTED] once you SIGTERM it.
 
 :)  Yet another huge plus for FSO -- that's great news!
 Thanks!

just for the record: the muxer was developed as part of the pyneo
software stack. it can be used with the fso daemons or even libgsmd.

michael



Ogg vorbis performance.

2008-07-12 Thread Russell Sears
I've noticed that my freerunner is *almost* fast enough to play my ogg 
vorbis files; running a second app, or even gpsd causes the media player 
to skip, then to go silent.


What's been done to get ogg vorbis to perform well so far?  ogg123, 
oggdec seem to be able to decode in roughly 2/3's realtime, which is 
similar to the CPU usage of openmoko-mediaplayer.


I noticed that gstreamer is using libvorbisi (tremor) since there is no 
floating point unit.  It looks like there are three ways to make it go 
faster:


 - Tremolo, which is ARM specific, and claims 15-20% better performance
 - _LOW_ACCURACY_ mode
 - The low-mem branch of tremor

Which of these have been tried so far?

Thanks,
Rusty



Re: Ogg vorbis performance.

2008-07-12 Thread Sören Apel
Heya,

On Sat, 2008-07-12 at 14:27 -0700, Russell Sears wrote:
 I've noticed that my freerunner is *almost* fast enough to play my ogg 
 vorbis files; running a second app, or even gpsd causes the media player 
 to skip, then to go silent.

Yep.

 What's been done to get ogg vorbis to perform well so far?  ogg123, 
 oggdec seem to be able to decode in roughly 2/3's realtime, which is 
 similar to the CPU usage of openmoko-mediaplayer.

If I remember correctly it was a problem with the sample rate/sample
format,
meaning that resampling had to take place - which eats CPU like candy.

 I noticed that gstreamer is using libvorbisi (tremor) since there is no 
 floating point unit.  It looks like there are three ways to make it go 
 faster:
 
   - Tremolo, which is ARM specific, and claims 15-20% better performance
   - _LOW_ACCURACY_ mode
   - The low-mem branch of tremor
 
 Which of these have been tried so far?

None, as I didn't find the time unfortunately. 
You're more than welcome to try these :)

 -Soeren



signature.asc
Description: This is a digitally signed message part


Re: Problem with openmoko-panel apps

2008-07-12 Thread Alexander Syring
I've tested your homezone program and if I was logged in before the homezone 
prog was started i get nothing wether I am in homezone nor I am not in 
homezone. But when I first start the program an then log in to provider I get 
a response from program. 
That means (I think) the program only looks on reconnection and not on actual 
connection for the requested data.

Could you post a link that I test the program too?

alex


Am Samstag, 12. Juli 2008 22:36:09 schrieb smurfy - phil:
 ok, it seems i found the problem.

 if the applet is not visible after creating it does not work.
 so simple show the icon, and add a timer that hides it after x secs

 phil


P.S. If you don't understand what I mean you could send me an PM in german 



Re:SHR: 2007.2 desktop on FSO (sort of)

2008-07-12 Thread Joe Pfeiffer
Bobby Martin writes:

Once we root out the few direct gsmd calls from the OM apps and debug Julien
 Marc's phonekit adapter, and do a little clean-up, I think we'll be ready
to put out our first alpha release of SHR.

Outstanding!  This sounds like terrific progress.