Micro Muppy 002 (12 MB-Iso with Xvesa)

For talk and support relating specifically to Puppy derivatives
Message
Author
Philh
Posts: 150
Joined: Wed 17 May 2006, 13:26
Location: England

#21 Post by Philh »

In Puppy 109
/etc/mousedevice psaux
/etc/mousebuttons 5

readlink /dev/mouse
/dev/psaux

In micromuppy
/etc/mousedevice input/mice
/etc/mousebuttons 5

and changing to psaux made no difference.


I also tried on a usbflash drive with wakepup today and had to add ramdisk_size=29000 to make it start otherwise I got kernel panic.

Phil

amish
Posts: 615
Joined: Sun 24 Sep 2006, 23:15

#22 Post by amish »

i see transparency in jwm in the screenshot?

that's possible?
sadly, it is not possible to separate politics from free software. free software - politics = unfree software.

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#23 Post by MU »

the last update had broken the iso again, as I made that on a second computer.
Here I now had to modify the initrd-editor (set the pad-value to 900 from 600).

I tested this new iso now in qemu, and it works.
Sorry Lobster.
Please try again.

Phil:
I must make more tests, to solve that issue, have no idea atm.

Amish:
I added transset, and a utility to set windows transparent.

Sage:
According to the picopup-thread, picopup seems to run on 486.
But the things I added, might run on a Pentium only.
It uses a 29 MB-ramdisk, so 32 MB might be sufficient.
Please try it :)

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#24 Post by MU »

Ok, in qemu my mouse works like this (qemu uses PS/2 emulation)

On the startscreen choose:
3: exit

Then type:
echo psaux>/etc/mousedevice
rm -f /dev/mouse
ln -s /dev/psaux /dev/mouse
xwin


I will add a menu-point for that later.

Mark

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#25 Post by MU »

uploaded version 002.

Changes:
- startscreen lets you choose between USB or PS/2 mouse
- JWM "power off" should work now.

Mark

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#26 Post by sunburnt »

Mark; Looks like what I was messing with about 6 months back, very interesting.
It's a tough call, build up or strip down, each has it's advantages.
I got kdrive running on PicoPup, but I don't have MU's ability at making apps. work.

I'm running EmptyCrust-1.0.7, here's the info:
/etc/mousedevice = psaux
readlink /dev/mouse = /dev/psaux


I posted a problem I'm having jumping from the bootup Save & Squash to new ones.
Before login the boot ones have no user settings or working apps. for security.
I hope it can be done without rebooting, otherwise I'm in for a major rework.
Last edited by sunburnt on Tue 30 Jan 2007, 01:59, edited 1 time in total.

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#27 Post by WhoDo »

MU wrote:Amish:
I added transset, and a utility to set windows transparent.
Yum! Is this available for Icewm as well? It would be great to have that feature in the new CE version, as part of the beautification efforts.

Cheers

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#28 Post by MU »

transset:
http://www.murga-linux.com/puppy/viewto ... 826&t=6547

It does not work with the original Xvesa in Puppy, just with xorg or the recompiled xvesa from micro muppy.
Mark

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

Fun, apps and programming

#29 Post by raffy »

This is pure fun - X and file manager work and the file manager can load applications!

Time to learn PuppyBasic, the included programming language, and to search for PuppyBasic applications. :D

User avatar
WhoDo
Posts: 4428
Joined: Wed 12 Jul 2006, 01:58
Location: Lake Macquarie NSW Australia

#30 Post by WhoDo »

MU wrote:transset:
http://www.murga-linux.com/puppy/viewto ... 826&t=6547

It does not work with the original Xvesa in Puppy, just with xorg or the recompiled xvesa from micro muppy.
Mark
Thanks, Mark. It works fine. Can this be made the default condition for Inactive windows? If so, how would that be achieved?

Thanks again

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#31 Post by MU »

whodo:
no not possible, the windowmanager had to support that.

raffy:
yes, with Puppybasic or bash and xmessage one could write simple tools like a drivemounter :)
Not as sophisticated as MUT, but easier to use than the console maybe.

--------------

I uploaded another one: MicroMuppyOpera (18 MB).
It has only jwm and wmsetbg and opera 9.10.
I use a "brute force" method to load drivers for ethernet-cards (in a loop I modprobe all *.o.gz in /lib/modules/2.4/net).
Then dhcpcd connects to a network, if available.

This slows down startup a bit, but gives you a good chance to get a working internet -connection on a network-computer, for example if you go online via a router.

I found no solution to disable VT-switching (exit X with ctrl-alt-F1).
This would be important for public internet-terminals.
It seems for this I would have to replace Xvesa with Xorg using a vesa-driver, that allows that via option "DontVTSwitch" in xorg.conf.
I'm too tired for this now.

Mark

--------------
To test the isos in qemu, I downloaded:
http://dotpups.de/dotpups/Emulators/KQe ... ppy109.pup
Then I added this startscript as "start" in the folder /usr/local/QPuppy109:

Code: Select all

#!/bin/bash
a=/usr/local/QPuppy109
rm -f /tmp/qiso

#ln -s "$a/MicroMuppy002.iso"  /tmp/qiso

ln -s "$a/MicroMuppyOpera.iso"  /tmp/qiso


cd "$a"
./qemu -std-vga -append 'root=/dev/ram0 PQEMU=1 clock=pit' -m 128 -boot d -cdrom /tmp/qiso
Now you can copy your iso there, and run:
/usr/local/QPuppy109/start
Last edited by MU on Tue 30 Jan 2007, 07:34, edited 3 times in total.

DavidBell
Posts: 132
Joined: Fri 24 Nov 2006, 21:44

#32 Post by DavidBell »

Awesome. 2 minutes to dowload, 1m:30s burn CD, about 30 sec to boot. All up and running in 4 minutes :-). This is a very handy base for what I am doing with puppy (simple, single purpose computers).

One thing I noticed, it doesn't report correct time (think I'm GMT -10)

DB

raffy
Posts: 4798
Joined: Wed 25 May 2005, 12:20
Location: Manila

Usable - using it now

#33 Post by raffy »

This is very much usable - am using it now. Thanks, Mark. :D

Will want to test it on a USB flash, but others can do that for now as I have to finish a LAMP sfs add-on for Puppy 2.01+ and present it tomorrow.

Note: Clock is 16h behind my time (+8 ), or 8h behind GMT.
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].

amish
Posts: 615
Joined: Sun 24 Sep 2006, 23:15

#34 Post by amish »

micro muppy is adorable!

it certainly took care of my misunderstanding that the lovely xfe needed xfce wm for some reason (heh)

and it didn't come with much... i've seen the editor before (there's a windows version) but i thought i'd see if it had puppybasic - yep, and version 2.5 :)

so i tried to come up with a fun (read: useless) one line script: (remove "shell ("sleep "& (n mod 2)):" to make it run instantaneously, otherwise it takes 24 seconds)

puppybasic -e 'for n=1 to 48:for s=1 to int(cos(n*3.14*.25)*10+50):print " ";:next s: print chr(27)&"[32m";"C":for s=1 to int(sin(n*3.14*.25)*10+50):print " ";:next s:print chr(27)&"[34m";"s";shell ("sleep "& (n mod 2)):next n:print chr(27)&"[39m":remark="this is public domain"'
sadly, it is not possible to separate politics from free software. free software - politics = unfree software.

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#35 Post by Lobster »

micromuppy opera - worked for me - hooray (go to the first post in this thread for the download)

make the mouse choice first (I did it second and had to crash the machine) and then the res choice

also you go straight into a connected Puppy (most distros do this) tell Barry - if we have DHCP can we auto-connect - we can with micro opera?

This reminds me of Byzantine OS that tried to do everything from a browser

A minimal set of on line apps like so, might be of interest as a home page :)

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html><head><title>ce</title>
</head><body><font size="-1"><a
 href="http://puppylinux.org/wikka/VersionsPuppy"><span
 style="font-weight: bold; font-family: sans-serif;"></span></a></font><font
 size="-1"><span style="font-family: sans-serif;"><span
 style="font-weight: bold;"></span></span></font><span
 style="font-family: sans-serif;"></span><div
 style="text-align: right; font-family: sans-serif;"><font
 size="-1"></font>
<table
 style="text-align: left; width: 100%; background-color: rgb(255, 255, 204); font-family: sans-serif;"
 border="0" cellpadding="2" cellspacing="2"><tbody>
<tr><td><font size="-1"><a
 href="http://puppylinux.org/" target="_blank"
 title="Foundation home">Home</a></font></td>
<td><font size="-1"><a
 title="Introduction to Puppy Linux by Lobster" target="_blank"
 href="http://tmxxine.com/pup2/puppy2.html">Intro</a></font></td>
<td><font size="-1"><a
 href="http://www.puppylinux.com/download/downpage.htm"
 target="_blank" title="Get Puppy Linux CDs">Get CDs</a></font></td>
<td><font size="-1"><a
 href="http://www.puppyos.net/news/" target="_blank"
 title="Chief developer Barry's news page">Developers</a></font>
</td><td><font size="-1"><a
 href="http://puppylinux.org/wikka/LatestNews" target="_blank"
 title="What's happening? Visit the Wiki">Wiki</a></font></td>
<td><font size="-1"><a
 href="http://www.murga-linux.com/puppy/" target="_blank"
 title="Find answers or assist newbies" alt="Forum">Forum</a></font></td>
<td><font size="-1"><a href="http://rhinoweb.us/"
 target="_blank" title="Get HowTo videos">Videos</a></font></td>
<td><font size="-1"><a
 href="http://puppyirc.nfshost.com/cgiirc/irc.cgi/"
 target="_blank" title="Get help via IRC">Help</a></font></td>
</tr></tbody>
</table><table
 style="text-align: left; width: 958px; height: 22px;" border="0"
 cellpadding="2" cellspacing="2">
<tbody><tr>
<td><span style="font-family: Helvetica,Arial,sans-serif;"></span><big><font
 size="-1"><big><span
 style="font-family: Helvetica,Arial,sans-serif;"></span></big></font></big><span
 style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">ONLINE
APPLICATIONS >>></span><span
 style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">
</span></td>
<td style="text-align: center;"><a
 href="https://www.spresent.com/"><span
 style="font-family: Helvetica,Arial,sans-serif;">Presentation</span></a><span
 style="font-weight: bold; font-family: Helvetica,Arial,sans-serif;">
</span></td>
<td style="text-align: center;"><a
 href="http://www.zamzar.com/">Convert</a><br>
</td><td
 style="font-family: Helvetica,Arial,sans-serif; text-align: center;"><a
 href="http://www.ajaxlaunch.com/ajaxwrite/">WP</a></td>
<td
 style="font-family: Helvetica,Arial,sans-serif; text-align: center;"><a
 href="http://lazybase.com/">Database</a></td>
<td
 style="font-family: Helvetica,Arial,sans-serif; text-align: center;"><a
 href="http://numbler.com/">Spreadsheet</a></td>
<td
 style="font-family: Helvetica,Arial,sans-serif; text-align: center;"><a
 href="http://pxn8.com/">Image edit</a></td>
<td
 style="font-family: Helvetica,Arial,sans-serif; text-align: center;"><a
 href="http://www.gliffy.com/">Diagrams</a></td>
<td
 style="font-family: Helvetica,Arial,sans-serif; text-align: center;"><a
 href="http://www.goffice.com/">Office</a></td>
<td
 style="font-family: Helvetica,Arial,sans-serif; text-align: center;"><a
 href="http://www.redhotpawn.com/">Chess</a></td>
</tr></tbody>
</table><font size="-1"><span
 style="font-family: sans-serif;"></span><span
 style="font-family: sans-serif;"><span
 style="text-decoration: underline;"></span></span>
</font></div>
</body></html>
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

ARAN
Posts: 113
Joined: Fri 21 Oct 2005, 12:47

#36 Post by ARAN »

Mark this work is really great.

Do you have build MicroPUP with Puppy Unleashed.
If yes can you upload the package file for rebuilding MicroPUP with Puppy Unleashed.

I would like try to rebuild MicroPup with the Puppy Unleashed method.
I need something simple like MicroPup for the first Time for trying Puppy Unleashed.

Thanks for the Answers in advance
Greetings ARAN

P.S. What or better where do you leaving on the 5th Februar ?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#37 Post by MU »

No, not unleashed.

I extracted Picopup, a 8 MB-Puppy without X.
It has everything in image.gz.

You could copy all files from a MicroMuppy CD to a folder "/MicroMuppyiso".
Then I installed this program:
http://www.murga-linux.com/puppy/viewtopic.php?t=12089

In a texteditor, I replaced in AppRun all "initrd" with "image" (as Puppy 1 uses image.gz instead of initrd.gz).
And I modified this line:

Code: Select all

	PAD=1800 #600 #160 #98 THIS IS WEIRD HAD TO INCREASE THIS FROM 160 TO 600 v2.12!!!
1800 is needed for Opera, for MicroMuppy you can use 900.

I also replaced all "loop3" with "loop5", because I have some .sfs files mounted, that use loop3 and loop4.

Now I can open image.gz in rox via drag'n'drop with this nice program, and delete/add/modify files (make backups before!).
Then I re-create the iso:

Code: Select all

#!/bin/sh

mkisofs -o MicroMuppy002.iso -b isolinux.bin -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table MicroMuppyiso/
Then I test it in qemu as described above, or burn it to a multisession-CD with grafburn.

Note:
the larger it gets, you must increase the "ramdisk_size = 29000" line in isolinux.cfg, or the iso will throw errors "could not copy files to tmpfs".
You can run "du" in the mounted image to find out the space it needs, and add around 1 MB to the resulting size.
To put everything in image.gz is not recommended for larger isos, only for microsystems < 20 MB or so.

This method might be less comfortable than re-building an unleashed Puppy.
But it allows to build extremely small isos, if you have some advanced knowledge of Linux (how and where to copy libraries, modify rc.local0 and such).

Mark
Ps: I'm leaving there:
http://www.murga-linux.com/puppy/viewtopic.php?t=14597

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#38 Post by MU »

I found out, why my mice were not recognized:
I do not modprobe usb-uhci (what activates the USB1-controller).

I will upload new versions tomorrow, I'm too busy today.
Workaround:
On startscreen, press CTRL-C until it exits to prompt.
Then type
modprobe usb-uhci

Strangely, after that X cannot start, it does no longer find the libs in /usr/X11R6/lib.

I could fix this with:
ls /usrX11R6/lib/ | while read a;do ln -s /usrX11R6/lib/$a /usr/lib/$a;done

---------
Some googling also indicated a solution concerning the non-working ncurses.
TERM=linux requires a symlink somewhere in a subfolder.
Must google again for it, but this might not go in the next update, as ncurses requires glib, too (or was it mc only?). Must sort out first, how much space this all requires.

---------
I also think of using icewm instead of jwm later, as that works better with fullscreen applications like Opera in Kioskmode or pictureviewers.
In jwm I can autohide the taskbar, but Opera does not fill the whole screen then. So try icewm.

And I need to add xorgs vesa instead of kdrive to be able to deactivate vt-switching.

Mark

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#39 Post by sunburnt »

MU; If disabling: "Ctrl Alt Backspace" is troublesome, perhaps a daemon
that checks if the WM is running, say... every 2 seconds.
That'd allow almost no time at all for anything to be typed into the console,
and it'd cover anyother possable hacking methods of dropping to the console.

======================================================
Yep, Full USB stuff should be loaded verbatim, & auto. network setup as well.

As I've said several times, the added size of the Samba server files is 11 KB !
Most libraries for it are already in Puppy... shouldn't ALL Puppies share files?
After all... it is suppost to be a replacement for WinHoes... step it up Puppies!

A full 8 loop devices is a no brainer, I'm not sure Puppy-110 has this fixed yet.

These last items are what I consider to be "absolutely must have" for Puppy.
Last edited by sunburnt on Mon 26 Feb 2007, 19:55, edited 1 time in total.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#40 Post by sunburnt »

MU; I've got the LanPuppy setup working & I had some thoughts...

Currently the clients boot to a disabled Puppy & login mounts functional
image.gz & usr_cram.fs files over the top of the disabled ones.

I'd use the client Puppy's kernel instead of MicroMuppy's to insure stabilty.
But the WMs are different, & will always be as clients can be different Puppy ver.

So to do this, the boot WM would have to stop & then the full WM would start.
Then MicroMuppy could boot for any Puppy-1 ver. no matter what it's WM was.
I tried this before, & I had trouble with JWM, but I can't really remember.

Another method would be for MicroMuppy to start no WM, just show login box.
Then the full WM would just have to be started after login (I'm vauge on this).

Puppy-2 could be LanPuppies like this also, but with extensive mods. of course.
Then again... I've modded Puppy-1 quite abit as it is, Puppy-2 ain't that different.

Please post your thoughts about using MicroMuppy like this, or swapping WMs.
Terry B.

Post Reply