Re: [maemo-developers] Kernel 2.6.16 menuconfig...
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
Re: [maemo-developers] Mount problem
On Mon, Jun 19, 2006 at 01:03:04PM -0400, Dave Neuer wrote: > On 6/19/06, Heike C. Zimmerer <[EMAIL PROTECTED]> wrote: > > > >Not sure where your problem is. An > > > > insmod /mnt/initfs/lib/modules/current/ext2.ko > > > >shouldn't barf. I'm doing it all the time, with an unmodified > >2006 Beta. > > Well, I tried ext3.ko, maybe it depends on ext2? Never tried. You can freely switch from using an ext3 as ext3 to ext2 and vice versa provided you do a clean umount in between. I can't see any real advantage of using flash memory with ext3 (except that it halves its life time). But beware: the new beta OS doesn't umount any partition but the first, so data loss is waiting for you if you don't provide umount on shutdown/reboot yourself. Mounting with -o sync may help somewhat. ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Mount problem
Dave, > >You should load the ext3 module first. It is located below > >/mnt/initfs/lib/modules. > > > Hmm. Modprobe doesn't work (no modules.dep), depmod doesn't work (no > such file or directory //tmp), insmod doesn't work > (failed module dependancies). Know how I should go about loading a > module? Not sure where your problem is. An insmod /mnt/initfs/lib/modules/current/ext2.ko shouldn't barf. I'm doing it all the time, with an unmodified 2006 Beta. Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Mount problem
"Dave Neuer" <[EMAIL PROTECTED]> writes: > Why would "sudo mount -t ext3 /dev/mmcblk0p1 /media/mmc1" fail w/ "no > such device" from osso-xterm on IT2006 beta when 1) there's a > mmcblk0p1 /dev node, 2) ls /sys/block/mmcblk0 shows the partition, and > the partition is really ext3? I also tried w/ -t ext2. You should load the ext3 module first. It is located below /mnt/initfs/lib/modules. BTW, ext3 isn't a good fs choice for flash memory, as every sector gets written twice. Better use ext2. Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] SDL vertical blank (vbl) sync.
Visti Andresen <[EMAIL PROTECTED]> writes: > Hi I was wondering if anyone knows how to sync. the SDL_Flip to the > vertical blanking of the display. You're sure there's anything like vertical blanking for the 770? My understanding is that VBL is closely tied to the transmission of video data through an analog line. I doubt you will find anything like that in digital-only LCD circuitry. There will, however, be some kind of display refresh which uses some timing of its own. If you look that direction, maybe there's some interval which can be used for similar tasks. - Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Kernel issues on Nokia 770
Andrey Khurri <[EMAIL PROTECTED]> writes: > That's pity. The reason for I'd like to have a possibilty to create > such a package is that I'd like to provide end users with new kernel > which is needed to support our applications for the Nokia 770. I don't want to discourage you, but the Linux kernel is a (rapidly) moving target, so any software relying on its internals will be very expensive in terms of support (or it won't last long). Can't you achieve whatever you want to do in any other way? Or, at least, using kernel modules? Cheers, Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] unionfs for the Nokia 770
Michael 'Mickey' Lauer <[EMAIL PROTECTED]> writes: > Which version of unionfs did you build? 1.1.3 > Did you find it stable? No problems (I'm using it for 2 months now on the 770). Check it out, it won't bite :-). I have it in everyday use on my Linux PC also (as a lazy people's CVS replacement and the like). and didn't encounter any problems. I'm on the unionfs mailing list - nothing really scary there, too. > We wanted to use it in OpenEmbedded derived builds for Zaurus and iPAQS > etc., but had lots of problems with random OOPSes all around. Don't know about the details of the port, but I guess it must be some time since then - I remember that more than half a year ago, things looked somewhat different. Now the unionfs people have a rather impressive list of projects using it on their home page. Greetings, Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
[maemo-developers] unionfs for the Nokia 770
unionfs merges several directories and directory trees into one. That means you can use your MMC space as if it were part of selectable subtrees of the internal memory like your home directory or /var/lib/install (without having to insert symbolic links or whatsoever). I've compiled it for the Nokia770 and written some glue to ease handling. If you're interested, the Maemo .deb package and the documentation can be found at http://www.hczim.de/software/mmc-unionfs.html. Your comments are welcome. Cheers, Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Re: Measuring power consumption of 770
Frantisek Dufka <[EMAIL PROTECTED]> writes: > Hello Igor, > > can you comment on idea mentioned in this thread about charging the > battery fully and then measuring DC current from charger? Is this > nonsense or not? Is the battery used when already charged and device is > still connected to the charger? I thought most laptops and PDAs work > this way i.e. disconnect battery and use only power from AC adapter. It's not as simple as you may think to detect a fully charged battery. The usual approach to do this reliably is to detect temperature rise at the end of the charge cycle. It cannot be done from voltage and current alone. The effort required barely justifies what can be gained from, at least from a marketing perspective. Environmentalists my feel very different about that. The extra circuitry simply isn't there (the 770's documentation recommends taking it off the charger when battery is full, which wouldn't make sense otherwise) and I don't know of any mobile or laptop which does some real detection. Even if it were, it wouldn't make much sense to measure at the mains plug if you can do at the battery. It's the Nokia's power consumption itself the original poster asked for, not its charger's. The charger itself won't be optimized for minimum power drain. You can't even expect a roughly linear correlation between the charger's input and output power. To put things straight: If you measure "charger plus 770", you measure exactly that, nothing else. All assumptions you draw from it about the Nokia's power consumption alone are worthless without knowing the charger's part. It's a simple rule for any measurement (in whatever domain) to measure as near at the object as fesible (any dressmaker knows about that). After all, it's just any cheap multimeter and a pair of wires what's needed to get useful results. Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Re: Measuring power consumption of 770
Claudio Scordino <[EMAIL PROTECTED]> writes: > If I can make the 770 work with only the battery charger (using a kind of > bypass instead of the battery), I could use my multimeter for electrical > sockets to measure the power consumption of the device... > A multimeter for the electrical socket is cheap, and does not require to play > with resistors and the Ohm law. Actually, there's much more at the mains side to be taken into account than at the battery side - not less. If you're going to use a cheap energy meter for small and possibly non-resistive loads like that, you might as well pick a few random numbers from the phone book instead. And if you're going to measure current and think you get real power consumption by multiplying it by the voltage, the same applies (that's what those devices (mostly) do). If you don't know how to measure at the battery, don't even think about measuring at the mains power. - Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Measuring power consumption of 770
Claudio Scordino <[EMAIL PROTECTED]> writes: > The voltage and the current provided by the battery is much > different from the values provided by an electric cable connected to > a socket (220V and 50Hz here in Italy). That's why our measurement > tools wouldn't work with such a small current... Umm ... any cheap multimeter will do, for both voltages. And, just as a reminder, if you can't measure small currents: the smaller one will be found at the 230V side (given the same power consumption), and you'll much more likely run into problems about what you're really measuring there. Use the battery and measure there. - Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Re:problem in maemo installation
"sudarsana narashiman" <[EMAIL PROTECTED]> writes: > exec ${prefix}/bin/Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac > > I am getting the error > > could not create server lock file /tmp/.X2-lock Did you check if this file already exists (meaning that :2 is already in use - remember, it's a lock)? - hcz ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Adding swapon/off to Jakub's Load-Plugin applet
"David D. Hagood" <[EMAIL PROTECTED]> writes: > Koen Kooi wrote: > >> Please tell me I'm reading this wrong: 'swap file on the internal >> flash'. You do know that flash is broken after ~100k writes/cell, right? >> And you know that will break your 770, right? >> > > I think you are living in the past. Modern flash chips have a write > endurance of greater than a million cycles. You're sure? Maybe I'm not up to date, but I remember figures in the order of typically around 100,000 or even as low as 10,000, depending of the kind of write cycle (like MLC) for today's standard devices. A pointer to the data of the device actually used by the 770 would be much appreciated. > Also, wear leveling means > that even if you repeatedly write to the same logical sector number a > million times, you will NOT have written to any one flash location over > a million times. Life cycle endurance is not a reason not to use > internal flash as swap. Again, maybe I'm not up to date: isn't wear leveling only effective if there's enough room left on your flash which gets freed from time to time? IOW, the more static data there is on a flash (like programs and fixed data), the less is gained from any leveling algorithm? - hcz ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers
Re: [maemo-developers] Best IDE for maemo development?
Timo Savola <[EMAIL PROTECTED]> writes: > Encode, of course--the only IDE in the world that has been designed for > Maemo development from the ground-up. :) Looks nice - seems like I'm going to give it a try soon. Currently I'm using Emacs (and ecb). I've done some changes to tramp to allow dired travelling and editing of files on the 770 via the network using ssh. They are in the process of being submitted to the tramp distribution, but if anyone could use them now, mail me. Heike ___ maemo-developers mailing list maemo-developers@maemo.org https://maemo.org/mailman/listinfo/maemo-developers