Re: [maemo-developers] Alsa on IT2006 beta

2006-06-22 Thread Jaime Ruiz Frontera

 - can anyone offer insight as to why I can no-longer reflash the n770?


Try to do it with flasher-2.0. You can find it in the same web page.
Good luck!

-- 
Jaime Ruiz Frontera

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alsa on IT2006 beta

2006-06-22 Thread Frantisek Dufka

Steve Landers wrote:


So, I have a few questions
- are the plans for alsa support to be re-added to IT2006?
- does anyone have the alsa driver built as a module that can be added 
to IT2006?


some things previously in kernel are modules now, have a look in 
/mnt/initfs/lib/modules/current there are some sound modules there



- can anyone offer insight as to why I can no-longer reflash the n770?


flasher-2.0

BTW the mailing list is searchable
http://www.gossamer-threads.com/lists/engine?list=maemo
see also
http://www.gossamer-threads.com/lists/engine?list=maemodo=search_resultssearch_forum=allsearch_string=unsupported+boardsearch_type=AND

Regards
Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] couldn't launch xterm

2006-06-22 Thread slinsner
Hi, 

I've installed scratchbox-0.9.8 and maemo2.0, but I coudn't launch xterm in
target SDK_ARMEL. I always get following output:

hn-wm.c:264,hn_wm_top_service()  Called with 'xterm'
hn-wm.c:302,hn_wm_top_service() ### Failed to read memory limits, using
scratchbox ??
hn-wm.c:335,hn_wm_top_service() unable to find service name 'xterm' in running
wins
hn-wm.c:336,hn_wm_top_service() Thus launcing via osso_manager_launch()
hn-wm.c:1210,hn_wm_dbus_method_call_handler() Checking if service:
'com.nokia.xterm' is watchable
hn-wm.c:1225,hn_wm_dbus_method_call_handler() Showing Launchbanner...

Does anybody know what went wrong?

Thanks, Shara
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Flash Memory

2006-06-22 Thread Mathias Uebelacker
Good Morning,

how can i erase the flash memory without using the the OS on the 770. My
device interrupt the booting process, turns down, reboot etc. I got the
hint that the Probl. could be the flash memory?

Mathias

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Flash Memory

2006-06-22 Thread Jaime Ruiz Frontera


 how can i erase the flash memory without using the the OS on the 770.

With 770 on connect to computer via USB.

# mkdosfs -F 16 /dev/sda1 (or sdb1 ...)



-- 
Jaime Ruiz Frontera

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Flash Memory

2006-06-22 Thread Stellars Henson
  how can i erase the flash memory without using the the OS on the 770.
 
 With 770 on connect to computer via USB.
 
 # mkdosfs -F 16 /dev/sda1 (or sdb1 ...)
 

it tends to be resetting ( refscking ) mmc card.
btw. in os 2006 ext2/3 filesystem support is missing,
is it to be re-added? 

also, will there be full-scale mount and losetup
tools available with 2006? 

While using 2005 edition i had several problems using
custom built loopback device tools. The filesystem
i mounted via loopback device worked well, but when i 
tended to write there some data, it made 770 reboot.
Because of that - i have a question, is fs i/o sync by default?
Maybe the problem is synchronous i/o which loopback device can't
handle well...



-- 
Stell
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] load plugin ( aw )

2006-06-22 Thread Stellars Henson
the current version ( av version ) has significant bug:
it doesn't close opened files while looping proc files read.
it causes run-out-of-possible-open-files problem. While 
amount of opened files reaches about 2900, the device reboots.
from start to reboot you have about 10 minuts of work :-)

needs patching

-- 
Stell
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] permanet reboot after use of flasher 2.0

2006-06-22 Thread Eero Tamminen
Hi,

On Wed, Jun 21, 2006 at 07:17:59PM +0200, Ramon Navarro Bosch wrote:
 I've removed battery, and now it doesn't reboot again. I doesn't have
 contact button on the left sidebar. I've tried df and I have enought
 space 50%. I'm not using swap. Can I debug this ?

When the reboot happens?

1) before the bootup progressbar is shown,
   - most likely device HW watchdog reboots the device
  because there was problem when mounting/writing to
  the rootfs
2) while the bootup progressbar is advancing, or
   - most likely device SW watchdog reboots the device because
  there's a problem with some critical system service
  (could also be reason 1)
3) after Desktop has fully booted up
???

If 1), you can:
- use flasher to set device to boot from MMC.  There's -b flasher
  option to set kernel command line args, and AFAIK MMC is the
  device /dev/mmcblk0p1.  On the MMC you need /sbin/init (might
  be script?) and environment that somehow allows you to type things.
  Easiest to achieve latter would probably to have a rescue fs
  that contains:
  - busybox
  - X server from the normal rootfs
  - matchbox and xkbd/matchbox-keyboard
  - xterm/rxtvt
  - some debug tools (gdb, strace etc) so that you can debug
things after mounting the internal rootfs and chrooting
there
  Would be nice if people on the list would get this together.
  (I haven't tested this myself)

If 2), you can:
- Set following flasher flags:
  --enable-rd-mode --set-rd-flags no-lifeguard-reset --enable-usb-host-mode
  This:
  - disables device SW watchdog so that it's not rebooted
  - allows you to establish USB serial connection to the device.
People on the list might have URLs to docs on how to do this

If 3), debugging should be piece of cake ;-)



 I thing that must be
 something with contact/email application because before reboot each time
 contact information on main screen finished to be writen.



- Eero

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alsa on IT2006 beta

2006-06-22 Thread Frantisek Dufka

Steve Landers wrote:

Yes - I looked there. Nothing that stands out as being an alsa driver - 
snd_hwdep and snd_rawmidi being the closest but neither appears to 
provide the functionality of the inbuilt Alsa drivers in IT2005 nor the 
Alsa support referred to in the Maemo documentation.  And, 
unfortunately, I cannot find any documentation on how to use these modules.




Tha basic support is in kernel
Nokia770-22:~# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan 04 
08:57:20 2006 UTC).
and with the rest in modules I think it is the same functionality as it 
was in IT2005 (i.e almost none). What exactly did work in IT2005 out of 
box? I thought alsa is not working yet for the internal audio and people 
should use gstreamer or esd deamon for that as the audio chip is used 
only by DSP (via gstreamer) directly. Am I wrong? Was there really alsa 
to DSP audio driver in kernel in IT2005?


Frantisek
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Kernel 2.6.16 menuconfig...

2006-06-22 Thread Christian Henz

... does not work for me because ncurses does not get linked.

The linker flags are created in 
kernel-source-2.6.16/scripts/kconfig/lxdialog/check-lxdialog.sh 

The script tries to find the right lib to link by calling 
gcc -print-file-name= On my Debian/testing host this works, but
in my Scratchbox/Maemo2b enviroment these tests come up emtpy.

ncurses IS installed though, since I can link it manually and also
menuconfig works for kernel 2.6.12. In fact I got 2.6.16 menuconfig to
work by just shortcutting the test in the script to echoing -lncurses.

It was suggested here 
(http://www.ussg.iu.edu/hypermail/linux/kernel/0604.0/0050.html) that the 
problem might be due to wrong symlinks, but they looked okay to me (ie 
exactly as on the Debian host except for the w variants).

cheers,
Christian
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alsa on IT2006 beta

2006-06-22 Thread Steve Landers


On 22/06/2006, at 7:10 PM, Frantisek Dufka wrote:


Steve Landers wrote:

Yes - I looked there. Nothing that stands out as being an alsa  
driver - snd_hwdep and snd_rawmidi being the closest but neither  
appears to provide the functionality of the inbuilt Alsa drivers  
in IT2005 nor the Alsa support referred to in the Maemo  
documentation.  And, unfortunately, I cannot find any  
documentation on how to use these modules.


Tha basic support is in kernel
Nokia770-22:~# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.11rc2 (Wed Jan  
04 08:57:20 2006 UTC).
and with the rest in modules I think it is the same functionality  
as it was in IT2005 (i.e almost none). What exactly did work in  
IT2005 out of box? I thought alsa is not working yet for the  
internal audio and people should use gstreamer or esd deamon for  
that as the audio chip is used only by DSP (via gstreamer)  
directly. Am I wrong? Was there really alsa to DSP audio driver in  
kernel in IT2005?


I'll answer that question in a few hours when I rebuild the Maemo 1.1  
scratchbox and try building and running aplayer.  I've just reflashed  
to 1.1 (oh how I miss IT2006 already :)) and note that the /proc/ 
asounds directory has a subdir card0 with a symlink Dummy -  card0.   
Inside card0 is a device file id which just returns dummy. So at  
this stage I'm not sure if that indicates there is or isn't an Alsa  
driver present.


What I do know is that the documentation (http://www.maemo.org/ 
platform/docs/multimedia/multimedia_architecture.html) explicitly  
states that Alsa is supported and seems to discourage one from using  
ESD.


I've looked into Gstreamer but quickly got bogged down in the  
complexity and it isn't obvious if it is even possible to get it  
working in the way I need (basically, playing midi notes - ideally  
with soundfont support) without developing a plugin. I could go down  
the SDL path as an alternative but given I use a library that  
supports Alsa (Fluidsynth) and the Maemo multimedia documentation  
says that it supports Alsa then I'm naive enough to believe it should  
be possible :)


Don't get me wrong - I love the 770 and think that it is a great  
device. I'm just a bit frustrated at the moment with the quality of  
the available documentation (I can live with missing documentation, I  
find incorrect documentation a little harder to deal with).


In any case, I appreciate your input.

Steve


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] load plugin ( aw )

2006-06-22 Thread Armin M. Warda
  Hi Stell,

On Thursday 22 June 2006 12:01, Stellars Henson wrote:
 the current version ( av version ) has significant bug:

You must be using 'load-applet-aw_0.4.4-2-0.1_armel.deb', 
which is buggy. 

 it doesn't close opened files while looping proc files read.
 it causes run-out-of-possible-open-files problem. While
 amount of opened files reaches about 2900, the device reboots.
 from start to reboot you have about 10 minuts of work :-)

Thanks for this very qualified bug-report. 

 needs patching

It is easy to fix that bug, but I think I will not continue 
the 'load-applet-aw', because John Costigan has created 
'load-applet-run', which is a very good alternative for 
swapon/off. For details please see 
http://maemo.org/pipermail/maemo-users/2006-June/001402.html

  regards, Armin.

P.S.: But if you really, really want 'load-applet-aw', you might test
http://armin-warda.de/load-applet-aw_0.4.4-2-0.2_armel.deb,
and please report back to me how this works for you.

-- 
   --- May the Source be with you! Linux. ---
   --- secure eMail: http://www.gnupg.de/ ---
   --- My Homepage http://armin-warda.de/ ---


pgp9sTFIywCEY.pgp
Description: PGP signature
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Problems with NumberEditor?

2006-06-22 Thread Gustavo Sverzut Barbieri

Hello,

I'm have a lot of problems with NumberEditor that didn't happen on previous
(1.1) version :-(

   - gtk_widget_set_name() will make it's images - and + disappear
   - notify::value isn't emitted anymore, just when reach minimum
and maximum

There is also a freeze when I do click [-] or [+] buttons, but I'm still not
sure why does this happen... I need to isolate yet.

Does this happen to you too?

PS: I'm using python bindings, however since they're automatically generated
and other parts do work well, I don't think they're the problem... I'll the C
version before bug report at bugzilla...

--
Gustavo Sverzut Barbieri
--
Jabber: [EMAIL PROTECTED]
  MSN: [EMAIL PROTECTED]
 ICQ#: 17249123
Skype: gsbarbieri
Mobile: +55 (81) 9927 0010
Phone:  +1 (347) 624 6296; [EMAIL PROTECTED]
  GPG: 0xB640E1A2 @ wwwkeys.pgp.net
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Alsa on IT2006 beta

2006-06-22 Thread Charles 'Buck' Krasic
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Look for my earlier post to the list.  

Summary: the 770 kernel is linux-2.6.16-omap1 which does have generic
ALSA, but not specific support for the 770.   There was a patch posted
to the linux-omap-open-source list which was supposed to enable the
AIC23 ALSA driver for the 770.   I buillt a kernel with that patch and
installed it on my 770.I did get it to make sound, but it was not
at the right speed, so I think the driver would need some work.

As far I can tell, the 2.0 beta definitely does not provide ALSA
support for the built-in sound.   

- -- Buck

Steve Landers wrote:

 G'day,

 I'm currently porting a Fluidsynth based program to the n770 and
 notice that the Alsa driver appears to be missing from IT2006 beta.


 No big deal, except I can't seem to regress my n770 to the previous
 OS release - Nokia_770_SE2005_5_2006_13_7, which does have the
 Alsa drivers. When flashing I get a message Unsupported board (id
 = 0x)

 So, I have a few questions - are the plans for alsa support to be
 re-added to IT2006? - does anyone have the alsa driver built as a
 module that can be added to IT2006? - can anyone offer insight as
 to why I can no-longer reflash the n770?

 Many thanks

 Steve

 -- Steve Landers Software Design Solutions
 Digital Smarties [EMAIL PROTECTED] Perth,
 Western Australia DigitalSmarties.com

 ___ maemo-developers
 mailing list maemo-developers@maemo.org
 https://maemo.org/mailman/listinfo/maemo-developers


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

iD8DBQFEms3HPrrWIMa4SMsRAkYWAJ4uhBaFn7eMQv19XPD/tryNMnD3pwCgpwo4
sJy4St1irtGvn85nCsNs+kc=
=i6Fz
-END PGP SIGNATURE-

begin:vcard
fn:Charles 'Buck' Krasic
n:Krasic;Charles 'Buck'
org:University of British Columbia;Department of Computer Science
adr:;;201-2366 Main Mall;Vancouver;B.C.;V6T 1Z4;Canada
email;internet:[EMAIL PROTECTED]
title:Assistant Professor
tel;work:(604) 822-5628
tel;fax:(604) 822-5485
tel;cell:(604) 313-9429
x-mozilla-html:FALSE
url:http://www.cs.ubc.ca/~krasic/
version:2.1
end:vcard

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Kernel 2.6.16 menuconfig...

2006-06-22 Thread Heike C. Zimmerer
Christian Henz [EMAIL PROTECTED] writes:

 ... does not work for me because ncurses does not get linked.

I didn't investigate the reason for failure at all, but simply
replaced my Linux PC's .config temporarily by that of the 770, ran
make menuconfig there and copied the result back.  Not a real
solution, I know ...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] problems compiling C++ code on Maemo 2

2006-06-22 Thread Tomas Frydrych

I am trying to build armel AbiWord package for Maemo2, but the linker
bails out for reasons I do not understand. The exact error message is as
follows:

../../../../src/text/fmt/xp/libFmt.a(fv_View.o): In function
`~AV_Listener':../../../../src/af/util/xp/ut_string_class.h:55: multiple
definition of
`UT_GenericStringMapchar*::_key(UT_GenericStringMapchar*::UT_Cursor)
const::bad'
../../../../src/wp/impexp/libImpExp.a(ie_imp_PasteListener.o):../../../../src/af/util/xp/ut_string_class.h:55:
first defined here

The odd thing is that ~AV_Listerner() is a NOP virtual destructor, so it
makes no use of UT_GenericStringMapchar*, and ut_string_class.h:55
contains yet another NOP virtual destructor, but the class is unrelated
to UT_GenericStringMapchar* either.

The code builds fine both with gcc and MSVC, and used to with the Maemo1
toolchain, so I suspect this is a bug in the toolchain, but hoping there
might be some workaround -- if any of the C++ gurus here would have any
suggestions, it would be much appreciated.

Tomas
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers