n900 recovery mode?

2009-11-14 Thread Victor Fragoso
Hello,

I recently was testing some libraries on the n900, and in order to point
the libraries I made a script that exports LD_LIBRARY_PATH pointing to
the path where my libraries were. I added this line to /etc/profile 

source /home/user/script.sh 

I forgot to add the execute permission, and after rebooting the phone,
the UI didn't start anymore. I think it crashes when it tries to start
the script, and unfortunately the tablet can't connect to the network.

I tried also to pass some flags to the kernel, I passed the
init=/bin/ash and see if I could get a terminal on the screen, but I had
no success.

Do you know if there exist any flag telling the kernel to boot in a
recovery mode?

Victor.

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


Booting from external flash card on N800

2009-11-14 Thread Rainer Dorsch
Hello,

I copied a native diablo rootfs on my external flash on the N800 as described 
here http://wiki.maemo.org/Advanced_booting. It boots and asks all the 
parameters (language, time, phone, etc.) but it seems that my external flash 
partition gets mounted readonly.

mount shows /dev/mmcblk1p2 on / type ext2 (ro,noatime)

Has anybody thoughs on why that is?

In my bootmenu.conf,
MENU3 is the one I added for the external card
MENU2 works well (was created by nupgrade.sh as a clone of the internal flash)

Here is the content of my bootmenu.conf:

Nokia-N800-23-14:/home/user/bin/initfs_flasher# cat bootmenu.conf
# bootmenu customisation file
#
# included from bootmenu.sh after default menu is defined
# you can change some items or redefine menu completely

# timeout for automatic selection when no key is pressed
# set to -1 for no timeout (not recommended, can drain battery when device 
reboots unatteded)
MENU_TIMEOUT=5

# IP address for USB networking
#USB_IP=192.168.2.15

# dim screen when in menu
#/usr/sbin/dsmetest -l 1 #for OS2006/7
#/usr/sbin/dsmetest -l 3 #for OS2008, 1 turns screen completely off

# menu items
MENU_MIN=1 # first item index

#no need to redefine
MENU_1_NAME=Internal flash
MENU_1_ID=flash

MENU_2_NAME=Internal MMC card, partition 2, ext2
MENU_2_ID=mmc2
MENU_2_DEVICE=${INT_CARD}p2
MENU_2_MODULES=mbcache ext2
MENU_2_FSTYPE=ext2
MENU_2_FSOPTIONS=noatime
[ -d /sys/block/${INT_CARD}/${MENU_2_DEVICE} ] || 
MENU_2_NAME=(${MENU_2_NAME}) N/A

#MENU_3_NAME=Internal MMC card, partition 3, ext2
#MENU_3_ID=mmc3
#MENU_3_DEVICE=${INT_CARD}p3
#MENU_3_MODULES=mbcache ext2
#MENU_3_FSTYPE=ext2
#MENU_3_FSOPTIONS=noatime
#[ -d /sys/block/${INT_CARD}/${MENU_3_DEVICE} ] || 
MENU_3_NAME=(${MENU_3_NAME}) N/A

MENU_3_NAME=External MMC card, partition 2, ext3
MENU_3_ID=mmc12
MENU_3_DEVICE=${EXT_CARD}p2
MENU_3_MODULES=mbcache ext2
MENU_3_FSTYPE=ext2
MENU_3_FSOPTIONS=noatime #,data=writeback
[ -d /sys/block/${EXT_CARD}/${MENU_4_DEVICE} ] || 
MENU_4_NAME=(${MENU_4_NAME}) N/A

MENU_4_NAME=Power off (when not on charger)
MENU_4_ID=off

#last item index, change if you add/remove items
MENU_MAX=4
Nokia-N800-23-14:/home/user/bin/initfs_flasher#

Thanks,
Rainer

-- 
Rainer Dorsch
Lärchenstr. 6
D-72135 Dettenhausen
07157-734133
email: rdor...@web.de
jabber: rdor...@jabber.org
GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F  8F59 E3A8 C538 7519 141E
Full GPG key: http://pgp.mit.edu/


signature.asc
Description: This is a digitally signed message part.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Mediaplayer/GStreamer/Tracker: adding new file types?

2009-11-14 Thread Thomas Waelti
Hello all

Using gst-launch with playbin2, I'm able to play .ts files on my N900 from the 
command line.
Is there any way to add this ability to the inbuilt mediaplayer? I guess that 
this involves a few steps, but don't know how to achieve that:
- Get Tracker to index .ts files as video files
- Configure Mediaplayer to use the correct pipeline for this media type

Any ideas?

Thanks!
-Tom (still dreaming of using the N900 as the frontend for his digital 
videorecorder :-)

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


N900 GPS Problems

2009-11-14 Thread Sveinn Thorarinsson
Hi,

Wondering if other people have this problem, and if so, if it is hardware or
software related.

Most of the time, I cannot get a fix on my location using the internal GPS.

This problem occurs in different scenarios. For example, when I open the map
program that ships with the phone it sometimes can get a fix but most of the
times it cannot. I have compiled and run on the phone the sample GPS program
provided in the wikis and have the same issue there.

I seem to have better results when I am at home, maybe that's because I am
also connected to the wifi when I am there..?
Two people I know have been unable to get a fix at all since they got the
N900..

Have any of you had the same issues?
( I am hoping this does not mean the internal GPS is just a low quality
sensor and that this might be fixed with a firmware update..)

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