[WEBTOP] GenTop2-20120509 (Beta) - Next Generation Gentoo Webtop Replacement

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
I ran out of space in osh during my first emerge (emacs). What's the recommended way to get more space without breaking anything?

Also, has anyone managed to successfully emerge a jre? I get a laundry list of errors, but it seems like it doesn't like our older X server.
Do you have room on the data partition?
You want to compile icedtea or just sun jre? Neither will work, sun jre is a bin, and which isn't arm precompiled and icedtea needs more ramp and tmp space to compile, im not sure that even than it would compile.
 

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
hey Gendol did you maybe manage to get the atrix's screen to turn off while in gentop mode? One can turn it off with the power button but than the hdmi output ceases aswell, i was looking into the xorg.conf, and maybe we could somehow make it override the internal TFT so that it goes blank/turns off
 

flexpackman

Member
Apr 23, 2008
35
9
0
North Carolina
hey Gendol did you maybe manage to get the atrix's screen to turn off while in gentop mode? One can turn it off with the power button but than the hdmi output ceases aswell, i was looking into the xorg.conf, and maybe we could somehow make it override the internal TFT so that it goes blank/turns off
crnkoj,

I've been running this the past couple of days on a LapDock and the Atrix screen always turns off. I'm using NottachTrix's 1.31 ROM. On inserting the phone into the LapDock, I get the list of what type of docking session I'm doing and WebTop is one of the selections, which is what I have it defaulted to. If there are any settings or files that I can supply to help on this situation, let me know and I'll post. I also have the Multimedia dock, but have not tried Gentoo in it to see if it behaves differently. I think you are using the HDMI Hack, so maybe that changes the entire situation.

My install is like CaelanT's also. My tar extractions did not go to proper partitions AFAIK. I have no files in either the EXT3 or the other partition created in the dev folder of the external SDCARD. My Portage libraries folder is under \mnt\Gentoo\Portage.

I have a larger sdcard coming today that I am going to rebuild on again and will see what I get this time.....

My Linux skills are improving, but still in beta at the moment :)
 

CaelanT

Senior Member
Mar 18, 2011
3,356
741
0
Sheffield
Should be no selection required for webtop. Plug phone in, open lapdock screen, phone screen goes off, webtop starts.

Also, I reinstalled and am now running off my ext3 partition on sdcard. No more issues with space.

Sent from my MB860 using xda premium
 

flexpackman

Member
Apr 23, 2008
35
9
0
North Carolina
Should be no selection required for webtop. Plug phone in, open lapdock screen, phone screen goes off, webtop starts.

Also, I reinstalled and am now running off my ext3 partition on sdcard. No more issues with space.

Sent from my MB860 using xda premium
Your correct that running Gentoo requires no selection on the phone screen. I just still get the popup screen on the phone after putting it in the LapDock on what you want the screen to do on the Atrix - WebTop, Widget Clock, etc.

On your reinstall, did you do anything different than you did before to get the files to go to the correct folders? I was using the latest files from the 28th. I didn't know if I should be at a certain "folder" level for the tar extraction or it the tar has the full paths stored in. I followed Gendol's post, but it didn't come out the same....

If you could comment on that i would surely appreciate it!
 

CaelanT

Senior Member
Mar 18, 2011
3,356
741
0
Sheffield
Your correct that running Gentoo requires no selection on the phone screen. I just still get the popup screen on the phone after putting it in the LapDock on what you want the screen to do on the Atrix - WebTop, Widget Clock, etc.

On your reinstall, did you do anything different than you did before to get the files to go to the correct folders? I was using the latest files from the 28th. I didn't know if I should be at a certain "folder" level for the tar extraction or it the tar has the full paths stored in. I followed Gendol's post, but it didn't come out the same....

If you could comment on that i would surely appreciate it!
The mistake I made was altering the mount partition manually in ubuntu.sh from /bin/mount /dev/block/mmcblk1p2 /mnt/gentoo. I changed this to show mmcblk1p1 because I did not have two ext3 partitions. I had a FAT32 and ext3 partition, and thought the file system would not look at the FAT32 partition as mmcblk1p1 when in fact it did. This is why I had portage in the wrong partition. On my second install I changed no files and the correct partition was used for the portage tarball. Hope this makes sense to you! :)
 

nalorite

Member
Mar 15, 2011
30
1
0
Do you have room on the data partition?
You want to compile icedtea or just sun jre? Neither will work, sun jre is a bin, and which isn't arm precompiled and icedtea needs more ramp and tmp space to compile, im not sure that even than it would compile.
I have space pretty much everywhere except osh:

Filesystem Size Used Avail Use% Mounted on
tmpfs 440M 56K 440M 1% /dev
tmpfs 440M 0 440M 0% /mnt/asec
tmpfs 440M 0 440M 0% /mnt/obb
/dev/block/mmcblk0p12 310M 253M 42M 86% /system
/dev/block/mmcblk0p16 2,0G 789M 1,1G 42% /data
/dev/block/mmcblk0p15 630M 17M 582M 3% /cache
/dev/block/mmcblk0p3 2,0M 1,2M 846K 58% /pds
/dev/block/mmcblk0p13 756M 756M 0 100% /osh
/dev/block/mmcblk0p17 345M 8,4M 337M 3% /preinstall
/dev/block/mmcblk1p2 4,0G 600M 3,2G 16% /mnt/gentoo
rc-svcdir 1,0M 60K 964K 6% /osh/lib/rc/init.d
shm 440M 0 440M 0% /dev/shm
And I get errors like this:

!!! copy /mnt/gentoo/tmp/portage/dev-lang/lua-5.1.4-r4/image/usr/bin/lua -> /usr/bin/lua failed.
('!!!', IOError(28, 'No space left on device'))
So is the solution to expand the size of osh or to somehow tell emerge to install somewhere else?

Concerning java, I just want something that can run jars. I found an android app that does remote mouse/keyboard on linux (to replace the webtop virtual touchpad for hdmi hack), but the server for it is a jar. Worst comes to worst, I'll just roll my own virtual touchpad in something other than java.
 

flexpackman

Member
Apr 23, 2008
35
9
0
North Carolina
The mistake I made was altering the mount partition manually in ubuntu.sh from /bin/mount /dev/block/mmcblk1p2 /mnt/gentoo. I changed this to show mmcblk1p1 because I did not have two ext3 partitions. I had a FAT32 and ext3 partition, and thought the file system would not look at the FAT32 partition as mmcblk1p1 when in fact it did. This is why I had portage in the wrong partition. On my second install I changed no files and the correct partition was used for the portage tarball. Hope this makes sense to you! :)
Yep! Makes sense to me. Tells me their is pilot error on my side of the computer :(

Oh well, as one of my borrowed sayings go, "Good Judgement comes from Experience. Experience comes from Bad Judgement."

Time to go get some Experience! :D

Thanks!
 

crnkoj

Senior Member
Feb 16, 2011
1,833
397
103
I have space pretty much everywhere except osh:



And I get errors like this:



So is the solution to expand the size of osh or to somehow tell emerge to install somewhere else?

Concerning java, I just want something that can run jars. I found an android app that does remote mouse/keyboard on linux (to replace the webtop virtual touchpad for hdmi hack), but the server for it is a jar. Worst comes to worst, I'll just roll my own virtual touchpad in something other than java.
I had this issue today when i put on the portage fs and so on. It took me some time to figure it out actually and in the end i just mounted an usb hdd to /osh/var/tmp , i connected the hdd which was (seen as /dev/block/sda) and mounted with " mount /dev/block/sda2 /osh/var/tmp " i used sda2 because my ext4 partition on the hdd is the sda2. Before doing that i retried fixing the symlink for var/tmp but even after deleting it and manually doing it it still gave me the same error, that is why i used a hdd than (apart form the fact that it doesnt destroy my sdcard that much). I do not know why this is happening, but maybe gendol has an idea. i was thinking of using the 16gb sdcard i have (using a 4gb now) and making 2 partitions, one for "/usr/portage" on it and the second for /var/tmp and than just put into the fstab to mount that partition to /var/tmp , i think its a better solution than the symlinking anyways.

---------- Post added at 07:19 PM ---------- Previous post was at 07:02 PM ----------

crnkoj,

I've been running this the past couple of days on a LapDock and the Atrix screen always turns off. I'm using NottachTrix's 1.31 ROM. On inserting the phone into the LapDock, I get the list of what type of docking session I'm doing and WebTop is one of the selections, which is what I have it defaulted to. If there are any settings or files that I can supply to help on this situation, let me know and I'll post. I also have the Multimedia dock, but have not tried Gentoo in it to see if it behaves differently. I think you are using the HDMI Hack, so maybe that changes the entire situation.

My install is like CaelanT's also. My tar extractions did not go to proper partitions AFAIK. I have no files in either the EXT3 or the other partition created in the dev folder of the external SDCARD. My Portage libraries folder is under \mnt\Gentoo\Portage.

I have a larger sdcard coming today that I am going to rebuild on again and will see what I get this time.....

My Linux skills are improving, but still in beta at the moment :)
ah, ok thanks for the info, im using the hdmi hack with nottachtrix 1.3.1 like yours and i select the webtop on the picker like you do, apparently the lapdock sends some signal that makes it turn off the lcd of the atrix.
Would oyu midn making a dmesg in gentoo after connecting it to the lapdock and than pastebinning it. (you can use dmesg > dmesg.txt && wgetpaste dmesg.txt) if you have wgetpaste installed on your gentoo, otherwise just do dmesg > dmesg.txt and paste it to pastebin.com . That way maybe even us with a hdmi hack could get it to turn off the screen.

As for you getting errors with emerge (if i understood your second part correctly), you can partly read my above post, otherwise i would suggest to do so: after you get your new sdcard, partition it on your pc with linux into 4 partitions (assuming its a 16gb card) first partition for android use should be fat (i would say 4gb) the rest of the partitions should be ext4 (and do man mkfs.ext4 to see what the m option does), second part (/dev/block/mmcblk1p2) should be for /usr/portage (i would say 2-4gb), than i would suggest a third partition for /var/tmp (id say 4-6gb at least), and a fourth with the spare, to use it maybe to mount /home/adas onto it (to have more space for downloads and so on),
than put all of this into the gentoo fstab that you find under /osh/etc/
that should be a better setup than the symlinks, in my opinion. I dont have time now and i am kind of sorry to waste my 16gb card for this, so i didnt try it all yet, but when i get more time ill try this myself. Still for compiling stuff i would suggest to mount /osh/var/tmp to an usb hdd, since i doubt there is a need to compile things ( at least the big ones like, gcc, glibc, webkit etc) on the go :p

Ah! i was just compiling the new gcc and it finished but since there is no space on the osh partition, it failed installing it ... seems ill have to sacrifice my 16gb sdcard sooner rather than later =/
 

kisposi

Member
Jan 31, 2011
24
0
0
Hi, I intalled mplayer, but I'm having problem with the playback of HD videos recorded by the phone. The sound is ok but the video is very slow. what option should I use? I just played it with the command mplayer. Sorry I'm new to linux.
 

flexpackman

Member
Apr 23, 2008
35
9
0
North Carolina
ah, ok thanks for the info, im using the hdmi hack with nottachtrix 1.3.1 like yours and i select the webtop on the picker like you do, apparently the lapdock sends some signal that makes it turn off the lcd of the atrix.
Would oyu midn making a dmesg in gentoo after connecting it to the lapdock and than pastebinning it. (you can use dmesg > dmesg.txt && wgetpaste dmesg.txt) if you have wgetpaste installed on your gentoo, otherwise just do dmesg > dmesg.txt and paste it to pastebin.com . That way maybe even us with a hdmi hack could get it to turn off the screen. <snip>
crnkoj,

I just got back in my office and am leaving to go to a baseball game :)

I'll get you that file but it may be in the morning as it will be late when I get home and the wife won't appreciate me working on the computer then :p
 

giuanz

Member
Jun 6, 2008
25
3
0
Here's the flashable template I've been using for UbunTop Photon. Edit the scripts as needed.
Thanks Lokifish,

I have gone as far as running your Photon WebTop+ on Atrix (by shrinking the ext3 image to 800M and then running WebTop2SD). It loaded fine, just the system font had some minor visualization errors (I tried to fix by reinstalling all fonts .deb's but no success).
Anyway, WebTop 1.2 is still based on Ubuntu 9.04, which is obsolete to me. Thinking out loud, maybe I can find a way to run a chrooted 12.04 distro, with apps displaying either on the WebTop's old Xorg or on Xephyr-Xorg in a window.

(anyone else, sorry for the OT)
 

Alaq

Senior Member
Jan 21, 2011
1,100
343
0
U.S.
Thanks Lokifish,

I have gone as far as running your Photon WebTop+ on Atrix (by shrinking the ext3 image to 800M and then running WebTop2SD). It loaded fine, just the system font had some minor visualization errors (I tried to fix by reinstalling all fonts .deb's but no success).
Anyway, WebTop 1.2 is still based on Ubuntu 9.04, which is obsolete to me. Thinking out loud, maybe I can find a way to run a chrooted 12.04 distro, with apps displaying either on the WebTop's old Xorg or on Xephyr-Xorg in a window.

(anyone else, sorry for the OT)
Wait? Please explain to me exactly what you did to get Webtop+ working on your atrix.
 

Lokifish Marz

Inactive Recognized Developer
Mar 13, 2011
3,848
3,748
0
Olympus Mons, Mars
martian-imperium.com
Thanks Lokifish,

I have gone as far as running your Photon WebTop+ on Atrix (by shrinking the ext3 image to 800M and then running WebTop2SD). It loaded fine, just the system font had some minor visualization errors (I tried to fix by reinstalling all fonts .deb's but no success).
Anyway, WebTop 1.2 is still based on Ubuntu 9.04, which is obsolete to me. Thinking out loud, maybe I can find a way to run a chrooted 12.04 distro, with apps displaying either on the WebTop's old Xorg or on Xephyr-Xorg in a window.

(anyone else, sorry for the OT)
PM ME! I need someone to work with on that as I don't have an atrix

Everybody else:
I planned on updating numerous projects before getting involved in another but if Gendol is cool with it (it's his baby) I'll look at making this flashable.
 

aaron.a

Senior Member
Dec 24, 2010
646
98
0
can you run the commands from terminal emulator on the phone or is adb necessary? this looks pretty awesome so i figure i'll try it out =D
also, i haven't used a blur rom in ages. which one would you guys recommend for maximum battery life? my goal is to get this set up and keep cwm back ups so when i absolutely need it i can run gentoo but for everything else i can run cm9 for it's utterly amazing performance/battery life
 

Alaq

Senior Member
Jan 21, 2011
1,100
343
0
U.S.
can you run the commands from terminal emulator on the phone or is adb necessary? this looks pretty awesome so i figure i'll try it out =D
also, i haven't used a blur rom in ages. which one would you guys recommend for maximum battery life? my goal is to get this set up and keep cwm back ups so when i absolutely need it i can run gentoo but for everything else i can run cm9 for it's utterly amazing performance/battery life
Nottachtrix.com, hands down...
 

flexpackman

Member
Apr 23, 2008
35
9
0
North Carolina
ah, ok thanks for the info, im using the hdmi hack with nottachtrix 1.3.1 like yours and i select the webtop on the picker like you do, apparently the lapdock sends some signal that makes it turn off the lcd of the atrix.
Would oyu midn making a dmesg in gentoo after connecting it to the lapdock and than pastebinning it. (you can use dmesg > dmesg.txt && wgetpaste dmesg.txt) if you have wgetpaste installed on your gentoo, otherwise just do dmesg > dmesg.txt and paste it to pastebin.com . That way maybe even us with a hdmi hack could get it to turn off the screen.
crnkoj,

dmesg output @ http://pastebin.com/KFG4gh6h

Hope it helps!
 
Last edited:
  • Like
Reactions: crnkoj