The time now is Wed 22 May 2013, 21:43
All times are UTC - 4 |
| Author |
Message |
DaveS

Joined: 09 Oct 2008 Posts: 3669 Location: UK
|
Posted: Tue 26 Oct 2010, 05:18 Post subject:
|
|
| CatDude wrote: | Hi
| Terryphi wrote: | | Following my success with OO on Wary 092 I have revisited a clean install of Wary 090 kernel 2.6.35.7. Guess what? Add java-jre-6u20.pet before trying the OO sfs and then it does not crash. Yippee! |
Don't suppose you'd like to share the location of where you got that java-jre-6u20.pet from,
and if you don't mind, a link to the OpenOffice package you are using would be nice too.
As i have tried using both: (with wary-092-k2.6.34.6)
ttuuxxx's jre1.6.0_18-1.pet http://puppylinux.ca/tpp/ttuuxxx/programs/internet/jre1.6.0_18-1.pet
and the jre-1.6.0.22.pet available from here: http://puppylinux.org/wikka/JavaRuntimeEnvironment
but the system still locked up when i tried to run OpenOffice.
CatDude
. |
Its not what you asked for catdude but I am putting together OpenOffice LibreOffice Java resources here http://puppylinuxstuff.meownplanet.net/DaveS/
puppy
linux
These packages all work fine in all puppies so far tested EXCEPT wary 09 '35 and wary 092 '34. Sorry.
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
CatDude

Joined: 03 Jan 2007 Posts: 1355 Location: UK
|
Posted: Tue 26 Oct 2010, 05:25 Post subject:
|
|
Hello DaveS
| DaveS wrote: | Its not what you asked for catdude but I am putting together OpenOffice LibreOffice Java resources here http://puppylinuxstuff.meownplanet.net/DaveS/
puppy
linux
These packages all work fine in all puppies so far tested EXCEPT wary 09 '35 and wary 092 '34. Sorry. |
Thanks for the link, but i already have a working OpenOffice in my main Puppy (432),
i just wanted to play with the actual packages Terryphi is using, to see if they work on my setup (with wary-092-k2.6.34.6)
CatDude
.
_________________

|
|
Back to top
|
|
 |
DaveS

Joined: 09 Oct 2008 Posts: 3669 Location: UK
|
Posted: Tue 26 Oct 2010, 08:46 Post subject:
|
|
If anyone wants to try browsers that require dbus, I made a little sfs of it here:http://puppylinuxstuff.meownplanet.net/DaveS/
puppy
linux
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
DaveS

Joined: 09 Oct 2008 Posts: 3669 Location: UK
|
Posted: Tue 26 Oct 2010, 09:31 Post subject:
|
|
Sometimes it makes me crazy. Spent so much time messin' with Open Office I just noticed I have no video playback with mplayer. Sound is fine, but playback screen is just blank yellow
The fix is to run xorg wizard and select low res driver. Run the video and its ok, then run video wizard again and select hi res option and it is fixed!
EDIT: Only half right. Simple fact is on my system video in Wary does not work with transparency enabled.
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6856 Location: Perth, Western Australia
|
Posted: Tue 26 Oct 2010, 10:19 Post subject:
|
|
| DaveS wrote: | Sometimes it makes me crazy. Spent so much time messin' with Open Office I just noticed I have no video playback with mplayer. Sound is fine, but playback screen is just blank yellow
|
A yellow window is not an error, it is simply that mplayer is waiting for something to play.
I get the yellow window if I click on a streaming media link, until the connection is made and the stream is flowing.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
DaveS

Joined: 09 Oct 2008 Posts: 3669 Location: UK
|
Posted: Tue 26 Oct 2010, 10:27 Post subject:
|
|
This is with a local file Barry. I traced the problem to having transparency enabled. None of the '9 series Warys like it
_________________ Spup Frugal HD and USB
Root forever!
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6856 Location: Perth, Western Australia
|
Posted: Tue 26 Oct 2010, 11:22 Post subject:
|
|
| Karl Godt wrote: | Error package ..... failed to install
I encounter every time I install something that overwrites existing files
especially .deb .
Detected that after playing around with busybox-1.17.1 source and creating an experimental .pet with all its links
Installing coreutils, module-init-tools, find-utils .deb again to get the additional modules for internet and sound loaded again at bootup/xwin
always threw this error
but the links actually had been overwritten by the new full binaries. |
I cannot reproduce this error. I created two PET packages that had the same files but different package names. So, the second one was overwriting the files of the first. No problem, both installed without error.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
Terryphi

Joined: 02 Jul 2008 Posts: 698 Location: West Wales, Britain.
|
Posted: Tue 26 Oct 2010, 11:47 Post subject:
|
|
| CatDude wrote: |
Don't suppose you'd like to share the location of where you got that java-jre-6u20.pet from,
and if you don't mind, a link to the OpenOffice package you are using would be nice too.
|
Hi Catdude, here are the locations I got the files from:
http://dotpups.de/puppy4/dotpups/Libraries/java-jre-6u20.pet
http://ftp.nluug.nl/os/Linux/distr/puppylinux/sfs4_modules-4/openoffice-3.1.1-sfs4.sfs
Testing further I found that once OO has been run, and incorporated into the save file, Java can be removed. My current theory is that some files in /root/.openoffice/ are amended during the first run and OO does not check on subsequent runs. Clearly if the files can be identified they can be incorporated into an amended sfs file or a patch sfs file.
These files jump out as candidates for further investigation
because of the file names:
/root/.openoffice.org/3/user/config/javasettings_Linux_x86.xml
and possibly
/root/.openoffice.org/3/user/registry/cache/org.openoffice.Office.Java.dat
However, there may be others.
|
|
Back to top
|
|
 |
CatDude

Joined: 03 Jan 2007 Posts: 1355 Location: UK
|
Posted: Tue 26 Oct 2010, 11:58 Post subject:
|
|
Hi
Cheers mate, i am downloading them as i type,
and will have a play with them a little later on.
CatDude
.
_________________

|
|
Back to top
|
|
 |
peebee

Joined: 21 Sep 2008 Posts: 910 Location: Malvern, Worcs, UK
|
Posted: Tue 26 Oct 2010, 13:57 Post subject:
Re: Agere modem driver problem - links ignored |
|
| rerwin wrote: |
In the meantime, peebee, go ahead and rename the 048 and 06 variants, by removing the ".ko" suffixes.
Richard |
Hi Richard
I was going to report that symbol errors had reappeared if I did the rename as requested - however Barry has beaten me to it on his Blog and has confirmed that the wary092 modules are faulty due to Alsa version problems - but the good news is that he has things working on his laptop in wary093 k2.6.31 so I guess we wait for that version??
Cheers
Peter
|
|
Back to top
|
|
 |
rerwin

Joined: 24 Aug 2005 Posts: 1317 Location: Maine, USA
|
Posted: Tue 26 Oct 2010, 16:42 Post subject:
|
|
peebee, Barry,
I researched the symbol errors and found there is a "twist" to the story. One of the HDA source files must be patched to export the two symbols. There is a web page that explains this, copied below. I think we patched the 1.0.20 version of ALSA, so that needs to be done to any later version of ALSA, too.
Richard
Excerpt from: http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html
| Quote: | # For the 11c11040 case you must determine your ALSA drivers version. You MUST be using the version of ALSA that came with your current kernel. If you have since upgraded to a newer version of the ALSA modules, you will need to revert to the old version (or if this is not possible, upgrade your kernel.) To find your ALSA module version, issue in a terminal the command:
cat /proc/asound/version
with a typical output like:
Advanced Linux Sound Architecture Driver Version 1.0.16.
Compiled on Jun 18 2008 for kernel 2.6.24-19-generic (SMP).
wherein the ALSA driver version is the 1.0.16 .
Remember this number, as other steps in this HOWTO depend on it!
# Patch your sound driver file hda_codec.cto for export symbols needed by the drivers:
1. Use your favourite PLAIN TEXT editor, such as vi or gedit, and with root permission. This file is typically located at /usr/src/linux/sound/pci/hda/hda_codec.c
2. Add the lines EXPORT_SYMBOL(snd_hda_codec_read); and EXPORT_SYMBOL(snd_hda_codec_write); to the file, after the list of '#include' statements in the beginning.
3. Save the file.
# Rebuild and install the new modules:
1. In /usr/src/linux, run the following commands:
2. sudo make oldconfig
3. sudo make modules NOTE: This command will take a while, and give lots of ouptut. Watch for any errors when it finishes. (Warnings are okay).
4. Copy the newly built module to your modules directory: sudo cp sound/pci/hda/snd_hda_intel.ko /lib/modules/`uname -r`/kernel/sound/pci/hda/snd-hda-intel.ko NOTE: Some systems (e.g. Ubuntu) deviate form this as the module's path. When in doubt, use a file search utility to search for an existing snd-hda-intel.ko file in /lib/modules/ and replace it with your patched version.
5. Restart your computer to activate the new module.
6. Verify that your sound still works. | I think hda_codec.cto should be just hda_codec.c.
|
|
Back to top
|
|
 |
peebee

Joined: 21 Sep 2008 Posts: 910 Location: Malvern, Worcs, UK
|
Posted: Tue 26 Oct 2010, 17:15 Post subject:
|
|
| rerwin wrote: | peebee, Barry,
I researched the symbol errors and found there is a "twist" to the story. One of the HDA source files must be patched to export the two symbols. There is a web page that explains this, copied below. I think we patched the 1.0.20 version of ALSA, so that needs to be done to any later version of ALSA, too.
Richard
|
and I assume that is why the wary060 k2.6.32.16 with alsa.1.0.20 is the only version that has worked previously......????
Can these patches be automated for any future alsa changes??
Cheers
Peter
|
|
Back to top
|
|
 |
shinobar

Joined: 28 May 2009 Posts: 2254 Location: Japan
|
Posted: Tue 26 Oct 2010, 18:51 Post subject:
Refresh rate |
|
Hi, Barry!
Consider the claim from Mobeus and bigpup regarding the refresh rate(vertical frequency of the screen).
http://murga-linux.com/puppy/viewtopic.php?t=60712&start=90
http://www.murga-linux.com/puppy/viewtopic.php?t=61151
The point is the lowest frequency is not always at the first column of the list the xrandr reports.
Think the xorgwizard, the xrandshell and .xinitrc affects.
Maybe i can make a patch. But of couse if you can do, it is better...
_________________ Multilingual Wary-511
Lucid Puppy Quickset edition
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6856 Location: Perth, Western Australia
|
Posted: Tue 26 Oct 2010, 22:02 Post subject:
|
|
| rerwin wrote: | peebee, Barry,
I researched the symbol errors and found there is a "twist" to the story. One of the HDA source files must be patched to export the two symbols. There is a web page that explains this, copied below. I think we patched the 1.0.20 version of ALSA, so that needs to be done to any later version of ALSA, too.
Richard
Excerpt from: http://linmodems.technion.ac.il/packages/ltmodem/11c11040/HOWTO-Agere-11c11040-HDA.html
| Quote: | # For the 11c11040 case you must determine your ALSA drivers version. You MUST be using the version of ALSA that came with your current kernel. If you have since upgraded to a newer version of the ALSA modules, you will need to revert to the old version (or if this is not possible, upgrade your kernel.) To find your ALSA module version, issue in a terminal the command:
cat /proc/asound/version
with a typical output like:
Advanced Linux Sound Architecture Driver Version 1.0.16.
Compiled on Jun 18 2008 for kernel 2.6.24-19-generic (SMP).
wherein the ALSA driver version is the 1.0.16 .
Remember this number, as other steps in this HOWTO depend on it!
# Patch your sound driver file hda_codec.cto for export symbols needed by the drivers:
1. Use your favourite PLAIN TEXT editor, such as vi or gedit, and with root permission. This file is typically located at /usr/src/linux/sound/pci/hda/hda_codec.c
2. Add the lines EXPORT_SYMBOL(snd_hda_codec_read); and EXPORT_SYMBOL(snd_hda_codec_write); to the file, after the list of '#include' statements in the beginning.
3. Save the file.
# Rebuild and install the new modules:
1. In /usr/src/linux, run the following commands:
2. sudo make oldconfig
3. sudo make modules NOTE: This command will take a while, and give lots of ouptut. Watch for any errors when it finishes. (Warnings are okay).
4. Copy the newly built module to your modules directory: sudo cp sound/pci/hda/snd_hda_intel.ko /lib/modules/`uname -r`/kernel/sound/pci/hda/snd-hda-intel.ko NOTE: Some systems (e.g. Ubuntu) deviate form this as the module's path. When in doubt, use a file search utility to search for an existing snd-hda-intel.ko file in /lib/modules/ and replace it with your patched version.
5. Restart your computer to activate the new module.
6. Verify that your sound still works. | I think hda_codec.cto should be just hda_codec.c. |
I didn't patch the Alsa kernel source in 2.6.31.14, so I guess those symbols must already be exported.
I was trying to remember whether we ever did have to patch Alsa 1.0.20 drivers, but I couldn't find any mention of it anywhere.
Anyway, the module is working for me, it looks like the 11c11040 default loads in my case.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
Terryphi

Joined: 02 Jul 2008 Posts: 698 Location: West Wales, Britain.
|
Posted: Wed 27 Oct 2010, 12:13 Post subject:
OpenOffice sfs and kernels 2.6.34.x and 2.6.35.x |
|
I've done some more testing and established that one file, javasettings_linux_x86.xml, and the sub-directories to locate it, are all that is required to solve the problem with OpenOffice failing to run on Wary using kernels 2.6.34 and 2.6.35.7 . That is at least on my hardware!
This file does not seem to be amended even when Java is removed or updated.
This is the path:
| Code: | | /root/.openoffice.org/3/user/config/ |
The file was generated using the OpenOffice sfs and Java pet I described earlier in this thread. If anyone wants a copy of the file let me know.
|
|
Back to top
|
|
 |
|
|
|
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
|