Lucid Puppy 5.2.8 - Updated ISO Version 005 - APR 05 2012

A home for all kinds of Puppy related projects
Message
Author
Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#681 Post by Sage »

I saw two sound cards
For almost a decade, possibly even longer, boards have been issued with on-board sound. Folks intending to use posh add-in sound cards, including TV cards, 99-channel theatre sound, etc. should be aware of this. Writing out the on-board chip in BIOS is unreliable. It is necessary to look up the data sheet for the sound chip, identify the power-in, audio-in and audio-out leads and sever them with a scalpel. Then write them out in BIOS. These problems require radical action at the HW end. If you want to sell your board on eBay in ten years time, the on-board sound can be re-enabled with a judicious dab of solder on the cut pins. End of story.

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#682 Post by Sylvander »

OK...
(A)
1. Phoned ErnieK who gave me this desktop PC...
And took a look inside [the side is permanently OFF], whilst on the phone.
Can't see very well; the PC is in the corner, poor access, could disconnect the cables and take it out to gain better access if needed/suggested.

2. There is an added PC sound card in place, but almost UNUSED.
i.e. There is a sound cable connected from the DVD-RW to the sound-card.
That's the only thing making use of it right now.

3. With on-board sound...
I have a splitter connected to the top/green/line-out 3.2mm jack socket, going to: 1=amplified speakers, and 2=an unamplified headset->[volume is OK, even using line signal].
And the headset mic jack going to the bottom/pink/mic socket.

(B)
What's the best thing to do with these?
1. Use only the better quality sound card, and disable the on-board sound in the BIOS Setup?
The manual shows "Chip Configuration->Onboard PCI Audio" [default=enabled, can be disabled]
I'd prefer to use the sound card methinks.
OR...
2. Remove the sound card, and use the on-board sound?
The manual shows "CD1" on mobo->[3 pins=left-audio,grnd,right-audio] for CD-drive audio->.
OR...
3. Have BOTH on-board AND the sound card enabled, and use both?
Is that possible?
OR...
4. Have the Puppy choose which or BOTH to use, and software-disable whatever is un-needed?

5. Why no sound problem with other Puppies, only Lupu-528 [not with Lupu-526]?

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#683 Post by playdayz »

Sylvander, Thank you for the thorough testing. Here is the latest snapmergepuppy with the change that zekebaby recommended. You could try it on a fresh install of lupu-528.003.iso. No need for any other of the fixes. Let's see if this works.
Why no sound problem with other Puppies, only Lupu-528 [not with Lupu-526]?
That is the big question of course. Have you confirmed that it does it in lupu-528.iso without any updates installed? But it could be that some other update was made that caused the snapmergepuppy problem to become serious. That may be grasping at straws though. Anyway, if the snapmerge business doesn't help I am going to give up.
Attachments
snapmergefix.pet
(3.69 KiB) Downloaded 234 times

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#684 Post by Sage »

Congratulations! I have been doing HW diagnosis by phone and email for a long time and was 99% sure of your situation.
SW is one thing, but you will always run into problems unless you fix the HW once and for all.
Chances are that the add-in sound card is superior, that's why it was, errr, added.
Look up the specs of on-board and card chips to confirm which is best.
If you just want muzak in the background of indeterminate quality, rip out the add-in card and make do with the on-board sound.
If you need quality for feeding hi-fi, video phone, serious sound projects, it's time to take scalpel in hand and disable that on-board chip in the ways I described above.
There is absolutely no way you can guarantee no problems with the SW until you fix the HW. It may work initially with pd's clever SW manipulation, but one upgrade will break it again every time. Do it now, do it right.

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

snapmergepuppy

#685 Post by shinobar »

Sorry i have not yet reviewed rerwin's code but deleting /dev/snd is good i think.
I proposed to Barry to remove whole /dev in the savefile, but Barry sais we need to keep symlinks.
Yes, we need to keep only symlinks user made but all the rest under /dev can be, should be, removed from the savefile.

EDIT:
Ah, recent woof is removing /dev/snd, It's OK as for sound.
What i want to say is removing whole /dev except symlinks is better. Because i sometimes got trouble with usb printers.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

kevin bowers
Posts: 147
Joined: Sun 20 Dec 2009, 20:41

#686 Post by kevin bowers »

Sage wrote:Congratulations! I have been doing HW diagnosis by phone and email for a long time and was 99% sure of your situation.
SW is one thing, but you will always run into problems unless you fix the HW once and for all.
Chances are that the add-in sound card is superior, that's why it was, errr, added.
Look up the specs of on-board and card chips to confirm which is best.
If you just want muzak in the background of indeterminate quality, rip out the add-in card and make do with the on-board sound.
If you need quality for feeding hi-fi, video phone, serious sound projects, it's time to take scalpel in hand and disable that on-board chip in the ways I described above.
There is absolutely no way you can guarantee no problems with the SW until you fix the HW. It may work initially with pd's clever SW manipulation, but one upgrade will break it again every time. Do it now, do it right.
Sage, I agree up to a point. Certainly doing it right is, well, righteous. However, please consider: very few people, even "technicians", can do surgery on PC boards, particularly multi-layer MoBos. I've been using soldering irons since I was 5 and I wouldn't attempt it without special equipment. Hacking out chips is a pretty good way to convert a MoBo into a patch for the hole in the drywall. Disabling the on-board sound in the BIOS is certainly worth trying if possible, and it's reversible. Another point: sound chips on modern boards have improved immensely over the last few years. I am currently using on-board audio for vinyl conversions and hi-fi editing with a high level of success. So I recommend either removing the redundant sound card or disabling the on-board stuff in BIOS lest we throw out the baby with the bathwater!

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#687 Post by Sage »

Horses & Courses, Kev!
Depends if you want OK or excellence.
And it really ain't rocket science or need special tools as you suggest.
Folks round here tend to be techno geeks. Mostly they are good at reading, good at searching and surfing, although comprehension is lacking amongst the usual suspects. The datasheet shows a square/rectangle with numbers around it and the keyway. The numbers correspond to a bunch of irrelevant functions apart from '+', 'in', and 'out'. After that, all you need for the radical solution is a magnifying glass like the one grandpa uses to read letters from the Revenue and a scalpel, with or without a holder (ask a friendly nurse?), or 'hobby' knife or even a new Stanley blade. It isn't necessary to tangle with the board inter-layers - the plastic blob is sitting there on the top. If you doubt your talents, then sever all its damn legs!
Those who regularly settle for less know what to expect - that's the message I was sending.

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#688 Post by Sylvander »

(A) STEPS
31. Restored PupsaveHotBackup=5 using Wary-5.2.2, then reboot to Lupu-528.003->[with pmedia=ataflash in isolinux.cfg in the ISO]
32. Installed snapmergefix.pet

(B) All looks well, with loudspeaker icon displayed.
Let's see how long that lasts.
Will report back after some reboots.

@Sage
(C) I have a magnifying glass and a scalpel, but...
I think I'd rather use onboard sound than sever the connections.
Don't need high performance sound anyway.
I'll begin with the easy methods and [if that fails] work my way up to increasing difficulty, but only if/as/when necessary.

Brown Mouse
Posts: 564
Joined: Tue 09 Jun 2009, 21:06

#689 Post by Brown Mouse »

Sage wrote: After that, all you need for the radical solution is a magnifying glass like the one grandpa uses to read letters from the Revenue and a scalpel, with or without a holder (ask a friendly nurse?), or 'hobby' knife or even a new Stanley blade. It isn't necessary to tangle with the board inter-layers
How things have progressed!To think back when I worked for many years in the art of multi-layer repair and engineering changes to pcb's,I used a high powered Carl Zeiss microscope and a micro ball mill amongst other tools :)

User avatar
zekebaby
Posts: 50
Joined: Thu 18 Nov 2010, 03:47

#690 Post by zekebaby »

Sylvander wrote: 3. "IIRC, I did the mod in snapmergepuppy in Wary (don't know if it exists in Lupu)"
(a) What does this mean?
(b) What is IIRC?
(c) What is snapmergepuppy?
Here's the more detailed explanation.

I had the same problem with disappearing sound awhile ago in Wary. IIRC (If I Recall Correctly), I added a line to the /usr/bin/snapmergepuppy script to delete the /dev folder. Barry implemented my fix in Wary, but removed just /dev/snd to be more conservative. Look for comment #110224 in snapmergepuppy in the latest Wary to see the fix. Since Lupu doesn't run on this old laptop, I can't verify whether the snapmergepuppy actually script exists in Lupu.

Sage
Posts: 5536
Joined: Tue 04 Oct 2005, 08:34
Location: GB

#691 Post by Sage »

I think I'd rather use onboard sound than sever the connections.
Don't need high performance sound anyway.
I'll begin with the easy methods
Good move. When I build PCs the first question is always 'What do you want it for?' Concording with many surveys, most answer '..just send a few emails and web-surfing.'
Goons down at PCWorld trying to sell them W8PAE4Gb monsters for five hundred notes when all they need is a D1200/256Mb and a copy of Puppy. More important to focus on a good ISP and the house wiring...

All too easy to lose sight of reality, esp. if folks watch too much TV.
Last edited by Sage on Fri 02 Dec 2011, 15:50, edited 2 times in total.

User avatar
rerwin
Posts: 2017
Joined: Wed 24 Aug 2005, 22:50
Location: Maine, USA

#692 Post by rerwin »

zekebaby wrote:I had the same problem with disappearing sound awhile ago in Wary. IIRC (If I Recall Correctly), I added a line to the /usr/bin/snapmergepuppy script to delete the /dev folder. Barry implemented my fix in Wary, but removed just /dev/snd to be more conservative. Look for comment #110224 in snapmergepuppy in the latest Wary to see the fix. Since Lupu doesn't run on this old laptop, I can't verify whether the snapmergepuppy actually script exists in Lupu.
Rc.shutdown already invokes snapmergepuppy for pup-modes 3, 7 & 13. At least, in "patch-2". Is that not sufficient?
Richard

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#693 Post by Sylvander »

In my copy of Lupu-528.003...
The file /usr/sbin/snapmergepuppy exists...
There is within that file, the following line:

Code: Select all

#110224 BK: revert remove all /dev, for now. 110503 added dev/snd
Also a couple of lines that include as part [at the end] of the line:

Code: Select all

#110222 shinobar: remove all /dev

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#694 Post by bigpup »

Dealing with sound and USB drive issues.
Not too long ago Barry had a discussion about USB drives and save files.
Not sure if this is now implemented in Lucid 528 or even an issue, but just something to look at.
The code changes needed are in the comments toward the end.
http://bkhome.org/blog/?viewDetailed=02514

I would agree, that having active on board sound and an add on sound card, will cause problems. Usually disabling the on board sound, in bios, works.
Keep in mind, just because the hardware is there, does not meen it works.
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#695 Post by playdayz »

would agree, that having active on board sound and an add on sound card, will cause problems. Usually disabling the on board sound, in bios, works.
Bigpup, having "three" sound cards has never caused me a problem with Lucid or any other Puppy. One sound card is built-in, the second is a PCI add-in, and the third is a component of all ATI video cards for the last 5 years or so. It is that ATI component that is the "duplicate" sound card that rerwin is seeing. As I say, my sound has always worked on both "real" cards and I am able to switch between the sound cards using Pmusic or Audacious. This has been the same in all versions of Lucid so i don't think the multiple sound cards is what is causing the problem with sound and usb.

But, as you say, the built-in sound can be disabled in the BIOS usually. I certainly wouldn't advise anyone to modify their motherboard--that is for experts like Sage. I just don't think either approach should be needed.

I will check the link--it does seem to me that the sound problem may be caused by either inability to access the pupsave or the sound driver at the appropriate time Thanks.
In my copy of Lupu-528.003...
The file /usr/sbin/snapmergepuppy exists...
There is within that file, the following line:
#110224 BK: revert remove all /dev, for now. 110503 added dev/snd
Sylvander, Is that the snapmergefix I posted earlier today. The one that is default in lupu-528-003.iso says "#110224 BK: revert remove all /dev, for now" and does not include the 110503 addition.

To test, make a new install of lupu-528.003 and then install the snapmergefix pet, and then start rebooting to see if the sound disappears. for this test, please do not install anything else, other than the snapmergefix pet. . The dates suggest that this *could* be something that changed in Lucid 5.2.8.
Last edited by playdayz on Fri 02 Dec 2011, 19:15, edited 3 times in total.

Atle
Posts: 596
Joined: Wed 19 Nov 2008, 12:38
Location: Oslo, Norway
Contact:

Update 001 and 002

#696 Post by Atle »

Is it like those that are on mobile broadband or dialup can avoid to download a iso file? I have the 001 installed, but not the 002.

I can not find the 002 update anywhere, as i did with 001.

If I can get a link to 002, do I then "have" 003?

Atle

User avatar
playdayz
Posts: 3799
Joined: Fri 25 Apr 2008, 18:57

#697 Post by playdayz »

If I can get a link to 002, do I then "have" 003?
Yes Atie. And here is the link. That was the original intention of the Instant Updates, to give people the update without having to download a new iso.

I have hidden the Update 002 because, as you can see from the discussion there is some problem with some usb installs and sound, but everything else about Update 002 is OK (and that problem might not even be caused by Update 002).. But if you install to a usb drive or save on a usb drive, then hold off, or join the testing ;-) If this problem is ever solved I will go back to posting the Update(s).

ftp://distro.ibiblio.org/puppylinux/pup ... 28-002.pet
Last edited by playdayz on Fri 02 Dec 2011, 23:31, edited 1 time in total.

User avatar
zekebaby
Posts: 50
Joined: Thu 18 Nov 2010, 03:47

#698 Post by zekebaby »

rerwin wrote:Rc.shutdown already invokes snapmergepuppy for pup-modes 3, 7 & 13. At least, in "patch-2". Is that not sufficient?
Sounds like it's late enough. Nuking /dev or /dev/snd too early will cause unpredictable results. Note that the removal needs to happen before the save file is written.

elcurita
Posts: 26
Joined: Wed 10 Jun 2009, 00:09

We are keeping 3HD!!!!

#699 Post by elcurita »

@Playdayz=Since Nov 30 and at your suggestion We install 3HD on our USB sticks and after heavy testing (70 reboots) sound and Icon are persistent. We test on all the combinations that we are able to do,sound is there.
So,Big Thanks.!!!!!!
FYI: We did not use a pattern to install,some downloaded The Gimp and Chrome and then created a save file ,other boy created a save file reboot and downloaded Gimp and Chrome,and another boy re-boot a couple of times before creating a save file.
Sound is the base of the home work software it indicates if the boys are doing good or bad and visuals (video) without sounds ......no good.

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#700 Post by Sylvander »

A. "Sylvander, Is that the snapmergefix I posted earlier today"
Ummm...
All I can say is that I installed snapmergefix.pet prior to copying that line from the file I quoted.
I've no idea whether that was part of snapmergefix.pet; I presume you will know whether it is or not.

B. "To test, make a new install of lupu-528.003 and then install the snapmergefix pet, and then start rebooting to see if the sound disappears. for this test, please do not install anything else, other than the snapmergefix pet."
Will do ASAP.
Probably tomorrow morning.

C. The loudspeaker icon disappeared after only a single reboot. :(
i.e I rebooted after STEP-32 session, when I installed snapmergefix.pet, and made this post.

Post Reply