![]() |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Hi,
I have never touched Kubuntu Mobile, but I'm working from time to time on a hobby-Debian for the N900. Ofono comes with some useful python test scripts. I have uploaded these which are in meego-ce (summer edition) in the folder /usr/lib/ofono/test here. I can say that SMS basically works - sending and receiving. Don't remember every step I did to make it working, but it wasn't that hard. You need to run the setup_gpio function at some point, e. g. at bootup. Then at some point run this scripts: Code:
enable-modem |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Yeah, so, judging on what you state, for this I could put an SMS interface, for sending, receiving, with an addressbook etc. real fast, based on what I had on the Universal...
However, it seams the calls are still a dead-end, last I heard the voice was not there, the call got initiated, but then no go... Is this still so? |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
I don't really care for Android, only GNU/Linux, but from the little I've read about sound in Android, I think it's implemented completely differently, therefore I'd doubt there'd be any correlation.
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
int_ua
I have a problem with this: Device Boot Start End Blocks Id System + read -p 'Please check the selected device partion table above. Are sure you want to wipe it? (yes/NO)' Please check the selected device partion table above. Are sure you want to wipe it? (yes/NO)yes + [[ yes != \y\e\s ]] + read -p 'System partition size in gibibytes:' system_size System partition size in gibibytes:8 + read -p 'Swap disk size in mebibytes (0 for no swap):' swap_size Swap disk size in mebibytes (0 for no swap):1000 + [[ 1000 > 0 ]] + swap_command_stack='n\np\n2\n\n+1000M\n' + fdisk_command_stack='n\np\n1\n\n+8G\nn\np\n2\n\n+1 000M\nn\np\n3\n\n\nw\n' + echo -e 'n\np\n1\n\n+8G\nn\np\n2\n\n+1000M\nn\np\n3\n\n\nw \n' + parted -s /dev/sdb mklabel msdos + fdisk /dev/sdb WARNING: DOS-compatible mode is deprecated. It's strongly recommended to switch off the mode (command 'c') and change display units to sectors (command 'u'). Command (m for help): Command action e extended p primary partition (1-4) Partition number (1-4): First cylinder (1-15264, default 1): Using default value 1 Last cylinder, +cylinders or +size{K,M,G} (1-15264, default 15264): Command (m for help): Command action e extended p primary partition (1-4) Partition number (1-4): First cylinder (8194-15264, default 8194): Using default value 8194 Last cylinder, +cylinders or +size{K,M,G} (8194-15264, default 15264): Command (m for help): Command action e extended p primary partition (1-4) Partition number (1-4): First cylinder (9195-15264, default 9195): Using default value 9195 Last cylinder, +cylinders or +size{K,M,G} (9195-15264, default 15264): Using default value 15264 Command (m for help): The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. + mkfs.ext3 /dev/sdb1 mke2fs 1.41.14 (22-Dec-2010) warning: 252 blocks unused. Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 525312 inodes, 2097152 blocks 104870 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=2147483648 64 block groups 32768 blocks per group, 32768 fragments per group 8208 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632 Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 37 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. + [[ n\np\n2\n\n+1000M\n != '' ]] + mkswap /dev/sdb2 Setting up swapspace version 1, size = 1025020 KiB no label, UUID=5a7f8526-839d-47a7-9373-448cebf8d847 + mkfs.vfat /dev/sdb3 mkfs.vfat 3.0.9 (31 Jan 2010) + [[ testing == \t\e\s\t\i\n\g ]] + zcat oneiric-preinstalled-mobile-armel+omap.img.gz + dd of=/dev/sdb1 2625536+0 records in 2625536+0 records out 1344274432 bytes (1.3 GB) copied, 487.747 s, 2.8 MB/s + e2fsck -pf /dev/sdb1 e2fsck: Bad magic number in super-block while trying to open /dev/sdb1 /dev/sdb1: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> + resize2fs /dev/sdb1 resize2fs 1.41.14 (22-Dec-2010) resize2fs: Bad magic number in super-block while trying to open /dev/sdb1 Couldn't find valid filesystem superblock. + mount /dev/sdb1 /mnt mount: you must specify the filesystem type + exit 1 |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
I wish Kubuntu becomes ultimate alternative mobile os but its probably long way to go.
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
I am a little puzzled at people wanting to install this. Its linux essentially. Its pretty bare also, so its probably fast, but by time all required apps and os elements are installed it will be same as Maemo.
What we need is Maemo on other more powerful devices, not other software on N900. Again if I wanted Android I'd buy a Android device. What makes the N900 great for me is software and the hardware |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
It's about closed source elements inside Maemo. Period.
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
Can you check md5? Edit: Or maybe they've changed partitioning scheme. Will check later. |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Can someone please point me to a working boot.scr for Kubuntu? I actually mean the right bootargs value.
My setup is Meego CE on external sd + Kubuntu on mmcblk1p5. I'm struggling with u-boot command line, no luck so far - after copying uImage, System.map, etc. to mmcblk1p5 and ext2load mmc 1:5 0x82000000 /uImage it just says Loading image and nothing happens. I am completely noob with u-boot, tell me the right way to run Kubuntu from custom partition please (if someone managed that). |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Also, there is a good new KDE option for limited resources:
kubuntu-low-fat-settings package. I will check it some time later and add to the scripts or confirm that it's installed in the armel image. But you are welcome to check it ASAP ;) P.S. As long as SGX-drivers was not working as I expected, I'm going to comment relevant lines in the new scripts. But only after fresh testing with fresh images. |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
I'm actually rather curious to see how the new Unity 2d performs on our hardware. Just need to find the time to try it :S
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Hey int_ua,
I can assist you in testing, but make few things clear to me. I am using a n900 with Maemo 5 which boots into NITDroid via multiboot, but also to MeeGo via uBoot (HELP TAKEN FROM http://talk.maemo.org/showpost.php?p...91&postcount=1). But still i haven't managed to boot into Kubuntu using the above post. But i have installed NITDroid on eMMC(not clean install) and MeeGo on a 8GB MMC. I can spare another MMC that I have for getting this Kubuntu tested, but can you help me how to proceed from where my current setup? |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
I'm adding kubuntu-low-fat-settings to the script and disabling GLX drivers in it right now, so if you can wait 2-3 hours before I test the new script myself.. wait :) It should boot the same way as the MeeGo. It uses the scheme with uImage on the mmc0:3. If it autoboots to the Maemo, Code:
run mmcboot |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Had a problem with
Quote:
Code:
tune2fs -O ^huge_file "$dev"1 Code:
iwlist scan UPDATE: There was a change in the Ubuntu 11.10 partitioning scheme and the script will not work with it. Try Kubuntu, add some conditions to the script (the 'stable' part may work with Ubuntu 11.10) or wait till Friday until I fix this :) UPDATE 2: Use https://code.launchpad.net/~xintx-ua...n900-installer |
How to connect with nmcli
As long as nm-applet does not work yet in Kubuntu, I've connected with nm-cli.
First, go to System Settings: Code:
systemsettings Then get it's uuid: Code:
$ sudo cat /etc/NetworkManager/system-connections/* | grep uuid Code:
nmcli -p con up uuid 21b0c2d8.... Code:
route Quote:
http://irclogs.ubuntu.com/2011/09/05/%23ubuntu-arm.txt reading... |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
There is a bug in Maverick's (Ubuntu 10.10) qemu that prevents successful chroot. Thanks to sada11 for testing.
P.S. RIP skykooler's N900 :( |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
And yeah, for now, the multiboot prompts for 1.stock kernel, 2.power kernel, 3.uBoot, 4.NITDroid |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
A minute ago apachelogger has uploaded the new kernel:
http://people.ubuntu.com/~apachelogg...ernel-oneiric/ 3.0.4 :) |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
last script works for me, I tried Kubuntu (not anything special: (
In any case, thanks a lot @ int_ua, much work you have done, and facilitate people who want to try Ubuntu or Kubuntu on the N900, I thought to record a clip "on kubutu n900" But as I said, no big deal. Now I'm going to try ubuntu 11:10 and new kernel I hope that it will be better ... one more thing ... @ int_ua, it would be good if the last kernel be include in the script. thanks |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
thanks for so quick reply, I will still wait to see the news, since I'm not as expert in this:)
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
same thing as before when I tried to install ubuntu 11.10
Command (m for help): The partition table has been altered! Calling ioctl() to re-read partition table. Syncing disks. + mkfs.ext3 /dev/sdb1 mke2fs 1.41.14 (22-Dec-2010) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) Stride=0 blocks, Stripe width=0 blocks 524288 inodes, 2097152 blocks 104857 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=2147483648 64 block groups 32768 blocks per group, 32768 fragments per group 8192 inodes per group Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632 Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 33 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. + [[ n\np\n2\n\n+1000M\n != '' ]] + mkswap /dev/sdb2 Setting up swapspace version 1, size = 1023996 KiB no label, UUID=1c52c52c-18a4-40c3-a7a6-5a5ee18e995e + mkfs.vfat /dev/sdb3 mkfs.vfat 3.0.9 (31 Jan 2010) + [[ testing == \t\e\s\t\i\n\g ]] + zcat oneiric-preinstalled-desktop-armel+omap.img.gz + dd of=/dev/sdb1 4278272+0 records in 4278272+0 records out 2190475264 bytes (2.2 GB) copied, 708.607 s, 3.1 MB/s + e2fsck -pf /dev/sdb1 e2fsck: Bad magic number in super-block while trying to open /dev/sdb1 /dev/sdb1: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> + resize2fs /dev/sdb1 resize2fs 1.41.14 (22-Dec-2010) resize2fs: Bad magic number in super-block while trying to open /dev/sdb1 Couldn't find valid filesystem superblock. + e2fsck -pf /dev/sdb1 e2fsck: Bad magic number in super-block while trying to open /dev/sdb1 /dev/sdb1: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> + tune2fs -O '^huge_file' /dev/sdb1 tune2fs 1.41.14 (22-Dec-2010) tune2fs: Bad magic number in super-block while trying to open /dev/sdb1 Couldn't find valid filesystem superblock. + e2fsck -pf /dev/sdb1 e2fsck: Bad magic number in super-block while trying to open /dev/sdb1 /dev/sdb1: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> + mount /dev/sdb1 /mnt mount: you must specify the filesystem type + exit 1 miki@miki-HP-Compaq-6735s:~/Documents$ |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Just found https://wiki.ubuntu.com/Core. Will try it also.
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Do you have a project team at launchpad, where you host your packages? I work on hildon-desktop at launchpad and I would be interested to see how it works on Ubuntu-armel :p
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
No, I don't :) Should I get one? People at #kubuntu-mobile are searching for an ARM PPA AFAIN. Do you have it? :) |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
I think if the installation procedure of Kubuntu was as easy as Nitdroid (without auto-installer) and this supports multiboot then there would be significantly more testers to test this os.
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
I think the kind of testers, who can't get past the install, is not the kind of 'testers' needed for this "not working with phone functions" version yet...
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Multiboot can work only with kernels which boot initially from N900's Nand (rootfs).
Maemo and Nitroid are the only kernels which do it. So the problem is not to make a config file for multiboot but it is to rebuild/extend multiboot to support booting process without rootfs. And this is not a simple task. So the real answer to a real multiboot system will be u-boot when the remaining problems on N900's version will be fixed. |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
I've succesfully installed Kubuntu 11.10 with the given script. Even the wifi is working out of the box (without commadlining). The plasma desktop works perfectly. The big problem is the sound is not working for me.
I managed to switch on the swap, that swap which is a file located on the kubuntu's root folder SWAP.swap (512 mb) I have to activate it after each start via terminal. I installed some packages: Moun Firefox Chromium youtube-html5 almost works problem is the sound (I think) Vlc some kind of picture viewer Multitasking works great with swap activated. (firefox, openoffice, system manager) Thanks for your work. Finally I can use my N900 as a real computer. |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Ok, here is the new version of the script. Not polished and there are some problems with Ubuntu Core but it works. Feel free to discuss and fix any bugs :)
Didn't test it (focused on Core this time) but it may work again with Ubuntu 11.10 UPDATE: Use https://code.launchpad.net/~xintx-ua...n900-installer |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
What is Moun? The system didn't recognize swap partition or did you create it without swap partition? (not the SWAP.swap) Did you try adding it to the /etc/fstab? That would be something like Quote:
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
I just checked acpi_listen for lock key on the right side of the N900 and it generates
Quote:
P.S. Also there are two Quote:
|
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Quote:
I added the swap in /etc/fstab that swap which is the default 768mb on the n900's mmc. |
Re: Kubuntu 11.10 mobile on N900 [TESTERS NEEDED]
Just to cheer up developing this project I tried Kubuntu Netbook Plasma 11.10 on my netbook yesterday and I am very, very impressed.
Keep up the good work porting this to our dear N900. |
All times are GMT. The time now is 19:09. |
vBulletin® Version 3.8.8