Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 11:22
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
pUPnGO 2012
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 11 of 27 [398 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11, 12, 13, ..., 25, 26, 27 Next
Author Message
greengeek

Joined: 20 Jul 2010
Posts: 2407
Location: New Zealand

PostPosted: Tue 25 Dec 2012, 16:05    Post subject:  

goingnuts wrote:
And here is a new Xorg-pack with everything coming from P412
Install via "pkginstall.sh pupngo_xorg_pack_412.pet"
exit to prompt
run "xorgwizard"
start x again by "xwin"
If everything works you should be in Xorg.
Do not run the xorgwizard from within X as it will fail - only from command prompt.

Hi goingnuts, do you still have that xorg pack? I tried to download but it seems to have gone from the 4ceedeca server.
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 779

PostPosted: Tue 25 Dec 2012, 17:31    Post subject:  

Ibidem: Thanks for the scripts & explanations!
starhawk: Thanks for the pointer - I was not aware...
greengeek: Re-uploaded the pupngo_xorg_pack_412.pet here

As for the wifi-things - anyone tried the sns-retro?
Back to top
View user's profile Send private message Visit poster's website 
greengeek

Joined: 20 Jul 2010
Posts: 2407
Location: New Zealand

PostPosted: Wed 26 Dec 2012, 05:16    Post subject:  

Thanks for the xorg pet - I will be having a tinker with that over the next few weeks.

Just tried the sns-retro in a live CD session and it works perfectly for me on a Toshiba TE2100 laptop with intel wireless (2915ABG I seem to remember, but not 100% sure). Haven't tried it yet in an installed session.

The pet loads the sns-retro program to /bin.
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2407
Location: New Zealand

PostPosted: Wed 26 Dec 2012, 14:02    Post subject:  

Couldn't wait - had to try the xorg pet this morning. It installs easily and worked well. All I had to do was as Starhawk suggested and change the xorg.conf file to reflect my 1024x768 resolution. I did notice that console fonts are very bad when xorg is running. (although other onscreen fonts are fine).
EDIT:ok I see the fonts were already noted here:http://murga-linux.com/puppy/viewtopic.php?t=78941&start=91

Most importantly, this pet allows Freeoffice to run now (no more xRender initialise fault). I tried using the Freeoffice Textmaker and made a one page document with text and an inserted image, and saved it as .doc and also exported as pdf. Both worked fine. Very happy. More indepth tests later.

Heres the bad console fonts:
xorg pet console font bad.png
 Description   Fonts within console are bad but other fonts onscreen (desktop and rox) are good
 Filesize   19.08 KB
 Viewed   713 Time(s)

xorg pet console font bad.png

Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2407
Location: New Zealand

PostPosted: Thu 27 Dec 2012, 05:37    Post subject:  

technosaurus wrote:
You can "remaster" any squashfs by mounting it
mount pup.sfs /dir
The copying its contents
cp -arf /dir /newdir
Add files to /newdir and
dir2sfs newdir
Check out my manual remaster howto in the howto section.

I've just had a read through your guide and it seems I need to manually add the extra pet files etc into the original sfs. However I thought I had already achieved that by adding the pets etc into my running system (and therefore into the savefile at shutdown time). Why is it not possible/easy to automatically "merge" the savefile into the original sfs?

If I'm mounting the old sfs to manually graft the new files into it can I also mount my savefile and just copy across the files I need from there instead of starting again with turning the pets into tgz etc and copying them in?
Back to top
View user's profile Send private message 
technosaurus


Joined: 18 May 2008
Posts: 4282

PostPosted: Thu 27 Dec 2012, 10:40    Post subject:  

greengeek wrote:
Why is it not possible/easy to automatically "merge" the savefile into the original sfs?

If I'm mounting the old sfs to manually graft the new files into it can I also mount my savefile and just copy across the files I need from there instead of starting again with turning the pets into tgz etc and copying them in?
you _can_, but I wouldn't recommend it especially if you plan to redistribute it. Your save file contains save data and other personal info and system specific settings. I wrote an alternative remaster wizard a few years back that allowed such mischief, but it is impossible to to know all the dumb stuff a user will do, so I decided to let that ill conceived idea bit rot.
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
greengeek

Joined: 20 Jul 2010
Posts: 2407
Location: New Zealand

PostPosted: Thu 27 Dec 2012, 13:33    Post subject:  

technosaurus wrote:
so I decided to let that ill conceived idea bit rot.

Thanks. Point taken Smile
Back to top
View user's profile Send private message 
Keef


Joined: 20 Dec 2007
Posts: 619
Location: Staffordshire

PostPosted: Fri 28 Dec 2012, 13:19    Post subject: wpa_cli & wpa_supplicant  

Ibidem

Tried those scripts and it works perfectly. First tried it on Wary (clean frugal install, but no worries about having to install driver or firmware), and now running from pUPnGO12.
Back to top
View user's profile Send private message 
Ibidem

Joined: 25 May 2010
Posts: 464
Location: State of Jefferson

PostPosted: Mon 31 Dec 2012, 03:11    Post subject:  

Keef: glad to hear that it worked.

goingnuts: do you think that the udhcpc script and (especially this part) the wpa_cli trick might be useful for sns-retro?
This would replace the "sleep 1" loop parsing the output of wpa_cli around lines 110-115 in rc.network.
Back to top
View user's profile Send private message 
maddox

Joined: 28 Sep 2007
Posts: 453
Location: sometimes in France

PostPosted: Mon 31 Dec 2012, 22:20    Post subject:  

test bed hp xe4100 laptop 1.2Ghz 792Mb ram fr-ch-latin1 kbd, yea a fast laptop to test under these circumstances.
/var/log/messages -> pupngo user.warn kernel: Unable to load NLS charset iso8859-1
fixed by modprobe nls_iso8859-1 (btw is nls_cp437 built into the kernel? not displayed in lsmod output)
I then ran modprobe nls_cp850 as certain fr/be/nl/ch/ca/latin users require it (accents/translations).

pupngo -> default res 800x600x16 (global 'fixed' font renders badly, some chars are partially bold jwm/apps/console)
fixed by changing res to 1024x768x16 using the 'setresolution.sh'

plugged in a usb stick with some mp3 songs
partitions were correctly detected (fast), clicked on song to play in rox .. nothing
looked in 'mime-types' defaultaudioplayer , looked in /usr/local/bin.. doesn't exist
ran menu audiovideo .. audio player -> xhippo 3.5 : dragged file to xhippo, clicked on file in xhippo, wow sound

another test bed acer laptop t508 500Mhz 378M ram
default res 800x600x16, like someone else, pink screen but bearly readable (pink with black lines through the text)
running setresolution.sh
I need to write down the resolutions as I can't correctly see what's displayed on the screen: complete white/green/yelow/black and try them 1 by 1
maybe I could try -swaprgb (or something like that) as an extra xvesa option
Back to top
View user's profile Send private message 
starhawk

Joined: 22 Nov 2010
Posts: 2773
Location: Everybody knows this is nowhere...

PostPosted: Mon 31 Dec 2012, 22:28    Post subject:  

I'm the "someone else" you mention, maddox Wink

Your problem is that you're running Xvesa already -- on something that isn't quite compatible. There is a minimal-Xorg pet in this thread, which is what you need to use. Install it from the CLI (ctrl+alt+bksp BEFORE you try to install using pkginstall.sh) or it'll bungle things up quite severely...

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 779

PostPosted: Tue 01 Jan 2013, 03:55    Post subject:  

Ibidem: I will look into it - thanks!

maddox: Thanks for reporting and testing! I haven't spend too much time with the ROX-mime-config-actions but glad to hear that xhippo works. I have attached the dot.config used to build the kernel - and yes - nls_cp437 is build in...
The kernel was build from the official patched kernel-sources for P412 (linux-2.6.25.16-src-patched_squashfs_unionfs_aufs_lzma_mt.tar.gz) but with additional patches (cant be specific as my notes are gone so if needed I will have to reconstruct how to build it).

starhawk: I cant remember...but did you test the Xfbdev?

Wondering if any of the additional Xvesa flags would help on the pink colours - the -swaprgb switch seems worth to try? From the Xvesa man:
Quote:
NAME
Xvesa - VESA Bios Extensions tiny X server

SYNOPSIS
Xvesa [:display] [option...]

DESCRIPTION
Xvesa is a generic X server for Linux on the x86 platform. Xvesa doesn't know about any particular hardware, and sets the video mode by running the video BIOS in VM86 mode. Xvesa can use both standard VGA BIOS modes and any modes advertised by a VESA BIOS if available. Xvesa runs untrusted code with full privileges, and is therefore a fairly insecure X server. Run at your own risk.

OPTIONS
In addition to the normal KDrive server's options (see Xkdrive(1)), Xvesa accepts the following command line switches: -mode n specifies the VESA video mode to use. If mode n is not supported by your BIOS and hardware, Xvesa will fail, hang your system, or cause your monitor to explode; you are on your own. This option overrides any -screen options.

-listmodes
list all supported video modes. If -force was specified before -listmodes, lists all the modes that your BIOS claims to support, even those that the Xvesa server won't be able to use.

-force
disable some sanity checks and use the specified mode even if the BIOS claims not to support it.

-shadow
use a shadow framebuffer even if it is not strictly necessary. This may dramatically improve performance on some hardware.

-nolinear
don't use a linear framebuffer even if one is available. You don't want to use this option.

-swaprgb
pass RGB values in the order that works on broken BIOSes. Use this if the colours are wrong in PseudoColor and 16 colour modes.

-verbose
emit diagnostic messages during BIOS initialization and tear down.
dot.config.pupngo2012.gz
Description 
gz

 Download 
Filename  dot.config.pupngo2012.gz 
Filesize  72.11 KB 
Downloaded  225 Time(s) 
Back to top
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 2773
Location: Everybody knows this is nowhere...

PostPosted: Tue 01 Jan 2013, 12:45    Post subject:  

goingnuts, I'll be honest, I don't remember either. I want to say that Xfbdev didn't work for me... but I can't recall.

Just curious, how did you lose your notes?

@maddox: even if Xfbdev didn't work for me, you should try it -- we have different machines. Mine is/was (currently on vacation from tinkering) a Dell Latitude CPi that's slower than yours. I don't know what graphics you have on your Acer, but the CPi has a NeoMagic card of some sort.

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
goingnuts

Joined: 07 Dec 2008
Posts: 779

PostPosted: Tue 01 Jan 2013, 13:31    Post subject:  

starhawk wrote:
goingnuts, I'll be honest, I don't remember either. I want to say that Xfbdev didn't work for me... but I can't recall.
Just curious, how did you lose your notes?

OK thanks - would be nice to know if its the pupngo Xvesa-build that is the problem or if its the Xvesa in general...
The notes was lost after a crashed savefile. Now and then I manage to crash the main savefile - I got the patched kernelsource alright but no notes from that period.
Ever tried to run a script containing "rm -rf /$SOME_UNSET_VARIABLE"? Do not!
Edit: After looking at my source-collection from that time I can see that at least I patched the kernel with aufs-0+20080719 - and as far as I can see it might be the only additional patch applied.
Back to top
View user's profile Send private message Visit poster's website 
starhawk

Joined: 22 Nov 2010
Posts: 2773
Location: Everybody knows this is nowhere...

PostPosted: Tue 01 Jan 2013, 18:54    Post subject:  

goingnuts -- very n00bish question here, BUT...

I thought that the savefile could sort of fix itself? I'm told that one can mount an unbootable ("corrupt") savefile while running from RAM, copy over everything that needs saving, and then unmount/overwrite the old (broken) savefile with a new one that works, without losing a thing.

...or am I mistaken?

_________________
Loving X-Slacko 1.1! Get the PetGet patch on pg8; it's important.
Next system will be an HP MOCA-AR + Core2Duo in an innovative case... if I ever get off my butt and build it Razz
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 11 of 27 [398 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11, 12, 13, ..., 25, 26, 27 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1011s ][ Queries: 13 (0.0093s) ][ GZIP on ]