Dpup Exprimo 5.X.3.1.10.3 SMP multicore optimized version

For talk and support relating specifically to Puppy derivatives
Message
Author
jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#946 Post by jakfish »

Hi, pemasu,

I’m trying out some acpi and acpid modifications and wonder if you had advice about:


1) Volume control buttons on the Lenovo S10-3t, which are on the lower right-hand of the keyboard. It’s a package of 6 keys, activated by the fn key. Up and Down Brightness work, Home and End work, but Up and Down Volume do not. I disabled xbindkeys, but no joy.

I went back to a working Fluppy and found that the Volume keys do work there, with the fn key. In fact, when used, they bring up a green volume scale across the screen.

Any advice to replicate their use here? /etc/acpi/keys is the same in fluppy and dpup

EDIT: SOLVED: in this dpup, in /usr/local/bin, what's missing are files volup, voldown. volmute. Xbindkeys is actually programed/key-ed for those files, but can't bring them up b/c they're not there. When I borrowed them from Fluppy 013, and put them in the directory, volume keys work fine.


2) Suspend problem. It’ll suspend fine, but often won’t return. The wifi comes back, the fan works, but the screen remains dark, the keyboard unresponsive (after the first key touch tries to resume the machine) and you have to crash dpup and reboot. I have the same problem with Fluppy, so it’s not a dpup issue.

Even in console, using “acpitool –s
Last edited by jakfish on Thu 29 Mar 2012, 12:07, edited 1 time in total.

User avatar
eztuxer
Posts: 494
Joined: Thu 06 Nov 2008, 11:19
Location: Hungary
Contact:

#947 Post by eztuxer »

Lost mouse control after installing vlc. :(
Don't poop it down... Pup it Up !

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#948 Post by pemasu »

eztuxer. It would help to know which vlc did you install. Name of the vlc package pet or sfs...from pet_packages-exprimo or...
:( :( :(

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#949 Post by pemasu »

jakfish. Thank of those missing volume files. I will add them.

About suspend hanging when waking up. Tough problem. I have had that with certain kernels. But after 2.6.35.7 I have been lucky. I dont know what might cure it.
Have you tried the suspend with: "echo -n mem > /sys/power/state"

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#950 Post by jakfish »

A follow-up on a line of code in the vol scripts:

osd_cat -d 2 -l 2 -p top -c green -f 'DejaVu Sans 30' -T "Volume " -b percentage -P $percent -O 3 &

Running this in console gave me a "font not found" error. Once I deleted the -f 'DejaVu Sans 30' section, it runs. But the default font is quite small.

Is there another default font in dpup-exprimo?

Thanks for the "echo -n mem > /sys/power/state" It suspends, but like the other commands, after coming back successfully once, the machine will crash on a second suspend :(

This acpid stuff is always so tricky.

Jake

User avatar
eztuxer
Posts: 494
Joined: Thu 06 Nov 2008, 11:19
Location: Hungary
Contact:

#951 Post by eztuxer »

I installed the vlc full pet from the package manager.
I did install and ran musescore first from PM it worked fine.
When vlc refused to work after install, I thought it might need rebooting, then the mouse pointer was frozen.
Don't poop it down... Pup it Up !

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#952 Post by pemasu »

I think I should remove those qt4 libs included standalone vlc versions from the repo.

To do it as working combination. Install first qt4 libs from http://www.smokey01.com/pemasu/QT-4.8.0-dpup/libs/
and then from the /apps the vlc only version, there is 1.1.2 and 2.0 versions available. 2.0 version needs xorg-high also and running xorgwizard after installing xorg-high might be needed.

Now you have setup which accepts those other qt apps from http://www.smokey01.com/pemasu/QT-4.8.0-dpup/apps also.

Those qt4 included vlc versions are before I created qt4-4.8.0 libs. There are several versions. I suppose the basic qt-4.8.0 is ok for vlc.

Edit. I have now removed those other vlc packages, they would have installed conflicting qt4 libs if you have installed the qt4-4.8.0-dpup some version.

I have uploaded the updated Packages-puppy-exprimo-official file.

wxHexeditor, Wireshark, all wacom tablet drivers for all kernel versions have been uploaded.

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#953 Post by jemimah »

jakfish wrote:A follow-up on a line of code in the vol scripts:

osd_cat -d 2 -l 2 -p top -c green -f 'DejaVu Sans 30' -T "Volume " -b percentage -P $percent -O 3 &

Running this in console gave me a "font not found" error. Once I deleted the -f 'DejaVu Sans 30' section, it runs. But the default font is quite small.

Is there another default font in dpup-exprimo?

Thanks for the "echo -n mem > /sys/power/state" It suspends, but like the other commands, after coming back successfully once, the machine will crash on a second suspend :(

This acpid stuff is always so tricky.

Jake
xosd is patched in fluppy to support xft fonts.
Attachments
xosd-2.2.14-xft.patch.gz
(5.35 KiB) Downloaded 211 times

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#954 Post by jemimah »

[quote="jakfish"]Hi, pemasu,

I’m trying out some acpi and acpid modifications and wonder if you had advice about:


1) Volume control buttons on the Lenovo S10-3t, which are on the lower right-hand of the keyboard. It’s a package of 6 keys, activated by the fn key. Up and Down Brightness work, Home and End work, but Up and Down Volume do not. I disabled xbindkeys, but no joy.

I went back to a working Fluppy and found that the Volume keys do work there, with the fn key. In fact, when used, they bring up a green volume scale across the screen.

Any advice to replicate their use here? /etc/acpi/keys is the same in fluppy and dpup

EDIT: SOLVED: in this dpup, in /usr/local/bin, what's missing are files volup, voldown. volmute. Xbindkeys is actually programed/key-ed for those files, but can't bring them up b/c they're not there. When I borrowed them from Fluppy 013, and put them in the directory, volume keys work fine.


2) Suspend problem. It’ll suspend fine, but often won’t return. The wifi comes back, the fan works, but the screen remains dark, the keyboard unresponsive (after the first key touch tries to resume the machine) and you have to crash dpup and reboot. I have the same problem with Fluppy, so it’s not a dpup issue.

Even in console, using “acpitool –s

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#955 Post by pemasu »

Thank you million-billion and thousands roses .... for jemimah.

Here is the patched xosd as pet and the vbetool for playing with vbetool command.
Attachments
vbetool-1.1.2.pet
(4.97 KiB) Downloaded 213 times
xosd-2.2.14.pet
(25.35 KiB) Downloaded 208 times
Last edited by pemasu on Thu 29 Mar 2012, 18:39, edited 1 time in total.

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#956 Post by jakfish »

Many thanks to both of you for such fast help. I installed the pets and tested.

Good news first: the patched xosd works perfectly, generating a huge, brilliant screen of volume control

Bad news: re: the vbetool. I'm still getting a no return from suspend/then crash the second time around. Certainly the first return from suspend is different. It does through a brief menu (that seems to be in xvesa, or it comes up xvesa on my screen which is xorg), and wifi, etc comes back.

The second time, it suspends, but the screen stays black, and I didn't feel the machine went through the checkpoints of the first return.

Again, thank you for all assistance,
Jake

EDIT: my suspend problem is worse than I thought: it's crashing the first time because I started letting it sit longer in suspend before trying to return it. Clearly, the longer it's suspended, the more difficult the return, which is very weird.

I'm running this on a frugal install, no swap, single FAT32 partition on 8GB USB stick.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#957 Post by pemasu »

I got thank not waking from prolonged suspend also with the above fix pet. So....it is the waking up problem. If it wakes up...it executes those vbetool stuff. But...it seem above vbetool rows give even for me hiccup. Or then it as was that I did suspend and wake up too many times. But....I might use same pfix=ram boot many days with suspendig many times without problem.

I think that I remove that updated sleep.sh from above pet and let it install the vbetool only for those who want to play with it and try to find out working commands for it. If there are....

User avatar
jemimah
Posts: 4307
Joined: Wed 26 Aug 2009, 19:56
Location: Tampa, FL
Contact:

#958 Post by jemimah »

The vbetool stuff should not be run unless you have suspend/resume problems. It can mess stuff up.

Code: Select all

vbetool dpms on
after suspending might be enough to fix it, if all thats wrong is that the backlight doesn't turn on.

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#959 Post by jakfish »

pfix=ram

Does that have anything to do with effecting a proper suspend? Because I don't use that command.

Jake

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#960 Post by pemasu »

Here is for test the improved petget stuff. For pet installations...it warns if existing files will be overwritten...if there is already installed pet providing same files....and when using PPM it checks the missing dependencies and asks you if you want to install those dependencies. This happens when you choose the install only choice. And the pet has in pet.specs file those dependencies included.

This pet is Shinobar`s petget patched by Jemimah and I did include also the updated pkg_chooser.sh from latest woof with fixed first field database information. It adds the Ziggy UI functionality, but I am not sure if it brakes the fixed sda card boot installed pet found functionality.

It can be that I have to revert to Shinobar`s pkg_chooser.sh.

But if someone with sda card booting need could test that.
Attachments
petget-improved-0.0.1.pet
(75 KiB) Downloaded 219 times
Last edited by pemasu on Thu 29 Mar 2012, 19:50, edited 1 time in total.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#961 Post by pemasu »

pfix=ram just bypasses savefile and loads the main sfs to the ram.
acpi=off Default on for PCs >2001, may give bootshutdown probs.
pfix=ram Run totally in RAM ignore saved sessions,
pfix=<n> number of saved sessions to ignore (multisession-CD),
pfix=nox commandline only, do not start X,
pfix=noram do not copy .sfs files to RAM (faster boot, slower running),
pfix=fsck do filesystem check on DISTRO_FILE_PREFIXsave (and host partition),
pfix=clean file cleanup (simulate version upgrade),
pfix=purge more radical file cleanup (to fix broken system).
pkeys=<xx> Keyboard layout, choices: azerty be-latin1 br-abnt2 br-abnt br-latin1-abnt2 br-latin1-us by cf croat cz de de-latin1 dk dvorak dvorak-l dvorak-r es et fi fr gr hu101 hu il it jp106 lt mk nl no pl pt-latin1 ro ru se sg sk-qwerty sk-qwertz slovene sv-latin1 uk us wangbe

pdev1=sdc1 The boot partition.
psubdir=puppies/wary501 Path in which Puppy is installed.
psavemark=2 Partition no. (in boot drive) to save session to.
pmedia=usbflash Type of media booting from. Choose one of these:
usbflash usbhd usbcd ataflash atahd atacd atazip scsihd scsicd cd
pupsfs=sdc1:/puppies/wary501/puppy.sfs Override auto search.
zdrv=sdc1:/puppies/wary501/zdrv.sfs Override auto search.

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#962 Post by pemasu »

http://www.smokey01.com/pemasu/pet_pack ... 7-dpup.pet

I have created the update pet for needed files for samba client for accessing windows 7 shares.
The files are extracted from my compiled full samba, version 3.6.3.
This update concerns Pnethood when you try to acces win 7 shares.

The update is so big that I am not yet going to include it to the puplet. First I would need clear request for it.

The fix is from here. Our cups and samba specialist hits again...
http://murga-linux.com/puppy/viewtopic. ... 1&start=15
Last edited by pemasu on Fri 30 Mar 2012, 14:34, edited 1 time in total.

jakfish
Posts: 762
Joined: Fri 18 Jul 2008, 19:09

#963 Post by jakfish »

Many thanks for the pfix explanation.

These are lines from my syslinux.cfg:

kernel /vmlinuz
append initrd=/initrd.gz pmedia=usb

My frugal install is on a usb sdb1. To speed up boot, is there a command to tell dpup where my sfs os and pupsave live? So it doesn't have to search for them?

Jake

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#964 Post by pemasu »

jakfish. You should use pmedia=usbflash. pmedia=usb just slows things because it is not valid.
To speed up things you can use: pmedia=usbflash pdev1=sdb1
Remember that usb stick partition naming is dynamic...if you attach 2 sticks the sdb1 might point to the other stick....while booting.

User avatar
Eathray
Posts: 723
Joined: Sun 06 Sep 2009, 19:42

#965 Post by Eathray »

pemasu wrote:Earthray. I apologize. I do have Blender-2.6.1.sfs in exprimo repo. I checked the pet only. I believe I have tested the workability of that sfs. So just install xorg-high and rerun xorgwizard and if it needs more install that also. As I posted....I had devx sfs installed when I did test it.
Pemaso,

Okay, I have the devx .sfs installed and set to load on boot. I had already installed the High Xorg package previously. Still no go.

Do I need to rerun the Xorg wizard again with the devx loaded? It needs to reset Xorg with devx loaded, is that correct, or should it be just working now?

Eathray

Post Reply