Slacko B3

A home for all kinds of Puppy related projects
Message
Author
User avatar
DaveS
Posts: 3685
Joined: Thu 09 Oct 2008, 16:01
Location: UK

#161 Post by DaveS »

pemasu wrote:
it loaded into some strange sh*t that looked like a terminal window (Zathura?)
That saved my evening, I couldnt help but smiling and laughing. Best description of unexpected app outlook.
Gave this old guy quite a shock :)
Spup Frugal HD and USB
Root forever!

Jades
Posts: 466
Joined: Sat 07 Aug 2010, 22:07
Location: Somewhere in Blighty.
Contact:

#162 Post by Jades »

James C wrote:
wuwei wrote:
Tasgarth wrote:Dont know if anyone else has had a similar problem with Slacko B3 :
shutdown > power off computer did not... start : the computer is 'rebooted'
.
With B2 : no problem.
For the fun ,I updated my B2 (frugal install) > B3 and now I cannot power off. It 'reboots' again :cry:
Confirmed
Same error on my machine.
No shutdown problems here....... 2 frugal installs of 499.5 Beta 3.Main Athlon XP box and old P3 test box..... both shutdown normally.
There was a similar sounding issue reported a while back, which only presented itself in certain circumstances. If you mount the partition on which the full install you're using is installed and shutdown without explicitly unmounting it you'll get the behaviour described. I've just tested it on Lupu 511 and 525 on the K6, and IIRC Wary did it too. If you unmount the partition first then there isn't a problem.
Zhaan - AMD K6 2 500, 512MB RAM, ATI Rage 128 VR. Full install Wary 5.5 [url=http://tinyurl.com/dy66kh8]HardInfo Report[/url]
Merlin - Core i5-4590, 8GB RAM, Radeon R9 270X. Slacko 5.7.0

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

xorgwizard and 3g-modem

#163 Post by rodin.s »

I've learned how to use xorgwizard with my two video cards (savage and intel). On first xorgwizard I choose savage then press OK and wait for X to fail. After that I run xorgwizard for the second time and now I choose intel. And after than X starts.
And my 3G-modem (Cricket A600) isn't switched by the latest beta. It is switched OK in all latest Wary and Slacko except for the latest Slacko. It works in latest Wary. It is not switched in Lupu.

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

Re: xorgwizard and 3g-modem

#164 Post by 01micko »

rodin.s wrote:I've learned how to use xorgwizard with my two video cards (savage and intel). On first xorgwizard I choose savage then press OK and wait for X to fail. After that I run xorgwizard for the second time and now I choose intel. And after than X starts.
And my 3G-modem (Cricket A600) isn't switched by the latest beta. It is switched OK in all latest Wary and Slacko except for the latest Slacko. It works in latest Wary. It is not switched in Lupu.
Ok, about the savage card, is it using vesa driver? IMHO xorgwizard could be more friendly and restart automatically with a message to try a different driver or something.

usb-mode-switch was updated to 1.19, oh, did you add the usb patch? Please try this one first else try the other one on the previous page.

Thanks for report
Puppy Linux Blog - contact me for access

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#165 Post by 01micko »

Just a note..

We have vlc, smplyayer, umplayer and stellarium all in ppm, but they require the full qt-everywhere-4.7.3 package (or sfs) which is pretty big. I can rebuild those packages with deps included because the qt-everywhere package installs libs to /opt/usr/lib requiring a reboot to adjust $PATH and $LD_LIBRARY_PATH. I can put the necessary deps only in these packages with the libs in /usr/lib and if you uninstall, and have qt-everywhere installed none of the qt libs get clobbered. I'll name the packages "vlc_stanalone-$version.pet" (or whatever) so a user has a rough idea which package to choose.
Puppy Linux Blog - contact me for access

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#166 Post by 01micko »

jpeps wrote:
01micko wrote:
jpeps wrote:I'm currious about how slacko uses cache. There seems to be a wide variation, even on a fresh boot. Here's two consecutive boots:

Code: Select all

Mem: 1014724K used, 19788K free, 0K shrd, 19496K buff, 908328K cached
Mem: 222108K used, 812404K free, 0K shrd, 28940K buff, 132512K cached
Also, after subtracting out buff and cache, I'm already showing more memory used in slacko than lucid 525, and I've got a lot more loaded in lucid.. including devx, google-earth, more apps, etc.
Yeah that looks weird. Any output in the kernel logs? dmesg?

Have you tried 3 headed dog? Is it the same?
I tried dog...same problem. I tried before going to bed and then in the morning. Must be a problem with the new kernel

Code: Select all


dog:Mem: 438108K used, 596404K free, 0K shrd, 47040K buff, 312900K cached
dog:Mem: 1019076K used, 15436K free, 0K shrd, 39440K buff, 874324K cached
Hi jpeps.

Could this be hardware specific?
I don't pretend to be any sort of expert on kernel compiling or memory usage. I did compile this kernel and it has been pretty solid for most users for a couple of months. The DOTconfig is where it usually is. It's slightly modified from BK's DOTconfig for k2.6.35.8 and I used Iguleder's script to compile in a full install of Slacko so there are no gccc mismatches, this would be an issue in 3HD.
So, it sure looks like a kernel bug but I think it's in the actual kernel source, not the compile.

I'm very reluctant to change kernels at this late stage, but if it has to be done I'll compile 2.6.39.4 in Slacko, PAE disabled, usb-storage compiled in, or, offer a second version with the later kernel, PAE enabled. Heaps of 3rd party stuff would need to be recompiled.
Puppy Linux Blog - contact me for access

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#167 Post by James C »

FWIW, I haven't noticed anything odd about the memory allocation/usage in my 2 installs of Slacko. "Free" always shows pretty consistent results on my hardware.

Code: Select all

# free
              total         used         free       shared      buffers
  Mem:      1034776       215268       819508            0        22740
 Swap:      1228936            0      1228936
Total:      2263712       215268      2048444[/quote]
-Memory-
Total Memory : 1034776 kB
Free Memory : 636052 kB
Buffers : 41068 kB
Cached : 228188 kB
Cached Swap : 0 kB
Active : 135896 kB
Inactive : 235212 kB
Active(anon) : 102080 kB
Inactive(anon) : 2956 kB
Active(file) : 33816 kB
Inactive(file) : 232256 kB
Unevictable : 0 kB
Mlocked : 0 kB
High Memory : 139208 kB
Free High Memory : 272 kB
Low Memory : 895568 kB
Free Low Memory : 635780 kB
Virtual Memory : 1228936 kB

User avatar
James C
Posts: 6618
Joined: Thu 26 Mar 2009, 05:12
Location: Kentucky

#168 Post by James C »

Just happen to be using Slacko while hardware checking another old box so......... Slacko 4.99.5 live pfix=ram. As expected,everything working on initial boot.

# report-video
VIDEO REPORT: Slacko Puppy, version 4.99.5

Chip description:
oem: NVIDIA
product: nv44 Board - p382h1 Chip Rev

Driver used by Xorg:
nv

Video mode used by Xorg:
Resolution: "" Depth: Depth 24

...the above also recorded in /tmp/report-video

-Computer-
Processor : Intel(R) Pentium(R) 4 CPU 2.00GHz
Memory : 1554MB (155MB used)
Operating System : Unknown distribution
User Name : root (root)
Date/Time : Thu 22 Sep 2011 06:12:25 PM CDT
-Display-
Resolution : 1024x768 pixels
OpenGL Renderer : Unknown
X11 Vendor : The X.Org Foundation
-Multimedia-
Audio Adapter : ICH - Intel 82801BA-ICH2
Audio Adapter : MPU-401 UART - MPU-401 UART

Multimedia audio controller : Intel Corporation 82801BA/BAM AC'97 Audio Controller
VGA compatible controller : nVidia Corporation NV44A [GeForce 6200]
Ethernet controller : D-Link System Inc Gigabit Ethernet Adapter

# free
total used free shared buffers
Mem: 1554960 439252 1115708 0 58588
Swap: 0 0 0
Total: 1554960 439252 1115708
#

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#169 Post by 01micko »

James, in the next version I have removed the "welcome woof" bacon screen. There is conflict between it and the first-run wizard. That was a major issue with erm.. Brookdales :lol:

This is what will happen in B4...


Image

Since I know you connect automatically I will need to know if you get exactly that dialog (You are already connected to the internet). [It pings google, but I can easy change that, Anyone with a better suggestion?]

If you get that dialog then a file gets printed to /tmp and if that file is there then after you do the locale/TZ/keyboard stuff then net-wizard doesn't run.

If you dont have net then a different dialog displays, first-run happens, then net-wizard pops up.

I think this will be pretty noob friendly.

Maybe B4 in a few hours :)
Puppy Linux Blog - contact me for access

Stripe
Posts: 658
Joined: Wed 23 Jun 2010, 05:18
Location: In a field. England

#170 Post by Stripe »

hi all

full install of 499.5 without any new problems (just sound and synaptics)

mick that looks like a very good idea for the first run wizard (cant wait :lol: )

firefox 6 from the ppm works well (but will keep testing)

cheers

don

edited to add: vou do know that mplayer still refuses to play full screen?

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#171 Post by 01micko »

Stripe wrote:hi all

full install of 499.5 without any new problems (just sound and synaptics)

mick that looks like a very good idea for the first run wizard (cant wait :lol: )

firefox 6 from the ppm works well (but will keep testing)

cheers

don

edited to add: vou do know that mplayer still refuses to play full screen?
Mplayer is a driver issue, if you have the right driver it should. You can also put in root/.mplayer/config different options for "vo".. I think SDL is one that may work, run mplayer help and try some different options for "vo". It's a "feature" :wink:

here is flsynclient from Lucid.. try it :?
Attachments
flsynclient-.6.pet
(113.92 KiB) Downloaded 395 times
Puppy Linux Blog - contact me for access

Stripe
Posts: 658
Joined: Wed 23 Jun 2010, 05:18
Location: In a field. England

#172 Post by Stripe »

hi all

mick the lucid flsynclient seems to work ok on an existing install will try it on a new install and report back

cheers
don

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

checking connection

#173 Post by shinobar »

01micko wrote:Since I know you connect automatically I will need to know if you get exactly that dialog (You are already connected to the internet). [It pings google, but I can easy change that, Anyone with a better suggestion?]
Not exact, but i prefer to check the route:

Code: Select all

MAINROUTE=$(LANG=C route | grep 'default[ ].*[ ]0\.0\.0\.0[ ]')
Well, also need to check the dns?

Code: Select all

DNS=$(grep -w nameserver /etc/resolv.conf)
Then, finally ping?
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#174 Post by 01micko »

JonT wrote:Here's my best shot. I note that lupu 528, and perhaps others, have a pre-existing file /usr/share/synclient/xorg.conf2-Synaptics containing default settings for synclient, utilized by /usr/bin/synclient.sh. Perhaps this approach would work for you rather than having to create a file via flsynclient (in flloopfix) to insert into /etc/X11/xorg.conf.d. Please ignore this suggestion if it is on the dumb side of OK. Here's the small file,synclient.sh, (remove .tar.gz extension to read) (Edit: fixed BBCode for quoting)
Ok, found all that, it's an app by shinobar.. it may well be the answer.. but I need to find that package! .... pladayz...HELP :!: EDIT: Nope, won't work in slacko, I have a plan B :lol:
Last edited by 01micko on Fri 23 Sep 2011, 04:05, edited 1 time in total.
Puppy Linux Blog - contact me for access

Stripe
Posts: 658
Joined: Wed 23 Jun 2010, 05:18
Location: In a field. England

#175 Post by Stripe »

hi all

I think thats the flsynclient sorted, installed the pet on a clean frugal install and could get one finger tapping and vertical scrolling working no problem (deleted the root/.flsyclient file first but will try it again without deleating the file)

will be back shortly

don

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#176 Post by 01micko »

Thanks shino

I will put this at the top of my welcome1stboot.sh script

Code: Select all

#shinobar
MAINROUTE=$(LANG=C route | grep 'default[ ].*[ ]0\.0\.0\.0[ ]')
DNS=$(grep -w nameserver /etc/resolv.conf)
if [[ "$MAINROUTE" != "" && "$DNS" != "" ]];then
 ping -c1 8.8.8.8 #google, like it or not it's always there
 RETVAL=$?
 case $RETVAL in
 0)MAINMSG1="<hbox homogeneous=\"true\"><text><label>Congratulations, you are already conected to the Internet</label></text></hbox>"
 echo "connected" > /tmp/firstruncon 
 MAINMSG2="Please answer some questions about your locale, keyboard and timezone"
 ;;
 *)MAINMSG1="" 
 MAINMSG2="Please answer some questions about your locale, keyboard and timezone, then connect to the Internet"
 ;;
 esac
  else
  MAINMSG1="" 
  MAINMSG2="Please answer some questions about your locale, keyboard and timezone, then connect to the Internet"
fi
In the context of Slacko how it is now it can't be localised as locale is not yet set at that stage.

BTW, I was pinging kernel.org but they have been down a lot lately.. any suggestion on who to ping, I know a lot of folks dislike google, with good reason, altho BK pings it with the flash proggy in /usr/sbin/delayedrun
Puppy Linux Blog - contact me for access

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

check connection

#177 Post by shinobar »

Code: Select all

# check connection
LANG=C route | grep -q 'default[ ].*[ ]0\.0\.0\.0[ ]' && \
grep -wq nameserver /etc/resolv.conf && \
ping -c1 google.com &>/dev/null && CONNECTED="yes" || CONNECTED=

# messages
MAINMSG="Please answer some questions about your locale, keyboard and timezone"
[[ "$CONNECTED" ]] && \
MAINMSG="Congratulations, you are already conected to the Internet\n"$MAINMSG || \
MAINMSG=$MAINMSG", then connect to the Internet"

# gtkdialog entry can be:
# <text><input>echo -en "$MAINMSG"</input></text>
'ping -c1 google.com' instead of 'ping -c1 8.8.8.8' ensures DNS active.
Last edited by shinobar on Fri 23 Sep 2011, 02:13, edited 2 times in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

Stripe
Posts: 658
Joined: Wed 23 Jun 2010, 05:18
Location: In a field. England

#178 Post by Stripe »

hi all

all is well in touchpad land, with the original 499.5 flsyclient if you increase the tapping time to more than 0 the touchpad will tap

would it be possible to set the default as greater than 0 so tapping will work out of the box?

:oops: sorry mick if I have wasted any of your valuable time :oops:

don

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#179 Post by jpeps »

01micko wrote:

Could this be hardware specific?
I don't pretend to be any sort of expert on kernel compiling or memory usage. I did compile this kernel and it has been pretty solid for most users for a couple of months. The DOTconfig is where it usually is. It's slightly modified from BK's DOTconfig for k2.6.35.8 and I used Iguleder's script to compile in a full install of Slacko so there are no gccc mismatches, this would be an issue in 3HD.
So, it sure looks like a kernel bug but I think it's in the actual kernel source, not the compile.

I'm very reluctant to change kernels at this late stage, but if it has to be done I'll compile 2.6.39.4 in Slacko, PAE disabled, usb-storage compiled in, or, offer a second version with the later kernel, PAE enabled. Heaps of 3rd party stuff would need to be recompiled.
Might be as simple as a weather widget. I put a switch on it in dog, and already
see a huge difference in stability and usage. Did you notice problems with pwidget?

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

Re: check connection

#180 Post by 01micko »

shinobar wrote:

Code: Select all

# check connection
LANG=C route | grep -q 'default[ ].*[ ]0\.0\.0\.0[ ]' && \
grep -wq nameserver /etc/resolv.conf && \
ping -c1 google.com &>/dev/null && CONNECTED="yes" || CONNECTED=

# messages
MAINMSG="Please answer some questions about your locale, keyboard and timezone"
[[ "$CONNECTED" ]] && \
MAINMSG="Congratulations, you are already conected to the Internet\n"$MAINMSG || \
MAINMSG=$MAINMSG", then connect to the Internet"

# gtkdialog entry can be:
# <text><input>echo -en "$MAINMSG"</input></text>
'ping -c1 google.com' instead of 'ping -c1 8.8.8.8' ensures DNS active.
Ok I like, just modified to catch the file in /tmp

Also, this can be gettext'd because after first-run then you restart X and LANG is set, you will see it again., but need another message as when that happens, no use to say "Please answer some questions ...bla bla" because it is done!
Puppy Linux Blog - contact me for access

Post Reply