![]() |
Re: debian jessie image for N900
Quote:
Code:
iface wlan0 inet dhcp Quote:
Quote:
Quote:
Quote:
|
Re: debian jessie image for N900
Quote:
edit: on my other machine (home server) I get similar output (unable to start X) unless I type on my home computer "ssh -X server_ip", but then it starts X remotely on the screen of my home computer. If I find a moment, I'll try debug that and give you more useful information, but just wanted to step in now and note that this may not be related to Debian/N900, but it might be either generic Debian problem (my server runs Debian) or generic Linux/X.org/ssh problem. |
Re: debian jessie image for N900
I love it.But what about charging?is there any way to charge n900 while in jessie?
|
Re: debian jessie image for N900
Quote:
|
Re: debian jessie image for N900
Quote:
Obviously, the kernel being used here is not kernel-power, but perhaps includes the necessary modules/patches to make it work. Can't check now, but the module was bq2415x_charger. Somebody with debian running on the N900 could try: modprobe bq2415x_charger and see what happens. |
Re: debian jessie image for N900
Quote:
Please report if you can figure out whether the battery is charging or not. My (short) experience[*] with this is that the battery actually charges but much more slowly than normal, but that may have been due to a faulty USB port. [*] http://talk.maemo.org/showpost.php?p...&postcount=484 |
Re: debian jessie image for N900
Quote:
Code:
lsmod |grep bq2415x_charger Code:
bq2415x_charger 14125 0 Quote:
|
Re: debian jessie image for N900
Im pretty sure it charges.I booted up jessie with two wires connected to my battery terminals.while voltage was 2.75 it went up to 2.85 when the charger connected (every time) and led solid yellow.I know its a little difference (100mv) but i think is enough for its voltage.
|
Re: debian jessie image for N900
My n900 have been running jessie on couple of last days all the time attached to the charger. Led is orange/yellow as stated earlier.
Now I booted it to the maemo and detached charger. Battery is fully charged. |
Re: debian jessie image for N900
I also have the same issue with the charging LED in my build. It definitely does charge and also the kernel seems to know when it's fully charged so it's unlikely that there's a risk overcharging our batteries. You can find battery info under /sys/class/power_supply/bq27200-0. I don't know if anyone else has experienced this but I get a kernel panic when I plug in the wall charger directly into the mains. Charging works fine however when connecting a USB cable to the USB port of my PC. I'm using freemangordon's 3.14-rc3 kernel by the way.
My main issues right now are that I've not yet got USB networking to work, the keyboard mapping doesn't work under E17 (even though it works fine on the console) but the most critical issue that I don't have a solution for something equivalent to Maemo's xprot to prevent blowing up the speakers. I'm hoping to create a Git repo for my scripts within the next few days once I've tidied up a few things and done a bit more testing. |
Re: debian jessie image for N900
1 Attachment(s)
Hy
I have installed Xmonad on our little beast and it works suprisingly well, it is fast, stable, low on mem ... only downside is pretty large ghc as dependency (cca 600 mb) and lack of n900 Alt_l aka Mod1 key, so I assign it to volume key and it works well. Is there a way to assign '$ xset dpms force off' to kb_lock? I found workaround but doesn't involve kb_lock. Does anyone got audio working? I've tried alsamixer, but moc doesn't give any response. :( Then I tried with jack, in moc you can see that song is at least playing but there is no sound.:confused: |
Re: debian jessie image for N900
What about that keyboard LEDs ?
|
Re: debian jessie image for N900
Quote:
Here is a simple script: Code:
#!/bin/sh Probably there is some more elegant way to achieve keyboard led on/off but... |
Re: debian jessie image for N900
Script for voltage, capacity and temperature
Code:
#!/bin/sh |
Re: debian jessie image for N900
Quote:
Code:
echo 3 > /sys/class/i2c-adapter/i2c-2/2-0032/select_engine Code:
lp5523x 2-0032: firmware request failed |
Re: debian jessie image for N900
Thanks for pointing it out, I overlooked it.
It seems that when you set mode run in engine_mode it automatically set which engine is active in select_engine, so Code:
echo 3 > /sys/class/i2c-adapter/i2c-2/2-0032/select_engine I've edited batt_info and kbd_led script. bat_info is now more verbose and kbd_led doesn't produce error. |
Re: debian jessie image for N900
Here follows how to mount maemo fs from inside debian (from http://talk.maemo.org/showpost.php?p...2&postcount=61).
Code:
apt-get install mtd-utils Code:
for i in sys dev proc; do mount -o bind /$i /mnt/$i; done Code:
fuser -k -M -m /mnt/ |
Re: debian jessie image for N900
For a proper keyboard on X, run the following:
Code:
setxkbmap -rules evdev -model nokiarx51 -option grp:ctrl_shift_toggle -layout us |
Re: debian jessie image for N900
Quote:
Code:
/dev/mmcblk0p2 on / type ext4 (rw,noatime,data=ordered) And maemo's vfat MyDocs is: /dev/mmcblk1p1 |
Re: debian jessie image for N900
Quote:
Code:
nano /usr/share/applications/keybset.desktop Code:
[Desktop Entry] Code:
chmod a+x /usr/share/applications/keybset.desktop After its activated in Settings panel,Apps tab find Startup applications and activate Keybset.Your done The only problem is that left and right arrows dont work for me. |
Re: debian jessie image for N900
Has anyone managed to get usb hostmode working?
I tried pausing udev and then Code:
echo host > /sys/devices/platform/musb_omap2340/musb-hdrc.0.auto/mode http://http://wiki.maemo.org/USB_host_mode and it doesnt work. I understand that musb_omap2340 is another driver but hostmode is implemented in it. |
Re: debian jessie image for N900
Quote:
Instead of libgl1-mesa-glx try libgl1-mesa-swx11 |
Re: debian jessie image for N900
Quote:
glxinfo Code:
direct rendering: Yes Code:
226 frames in 5.0 seconds = 45.104 FPS clutter-0.8 (compiled from fremantle) examples works too. ----- I decided (at this phase) to not install/use any closed-source package. I have now compiled packages from maemo5, debian-squeeze and cordia (github). My first milestone is hildon-desktop. It needs many libhildon related packages (including clutter) to compile and then bunch of more to install (and maybe some more to run). Cordia contains hildon stuff for gtk3. I'm not sure that gtk3 is better (in any measure) than gtk2, but critical point is that original hildon uses forked gtk2 (it contains some 1000 commits over six years period by Nokia), and I definitely want get rid of it, so upstream gtk3 sounds way to go. Problem is that cordia doesn't contain proper debianization so I might been compiling more packages than really needed. Squeeze is used because it is only debian which contains some hildon-stuff. --------------- I'm also pondering what packages we need to achieve system which 'looks and feels as Fremantle'. (I think this is my goal?) E.g. libosso: Quote:
|
Re: debian jessie image for N900
Gtk3, as I stated elsewhere, has some changes which cater better for tablets so that should automatically drop some of the required changes. I'd really like to see Gtk3 and Qt5 as the main toolkits, or even just Qt5 if using a ported version of qildon.
I've been looking into required changes for hildon-components and they seem to be pretty straight forward. Replace declarative module with qml, rename included headers and so forth. Only big deal is if anything needs to use new scene graph from what I've read up on. ---- Have you had any luck with underlying components, if needed/worthwhile like bme, mce? Might simplify some of the scripts we've had posted so far. |
Re: debian jessie image for N900
Quote:
On my device there is only musb-omap2430 |
Re: debian jessie image for N900
Yeah you're right.It was a typo posted in here but in my machine i typed it right.
|
Re: debian jessie image for N900
Hi Guys,
I tried by all the ways but i can't boot to Jessie. I followed all the steps from post 1 but no success! Trying to xzcat the file takes me an hour, with weird thing in the terminal, but does nothing to the card. So I used Win32DiskImager-0.9.5-install under windows, to copy the image to the memory card, then copied the files inside 0.fat to /boot folder in the card. When updating the boot menu, everything goes well, but when it boots it says no emmc0 or something like that!!! I'm desperate :o :( lol! Okay, not so desperate but i'm like :mad: then I start over and over. What do I do wrong? Is it a problem of Ext2/vfat format or something else??? |
Re: debian jessie image for N900
Quote:
Code:
lsblk Code:
cat /proc/partitions |
Re: debian jessie image for N900
thanks, i'm trying again under windows. If it goes bad, i'll try it under Ubuntu and post the results!!!
Edit: I put the SD card to the PC under Ubuntu, then i did Code:
lsblk so i did the zcat to /dev/mmcblk0 the weird symbols are showing in the terminal. I'll wait untill it finish!! |
Re: debian jessie image for N900
Wow, i think that i missed something!!!
the first command i typed was Code:
xzcat jessie.dd.xz /dev/mmcblk0 now when I type Code:
xzcat jessie.dd.xz > /dev/mmcblk0 Code:
boemien@boemien-VPCEL23FD:~$ xzcat jessie.dd.xz > /dev/mmcblk0 Code:
boemien@boemien-VPCEL23FD:~$ xzcat /home/boemien/Téléchargements/jessie.dd.xz > /dev/mmcblk0 What is the right command? PS: Permission non accordée means Permission Denied. :D |
Re: debian jessie image for N900
Quote:
Code:
sudo xzcat jessie.dd.xz > /dev/mmcblk0 |
Re: debian jessie image for N900
Quote:
Code:
boemien@boemien-VPCEL23FD:~$ sudo xzcat /home/boemien/Téléchargements/jessie.dd.xz > /dev/mmcblk0 Quote:
|
Re: debian jessie image for N900
it seems to work without the " > " but there is nothing on the card!!!!
Code:
# Note: nfsnobdy is 4294967294 on 64-bit platforms (-2) |
Re: debian jessie image for N900
Quote:
Code:
$ sudo sh -c "xzcat jessie.dd.xz > /dev/mmcblk0" Code:
$ sudo su Code:
$ xzcat jessie.dd.xz | sudo dd of=/dev/mmcblk0 bs=1M Note: If you're running this on a PC /dev/mmcblk0 is not likely to be the name of the SD card device node. You can find out what name has been assigned using dmesg or fdisk. [/EDIT] |
Re: debian jessie image for N900
Thanks.
Typing dmesg, i can see that the device is mmcblk0 I typed Code:
boemien@boemien-VPCEL23FD:~$ sudo su I will follow the steps to update the bootmenu and see if it works. Thanks in advance :-) |
Re: debian jessie image for N900
Okay, everything seems to work. I have Unable to read file /boot/uIntrd **
I will try to copy them from first partition to boot folder on the second!!! EDIT: Okay!! It seems to boot now. The solution was said here: Quote:
|
Re: debian jessie image for N900
cordia:
https://github.com/Cordia Quote:
There are plenty of git-repositories and I managed to build hildon-desktop top of GTK3 (it had some gtk2 functions left but I dropped them). I got it running, but it is not looking anything yet. I'm planning to push source level instructions and deb-packages, but I will double check them first and maybe I want some real milestone achieved also. Short summary of building-order and origin of sources: M=maemo5 (apt-get source) C=cordia (git) J=jessie (apt-get source) S=squeezie (dget) cairo [J] (need tuning for dependencies, or it uninstall mesa-GL) hildon-libs-l10n-public [M] osso-system-lock-l10n-public [M] hildon-fm-l10n-public [M] hildon-icons [S] hildon-theme-plankton [S] (deb is not installable, but copy directory to right place) clutter [C] (against GL, not GLES) libhildon-1 [C] (gtk3) (do not use libosso-gnomevfs2-dev but libgnomevfs2-dev) libdsme [M] libiphb [MEEGO] (was liberated for harmattan) libhildondesktop [C] libmatchbox2 [C] (against clutter-0.8, not 1.0) libhildonmime-dev [M] libhildondesktop1 [C] hildondesktop [C] (without maemo-launcher) * (It seems to me that) hildon-desktop acts as a window manager and Matchbox2 is statically compiled inside hildon-desktop. -there are no matchbox -process running on maemo -hildon-desktop should be very next to start after X Starting: On device, as root, start X (command is 'X', not startx) And then over ssh, as user, run hildon-desktop I'm not sure what is next package, maybe hildon-home? Here is some selection of log when hildon-desktop is started: Code:
** (hildon-desktop:2378): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files qildon: https://gitorious.org/qildon Quote:
I'm waiting more info about this until I continue. (Is somebody ever got this compiled and running on any system? How ready it is?) --------------- bme: Closed source on fremantle, liberated for harmattan. Sources: bme-rx-51 https://gitorious.org/rx51-bme-replacement/bme-rx-51 hald-addon-bme https://gitorious.org/rx51-bme-repla...hald-addon-bme libbmeipc0 https://gitorious.org/rx51-bme-replacement/libbmeipc And some more: https://gitorious.org/rx51-bme-replacement These depends on libhal, which is not anymore on jessie. Maybe version from squeeze is better than wheezy or fremantle.Got it build, but not yet tested installation. --------------- mce: From harmattan. I quickly check that is has some tough dependency (I don't yet know where to get) osso-systemui-modechange-dev libdevlock-dev osso-systemui-devlock-dev osso-systemui-splashscreen-dev libcal-dev (binary version from this can be installed from NOKIA-binaries) It also needs hald-addon-bme-dev (from meego), not yet tested. |
Re: debian jessie image for N900
great news aapo but i have a couple of questions.
is hal really necessary though? if we (maemo5) are only using it to automount hotplugged devices, udev+udisks would be sufficient. to use old software maybe but are you risking recreating the whole fork/cross version situation we have already. bme/mce: are those links the same as the replacements were using/got available on maemo5? i thought ours were RE'd. |
Re: debian jessie image for N900
Quote:
Quote:
EDIT: Quote:
EDIT2: By the way, Aapo, have you read this thread: http://talk.maemo.org/showthread.php?t=82641 ? I don't want to sound like a douche telling you what to do, but it could be a nice idea to drop all the unneded packages at first stages of your project and not spend too much time on trying to get them working (this is just an idea to consider). EDIT3: I have used this link a million times, but maybe I will post it once again, maybe it will be usefull (a.d. your note about using libclutter in specific version): http://linuxtesting.org/compatibilit...at_report.html - it can help detecting which versions of software can be easily used in newer versions (e.g. from Jessie). See e.g. list of possible incompatibilities with newer versions of libc, libexif, libexempi, libglib... libncurses - funny thing is this one is supposed to be in the same version in Fremantle and Harmattan, but they are incompatible somehow... Also, when some libraries reach 1.x state, they sometimes change name in debian (e.g. ssl 0.9.8 is "libssl" and 1.0 is "libssl1" - this is the example that came to my head instantly when you wrote about clutter). I remember seeing (I think on the same server) a comparison of base-system packages compatibility between different version of Debian... that could also be useful here (so you could compare compatibility and then make a decision from which source you would like to build packages for this Jessie-based Maemo). |
Re: debian jessie image for N900
hal: may do more on maemo, i used it as an example really. my laptop doesn't have it, just relies on udisks, upower, rfkill and so on.
clutter: does using gl instead of gles make much difference in terms of performance? if we can build against a newer version even better. finally, does anyone have instructions for setting up a build environment for this via vbox or scratchbox? |
All times are GMT. The time now is 02:05. |
vBulletin® Version 3.8.8