Author |
Message |
huskey
Joined: 25 Aug 2010 Posts: 4
|
Posted: Thu 24 May 2012, 13:14 Post subject:
Puppy 5.2.8 with hardware profile selection? Subject description: Running the same ver of puppy on various diffent PCs/laptops with minimal/no re-configuration |
|
For someone who has a number of PCs with differing hardware (audio / video / Network Interface cards) configuration, is there a way to use the same version of Puppy linux and pupsave file on all the devices without little/no re-configuration?
At present, I would have to re-configure the audio + video and Network Interface, each time I boot up puppy on a different computer.
WindowsXP uses the concept of 'Hardware Profile', to achieve something similar, where a hardware profile can be selected at boot time, which loads the correct device/hardware drivers for that profile.
Is anything similar available for Puppy Linux 5.2.8?
|
Back to top
|
|
 |
gcav

Joined: 25 May 2012 Posts: 105 Location: Ontario
|
Posted: Fri 25 May 2012, 12:01 Post subject:
New project fort this...puppy_profiles |
|
This is something I really want and have not been able to find a solution.
I also have Slacko on an 8gb usb stick. I have 4 possible laptops at home where I can use my distro (2 Acers, 2 Toshibas), and my work laptop an HP and also I use VMware.
So with all this comps, running Slacko is good. But;
I would like for Slacko to save the profiles based on the laptop for:
a) Screen resolution (a nuisance really)
b) Soundcard settings
c) CPU frequency scaling
d) Network configuration (I have not had issues on this front...) except
that at work, I need a Proxy setup...
e) Graphics driver settings... (saving xorg.conf)
f) ...anything else...
So, I starte looking at how puppy works and the init scripts.
My first step is going to be to have a prog, determine the machine it is running on by using the MAC address to start with and save all this in a flatfile database.
Next step would be to start saving some information for these machines and figuring out at what step on the init process to override the automatic detection mechanisms....
Create a small bacon interface to save the profiles based on the machine... etc..
I am still writing out the details of this.....
Comments?
gc
|
Back to top
|
|
 |
gcav

Joined: 25 May 2012 Posts: 105 Location: Ontario
|
Posted: Sun 27 May 2012, 22:53 Post subject:
Update... |
|
Well, I started coding this...
2 pieces, a prog that runs on init,
an interface to do some management...
The init code, is recognizing unique pc's based on mac, and storing
them in a flat-file and creating configuration directories...
Now, I am creating an interface to do some management function like
setting what things to back up...(mostly files, configuration info)
gc
|
Back to top
|
|
 |
huskey
Joined: 25 Aug 2010 Posts: 4
|
Posted: Mon 28 May 2012, 17:08 Post subject:
|
|
Hi gc,
Your ideas are way more ambitious than what I'd envisaged and should help in seamlessly using Puppy Linux on a number of home PC/laptops. Eagerly awaiting your solution.
My rudimentary workaround, to at least start X, is to make backup of the xorg.conf and then copy it to the /etc/X11 directory.
huskey
|
Back to top
|
|
 |
gcav

Joined: 25 May 2012 Posts: 105 Location: Ontario
|
Posted: Mon 28 May 2012, 22:05 Post subject:
First tests... |
|
First tests...
.
Description |
|
Filesize |
46.44 KB |
Viewed |
1084 Time(s) |

|
|
Back to top
|
|
 |
gcav

Joined: 25 May 2012 Posts: 105 Location: Ontario
|
Posted: Fri 01 Jun 2012, 18:18 Post subject:
Running a program from rc.sysinit get a Seg fault. |
|
I am getting a segmentation fault while executing a program from rc.sysinit... as shown on the bootsysinit log
VERSION UPDATE
LOAD KERNEL MODULES
LOAD HW PROFILES
Segmentation fault <---
LOAD SWAP
MISC. SYSTEM SETUP
WAIT MODULES LOADED
The program runs find on the command shell, and i tried bot static and dynamic objects, no weird libraries are required.
Here is the test code for running the program..
echo "LOAD HW PROFILES"
if [ -e /root/puppy_profiles/phwp ]; then
echo -n "Loading HW Profile..." >/dev/console
/root/puppy_profiles/phwp
status_func 0
fi
Any ideas..?
{edit}
Doe anyone know how to set ulimit at boot?
Probably changing the ulimit -c will enable the creation of a core dump.
{2nd edit}
I managed to get a core dump... btw,,, set ulimit -C before program...
|
Back to top
|
|
 |
gcav

Joined: 25 May 2012 Posts: 105 Location: Ontario
|
Posted: Wed 18 Jul 2012, 14:20 Post subject:
Development delayed... |
|
I had a working version, and because of a programming error and not keeping backup I lost some source files on this...
gc
|
Back to top
|
|
 |
gcav

Joined: 25 May 2012 Posts: 105 Location: Ontario
|
Posted: Sat 08 Dec 2012, 12:32 Post subject:
Re: Development delayed... |
|
gcav wrote: | I had a working version, and because of a programming error and not keeping backup I lost some source files on this...
gc |
Between, work, 6/10 year olds, and other demands, I lost track of this.
Is there still interest in this piece of code.
gc
|
Back to top
|
|
 |
tallboy

Joined: 21 Sep 2010 Posts: 1767 Location: Drøbak, Norway
|
Posted: Sat 08 Dec 2012, 13:38 Post subject:
|
|
Oh, yes!
I move my dpup, on a live CD or DVD, between different linux boxes, and have the same irritating initiation rituals each time, and I think a lot of other users also would like to see this .pet finished.
Your own situation, with different setups on a desktop and some other mobile unit, plus a workplace environment that maybe prevent a frugal installation but allow a live CD/DVD/USBstick, should be the same situation that many users meet daily. I am certain that a hardware profile application could be made universal, and included in all puppy future versions, so please keep up the good work!
tallboy
_________________ True freedom is a live Puppy on a multisession CD/DVD.
|
Back to top
|
|
 |
gcav

Joined: 25 May 2012 Posts: 105 Location: Ontario
|
Posted: Tue 25 Dec 2012, 09:54 Post subject:
PHWP Version 1.0 Subject description: PHWP Version 1.0 |
|
Ok, attached is the first version for the Puppy hardware profiles prog.
It is an appdir program, so unzip the file into your root directory.
Then, right-click and select help and read the PDF manual.
I have developed this under Slacko, but I would think that most config file locations are standard. I have tested it under my laptops and it works fine.
Please provide comments and suggestions...
gcl
Description |
|

Download |
Filename |
puppy_profiles.zip |
Filesize |
136.83 KB |
Downloaded |
450 Time(s) |
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Tue 25 Dec 2012, 12:44 Post subject:
|
|
Code: | Symbol not found in library /usr/lib/hug.so: undefined Symbol: HSLIDER |
Which version of hug.so is needed for this?
Where can I get this version?
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
gcav

Joined: 25 May 2012 Posts: 105 Location: Ontario
|
Posted: Tue 25 Dec 2012, 14:13 Post subject:
HUG version.. |
|
RSH wrote: | Code: | Symbol not found in library /usr/lib/hug.so: undefined Symbol: HSLIDER |
Which version of hug.so is needed for this?
Where can I get this version? |
The HUG version is: 0.77
attached is the hug.so
put it under /usr/lib/ and run ldconfig
I would recommend to upgrade to the newest Puppy or download
BaCon at: http://www.basic-converter.org/
Description |
|

Download |
Filename |
hug.zip |
Filesize |
55.76 KB |
Downloaded |
457 Time(s) |
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Tue 25 Dec 2012, 14:44 Post subject:
|
|
Thanks for the Lib.
Code: | sh-4.1# ldconfig
sh: ldconfig: command not found |
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
gcav

Joined: 25 May 2012 Posts: 105 Location: Ontario
|
Posted: Tue 25 Dec 2012, 14:53 Post subject:
What? No ldconfig... |
|
RSH wrote: | Thanks for the Lib.
Code: | sh-4.1# ldconfig
sh: ldconfig: command not found |
 |
Are you sure you dont have 'ldconfig' ?
What system are you using?
In case of no 'ldconfig'... reboot...
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Tue 25 Dec 2012, 14:56 Post subject:
|
|
I do use my LazY Puppy, which is based on Lucid Puppy 528-4.
The only "ldconfig" LazY Puppy has is directory: /var/cache/ldconfig.
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
|